From 018b32bee574690e45300fb16b9632de800e8b58 Mon Sep 17 00:00:00 2001 From: "mariano.pizarro" Date: Thu, 29 Sep 2022 12:41:34 -0300 Subject: [PATCH 1/8] feat(azure): rename tables and properties to fix postgres long names errors --- src/enums/schemasMap.ts | 4 +- src/services/appServiceWebApp/schema.graphql | 12 +- src/services/base/schema.graphql | 6 +- src/services/cdnEndpoints/schema.graphql | 8 +- src/services/cdnOriginGroups/schema.graphql | 4 +- .../cognitiveServicesAccount/schema.graphql | 8 +- src/services/containerRegistry/schema.graphql | 4 +- src/services/cosmosDb/schema.graphql | 8 +- .../dataCollectionRule/schema.graphql | 8 +- .../databaseManagedSqlInstance/format.ts | 4 +- .../databaseManagedSqlInstance/mutation.ts | 4 +- .../databaseManagedSqlInstance/schema.graphql | 6 +- src/services/databaseSql/schema.graphql | 4 +- .../expressRouteGateways/schema.graphql | 4 +- src/services/index.ts | 25 +- .../integrationRuntimes/schema.graphql | 6 +- .../machineLearningWorkspaces/schema.graphql | 8 +- src/services/mySqlServers/schema.graphql | 4 +- src/services/networkInterface/schema.graphql | 4 +- src/services/recoveryInstances/format.ts | 83 ++- src/services/recoveryInstances/schema.graphql | 10 +- src/services/recoveryPolicies/format.ts | 24 +- src/services/recoveryPolicies/schema.graphql | 16 +- src/services/recoveryVaults/format.ts | 37 +- src/services/recoveryVaults/schema.graphql | 33 +- src/services/redisCache/schema.graphql | 4 +- src/services/resourceGroup/schema.graphql | 4 +- src/services/securityGroup/format.ts | 8 +- src/services/securityGroup/schema.graphql | 6 +- src/services/synapseWorkspaces/schema.graphql | 4 +- src/services/tag/schema.graphql | 6 +- .../trafficManagerProfile/schema.graphql | 8 +- src/services/virtualMachine/format.ts | 44 +- src/services/virtualMachineScaleSet/format.ts | 26 +- .../virtualMachineScaleSet/mutation.ts | 4 +- .../virtualMachineScaleSet/schema.graphql | 86 +-- src/types/generated.ts | 613 ++++++++++-------- 37 files changed, 669 insertions(+), 478 deletions(-) diff --git a/src/enums/schemasMap.ts b/src/enums/schemasMap.ts index 64a65035..2bb26a04 100644 --- a/src/enums/schemasMap.ts +++ b/src/enums/schemasMap.ts @@ -38,7 +38,7 @@ export default { [services.cosmosDb]: 'azureCosmosDb', [services.dataCollectionRule]: 'azureDataCollectionRule', [services.dataFactory]: 'azureDataFactory', - [services.databaseManagedSqlInstance]: 'azureDatabaseManagedSqlInstance', + [services.databaseManagedSqlInstance]: 'azureDbManagedSqlInstance', [services.databaseMySql]: 'azureDatabaseMySql', [services.databasePostgreSql]: 'azureDatabasePostgreSql', [services.databaseSqlVm]: 'azureDatabaseSqlVm', @@ -90,7 +90,7 @@ export default { [services.synapseSqlPools]: 'azureSynapseSqlPool', [services.synapseWorkspaces]: 'azureSynapseWorkspace', [services.trafficManagerProfile]: 'azureTrafficManagerProfile', - [services.virtualMachineScaleSet]: 'azureVirtualMachineScaleSet', + [services.virtualMachineScaleSet]: 'azureVmScaleSet', [services.virtualMachine]: 'azureVirtualMachine', [services.virtualNetwork]: 'azureVirtualNetwork', tag: 'azureTag', diff --git a/src/services/appServiceWebApp/schema.graphql b/src/services/appServiceWebApp/schema.graphql index 8de7a95a..05454b45 100644 --- a/src/services/appServiceWebApp/schema.graphql +++ b/src/services/appServiceWebApp/schema.graphql @@ -54,7 +54,7 @@ type azureAppServiceWebAppSiteConfigVirtualDirectory physicalPath: String @search(by: [hash, regexp]) } -type azureAppServiceWebAppSiteConfigVirtualApplication +type azureAppServiceWebAppSiteConfigVirtualApp @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -213,7 +213,7 @@ type azureAppServiceWebAppSiteConfigSlowRequestsBasedTriggers timeInterval: String @search(by: [hash, regexp]) } -type azureAppServiceWebAppSiteConfigStatusCodesRangeBasedTrigger +type azureAppServiceWebAppSiteConfigStatusCodes @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -227,7 +227,7 @@ type azureAppServiceWebAppSiteConfigStatusCodesRangeBasedTrigger timeInterval: String @search(by: [hash, regexp]) } -type azureAppServiceWebAppSiteConfigAutoHealTriggers +type azureAppServiceWebAppSiteConfigTriggers @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -238,7 +238,7 @@ type azureAppServiceWebAppSiteConfigAutoHealTriggers statusCodes: [azureAppServiceWebAppSiteConfigStatusCodesBasedTrigger] slowRequests: azureAppServiceWebAppSiteConfigSlowRequestsBasedTrigger slowRequestsWithPath: [azureAppServiceWebAppSiteConfigSlowRequestsBasedTriggers] - statusCodesRange: [azureAppServiceWebAppSiteConfigStatusCodesRangeBasedTrigger] + statusCodesRange: [azureAppServiceWebAppSiteConfigStatusCodes] } type azureAppServiceWebAppSiteConfigAutoHealCustomAction @@ -268,7 +268,7 @@ type azureAppServiceWebAppSiteConfigAutoHealRules mutation: { add: false, delete: false } subscription: false ) { - triggers: azureAppServiceWebAppSiteConfigAutoHealTriggers + triggers: azureAppServiceWebAppSiteConfigTriggers actions: azureAppServiceWebAppSiteConfigAutoHealActions } @@ -326,7 +326,7 @@ type azureAppServiceWebAppSiteConfig javaContainerVersion: String @search(by: [hash, regexp]) appCommandLine: String @search(by: [hash, regexp]) managedPipelineMode: String @search(by: [hash, regexp]) - virtualApplications: [azureAppServiceWebAppSiteConfigVirtualApplication] + virtualApplications: [azureAppServiceWebAppSiteConfigVirtualApp] loadBalancing: String @search(by: [hash, regexp]) experiments: azureAppServiceWebAppSiteConfigExperiments limits: azureAppServiceWebAppSiteConfigLimits diff --git a/src/services/base/schema.graphql b/src/services/base/schema.graphql index 57e846c2..a1207e34 100644 --- a/src/services/base/schema.graphql +++ b/src/services/base/schema.graphql @@ -1,4 +1,4 @@ -interface azureKeyValueProperty +type azureKeyValueProperty @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -20,7 +20,7 @@ interface azureNameValueProperty value: String @search(by: [hash, regexp]) } -interface azureSubResource +type azureSubResource @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -40,7 +40,7 @@ interface azureBaseResource type: String @search(by: [hash, regexp]) } -interface azureOptionalResource +type azureOptionalResource @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/cdnEndpoints/schema.graphql b/src/services/cdnEndpoints/schema.graphql index 6349ede1..49e215e3 100644 --- a/src/services/cdnEndpoints/schema.graphql +++ b/src/services/cdnEndpoints/schema.graphql @@ -40,7 +40,7 @@ type azureCdnSigningParamIdentifier { paramName: String @search(by: [hash, regexp]) } -type azureCdnResourceReference { +type azureCdnResourceRef { id: String! @id @search(by: [hash, regexp]) } @@ -54,7 +54,7 @@ type azureCdnDeliveryRuleActionParameter { customFragment: String @search(by: [hash, regexp]) algorithm: String @search(by: [hash, regexp]) parameterNameOverride: [azureCdnSigningParamIdentifier] - originGroup: azureCdnResourceReference + originGroup: azureCdnResourceRef sourcePattern: String @search(by: [hash, regexp]) destination: String @search(by: [hash, regexp]) preserveUnmatchedPath: Boolean @search @@ -82,7 +82,7 @@ type azureCdnDeliveryRule { actions: [azureCdnDeliveryRuleActionAutoGeneratedUnion] } -type azureCdnEndpointPropertiesUpdateParametersDeliveryPolicy +type azureCdnEndpointDeliveryPolicy @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -110,7 +110,7 @@ type azureCdnEndpoint implements azureResource geoFilters: [azureCdnGeoFilter] defaultOriginGroupId: String @search(by: [hash, regexp]) urlSigningKeys: [azureCdnUrlSigningKey] - deliveryPolicy: azureCdnEndpointPropertiesUpdateParametersDeliveryPolicy + deliveryPolicy: azureCdnEndpointDeliveryPolicy webApplicationFirewallPolicyLinkId: String @search(by: [hash, regexp]) hostName: String @search(by: [hash, regexp]) resourceState: String @search(by: [hash, regexp]) diff --git a/src/services/cdnOriginGroups/schema.graphql b/src/services/cdnOriginGroups/schema.graphql index ad86a515..c6f8282a 100644 --- a/src/services/cdnOriginGroups/schema.graphql +++ b/src/services/cdnOriginGroups/schema.graphql @@ -21,7 +21,7 @@ type azureCdnHttpErrorRangeParameters end: Int @search } -type azureCdnResponseBasedOriginErrorDetectionParameters +type azureCdnResponseOriginErrorDetection @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -49,7 +49,7 @@ type azureCdnOriginGroup implements azureBaseResource lastModifiedAt: String @search(by: [hash, regexp]) healthProbeSettings: azureCdnHealthProbeParameters trafficRestorationTimeToHealedOrNewEndpointsInMinutes: Int @search - responseBasedOriginErrorDetectionSettings: azureCdnResponseBasedOriginErrorDetectionParameters + responseBasedOriginErrorDetectionSettings: azureCdnResponseOriginErrorDetection resourceState: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) resourceGroup: [azureResourceGroup] @hasInverse(field: cdnOriginGroups) diff --git a/src/services/cognitiveServicesAccount/schema.graphql b/src/services/cognitiveServicesAccount/schema.graphql index 965197c1..cfe403cf 100644 --- a/src/services/cognitiveServicesAccount/schema.graphql +++ b/src/services/cognitiveServicesAccount/schema.graphql @@ -108,12 +108,12 @@ type azureCognitiveServicesAccountPrivateEndpointConnection lastModifiedByType: String @search(by: [hash, regexp]) lastModifiedAt: DateTime @search(by: [day]) privateEndpointId: String @search(by: [hash, regexp]) - privateLinkServiceConnectionState: azureCognitiveServicesAccountPrivateEndpointServiceConnectionStatus + privateLinkServiceConnectionState: azureCognitiveServicesAccountConnStatus provisioningState: String @search(by: [hash, regexp]) groupIds: [String] @search(by: [hash, regexp]) } -type azureCognitiveServicesAccountPrivateEndpointServiceConnectionStatus +type azureCognitiveServicesAccountConnStatus @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -200,7 +200,7 @@ type azureCognitiveServicesAccountCapability implements azureNameValueProperty id: String! @id @search(by: [hash]) } -type azureCognitiveServicesAccountEndpoint implements azureKeyValueProperty +type azureCognitiveServicesAccountEndpoint @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -208,6 +208,8 @@ type azureCognitiveServicesAccountEndpoint implements azureKeyValueProperty ) @key(fields: "id") { id: String! @id @search(by: [hash]) + key: String @search(by: [hash, regexp]) + value: String @search(by: [hash, regexp]) } type azureCognitiveServicesAccount implements azureResource diff --git a/src/services/containerRegistry/schema.graphql b/src/services/containerRegistry/schema.graphql index f55b0ade..63c2e16e 100644 --- a/src/services/containerRegistry/schema.graphql +++ b/src/services/containerRegistry/schema.graphql @@ -1,4 +1,4 @@ -type azureContainerRegistryPrivateEndpointConnection +type azureContainerRegistryPrivateEndpoint @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -145,7 +145,7 @@ type azureContainerRegistry implements azureResource encryption: azureContainerRegistryEncryption dataEndpointEnabled: Boolean @search dataEndpointHostNames: [String] @search(by: [hash, regexp]) - privateEndpointConnections: [azureContainerRegistryPrivateEndpointConnection] + privateEndpointConnections: [azureContainerRegistryPrivateEndpoint] publicNetworkAccess: String @search(by: [hash, regexp]) networkRuleBypassOptions: String @search(by: [hash, regexp]) zoneRedundancy: String @search(by: [hash, regexp]) diff --git a/src/services/cosmosDb/schema.graphql b/src/services/cosmosDb/schema.graphql index 787134d8..edbb28c5 100644 --- a/src/services/cosmosDb/schema.graphql +++ b/src/services/cosmosDb/schema.graphql @@ -98,7 +98,7 @@ type azureCosmosDbVirtualNetworkRule ignoreMissingVNetServiceEndpoint: Boolean @search } -type azureCosmosDbPrivateLinkServiceConnectionStateProperty +type azureCosmosDbPrivateLinkState @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -109,7 +109,7 @@ type azureCosmosDbPrivateLinkServiceConnectionStateProperty actionsRequired: String @search(by: [hash, regexp]) } -type azureCosmosDbPrivateEndpointConnection +type azureCosmosDbPrivateEndpointConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -119,7 +119,7 @@ type azureCosmosDbPrivateEndpointConnection name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) privateEndpointId: String @search(by: [hash, regexp]) - privateLinkServiceConnectionState: azureCosmosDbPrivateLinkServiceConnectionStateProperty + privateLinkServiceConnectionState: azureCosmosDbPrivateLinkState groupId: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) } @@ -279,7 +279,7 @@ type azureCosmosDb implements azureResource locations: [azureCosmosDbLocation] failoverPolicies: [azureCosmosDbFailoverPolicy] virtualNetworkRules: [azureCosmosDbVirtualNetworkRule] - privateEndpointConnections: [azureCosmosDbPrivateEndpointConnection] + privateEndpointConnections: [azureCosmosDbPrivateEndpointConn] enableMultipleWriteLocations: Boolean @search enableCassandraConnector: Boolean @search connectorOffer: String @search(by: [hash, regexp]) diff --git a/src/services/dataCollectionRule/schema.graphql b/src/services/dataCollectionRule/schema.graphql index 7d5483b7..295aa319 100644 --- a/src/services/dataCollectionRule/schema.graphql +++ b/src/services/dataCollectionRule/schema.graphql @@ -1,4 +1,4 @@ -type azureDataCollectionRuleDataSourcesSpec { +type azureDataCollectionRuleDataSources { performanceCounters: [azureDataCollectionRulePerfCounterDataSource] windowsEventLogs: [azureDataCollectionRuleWindowsEventLogDataSource] syslog: [azureDataCollectionRuleSyslogDataSource] @@ -56,7 +56,7 @@ type azureDataCollectionRuleExtensionDataSource name: String @search(by: [hash, regexp]) } -type azureDataCollectionRuleDestinationsSpec { +type azureDataCollectionRuleDestinations { logAnalyticsDestinations: [azureDataCollectionRuleLogAnalyticsDestination] azureMonitorMetricsName: String @search(by: [hash, regexp]) } @@ -99,8 +99,8 @@ type azureDataCollectionRule implements azureResource lastModifiedAt: String @search(by: [hash, regexp]) description: String @search(by: [hash, regexp]) immutableId: String @search(by: [hash, regexp]) - dataSources: azureDataCollectionRuleDataSourcesSpec - destinations: azureDataCollectionRuleDestinationsSpec + dataSources: azureDataCollectionRuleDataSources + destinations: azureDataCollectionRuleDestinations dataFlows: [azureDataCollectionRuleDataFlow] provisioningState: String @search(by: [hash, regexp]) resourceGroup: [azureResourceGroup] @hasInverse(field: dataCollectionRules) diff --git a/src/services/databaseManagedSqlInstance/format.ts b/src/services/databaseManagedSqlInstance/format.ts index ba16407f..e5010324 100644 --- a/src/services/databaseManagedSqlInstance/format.ts +++ b/src/services/databaseManagedSqlInstance/format.ts @@ -1,5 +1,5 @@ import cuid from 'cuid' -import { AzureDatabaseManagedSqlInstance } from '../../types/generated' +import { AzureDbManagedSqlInstance } from '../../types/generated' import { formatTagsFromMap } from '../../utils/format' import { RawAzureDatabaseManagedSqlInstance } from './data' @@ -11,7 +11,7 @@ export default ({ service: RawAzureDatabaseManagedSqlInstance account: string region: string -}): AzureDatabaseManagedSqlInstance => { +}): AzureDbManagedSqlInstance => { const { id, name, diff --git a/src/services/databaseManagedSqlInstance/mutation.ts b/src/services/databaseManagedSqlInstance/mutation.ts index cd60d69f..541677b2 100644 --- a/src/services/databaseManagedSqlInstance/mutation.ts +++ b/src/services/databaseManagedSqlInstance/mutation.ts @@ -1,5 +1,5 @@ -export default `mutation($input: [AddazureDatabaseManagedSqlInstanceInput!]!) { - addazureDatabaseManagedSqlInstance(input: $input, upsert: true) { +export default `mutation($input: [AddazureDbManagedSqlInstanceInput!]!) { + addazureDbManagedSqlInstance(input: $input, upsert: true) { numUids } }`; diff --git a/src/services/databaseManagedSqlInstance/schema.graphql b/src/services/databaseManagedSqlInstance/schema.graphql index 261ed351..ed50ef35 100644 --- a/src/services/databaseManagedSqlInstance/schema.graphql +++ b/src/services/databaseManagedSqlInstance/schema.graphql @@ -1,10 +1,10 @@ -type azureDatabaseManagedSqlInstance implements azureResource +type azureDbManagedSqlInstance implements azureResource @generate( query: { get: true, query: true, aggregate: true } mutation: { add: true, delete: false } ) @key(fields: "id") { - identity: azureDatabaseManagedSqlInstanceIdentity + identity: azureDbManagedSqlInstanceIdentity skuName: String @search(by: [hash, regexp]) skuTier: String @search(by: [hash, regexp]) collation: String @search(by: [hash, regexp]) @@ -33,7 +33,7 @@ type azureDatabaseManagedSqlInstance implements azureResource resourceGroup: [azureResourceGroup] @hasInverse(field: databaseManagedSqlInstances) } -type azureDatabaseManagedSqlInstanceIdentity +type azureDbManagedSqlInstanceIdentity @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/databaseSql/schema.graphql b/src/services/databaseSql/schema.graphql index f67a3307..afe69d9d 100644 --- a/src/services/databaseSql/schema.graphql +++ b/src/services/databaseSql/schema.graphql @@ -47,7 +47,7 @@ type azureDatabaseSql implements azureResource isInfraEncryptionEnabled: Boolean @search federatedClientId: String @search(by: [hash, regexp]) primaryDelegatedIdentityClientId: String @search(by: [hash, regexp]) - transparentDataEncryptions: [azureDatabaseSqlLogicalDatabaseTransparentDataEncryption] + transparentDataEncryptions: [azureDatabaseSqlDataEncryption] resourceGroup: [azureResourceGroup] @hasInverse(field: databaseSql) sqlServers: [azureSqlServer] @hasInverse(field: databaseSql) } @@ -133,7 +133,7 @@ type azureDatabaseSqlSku capacity: Int @search } -type azureDatabaseSqlLogicalDatabaseTransparentDataEncryption implements azureResource +type azureDatabaseSqlDataEncryption implements azureResource @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/expressRouteGateways/schema.graphql b/src/services/expressRouteGateways/schema.graphql index 1c0371f5..39983b00 100644 --- a/src/services/expressRouteGateways/schema.graphql +++ b/src/services/expressRouteGateways/schema.graphql @@ -6,7 +6,7 @@ type azureExpressRouteGateway implements azureResource @key(fields: "id") { etag: String @search(by: [hash, regexp]) autoScaleConfiguration: azureExpressRouteGatewayPropertiesAutoScaleConfiguration - expressRouteConnections: [azureExpressRouteGatewayConnection] + expressRouteConnections: [azureExpressRouteGatewayConn] provisioningState: String @search(by: [hash, regexp]) virtualHub: azureExpressRouteGatewayVirtualHubId resourceGroup: [azureResourceGroup] @hasInverse(field: expressRouteGateways) @@ -31,7 +31,7 @@ type azureExpressRouteGatewayPropertiesAutoScaleConfigurationBounds max: Int @search } -type azureExpressRouteGatewayConnection +type azureExpressRouteGatewayConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/index.ts b/src/services/index.ts index 60d8c5a8..09aedbeb 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -1,24 +1,25 @@ -import CloudGraph, { Service, Opts, ProviderData } from '@cloudgraph/sdk' +import { Subscription, SubscriptionClient } from '@azure/arm-subscriptions' import { TokenCredential } from '@azure/core-http' import { ClientSecretCredential } from '@azure/identity' -import { Subscription, SubscriptionClient } from '@azure/arm-subscriptions' +import CloudGraph, { Opts, ProviderData, Service } from '@cloudgraph/sdk' import { loadFilesSync } from '@graphql-tools/load-files' import { mergeTypeDefs } from '@graphql-tools/merge' import chalk from 'chalk' -import { print } from 'graphql' import { isEmpty, merge, unionBy } from 'lodash' import path from 'path' +import { + DEFAULT_REGION, + DEFAULT_RESOURCES, + GLOBAL_REGION +} from '../config/constants' import regions from '../enums/regions' import resources from '../enums/resources' -import serviceMap from '../enums/serviceMap' import schemasMap from '../enums/schemasMap' +import serviceMap from '../enums/serviceMap' import services from '../enums/services' import { - AzureCredentials, - AzureConfig, - rawDataInterface, - AzureServiceInput, + AzureConfig, AzureCredentials, AzureServiceInput, rawDataInterface } from '../types' import { DEFAULT_REGION, @@ -30,9 +31,11 @@ import { checkAndMergeConnections, sortResourcesDependencies } from '../utils' import { createDiffSecs } from '../utils/dateutils' import { getClientSecretCredentials, - getTokenCredentials, + getTokenCredentials } from '../utils/authUtils' import enhancers, { EnhancerConfig } from './base/enhancers' +import { createDiffSecs } from '../utils/dateutils' +import { obfuscateSensitiveString } from '../utils/format' export const enums = { services, @@ -341,12 +344,12 @@ export default class Provider extends CloudGraph.Client { * getSchema is used to get the schema for provider * @returns A string of graphql sub schemas */ - getSchema(): string { + getSchema(): any { const typesArray = loadFilesSync(path.join(__dirname), { recursive: true, extensions: ['graphql'], }) - return print(mergeTypeDefs(typesArray)) + return mergeTypeDefs(typesArray) } /** diff --git a/src/services/integrationRuntimes/schema.graphql b/src/services/integrationRuntimes/schema.graphql index 190cbb3a..c0174e12 100644 --- a/src/services/integrationRuntimes/schema.graphql +++ b/src/services/integrationRuntimes/schema.graphql @@ -179,7 +179,7 @@ type azureCredentialReference referenceName: String @search(by: [hash, regexp]) } -type azureIntegrationRuntimeSsisProperties +type azureIntegrationRuntimeSsis @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -221,7 +221,7 @@ type azureIntegrationRuntimeProperties state: String @search(by: [hash, regexp]) managedVirtualNetwork: azureManagedVirtualNetworkReference computeProperties: azureIntegrationRuntimeComputeProperties - ssisProperties: azureIntegrationRuntimeSsisProperties + ssisProperties: azureIntegrationRuntimeSsis customerVirtualNetworkSubnetId: String @search(by: [hash, regexp]) linkedInfo: azureLinkedIntegrationRuntimeTypeUnion referenceName: String @search(by: [hash, regexp]) @@ -242,7 +242,7 @@ type azureIntegrationRuntime implements azureBaseResource state: String @search(by: [hash, regexp]) managedVirtualNetwork: azureManagedVirtualNetworkReference computeProperties: azureIntegrationRuntimeComputeProperties - ssisProperties: azureIntegrationRuntimeSsisProperties + ssisProperties: azureIntegrationRuntimeSsis customerVirtualNetworkSubnetId: String @search(by: [hash, regexp]) linkedInfo: azureLinkedIntegrationRuntimeTypeUnion referenceName: String @search(by: [hash, regexp]) diff --git a/src/services/machineLearningWorkspaces/schema.graphql b/src/services/machineLearningWorkspaces/schema.graphql index 286c42d0..52c401ab 100644 --- a/src/services/machineLearningWorkspaces/schema.graphql +++ b/src/services/machineLearningWorkspaces/schema.graphql @@ -26,7 +26,7 @@ type azureMachineLearningWorkspace implements azureResource imageBuildCompute: String @search(by: [hash, regexp]) allowPublicAccessWhenBehindVnet: Boolean @search publicNetworkAccess: String @search(by: [hash, regexp]) - privateEndpointConnections: [azureMachineLearningWorkspacePrivateEndpointConnection] + privateEndpointConnections: [azureMachineLearningWorkspacePrivateEndpointConn] sharedPrivateLinkResources: [azureMachineLearningWorkspaceSharedPrivateLinkResource] notebookInfo: azureMachineLearningWorkspaceNotebookResourceInfo serviceManagedResourcesSettings: azureMachineLearningWorkspaceServiceManagedResourcesSettings @@ -78,7 +78,7 @@ type azureMachineLearningWorkspaceKeyVaultProperties identityClientId: String @search(by: [hash, regexp]) } -type azureMachineLearningWorkspacePrivateEndpointConnection +type azureMachineLearningWorkspacePrivateEndpointConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -95,7 +95,7 @@ type azureMachineLearningWorkspacePrivateEndpointConnection lastModifiedByType: String @search(by: [hash, regexp]) lastModifiedAt: String @search(by: [hash, regexp]) privateEndpoint: azureMachineLearningWorkspacePrivateEndpoint - privateLinkServiceConnectionState: azureMachineLearningWorkspacePrivateLinkServiceConnectionState + privateLinkServiceConnectionState: azureMachineLearningWorkspacePrivateLinkState provisioningState: String @search(by: [hash, regexp]) } @@ -109,7 +109,7 @@ type azureMachineLearningWorkspacePrivateEndpoint subnetArmId: String @search(by: [hash, regexp]) } -type azureMachineLearningWorkspacePrivateLinkServiceConnectionState +type azureMachineLearningWorkspacePrivateLinkState @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/mySqlServers/schema.graphql b/src/services/mySqlServers/schema.graphql index 7f55001f..fd73f69a 100644 --- a/src/services/mySqlServers/schema.graphql +++ b/src/services/mySqlServers/schema.graphql @@ -61,7 +61,7 @@ type azureMySqlServerServerPrivateEndpointConnectionProperties mutation: { add: true, delete: false } ) { privateEndpoint: azureMySqlServerPrivateEndpointProperty - privateLinkServiceConnectionState: azureMySqlServerServerPrivateLinkServiceConnectionStateProperty + privateLinkServiceConnectionState: azureMySqlServerServerPrivateLinkState provisioningState: String @search(by: [hash, regexp]) } @@ -73,7 +73,7 @@ type azureMySqlServerPrivateEndpointProperty id: String @search(by: [hash, regexp]) } -type azureMySqlServerServerPrivateLinkServiceConnectionStateProperty +type azureMySqlServerServerPrivateLinkState @generate( query: { get: true, query: true, aggregate: true } mutation: { add: true, delete: false } diff --git a/src/services/networkInterface/schema.graphql b/src/services/networkInterface/schema.graphql index c02bb10d..2a815279 100644 --- a/src/services/networkInterface/schema.graphql +++ b/src/services/networkInterface/schema.graphql @@ -1,4 +1,4 @@ -type azureNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties +type azureNetworkInterfaceConnProperties @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -22,7 +22,7 @@ type azureNetworkInterfaceIpConfiguration subnetId: String @search(by: [hash, regexp]) primary: Boolean @search provisioningState: String @search(by: [hash, regexp]) - privateLinkConnectionProperties: azureNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties + privateLinkConnectionProperties: azureNetworkInterfaceConnProperties id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) etag: String @search(by: [hash, regexp]) diff --git a/src/services/recoveryInstances/format.ts b/src/services/recoveryInstances/format.ts index ed66148d..3bc6040e 100644 --- a/src/services/recoveryInstances/format.ts +++ b/src/services/recoveryInstances/format.ts @@ -59,6 +59,38 @@ const formatProperties = ( return {} } const { + protectedItemType, + backupManagementType, + workloadType, + containerName, + sourceResourceId, + policyId, + backupSetName, + createMode, + isScheduledForDeferredDelete, + deferredDeleteTimeRemaining, + isDeferredDeleteScheduleUpcoming, + isRehydrate, + resourceGuardOperationRequests, + isArchiveEnabled, + policyName, + friendlyName, + protectionStatus, + protectionState, + lastBackupStatus, + virtualMachineId, + healthStatus, + protectedItemDataId, + serverName, + parentName, + parentType, + protectedItemDataSourceId, + protectedItemHealthStatus, + backupEngineName, + protectedItemId, + fabricName, + computerName, + deferredDeleteSyncTimeInUTC, lastRecoveryPoint, deferredDeleteTimeInUTC, lastBackupTime, @@ -66,16 +98,50 @@ const formatProperties = ( kpisHealths = {}, healthDetails = [], sourceAssociations = [], - ...rest } = properties const { oldestRecoveryPoint, resourceStateSyncTime, lastRefreshedAt, - ...restExtendedInfo + recoveryPointCount, + policyState, + resourceState, + policyInconsistent, } = extendedInfo return { + protectedItemType, + backupManagementType, + workloadType, + containerName, + sourceResourceId, + policyId, + backupSetName, + createMode, + isScheduledForDeferredDelete, + deferredDeleteTimeRemaining, + isDeferredDeleteScheduleUpcoming, + isRehydrate, + resourceGuardOperationRequests, + isArchiveEnabled, + policyName, + friendlyName, + protectionStatus, + protectionState, + lastBackupStatus, + virtualMachineId, + healthStatus, + protectedItemDataId, + serverName, + parentName, + parentType, + protectedItemDataSourceId, + protectedItemHealthStatus, + backupEngineName, + protectedItemId, + fabricName, + computerName, + deferredDeleteSyncTimeInUTC, lastRecoveryPoint: lastRecoveryPoint?.toISOString(), deferredDeleteTimeInUTC: deferredDeleteTimeInUTC?.toISOString(), lastBackupTime: lastBackupTime?.toISOString(), @@ -83,7 +149,10 @@ const formatProperties = ( oldestRecoveryPoint: oldestRecoveryPoint?.toISOString(), resourceStateSyncTime: resourceStateSyncTime?.toISOString(), lastRefreshedAt: lastRefreshedAt?.toISOString(), - ...restExtendedInfo, + recoveryPointCount, + policyState, + resourceState, + policyInconsistent, }, kpisHealths: Object.keys(kpisHealths ?? {}).map(key => ({ id: cuid(), @@ -93,7 +162,10 @@ const formatProperties = ( resourceHealthDetails: kpisHealths[key]?.resourceHealthDetails?.map(hd => ({ id: cuid(), - ...hd, + code: hd.code, + title: hd.title, + message: hd.message, + recommendations: hd.recommendations || [], })) || [], }, })), @@ -103,7 +175,6 @@ const formatProperties = ( key, value: sourceAssociations[key], })), - ...rest, } } @@ -113,7 +184,7 @@ export default ({ }: { service: RawAzureProtectedItemResource account: string -}): AzureRecoveryInstance => { +}): AzureBackupInstance => { const { id, name, type, region, eTag, properties, resourceGroupId } = service return { id: id || cuid(), diff --git a/src/services/recoveryInstances/schema.graphql b/src/services/recoveryInstances/schema.graphql index d9e99bf9..4bfd8cd2 100644 --- a/src/services/recoveryInstances/schema.graphql +++ b/src/services/recoveryInstances/schema.graphql @@ -13,7 +13,7 @@ type azureRecoveryInstanceItemExtendedInfo lastRefreshedAt: DateTime @search(by: [day]) } -type azureRecoveryInstanceResourceHealthDetails +type azureBackupInstanceResourceHealth @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -47,14 +47,14 @@ type azureRecoveryInstanceExtendedProperties linuxVmApplicationName: String @search(by: [hash, regexp]) } -type azureRecoveryInstanceKPIResourceHealthDetails +type azureBackupInstanceKPIResourceHealth @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { resourceHealthStatus: String @search(by: [hash, regexp]) - resourceHealthDetails: [azureRecoveryInstanceResourceHealthDetails] + resourceHealthDetails: [azureBackupInstanceResourceHealth] } type azureRecoveryInstanceKpisHealths @@ -66,7 +66,7 @@ type azureRecoveryInstanceKpisHealths @key(fields: "id") { id: String! @id key: String @search(by: [hash, regexp]) - value: azureRecoveryInstanceKPIResourceHealthDetails + value: azureBackupInstanceKPIResourceHealth } type azureRecoveryInstanceErrorDetail @@ -124,7 +124,7 @@ type azureRecoveryInstanceProperties extendedInfo: azureRecoveryInstanceItemExtendedInfo virtualMachineId: String @search(by: [hash, regexp]) healthStatus: String @search(by: [hash, regexp]) - healthDetails: [azureRecoveryInstanceResourceHealthDetails] + healthDetails: [azureBackupInstanceResourceHealth] protectedItemDataId: String @search(by: [hash, regexp]) extendedProperties: azureRecoveryInstanceExtendedProperties serverName: String @search(by: [hash, regexp]) diff --git a/src/services/recoveryPolicies/format.ts b/src/services/recoveryPolicies/format.ts index 63465e99..b2eff63a 100644 --- a/src/services/recoveryPolicies/format.ts +++ b/src/services/recoveryPolicies/format.ts @@ -23,7 +23,6 @@ import { AzureRecoveryPolicyRetentionPolicyUnion, AzureRecoveryPolicySchedulePolicyUnion, } from '../../types/generated' -import { RawAzureProtectionPolicyResource } from './data' export interface RawAzureSchedulePolicy extends SchedulePolicy { scheduleFrequencyInMins?: number @@ -80,7 +79,7 @@ const formatSchedulePolicy = ( } = schedulePolicy return { - scheduleRunTimes: scheduleRunTimes?.map(t => t?.toISOString()) || [], + scheduleRunTimes: scheduleRunTimes?.map(t => t?.toISOString()), hourlySchedule: { interval: hourlySchedule?.interval, scheduleWindowStartTime: @@ -88,10 +87,10 @@ const formatSchedulePolicy = ( scheduleWindowDuration: hourlySchedule?.scheduleWindowDuration, }, dailySchedule: - dailySchedule?.scheduleRunTimes?.map(t => t?.toISOString()) || [], + dailySchedule?.scheduleRunTimes?.map(t => t?.toISOString()), weeklySchedule: { scheduleRunDays: weeklySchedule?.scheduleRunDays, - scheduleRunTimes: scheduleRunTimes?.map(t => t?.toISOString()) || [], + scheduleRunTimes: scheduleRunTimes?.map(t => t?.toISOString()), }, ...rest, } @@ -116,8 +115,7 @@ const formatRetentionPolicy = ( return { dailySchedule: { retentionTimes: - retentionDailySchedule?.retentionTimes?.map(t => t?.toISOString()) || - [], + retentionDailySchedule?.retentionTimes?.map(t => t?.toISOString()), retentionDurationCount: retentionDailySchedule?.retentionDuration?.count, retentionDurationType: retentionDailySchedule?.retentionDuration?.durationType, @@ -125,8 +123,7 @@ const formatRetentionPolicy = ( weeklySchedule: { daysOfTheWeek: retentionWeeklySchedule?.daysOfTheWeek, retentionTimes: - retentionWeeklySchedule?.retentionTimes?.map(t => t?.toISOString()) || - [], + retentionWeeklySchedule?.retentionTimes?.map(t => t?.toISOString()), retentionDurationCount: retentionWeeklySchedule?.retentionDuration?.count, retentionDurationType: retentionWeeklySchedule?.retentionDuration?.durationType, @@ -139,10 +136,12 @@ const formatRetentionPolicy = ( ({ date, isLast }) => ({ id: cuid(), date, isLast }) ) || [], retentionScheduleWeekly: - retentionMonthlySchedule?.retentionScheduleWeekly, + retentionMonthlySchedule?.retentionScheduleWeekly ? { + daysOfTheWeek: retentionMonthlySchedule.retentionScheduleWeekly.daysOfTheWeek || [], + weeksOfTheMonth: retentionMonthlySchedule.retentionScheduleWeekly.weeksOfTheMonth || [], + } : {}, retentionTimes: - retentionMonthlySchedule?.retentionTimes?.map(t => t?.toISOString()) || - [], + retentionMonthlySchedule?.retentionTimes?.map(t => t?.toISOString()), retentionDurationCount: retentionMonthlySchedule?.retentionDuration?.count, retentionDurationType: @@ -158,8 +157,7 @@ const formatRetentionPolicy = ( ) || [], retentionScheduleWeekly: retentionYearlySchedule?.retentionScheduleWeekly, retentionTimes: - retentionYearlySchedule?.retentionTimes?.map(t => t?.toISOString()) || - [], + retentionYearlySchedule?.retentionTimes?.map(t => t?.toISOString()), retentionDurationCount: retentionYearlySchedule?.retentionDuration?.count, retentionDurationType: retentionYearlySchedule?.retentionDuration?.durationType, diff --git a/src/services/recoveryPolicies/schema.graphql b/src/services/recoveryPolicies/schema.graphql index c621784b..2f2ddd34 100644 --- a/src/services/recoveryPolicies/schema.graphql +++ b/src/services/recoveryPolicies/schema.graphql @@ -57,7 +57,7 @@ type azureRecoveryPolicyRetentionDuration durationType: String @search(by: [hash, regexp]) } -type azureRecoveryPolicyDailyRetentionSchedule +type azureBackupPolicyDailySchedule @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -68,7 +68,7 @@ type azureRecoveryPolicyDailyRetentionSchedule retentionDurationType: String @search(by: [hash, regexp]) } -type azureRecoveryPolicyWeeklyRetentionSchedule +type azureBackupPolicyWeeklySchedule @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -102,7 +102,7 @@ type azureRecoveryPolicyWeeklyRetentionFormat weeksOfTheMonth: [String] @search(by: [hash, regexp]) } -type azureRecoveryPolicyMonthlyRetentionSchedule +type azureBackupPolicyMonthlySchedule @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -116,7 +116,7 @@ type azureRecoveryPolicyMonthlyRetentionSchedule retentionDurationType: String @search(by: [hash, regexp]) } -type azureRecoveryPolicyYearlyRetentionSchedule +type azureBackupPolicyYearlySchedule @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -138,10 +138,10 @@ type azureRecoveryPolicyRetentionPolicyUnion subscription: false ) { retentionPolicyType: String @search(by: [hash, regexp]) - dailySchedule: azureRecoveryPolicyDailyRetentionSchedule - weeklySchedule: azureRecoveryPolicyWeeklyRetentionSchedule - monthlySchedule: azureRecoveryPolicyMonthlyRetentionSchedule - yearlySchedule: azureRecoveryPolicyYearlyRetentionSchedule + dailySchedule: azureBackupPolicyDailySchedule + weeklySchedule: azureBackupPolicyWeeklySchedule + monthlySchedule: azureBackupPolicyMonthlySchedule + yearlySchedule: azureBackupPolicyYearlySchedule retentionDurationCount: Int @search retentionDurationType: String @search(by: [hash, regexp]) } diff --git a/src/services/recoveryVaults/format.ts b/src/services/recoveryVaults/format.ts index 401faf27..c6a24f5f 100644 --- a/src/services/recoveryVaults/format.ts +++ b/src/services/recoveryVaults/format.ts @@ -107,7 +107,42 @@ export default ({ value: identity?.userAssignedIdentities[key], })), }, - ...transformSystemData(systemData), + properties: { + ...properties, + moveDetails: { + ...properties?.moveDetails, + completionTimeUtc: properties?.moveDetails?.completionTimeUtc?.toISOString(), + startTimeUtc: properties?.moveDetails?.startTimeUtc?.toISOString(), + }, + upgradeDetails: { + ...properties?.upgradeDetails, + endTimeUtc: properties?.upgradeDetails?.endTimeUtc?.toISOString(), + lastUpdatedTimeUtc: properties?.upgradeDetails?.lastUpdatedTimeUtc?.toISOString(), + startTimeUtc: properties?.upgradeDetails?.startTimeUtc?.toISOString(), + }, + privateEndpointConnections: properties?.privateEndpointConnections?.map(connection => ({ + id: connection?.id || cuid(), + properties: { + provisioningState: connection.properties?.provisioningState, + privateEndpoint: connection.properties?.privateEndpoint, + privateLinkServiceConnectionState: { + status: connection.properties?.privateLinkServiceConnectionState?.status, + description: connection.properties?.privateLinkServiceConnectionState?.description, + actionsRequired: connection.properties?.privateLinkServiceConnectionState?.actionsRequired, + } + }, + name: connection.name, + type: connection.type, + location: connection.location + })), + }, + sku, + createdBy: systemData?.createdBy, + createdByType: systemData?.createdByType, + createdAt: systemData?.createdAt?.toISOString(), + lastModifiedBy: systemData?.lastModifiedBy, + lastModifiedByType: systemData?.lastModifiedByType, + lastModifiedAt: systemData?.lastModifiedAt?.toISOString(), tags: formatTagsFromMap(Tags), } } diff --git a/src/services/recoveryVaults/schema.graphql b/src/services/recoveryVaults/schema.graphql index ba1b15b3..6f932005 100644 --- a/src/services/recoveryVaults/schema.graphql +++ b/src/services/recoveryVaults/schema.graphql @@ -45,12 +45,43 @@ type azureRecoveryVaultPrivateEndpointConnectionVaultProperties ) @key(fields: "id") { id: String! @id @search(by: [hash]) - properties: azureRecoveryVaultPrivateEndpointConnection + properties: azureRecoveryVaultPrivateEndpointConn name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) location: String @search(by: [hash, regexp]) } +type azureRecoveryVaultPrivateEndpointConn + @generate( + query: { get: false, query: true, aggregate: false } + mutation: { add: false, delete: false } + subscription: false + ) { + provisioningState: String @search(by: [hash, regexp]) + privateEndpoint: azureRecoveryVaultPrivateEndpoint + privateLinkServiceConnectionState: azureRecoveryVaultPrivateLinkServiceConnectionState +} + +type azureRecoveryVaultPropertiesEncryption + @generate( + query: { get: false, query: true, aggregate: false } + mutation: { add: false, delete: false } + subscription: false + ) { + keyVaultProperties: azureRecoveryVaultCmkKeyVaultProperties + kekIdentity: azureRecoveryVaultCmkKekIdentity + infrastructureEncryption: String @search(by: [hash, regexp]) +} + +type azureRecoveryVaultCmkKeyVaultProperties + @generate( + query: { get: false, query: true, aggregate: false } + mutation: { add: false, delete: false } + subscription: false + ) { + keyUri: String @search(by: [hash, regexp]) +} + type azureRecoveryVaultCmkKekIdentity @generate( query: { get: false, query: true, aggregate: false } diff --git a/src/services/redisCache/schema.graphql b/src/services/redisCache/schema.graphql index e110eadf..501cf371 100644 --- a/src/services/redisCache/schema.graphql +++ b/src/services/redisCache/schema.graphql @@ -25,7 +25,7 @@ type azureRedisCache implements azureResource accessKeys: azureRedisCacheAccessKeys linkedServers: [azureRedisCacheLinkedServer] instances: [azureRedisCacheInstanceDetails] - privateEndpointConnections: [azureRedisCachePrivateEndpointConnection] + privateEndpointConnections: [azureRedisCachePrivateEndpointConn] resourceGroup: [azureResourceGroup] @hasInverse(field: redisCaches) } @@ -99,7 +99,7 @@ type azureRedisCacheInstanceDetails isPrimary: Boolean @search } -type azureRedisCachePrivateEndpointConnection +type azureRedisCachePrivateEndpointConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/resourceGroup/schema.graphql b/src/services/resourceGroup/schema.graphql index 3f0c240c..83eb9ef0 100644 --- a/src/services/resourceGroup/schema.graphql +++ b/src/services/resourceGroup/schema.graphql @@ -27,7 +27,7 @@ type azureResourceGroup implements azureResource dataCollectionRules: [azureDataCollectionRule] @hasInverse(field: resourceGroup) dataFactories: [azureDataFactory] @hasInverse(field: resourceGroup) dataLakeStorageAccount: [azureDataLakeStorageAccount] @hasInverse(field: resourceGroup) - databaseManagedSqlInstances: [azureDatabaseManagedSqlInstance] @hasInverse(field: resourceGroup) + databaseManagedSqlInstances: [azureDbManagedSqlInstance] @hasInverse(field: resourceGroup) databaseMySql: [azureDatabaseMySql] @hasInverse(field: resourceGroup) databasePostgreSql: [azureDatabasePostgreSql] @hasInverse(field: resourceGroup) databaseSql: [azureDatabaseSql] @hasInverse(field: resourceGroup) @@ -71,7 +71,7 @@ type azureResourceGroup implements azureResource synapseSqlPools: [azureSynapseSqlPool] @hasInverse(field: resourceGroup) synapseWorkspaces: [azureSynapseWorkspace] @hasInverse(field: resourceGroup) trafficManagerProfiles: [azureTrafficManagerProfile] @hasInverse(field: resourceGroup) - virtualMachineScaleSets: [azureVirtualMachineScaleSet] @hasInverse(field: resourceGroup) + virtualMachineScaleSets: [azureVmScaleSet] @hasInverse(field: resourceGroup) virtualMachines: [azureVirtualMachine] @hasInverse(field: resourceGroup) virtualNetworks: [azureVirtualNetwork] @hasInverse(field: resourceGroup) } diff --git a/src/services/securityGroup/format.ts b/src/services/securityGroup/format.ts index c964cc4d..2f24a088 100644 --- a/src/services/securityGroup/format.ts +++ b/src/services/securityGroup/format.ts @@ -2,7 +2,7 @@ import { ApplicationSecurityGroup, SecurityRule } from '@azure/arm-network' import cuid from 'cuid' import { AzureNetworkSecurityGroup, - AzureNetworkSecurityGroupApplication, + AzureNetworkSecurityGroupApp, AzureNetworkSecurityGroupRule, AzureNetworkSecurityGroupFlowLog, } from '../../types/generated' @@ -11,7 +11,7 @@ import { RawAzureNetworkSecurityGroup, RawAzureFlowLog } from './data' const normalizeApplicationSecurityGroups = ( asgArr: Array -): Array => +): Array => asgArr.map(({ id: asgId, ...restData }) => ({ id: asgId || cuid(), ...restData, @@ -29,9 +29,9 @@ const normalizeSecurityRules = ( }) => ({ id: sgId || cuid(), ...dataSR, - destinationApplicationSecurityGroups: + destinationAppSecurityGroups: normalizeApplicationSecurityGroups(dASG), - sourceApplicationSecurityGroups: normalizeApplicationSecurityGroups(sASG), + sourceAppSecurityGroups: normalizeApplicationSecurityGroups(sASG), }) ) diff --git a/src/services/securityGroup/schema.graphql b/src/services/securityGroup/schema.graphql index afbbb4c6..c48a55c0 100644 --- a/src/services/securityGroup/schema.graphql +++ b/src/services/securityGroup/schema.graphql @@ -1,4 +1,4 @@ -type azureNetworkSecurityGroupApplication implements azureBaseResource +type azureNetworkSecurityGroupApp implements azureBaseResource @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -20,10 +20,10 @@ type azureNetworkSecurityGroupRule implements azureBaseResource destinationPortRange: String @search(by: [hash, regexp]) sourceAddressPrefix: String @search(by: [hash, regexp]) sourceAddressPrefixes: [String] @search(by: [hash, regexp]) - sourceApplicationSecurityGroups: [azureNetworkSecurityGroupApplication] + sourceAppSecurityGroups: [azureNetworkSecurityGroupApp] destinationAddressPrefix: String @search(by: [hash, regexp]) destinationAddressPrefixes: [String] @search(by: [hash, regexp]) - destinationApplicationSecurityGroups: [azureNetworkSecurityGroupApplication] + destinationAppSecurityGroups: [azureNetworkSecurityGroupApp] sourcePortRanges: [String] @search(by: [hash, regexp]) destinationPortRanges: [String] @search(by: [hash, regexp]) access: String @search(by: [hash, regexp]) diff --git a/src/services/synapseWorkspaces/schema.graphql b/src/services/synapseWorkspaces/schema.graphql index 7b75423f..27938712 100644 --- a/src/services/synapseWorkspaces/schema.graphql +++ b/src/services/synapseWorkspaces/schema.graphql @@ -12,7 +12,7 @@ type azureSynapseWorkspace implements azureResource sqlAdministratorLogin: String @search(by: [hash, regexp]) virtualNetworkProfile: azureSynapseWorkspaceVirtualNetworkProfile managedVirtualNetwork: String @search(by: [hash, regexp]) - privateEndpointConnections: [azureSynapseWorkspacePrivateEndpointConnection] + privateEndpointConnections: [azureSynapseWorkspacePrivateEndpointConn] encryption: azureSynapseWorkspaceEncryptionDetails workspaceUID: String @search(by: [hash, regexp]) managedVirtualNetworkSettings: azureSynapseWorkspaceManagedVirtualNetworkSettings @@ -61,7 +61,7 @@ type azureSynapseWorkspaceVirtualNetworkProfile computeSubnetId: String @search(by: [hash, regexp]) } -type azureSynapseWorkspacePrivateEndpointConnection +type azureSynapseWorkspacePrivateEndpointConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/tag/schema.graphql b/src/services/tag/schema.graphql index 58851dd8..25e0dcae 100644 --- a/src/services/tag/schema.graphql +++ b/src/services/tag/schema.graphql @@ -21,7 +21,7 @@ type azureTag @key(fields: "id") { cosmosDb: [azureCosmosDb] dataCollectionRules: [azureDataCollectionRule] dataFactories: [azureDataFactory] - databaseManagedSqlInstances: [azureDatabaseManagedSqlInstance] + databaseManagedSqlInstances: [azureDbManagedSqlInstance] disks: [azureDisk] dns: [azureDnsZone] expressRouteGateways: [azureExpressRouteGateway] @@ -51,7 +51,7 @@ type azureTag @key(fields: "id") { synapseWorkspaces: [azureSynapseWorkspace] trafficManagerProfiles: [azureTrafficManagerProfile] virtualMachines: [azureVirtualMachine] - virtualMachineScaleSets: [azureVirtualMachineScaleSet] + virtualMachineScaleSets: [azureVmScaleSet] virtualNetworks: [azureVirtualNetwork] } @@ -64,4 +64,4 @@ type azureRawTag id: String! @id key: String value: String -} +} \ No newline at end of file diff --git a/src/services/trafficManagerProfile/schema.graphql b/src/services/trafficManagerProfile/schema.graphql index 5a432923..c7d70aab 100644 --- a/src/services/trafficManagerProfile/schema.graphql +++ b/src/services/trafficManagerProfile/schema.graphql @@ -9,7 +9,7 @@ type azureTrafficManagerProfileDnsConfig ttl: Int @search } -type azureTrafficManagerProfileMonitorConfig +type azureTrafficManagerProfileMonitor @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -23,7 +23,7 @@ type azureTrafficManagerProfileMonitorConfig timeoutInSeconds: Int @search toleratedNumberOfFailures: Int @search customHeaders: [azureTrafficManagerProfileCustomHeadersItem] - expectedStatusCodeRanges: [azureTrafficManagerProfileMonitorConfigExpectedStatusCodeRangesItem] + expectedStatusCodeRanges: [azureTrafficManagerProfileExpectedStatus] } type azureTrafficManagerProfileCustomHeadersItem @@ -38,7 +38,7 @@ type azureTrafficManagerProfileCustomHeadersItem value: String @search(by: [hash, regexp]) } -type azureTrafficManagerProfileMonitorConfigExpectedStatusCodeRangesItem +type azureTrafficManagerProfileExpectedStatus @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -95,7 +95,7 @@ type azureTrafficManagerProfile implements azureResource profileStatus: String @search(by: [hash, regexp]) trafficRoutingMethod: String @search(by: [hash, regexp]) dnsConfig: azureTrafficManagerProfileDnsConfig - monitorConfig: azureTrafficManagerProfileMonitorConfig + monitorConfig: azureTrafficManagerProfileMonitor endpoints: [azureTrafficManagerProfileEndpoint] trafficViewEnrollmentStatus: String @search(by: [hash, regexp]) allowedEndpointRecordTypes: [String] @search(by: [hash, regexp]) diff --git a/src/services/virtualMachine/format.ts b/src/services/virtualMachine/format.ts index f2f8f882..2f74a8b1 100644 --- a/src/services/virtualMachine/format.ts +++ b/src/services/virtualMachine/format.ts @@ -51,49 +51,27 @@ export default ({ Tags, } = service const { - id: imageReferenceId, - exactVersion, - offer, - sku, - publisher, - version, - sharedGalleryImageId, - }: AzureVirtualMachineStorageImageReference = imageReference + linuxConfiguration: linuxConfig = {}, + windowsConfiguration: { patchSettings: wps, ...windowsConfiguration } = {}, + ...osProfile + } = restOsProfile + const storageImageReference: AzureVirtualMachineStorageImageReference = + imageReference || {} return { id, subscriptionId: account, name, type, region, - plan: { name: planName, publisher: planPublisher, product: planProduct }, - vmSize, - vmId, - priority, - billingProfileMaxPrice: maxPrice, - additionalCapabilities: { ultraSSDEnabled, hibernationEnabled }, osProfile: { - computerName, - windowsConfiguration: { - provisionVMAgent: wProvisionVMAgent, - enableAutomaticUpdates, - timeZone, - }, linuxConfiguration: { - disablePasswordAuthentication, - provisionVMAgent: lProvisionVMAgent, + disablePasswordAuthentication: linuxConfig?.disablePasswordAuthentication, + provisionVMAgent: linuxConfig?.provisionVMAgent, }, - allowExtensionOperations, - requireGuestProvisionSignal, - }, - storageImageReference: { - id: imageReferenceId, - exactVersion, - offer, - sku, - publisher, - version, - sharedGalleryImageId, + windowsConfiguration, + ...osProfile, }, + storageImageReference, bootDiagnostics, licenseType, resourceGroupId, diff --git a/src/services/virtualMachineScaleSet/format.ts b/src/services/virtualMachineScaleSet/format.ts index 6f1e9e78..93fab3c9 100644 --- a/src/services/virtualMachineScaleSet/format.ts +++ b/src/services/virtualMachineScaleSet/format.ts @@ -7,18 +7,18 @@ import { VirtualMachineScaleSetExtensionProfile, } from '@azure/arm-compute' import { - AzureVirtualMachineScaleSet, - AzureVirtualMachineScaleSetOsProfile, - AzureVirtualMachineScaleSetStorageProfile, - AzureVirtualMachineScaleSetNetworkProfile, - AzureVirtualMachineScaleSetExtension, + AzureVmScaleSet, + AzureVmScaleSetOsProfile, + AzureVmScaleSetStorageProfile, + AzureVmScaleSetNetworkProfile, + AzureVmScaleSetExtension, } from '../../types/generated' import { formatTagsFromMap } from '../../utils/format' import { RawAzureVirtualMachineScaleSet } from './data' const formatOsProfile = ( osProfile?: VirtualMachineScaleSetOSProfile -): AzureVirtualMachineScaleSetOsProfile => { +): AzureVmScaleSetOsProfile => { if (isEmpty(osProfile)) { return {} } @@ -85,7 +85,7 @@ const formatOsProfile = ( const formatStorageProfile = ( storageProfile?: VirtualMachineScaleSetStorageProfile -): AzureVirtualMachineScaleSetStorageProfile => { +): AzureVmScaleSetStorageProfile => { if (isEmpty(storageProfile)) { return {} } @@ -121,7 +121,7 @@ const formatStorageProfile = ( const formatNetworkProfile = ( networkProfile?: VirtualMachineScaleSetNetworkProfile -): AzureVirtualMachineScaleSetNetworkProfile => { +): AzureVmScaleSetNetworkProfile => { if (isEmpty(networkProfile)) { return {} } @@ -157,7 +157,7 @@ const formatNetworkProfile = ( id: cuid(), ...ipConfiguration, subnetId: subnet?.id, - applicationGatewayBackendAddressPools: + appGatewayAddressPools: applicationGatewayBackendAddressPools?.map(agb => ({ id: agb.id || cuid(), ...agb, @@ -167,7 +167,7 @@ const formatNetworkProfile = ( id: asg.id || cuid(), ...asg, })) || [], - loadBalancerBackendAddressPools: + loadBalancerAddressPools: loadBalancerBackendAddressPools?.map(lbb => ({ id: lbb.id || cuid(), ...lbb, @@ -187,7 +187,7 @@ const formatNetworkProfile = ( const formatExtensionProfile = ( extensionProfile?: VirtualMachineScaleSetExtensionProfile -): AzureVirtualMachineScaleSetExtension[] => { +): AzureVmScaleSetExtension[] => { if (isEmpty(extensionProfile)) { return [] } @@ -220,7 +220,7 @@ export default ({ service: RawAzureVirtualMachineScaleSet account: string region: string -}): AzureVirtualMachineScaleSet => { +}): AzureVmScaleSet => { const { id, name, @@ -254,7 +254,7 @@ export default ({ } // Setting Extension Profile - let extensions: AzureVirtualMachineScaleSetExtension[] = [] + let extensions: AzureVmScaleSetExtension[] = [] if (!isEmpty(extensionProfile)) { extensions = formatExtensionProfile(extensionProfile) } diff --git a/src/services/virtualMachineScaleSet/mutation.ts b/src/services/virtualMachineScaleSet/mutation.ts index 9c76255c..816752b4 100644 --- a/src/services/virtualMachineScaleSet/mutation.ts +++ b/src/services/virtualMachineScaleSet/mutation.ts @@ -1,5 +1,5 @@ -export default `mutation($input: [AddazureVirtualMachineScaleSetInput!]!) { - addazureVirtualMachineScaleSet(input: $input, upsert: true) { +export default `mutation($input: [AddazureVmScaleSetInput!]!) { + addazureVmScaleSet(input: $input, upsert: true) { numUids } }` diff --git a/src/services/virtualMachineScaleSet/schema.graphql b/src/services/virtualMachineScaleSet/schema.graphql index 2d23682d..8f288314 100644 --- a/src/services/virtualMachineScaleSet/schema.graphql +++ b/src/services/virtualMachineScaleSet/schema.graphql @@ -1,4 +1,4 @@ -type azureVirtualMachineScaleSetSubResource +type azureVmScaleSetSubResource @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -8,7 +8,7 @@ type azureVirtualMachineScaleSetSubResource id: String! @id @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetExtension +type azureVmScaleSetExtension @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -29,16 +29,16 @@ type azureVirtualMachineScaleSetExtension settings: String @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetExtensionProfile +type azureVmScaleSetExtensionProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { - extensions: [azureVirtualMachineScaleSetExtension] + extensions: [azureVmScaleSetExtension] } -type azureVirtualMachineScaleSetDiagnosticsProfileBoot +type azureVmScaleSetDiagnosticsProfileBoot @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -47,16 +47,16 @@ type azureVirtualMachineScaleSetDiagnosticsProfileBoot enabled: Boolean @search } -type azureVirtualMachineScaleSetDiagnosticsProfile +type azureVmScaleSetDiagnosticsProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { - bootDiagnostics: azureVirtualMachineScaleSetDiagnosticsProfileBoot + bootDiagnostics: azureVmScaleSetDiagnosticsProfileBoot } -type azureVirtualMachineScaleSetNetworkProfileConfigurationDnsSettings +type azureVmScaleSetDnsSettings @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -65,7 +65,7 @@ type azureVirtualMachineScaleSetNetworkProfileConfigurationDnsSettings dnsServers: [String] @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetIpTag +type azureVmScaleSetIpTag @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -75,7 +75,7 @@ type azureVirtualMachineScaleSetIpTag tag: String @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings +type azureVmScaleSetPublicIPAddressConfigurationDnsSettings @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -84,7 +84,7 @@ type azureVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings domainNameLabel: String @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetNetworkPublicIpAddresssConfiguration +type azureVmScaleSetNetworkPublicIpAddresssConfiguration @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -92,14 +92,14 @@ type azureVirtualMachineScaleSetNetworkPublicIpAddresssConfiguration ) { name: String @search(by: [hash, regexp]) idleTimeoutInMinutes: Int @search - ipTags: [azureVirtualMachineScaleSetIpTag] + ipTags: [azureVmScaleSetIpTag] publicIPPrefix: azureSubResource publicIPAddressVersion: String @search(by: [hash, regexp]) deleteOption: String @search(by: [hash, regexp]) - dnsSettings: azureVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings + dnsSettings: azureVmScaleSetPublicIPAddressConfigurationDnsSettings } -type azureVirtualMachineScaleSetNetworkIpConfiguration +type azureVmScaleSetNetworkIpConfig @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -111,13 +111,13 @@ type azureVirtualMachineScaleSetNetworkIpConfiguration privateIPAddressVersion: String @search(by: [hash, regexp]) primary: Boolean @search subnetId: String @search(by: [hash, regexp]) - applicationGatewayBackendAddressPools: [azureSubResource] + appGatewayAddressPools: [azureSubResource] applicationSecurityGroups: [azureSubResource] - loadBalancerBackendAddressPools: [azureSubResource] + loadBalancerAddressPools: [azureSubResource] loadBalancerInboundNatPools: [azureSubResource] } -type azureVirtualMachineScaleSetNetworkProfileConfiguration +type azureVmScaleSetNetworkProfileConfig @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -132,20 +132,20 @@ type azureVirtualMachineScaleSetNetworkProfileConfiguration enableIPForwarding: Boolean @search deleteOption: String @search(by: [hash, regexp]) networkSecurityGroup: azureSubResource - dnsSettings: azureVirtualMachineScaleSetNetworkProfileConfigurationDnsSettings - ipConfigurations: [azureVirtualMachineScaleSetNetworkIpConfiguration] + dnsSettings: azureVmScaleSetDnsSettings + ipConfigurations: [azureVmScaleSetNetworkIpConfig] } -type azureVirtualMachineScaleSetNetworkProfile +type azureVmScaleSetNetworkProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { - networkInterfaceConfigurations: [azureVirtualMachineScaleSetNetworkProfileConfiguration] + networkInterfaceConfigurations: [azureVmScaleSetNetworkProfileConfig] } -type azureVirtualMachineScaleSetStorageProfileImageReference +type azureVmScaleSetStorageProfileImageReference @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -158,7 +158,7 @@ type azureVirtualMachineScaleSetStorageProfileImageReference version: String @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetStorageProfileManagedDisk +type azureVmScaleSetStorageProfileManagedDisk @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -167,7 +167,7 @@ type azureVirtualMachineScaleSetStorageProfileManagedDisk storageAccountType: String @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSetStorageProfileOsDisk +type azureVmScaleSetStorageProfileOsDisk @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -178,17 +178,17 @@ type azureVirtualMachineScaleSetStorageProfileOsDisk osType: String @search(by: [hash, regexp]) diskSizeGB: Int @search writeAcceleratorEnabled: Boolean @search - managedDisk: azureVirtualMachineScaleSetStorageProfileManagedDisk + managedDisk: azureVmScaleSetStorageProfileManagedDisk } -type azureVirtualMachineScaleSetStorageProfile +type azureVmScaleSetStorageProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { - imageReference: azureVirtualMachineScaleSetStorageProfileImageReference - osDisk: azureVirtualMachineScaleSetStorageProfileOsDisk + imageReference: azureVmScaleSetStorageProfileImageReference + osDisk: azureVmScaleSetStorageProfileOsDisk } type azureSshPublicKey @@ -212,7 +212,7 @@ type azureSshConfiguration publicKeys: [azureSshPublicKey] } -type azureVirtualMachineScaleSetOsProfileLinuxConfiguration +type azureVmScaleSetOsProfileLinuxConfiguration @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -223,7 +223,7 @@ type azureVirtualMachineScaleSetOsProfileLinuxConfiguration ssh: azureSshConfiguration } -type azureVirtualMachineScaleSetOsProfileWindowsConfiguration +type azureVmScaleSetOsProfileWindowsConfiguration @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -259,7 +259,7 @@ type azureVaultSecretGroup vaultCertificates: [azureVaultCertificate] } -type azureVirtualMachineScaleSetOsProfile +type azureVmScaleSetOsProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -268,25 +268,25 @@ type azureVirtualMachineScaleSetOsProfile computerNamePrefix: String @search(by: [hash, regexp]) adminUsername: String @search(by: [hash, regexp]) allowExtensionOperations: Boolean @search - linuxConfiguration: azureVirtualMachineScaleSetOsProfileLinuxConfiguration - windowsConfiguration: azureVirtualMachineScaleSetOsProfileWindowsConfiguration + linuxConfiguration: azureVmScaleSetOsProfileLinuxConfiguration + windowsConfiguration: azureVmScaleSetOsProfileWindowsConfiguration secrets: [azureVaultSecretGroup] } -type azureVirtualMachineScaleSetProfile +type azureVmScaleSetProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { - osProfile: azureVirtualMachineScaleSetOsProfile - storageProfile: azureVirtualMachineScaleSetStorageProfile - networkProfile: azureVirtualMachineScaleSetNetworkProfile - diagnosticsProfile: azureVirtualMachineScaleSetDiagnosticsProfile - extensionProfile: azureVirtualMachineScaleSetExtensionProfile + osProfile: azureVmScaleSetOsProfile + storageProfile: azureVmScaleSetStorageProfile + networkProfile: azureVmScaleSetNetworkProfile + diagnosticsProfile: azureVmScaleSetDiagnosticsProfile + extensionProfile: azureVmScaleSetExtensionProfile } -type azureVirtualMachineScaleSetScaleInPolicy +type azureVmScaleSetScaleInPolicy @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -295,7 +295,7 @@ type azureVirtualMachineScaleSetScaleInPolicy rules: [String] @search(by: [hash, regexp]) } -type azureVirtualMachineScaleSet implements azureResource +type azureVmScaleSet implements azureResource @generate( query: { get: true, query: true, aggregate: true } mutation: { add: true, delete: false } @@ -307,8 +307,8 @@ type azureVirtualMachineScaleSet implements azureResource singlePlacementGroup: Boolean @search platformFaultDomainCount: Int @search uniqueId: String @search(by: [hash, regexp]) - virtualMachineProfile: azureVirtualMachineScaleSetProfile - scaleInPolicy: azureVirtualMachineScaleSetScaleInPolicy + virtualMachineProfile: azureVmScaleSetProfile + scaleInPolicy: azureVmScaleSetScaleInPolicy resourceGroup: [azureResourceGroup] @hasInverse(field: virtualMachineScaleSets) virtualMachines: [azureVirtualMachine] diff --git a/src/types/generated.ts b/src/types/generated.ts index 8058f5a1..eabc93d6 100644 --- a/src/types/generated.ts +++ b/src/types/generated.ts @@ -696,7 +696,7 @@ export type AzureAppServiceWebAppSiteConfig = { tracingOptions?: Maybe; type?: Maybe; use32BitWorkerProcess?: Maybe; - virtualApplications?: Maybe>>; + virtualApplications?: Maybe>>; vnetName?: Maybe; vnetPrivatePortsCount?: Maybe; vnetRouteAllEnabled?: Maybe; @@ -730,16 +730,7 @@ export type AzureAppServiceWebAppSiteConfigAutoHealCustomAction = { export type AzureAppServiceWebAppSiteConfigAutoHealRules = { actions?: Maybe; - triggers?: Maybe; -}; - -export type AzureAppServiceWebAppSiteConfigAutoHealTriggers = { - privateBytesInKB?: Maybe; - requests?: Maybe; - slowRequests?: Maybe; - slowRequestsWithPath?: Maybe>>; - statusCodes?: Maybe>>; - statusCodesRange?: Maybe>>; + triggers?: Maybe; }; export type AzureAppServiceWebAppSiteConfigAzureStorageInfoValue = { @@ -829,25 +820,34 @@ export type AzureAppServiceWebAppSiteConfigSlowRequestsBasedTriggers = { timeTaken?: Maybe; }; -export type AzureAppServiceWebAppSiteConfigStatusCodesBasedTrigger = { +export type AzureAppServiceWebAppSiteConfigStatusCodes = { count?: Maybe; id: Scalars['String']; path?: Maybe; - status?: Maybe; - subStatus?: Maybe; + statusCodes?: Maybe; timeInterval?: Maybe; - win32Status?: Maybe; }; -export type AzureAppServiceWebAppSiteConfigStatusCodesRangeBasedTrigger = { +export type AzureAppServiceWebAppSiteConfigStatusCodesBasedTrigger = { count?: Maybe; id: Scalars['String']; path?: Maybe; - statusCodes?: Maybe; + status?: Maybe; + subStatus?: Maybe; timeInterval?: Maybe; + win32Status?: Maybe; }; -export type AzureAppServiceWebAppSiteConfigVirtualApplication = { +export type AzureAppServiceWebAppSiteConfigTriggers = { + privateBytesInKB?: Maybe; + requests?: Maybe; + slowRequests?: Maybe; + slowRequestsWithPath?: Maybe>>; + statusCodes?: Maybe>>; + statusCodesRange?: Maybe>>; +}; + +export type AzureAppServiceWebAppSiteConfigVirtualApp = { id: Scalars['String']; physicalPath?: Maybe; preloadEnabled?: Maybe; @@ -1816,6 +1816,28 @@ export type AzureBackupInstanceDatasourceSet = { export type AzureBackupInstanceInnerError = { additionalInfo?: Maybe>>; code?: Maybe; + message?: Maybe; + recommendations?: Maybe>>; +}; + +export type AzureBackupInstanceExtendedProperties = { + diskExclusionProperties?: Maybe; + linuxVmApplicationName?: Maybe; +}; + +export type AzureBackupInstanceItemExtendedInfo = { + lastRefreshedAt?: Maybe; + oldestRecoveryPoint?: Maybe; + policyInconsistent?: Maybe; + policyState?: Maybe; + recoveryPointCount?: Maybe; + resourceState?: Maybe; + resourceStateSyncTime?: Maybe; +}; + +export type AzureBackupInstanceKpiResourceHealth = { + resourceHealthDetails?: Maybe>>; + resourceHealthStatus?: Maybe; }; export type AzureBackupInstanceKeyValue = { @@ -1827,18 +1849,8 @@ export type AzureBackupInstanceKeyValue = { export type AzureBackupInstanceOperationalStoreParameters = { dataStoreType?: Maybe; id: Scalars['String']; - objectType?: Maybe; - resourceGroupId?: Maybe; -}; - -export type AzureBackupInstancePolicyInfo = { - policyId?: Maybe; - policyParameters?: Maybe; - policyVersion?: Maybe; -}; - -export type AzureBackupInstancePolicyParameters = { - dataStoreParametersList?: Maybe>>; + key?: Maybe; + value?: Maybe; }; export type AzureBackupInstanceProperties = { @@ -1846,23 +1858,40 @@ export type AzureBackupInstanceProperties = { dataSourceInfo?: Maybe; dataSourceSetInfo?: Maybe; friendlyName?: Maybe; - objectType?: Maybe; - policyInfo?: Maybe; - protectionErrorDetails?: Maybe; - protectionStatus?: Maybe; - provisioningState?: Maybe; -}; - -export type AzureBackupInstanceProtectionStatusDetails = { - errorDetails?: Maybe; - status?: Maybe; + healthDetails?: Maybe>>; + healthStatus?: Maybe; + isArchiveEnabled?: Maybe; + isDeferredDeleteScheduleUpcoming?: Maybe; + isRehydrate?: Maybe; + isScheduledForDeferredDelete?: Maybe; + kpisHealths?: Maybe>>; + lastBackupErrorDetail?: Maybe; + lastBackupStatus?: Maybe; + lastBackupTime?: Maybe; + lastRecoveryPoint?: Maybe; + parentName?: Maybe; + parentType?: Maybe; + policyId?: Maybe; + policyName?: Maybe; + policyState?: Maybe; + protectedItemDataId?: Maybe; + protectedItemDataSourceId?: Maybe; + protectedItemHealthStatus?: Maybe; + protectedItemId?: Maybe; + protectedItemType?: Maybe; + protectionState?: Maybe; + protectionStatus?: Maybe; + resourceGuardOperationRequests?: Maybe>>; + serverName?: Maybe; + sourceAssociations?: Maybe>>; + sourceResourceId?: Maybe; + virtualMachineId?: Maybe; + workloadType?: Maybe; }; -export type AzureBackupInstanceUserFacingError = { - code?: Maybe; - innerError?: Maybe; - isRetryable?: Maybe; - isUserError?: Maybe; +export type AzureBackupInstanceResourceHealth = { + code?: Maybe; + id: Scalars['String']; message?: Maybe; properties?: Maybe>>; recommendedAction?: Maybe>>; @@ -1921,6 +1950,32 @@ export type AzureBackupPolicyDay = { isLast?: Maybe; }; +export type AzureBackupPolicyDailySchedule = { + retentionDurationCount?: Maybe; + retentionDurationType?: Maybe; + retentionTimes?: Maybe>>; +}; + +export type AzureBackupPolicyHourlySchedule = { + interval?: Maybe; + scheduleWindowDuration?: Maybe; + scheduleWindowStartTime?: Maybe; +}; + +export type AzureBackupPolicyInstantRpAdditionalDetails = { + azureBackupRGNamePrefix?: Maybe; + azureBackupRGNameSuffix?: Maybe; +}; + +export type AzureBackupPolicyMonthlySchedule = { + retentionDurationCount?: Maybe; + retentionDurationType?: Maybe; + retentionScheduleDaily?: Maybe>>; + retentionScheduleFormatType?: Maybe; + retentionScheduleWeekly?: Maybe; + retentionTimes?: Maybe>>; +}; + export type AzureBackupPolicyProperties = { datasourceTypes?: Maybe>>; objectType?: Maybe; @@ -1933,42 +1988,67 @@ export type AzureBackupPolicyRetentionTag = { tagName?: Maybe; }; -export type AzureBackupPolicyScheduleBasedBackupCriteria = { - absoluteCriteria?: Maybe>>; - daysOfMonth?: Maybe>>; - daysOfTheWeek?: Maybe>>; - id: Scalars['String']; - monthsOfYear?: Maybe>>; - objectType?: Maybe; - scheduleTimes?: Maybe>>; - weeksOfTheMonth?: Maybe>>; +export type AzureBackupPolicyRetentionPolicyUnion = { + dailySchedule?: Maybe; + monthlySchedule?: Maybe; + retentionDurationCount?: Maybe; + retentionDurationType?: Maybe; + retentionPolicyType?: Maybe; + weeklySchedule?: Maybe; + yearlySchedule?: Maybe; }; -export type AzureBackupPolicySourceLifeCycle = { - deleteAfter?: Maybe; - id: Scalars['String']; - sourceDataStore?: Maybe; - targetDataStoreCopySettings?: Maybe>>; +export type AzureBackupPolicySchedulePolicyUnion = { + dailySchedule?: Maybe>>; + hourlySchedule?: Maybe; + scheduleFrequencyInMins?: Maybe; + schedulePolicyType?: Maybe; + scheduleRunDays?: Maybe>>; + scheduleRunFrequency?: Maybe; + scheduleRunTimes?: Maybe>>; + scheduleWeeklyFrequency?: Maybe; + weeklySchedule?: Maybe; }; -export type AzureBackupPolicyTaggingCriteria = { - criteria?: Maybe>>; - id: Scalars['String']; - isDefault?: Maybe; - tagInfo?: Maybe; - taggingPriority?: Maybe; +export type AzureBackupPolicySettings = { + isCompression?: Maybe; + issqlcompression?: Maybe; + timeZone?: Maybe; }; -export type AzureBackupPolicyTargetCopySetting = { - copyAfter?: Maybe; - dataStore?: Maybe; +export type AzureBackupPolicySubProtectionPolicy = { id: Scalars['String']; + policyType?: Maybe; + retentionPolicy?: Maybe; + schedulePolicy?: Maybe; }; -export type AzureBackupPolicyTriggerContext = { +export type AzureBackupPolicyWeeklyRetentionFormat = { + daysOfTheWeek?: Maybe>>; + id: Scalars['String']; + monthsOfYear?: Maybe>>; objectType?: Maybe; - schedule?: Maybe; - taggingCriteria?: Maybe>>; + scheduleTimes?: Maybe>>; + weeksOfTheMonth?: Maybe>>; +}; + +export type AzureBackupPolicyWeeklySchedule = { + daysOfTheWeek?: Maybe>>; + retentionDurationCount?: Maybe; + retentionDurationType?: Maybe; + retentionTimes?: Maybe>>; + scheduleRunDays?: Maybe>>; + scheduleRunTimes?: Maybe>>; +}; + +export type AzureBackupPolicyYearlySchedule = { + monthsOfYear?: Maybe>>; + retentionDurationCount?: Maybe; + retentionDurationType?: Maybe; + retentionScheduleDaily?: Maybe>>; + retentionScheduleFormatType?: Maybe; + retentionScheduleWeekly?: Maybe; + retentionTimes?: Maybe>>; }; export type AzureBackupVault = AzureResource & { @@ -2083,7 +2163,7 @@ export type AzureCdnDeliveryRuleActionParameter = { headerAction?: Maybe; headerName?: Maybe; odataType?: Maybe; - originGroup?: Maybe; + originGroup?: Maybe; parameterNameOverride?: Maybe>>; preserveUnmatchedPath?: Maybe; queryParameters?: Maybe; @@ -2115,7 +2195,7 @@ export type AzureCdnEndpoint = AzureResource & { cdnProfiles?: Maybe>>; contentTypesToCompress?: Maybe>>; defaultOriginGroupId?: Maybe; - deliveryPolicy?: Maybe; + deliveryPolicy?: Maybe; geoFilters?: Maybe>>; hostName?: Maybe; isCompressionEnabled?: Maybe; @@ -2133,7 +2213,7 @@ export type AzureCdnEndpoint = AzureResource & { webApplicationFirewallPolicyLinkId?: Maybe; }; -export type AzureCdnEndpointPropertiesUpdateParametersDeliveryPolicy = { +export type AzureCdnEndpointDeliveryPolicy = { description?: Maybe; rules?: Maybe>>; }; @@ -2211,7 +2291,7 @@ export type AzureCdnOriginGroup = AzureBaseResource & { resourceGroup?: Maybe>>; resourceGroupId?: Maybe; resourceState?: Maybe; - responseBasedOriginErrorDetectionSettings?: Maybe; + responseBasedOriginErrorDetectionSettings?: Maybe; subscriptionId?: Maybe; trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: Maybe; }; @@ -2225,11 +2305,11 @@ export type AzureCdnProfile = AzureResource & { sku?: Maybe; }; -export type AzureCdnResourceReference = { +export type AzureCdnResourceRef = { id: Scalars['String']; }; -export type AzureCdnResponseBasedOriginErrorDetectionParameters = { +export type AzureCdnResponseOriginErrorDetection = { httpErrorRanges?: Maybe>>; responseBasedDetectedErrorTypes?: Maybe; responseBasedFailoverThresholdPercentage?: Maybe; @@ -2305,13 +2385,21 @@ export type AzureCognitiveServicesAccountCapability = AzureNameValueProperty & { id: Scalars['String']; }; +export type AzureCognitiveServicesAccountConnStatus = { + actionsRequired?: Maybe; + description?: Maybe; + status?: Maybe; +}; + export type AzureCognitiveServicesAccountEncryption = { keySource?: Maybe; keyVaultProperties?: Maybe; }; -export type AzureCognitiveServicesAccountEndpoint = AzureKeyValueProperty & { +export type AzureCognitiveServicesAccountEndpoint = { id: Scalars['String']; + key?: Maybe; + value?: Maybe; }; export type AzureCognitiveServicesAccountIdentity = { @@ -2346,17 +2434,11 @@ export type AzureCognitiveServicesAccountPrivateEndpointConnection = { location?: Maybe; name?: Maybe; privateEndpointId?: Maybe; - privateLinkServiceConnectionState?: Maybe; + privateLinkServiceConnectionState?: Maybe; provisioningState?: Maybe; type?: Maybe; }; -export type AzureCognitiveServicesAccountPrivateEndpointServiceConnectionStatus = { - actionsRequired?: Maybe; - description?: Maybe; - status?: Maybe; -}; - export type AzureCognitiveServicesAccountQuotaLimit = { count?: Maybe; renewalPeriod?: Maybe; @@ -2416,7 +2498,7 @@ export type AzureContainerRegistry = AzureResource & { networkRuleBypassOptions?: Maybe; networkRuleSet?: Maybe; policies?: Maybe; - privateEndpointConnections?: Maybe>>; + privateEndpointConnections?: Maybe>>; provisioningState?: Maybe; publicNetworkAccess?: Maybe; resourceGroup?: Maybe>>; @@ -2469,10 +2551,6 @@ export type AzureContainerRegistryPolicyInfo = { }; export type AzureContainerRegistryPrivateEndpoint = { - id?: Maybe; -}; - -export type AzureContainerRegistryPrivateEndpointConnection = { createdAt?: Maybe; createdBy?: Maybe; createdByType?: Maybe; @@ -2538,7 +2616,7 @@ export type AzureCosmosDb = AzureResource & { locations?: Maybe>>; networkAclBypass?: Maybe; networkAclBypassResourceIds?: Maybe>>; - privateEndpointConnections?: Maybe>>; + privateEndpointConnections?: Maybe>>; provisioningState?: Maybe; publicNetworkAccess?: Maybe; readLocations?: Maybe>>; @@ -2646,17 +2724,17 @@ export type AzureCosmosDbPeriodicModeBackupPolicy = { backupStorageRedundancy?: Maybe; }; -export type AzureCosmosDbPrivateEndpointConnection = { +export type AzureCosmosDbPrivateEndpointConn = { groupId?: Maybe; id: Scalars['String']; name?: Maybe; privateEndpointId?: Maybe; - privateLinkServiceConnectionState?: Maybe; + privateLinkServiceConnectionState?: Maybe; provisioningState?: Maybe; type?: Maybe; }; -export type AzureCosmosDbPrivateLinkServiceConnectionStateProperty = { +export type AzureCosmosDbPrivateLinkState = { actionsRequired?: Maybe; description?: Maybe; status?: Maybe; @@ -2713,9 +2791,9 @@ export type AzureDataCollectionRule = AzureResource & { createdBy?: Maybe; createdByType?: Maybe; dataFlows?: Maybe>>; - dataSources?: Maybe; + dataSources?: Maybe; description?: Maybe; - destinations?: Maybe; + destinations?: Maybe; etag?: Maybe; immutableId?: Maybe; lastModifiedAt?: Maybe; @@ -2732,14 +2810,14 @@ export type AzureDataCollectionRuleDataFlow = { streams?: Maybe>>; }; -export type AzureDataCollectionRuleDataSourcesSpec = { +export type AzureDataCollectionRuleDataSources = { extensions?: Maybe>>; performanceCounters?: Maybe>>; syslog?: Maybe>>; windowsEventLogs?: Maybe>>; }; -export type AzureDataCollectionRuleDestinationsSpec = { +export type AzureDataCollectionRuleDestinations = { azureMonitorMetricsName?: Maybe; logAnalyticsDestinations?: Maybe>>; }; @@ -2804,43 +2882,6 @@ export type AzureDataLakeStorageAccount = AzureResource & { suffix?: Maybe; }; -export type AzureDatabaseManagedSqlInstance = AzureResource & { - collation?: Maybe; - currentBackupStorageRedundancy?: Maybe; - dnsZone?: Maybe; - dnsZonePartner?: Maybe; - fullyQualifiedDomainName?: Maybe; - identity?: Maybe; - instancePoolId?: Maybe; - keyId?: Maybe; - licenseType?: Maybe; - maintenanceConfigurationId?: Maybe; - minimalTlsVersion?: Maybe; - primaryUserAssignedIdentityId?: Maybe; - provisioningState?: Maybe; - proxyOverride?: Maybe; - publicDataEndpointEnabled?: Maybe; - requestedBackupStorageRedundancy?: Maybe; - resourceGroup?: Maybe>>; - restorePointInTime?: Maybe; - skuName?: Maybe; - skuTier?: Maybe; - sourceManagedInstanceId?: Maybe; - state?: Maybe; - storageSizeInGB?: Maybe; - subnetId?: Maybe; - timezoneId?: Maybe; - vCores?: Maybe; - zoneRedundant?: Maybe; -}; - -export type AzureDatabaseManagedSqlInstanceIdentity = { - principalId?: Maybe; - tenantId?: Maybe; - type?: Maybe; - userAssignedIdentities?: Maybe>>; -}; - export type AzureDatabaseMySql = AzureResource & { charset?: Maybe; collation?: Maybe; @@ -2900,10 +2941,14 @@ export type AzureDatabaseSql = AzureResource & { sourceDatabaseId?: Maybe; sqlServers?: Maybe>>; status?: Maybe; - transparentDataEncryptions?: Maybe>>; + transparentDataEncryptions?: Maybe>>; zoneRedundant?: Maybe; }; +export type AzureDatabaseSqlDataEncryption = AzureResource & { + state?: Maybe; +}; + export type AzureDatabaseSqlDatabaseIdentity = { delegatedResources?: Maybe>>; tenantId?: Maybe; @@ -2929,10 +2974,6 @@ export type AzureDatabaseSqlDiskSku = { tier?: Maybe; }; -export type AzureDatabaseSqlLogicalDatabaseTransparentDataEncryption = AzureResource & { - state?: Maybe; -}; - export type AzureDatabaseSqlSku = { capacity?: Maybe; family?: Maybe; @@ -3054,6 +3095,43 @@ export type AzureDatabaseSqldelegatedResource = { value?: Maybe; }; +export type AzureDbManagedSqlInstance = AzureResource & { + collation?: Maybe; + currentBackupStorageRedundancy?: Maybe; + dnsZone?: Maybe; + dnsZonePartner?: Maybe; + fullyQualifiedDomainName?: Maybe; + identity?: Maybe; + instancePoolId?: Maybe; + keyId?: Maybe; + licenseType?: Maybe; + maintenanceConfigurationId?: Maybe; + minimalTlsVersion?: Maybe; + primaryUserAssignedIdentityId?: Maybe; + provisioningState?: Maybe; + proxyOverride?: Maybe; + publicDataEndpointEnabled?: Maybe; + requestedBackupStorageRedundancy?: Maybe; + resourceGroup?: Maybe>>; + restorePointInTime?: Maybe; + skuName?: Maybe; + skuTier?: Maybe; + sourceManagedInstanceId?: Maybe; + state?: Maybe; + storageSizeInGB?: Maybe; + subnetId?: Maybe; + timezoneId?: Maybe; + vCores?: Maybe; + zoneRedundant?: Maybe; +}; + +export type AzureDbManagedSqlInstanceIdentity = { + principalId?: Maybe; + tenantId?: Maybe; + type?: Maybe; + userAssignedIdentities?: Maybe>>; +}; + export type AzureDiagnosticSetting = AzureBaseResource & { appropiateCategories?: Maybe; eventHubAuthorizationRuleId?: Maybe; @@ -3230,7 +3308,7 @@ export type AzureEventHubCaptureDestination = { export type AzureExpressRouteGateway = AzureResource & { autoScaleConfiguration?: Maybe; etag?: Maybe; - expressRouteConnections?: Maybe>>; + expressRouteConnections?: Maybe>>; provisioningState?: Maybe; resourceGroup?: Maybe>>; virtualHub?: Maybe; @@ -3240,7 +3318,7 @@ export type AzureExpressRouteGatewayCircuitPeeringId = { id: Scalars['String']; }; -export type AzureExpressRouteGatewayConnection = { +export type AzureExpressRouteGatewayConn = { authorizationKey?: Maybe; connectionId: Scalars['String']; enableInternetSecurity?: Maybe; @@ -3527,7 +3605,7 @@ export type AzureIntegrationRuntime = AzureBaseResource & { region?: Maybe; resourceGroup?: Maybe>>; resourceGroupId?: Maybe; - ssisProperties?: Maybe; + ssisProperties?: Maybe; state?: Maybe; subscriptionId?: Maybe; }; @@ -3574,17 +3652,11 @@ export type AzureIntegrationRuntimeProperties = { linkedInfo?: Maybe; managedVirtualNetwork?: Maybe; referenceName?: Maybe; - ssisProperties?: Maybe; + ssisProperties?: Maybe; state?: Maybe; }; -export type AzureIntegrationRuntimeSsisCatalogInfo = { - catalogPricingTier?: Maybe; - catalogServerEndpoint?: Maybe; - dualStandbyPairName?: Maybe; -}; - -export type AzureIntegrationRuntimeSsisProperties = { +export type AzureIntegrationRuntimeSsis = { catalogInfo?: Maybe; credentialReferenceName?: Maybe; credentialType?: Maybe; @@ -3596,6 +3668,15 @@ export type AzureIntegrationRuntimeSsisProperties = { packageStores?: Maybe>>; }; +export type AzureIntegrationRuntimeSsisCatalogInfo = { + catalogAdminPasswordType?: Maybe; + catalogAdminPasswordValue?: Maybe; + catalogAdminUserName?: Maybe; + catalogPricingTier?: Maybe; + catalogServerEndpoint?: Maybe; + dualStandbyPairName?: Maybe; +}; + export type AzureIntegrationRuntimeVNetProperties = { publicIPs?: Maybe>>; subnet?: Maybe; @@ -3932,7 +4013,7 @@ export type AzureMachineLearningWorkspace = AzureResource & { mlFlowTrackingUri?: Maybe; notebookInfo?: Maybe; primaryUserAssignedIdentity?: Maybe; - privateEndpointConnections?: Maybe>>; + privateEndpointConnections?: Maybe>>; privateLinkCount?: Maybe; provisioningState?: Maybe; publicNetworkAccess?: Maybe; @@ -3983,7 +4064,7 @@ export type AzureMachineLearningWorkspacePrivateEndpoint = { subnetArmId?: Maybe; }; -export type AzureMachineLearningWorkspacePrivateEndpointConnection = { +export type AzureMachineLearningWorkspacePrivateEndpointConn = { createdAt?: Maybe; createdBy?: Maybe; createdByType?: Maybe; @@ -3993,13 +4074,13 @@ export type AzureMachineLearningWorkspacePrivateEndpointConnection = { lastModifiedByType?: Maybe; name?: Maybe; privateEndpoint?: Maybe; - privateLinkServiceConnectionState?: Maybe; + privateLinkServiceConnectionState?: Maybe; provisioningState?: Maybe; sku?: Maybe; type?: Maybe; }; -export type AzureMachineLearningWorkspacePrivateLinkServiceConnectionState = { +export type AzureMachineLearningWorkspacePrivateLinkState = { actionsRequired?: Maybe; description?: Maybe; status?: Maybe; @@ -4125,11 +4206,11 @@ export type AzureMySqlServerServerPrivateEndpointConnection = { export type AzureMySqlServerServerPrivateEndpointConnectionProperties = { privateEndpoint?: Maybe; - privateLinkServiceConnectionState?: Maybe; + privateLinkServiceConnectionState?: Maybe; provisioningState?: Maybe; }; -export type AzureMySqlServerServerPrivateLinkServiceConnectionStateProperty = { +export type AzureMySqlServerServerPrivateLinkState = { actionsRequired?: Maybe; description?: Maybe; status?: Maybe; @@ -4166,6 +4247,12 @@ export type AzureNetworkInterface = AzureResource & { virtualNetworks?: Maybe>>; }; +export type AzureNetworkInterfaceConnProperties = { + fqdns?: Maybe>>; + groupId?: Maybe; + requiredMemberName?: Maybe; +}; + export type AzureNetworkInterfaceIpConfiguration = { etag?: Maybe; gatewayLoadBalancer?: Maybe; @@ -4175,18 +4262,12 @@ export type AzureNetworkInterfaceIpConfiguration = { privateIPAddress?: Maybe; privateIPAddressVersion?: Maybe; privateIPAllocationMethod?: Maybe; - privateLinkConnectionProperties?: Maybe; + privateLinkConnectionProperties?: Maybe; provisioningState?: Maybe; subnetId?: Maybe; type?: Maybe; }; -export type AzureNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties = { - fqdns?: Maybe>>; - groupId?: Maybe; - requiredMemberName?: Maybe; -}; - export type AzureNetworkSecurityGroup = AzureResource & { defaultSecurityRules?: Maybe>>; etag?: Maybe; @@ -4198,7 +4279,7 @@ export type AzureNetworkSecurityGroup = AzureResource & { securityRules?: Maybe>>; }; -export type AzureNetworkSecurityGroupApplication = AzureBaseResource & { +export type AzureNetworkSecurityGroupApp = AzureBaseResource & { etag?: Maybe; provisioningState?: Maybe; }; @@ -4222,7 +4303,7 @@ export type AzureNetworkSecurityGroupRule = AzureBaseResource & { description?: Maybe; destinationAddressPrefix?: Maybe; destinationAddressPrefixes?: Maybe>>; - destinationApplicationSecurityGroups?: Maybe>>; + destinationAppSecurityGroups?: Maybe>>; destinationPortRange?: Maybe; destinationPortRanges?: Maybe>>; direction?: Maybe; @@ -4233,7 +4314,7 @@ export type AzureNetworkSecurityGroupRule = AzureBaseResource & { provisioningState?: Maybe; sourceAddressPrefix?: Maybe; sourceAddressPrefixes?: Maybe>>; - sourceApplicationSecurityGroups?: Maybe>>; + sourceAppSecurityGroups?: Maybe>>; sourcePortRange?: Maybe; sourcePortRanges?: Maybe>>; type?: Maybe; @@ -4686,8 +4767,8 @@ export type AzureRecoveryVaultIdentity = { userAssignedIdentities?: Maybe>>; }; -export type AzureRecoveryVaultPrivateEndpointConnection = { - privateEndpointId?: Maybe; +export type AzureRecoveryVaultPrivateEndpointConn = { + privateEndpoint?: Maybe; privateLinkServiceConnectionState?: Maybe; provisioningState?: Maybe; }; @@ -4696,7 +4777,7 @@ export type AzureRecoveryVaultPrivateEndpointConnectionVaultProperties = { id: Scalars['String']; location?: Maybe; name?: Maybe; - properties?: Maybe; + properties?: Maybe; type?: Maybe; }; @@ -4771,7 +4852,7 @@ export type AzureRedisCache = AzureResource & { linkedServers?: Maybe>>; minimumTlsVersion?: Maybe; port?: Maybe; - privateEndpointConnections?: Maybe>>; + privateEndpointConnections?: Maybe>>; provisioningState?: Maybe; publicNetworkAccess?: Maybe; redisConfiguration?: Maybe; @@ -4835,7 +4916,7 @@ export type AzureRedisCachePrivateEndpoint = { id?: Maybe; }; -export type AzureRedisCachePrivateEndpointConnection = { +export type AzureRedisCachePrivateEndpointConn = { id: Scalars['String']; privateEndpoint?: Maybe; privateLinkServiceConnectionState?: Maybe; @@ -5012,7 +5093,7 @@ export type AzureResourceGroup = AzureResource & { dataCollectionRules?: Maybe>>; dataFactories?: Maybe>>; dataLakeStorageAccount?: Maybe>>; - databaseManagedSqlInstances?: Maybe>>; + databaseManagedSqlInstances?: Maybe>>; databaseMySql?: Maybe>>; databasePostgreSql?: Maybe>>; databaseSql?: Maybe>>; @@ -5057,7 +5138,7 @@ export type AzureResourceGroup = AzureResource & { synapseSqlPools?: Maybe>>; synapseWorkspaces?: Maybe>>; trafficManagerProfiles?: Maybe>>; - virtualMachineScaleSets?: Maybe>>; + virtualMachineScaleSets?: Maybe>>; virtualMachines?: Maybe>>; virtualNetworks?: Maybe>>; }; @@ -5825,7 +5906,7 @@ export type AzureSynapseWorkspace = AzureResource & { managedResourceGroupName?: Maybe; managedVirtualNetwork?: Maybe; managedVirtualNetworkSettings?: Maybe; - privateEndpointConnections?: Maybe>>; + privateEndpointConnections?: Maybe>>; provisioningState?: Maybe; publicNetworkAccess?: Maybe; purviewConfiguration?: Maybe; @@ -5884,7 +5965,7 @@ export type AzureSynapseWorkspacePrivateEndpoint = { id?: Maybe; }; -export type AzureSynapseWorkspacePrivateEndpointConnection = { +export type AzureSynapseWorkspacePrivateEndpointConn = { id: Scalars['String']; privateEndpoint?: Maybe; privateLinkServiceConnectionState?: Maybe; @@ -5952,7 +6033,7 @@ export type AzureTag = { cosmosDb?: Maybe>>; dataCollectionRules?: Maybe>>; dataFactories?: Maybe>>; - databaseManagedSqlInstances?: Maybe>>; + databaseManagedSqlInstances?: Maybe>>; disks?: Maybe>>; dns?: Maybe>>; expressRouteGateways?: Maybe>>; @@ -5984,7 +6065,7 @@ export type AzureTag = { synapseWorkspaces?: Maybe>>; trafficManagerProfiles?: Maybe>>; value: Scalars['String']; - virtualMachineScaleSets?: Maybe>>; + virtualMachineScaleSets?: Maybe>>; virtualMachines?: Maybe>>; virtualNetworks?: Maybe>>; }; @@ -5994,7 +6075,7 @@ export type AzureTrafficManagerProfile = AzureResource & { dnsConfig?: Maybe; endpoints?: Maybe>>; maxReturn?: Maybe; - monitorConfig?: Maybe; + monitorConfig?: Maybe; profileStatus?: Maybe; resourceGroup?: Maybe>>; trafficRoutingMethod?: Maybe; @@ -6037,9 +6118,15 @@ export type AzureTrafficManagerProfileEndpointPropertiesSubnetsItem = { scope?: Maybe; }; -export type AzureTrafficManagerProfileMonitorConfig = { +export type AzureTrafficManagerProfileExpectedStatus = { + id: Scalars['String']; + max?: Maybe; + min?: Maybe; +}; + +export type AzureTrafficManagerProfileMonitor = { customHeaders?: Maybe>>; - expectedStatusCodeRanges?: Maybe>>; + expectedStatusCodeRanges?: Maybe>>; intervalInSeconds?: Maybe; path?: Maybe; port?: Maybe; @@ -6049,12 +6136,6 @@ export type AzureTrafficManagerProfileMonitorConfig = { toleratedNumberOfFailures?: Maybe; }; -export type AzureTrafficManagerProfileMonitorConfigExpectedStatusCodeRangesItem = { - id: Scalars['String']; - max?: Maybe; - min?: Maybe; -}; - export type AzureVaultCertificate = { certificateStore?: Maybe; certificateUrl?: Maybe; @@ -6113,35 +6194,63 @@ export type AzureVirtualMachineOsProfileWindowsConfiguration = { timeZone?: Maybe; }; -export type AzureVirtualMachinePlan = { - name?: Maybe; - product?: Maybe; +export type AzureVirtualMachineStorageImageReference = { + exactVersion?: Maybe; + id?: Maybe; + offer?: Maybe; publisher?: Maybe; + sharedGalleryImageId?: Maybe; + sku?: Maybe; + version?: Maybe; }; -export type AzureVirtualMachineScaleSet = AzureResource & { - aksManagedClusters?: Maybe>>; +export type AzureVirtualNetwork = AzureResource & { + addressSpacePrefixes?: Maybe>>; + appServiceEnvironments?: Maybe>>; + ddosProtectionPlans?: Maybe>>; + dnsServers?: Maybe>>; + enableDdosProtection?: Maybe; + enableVmProtection?: Maybe; + firewalls?: Maybe>>; + flowTimeoutInMinutes?: Maybe; + lbVirtualNetworkOf?: Maybe>>; + networkInterfaces?: Maybe>>; + provisioningState?: Maybe; + resourceGroup?: Maybe>>; + resourceGuid?: Maybe; + virtualMachines?: Maybe>>; +}; + +export type AzureVirtualNetworkDdosProtectionPlan = AzureBaseResource & { + etag?: Maybe; + resourceGuid?: Maybe; +}; + +export type AzureVmScaleSet = AzureResource & { doNotRunExtensionsOnOverprovisionedVMs?: Maybe; overprovision?: Maybe; platformFaultDomainCount?: Maybe; provisioningState?: Maybe; resourceGroup?: Maybe>>; - scaleInPolicy?: Maybe; + scaleInPolicy?: Maybe; singlePlacementGroup?: Maybe; uniqueId?: Maybe; - virtualMachineProfile?: Maybe; - virtualMachines?: Maybe>>; + virtualMachineProfile?: Maybe; }; -export type AzureVirtualMachineScaleSetDiagnosticsProfile = { - bootDiagnostics?: Maybe; +export type AzureVmScaleSetDiagnosticsProfile = { + bootDiagnostics?: Maybe; }; -export type AzureVirtualMachineScaleSetDiagnosticsProfileBoot = { +export type AzureVmScaleSetDiagnosticsProfileBoot = { enabled?: Maybe; }; -export type AzureVirtualMachineScaleSetExtension = { +export type AzureVmScaleSetDnsSettings = { + dnsServers?: Maybe>>; +}; + +export type AzureVmScaleSetExtension = { autoUpgradeMinorVersion?: Maybe; enableAutomaticUpgrade?: Maybe; forceUpdateTag?: Maybe; @@ -6156,20 +6265,20 @@ export type AzureVirtualMachineScaleSetExtension = { typePropertiesType?: Maybe; }; -export type AzureVirtualMachineScaleSetExtensionProfile = { - extensions?: Maybe>>; +export type AzureVmScaleSetExtensionProfile = { + extensions?: Maybe>>; }; -export type AzureVirtualMachineScaleSetIpTag = { +export type AzureVmScaleSetIpTag = { ipTagType?: Maybe; tag?: Maybe; }; -export type AzureVirtualMachineScaleSetNetworkIpConfiguration = { - applicationGatewayBackendAddressPools?: Maybe>>; +export type AzureVmScaleSetNetworkIpConfig = { + appGatewayAddressPools?: Maybe>>; applicationSecurityGroups?: Maybe>>; id: Scalars['String']; - loadBalancerBackendAddressPools?: Maybe>>; + loadBalancerAddressPools?: Maybe>>; loadBalancerInboundNatPools?: Maybe>>; name?: Maybe; primary?: Maybe; @@ -6177,81 +6286,77 @@ export type AzureVirtualMachineScaleSetNetworkIpConfiguration = { subnetId?: Maybe; }; -export type AzureVirtualMachineScaleSetNetworkProfile = { - networkInterfaceConfigurations?: Maybe>>; +export type AzureVmScaleSetNetworkProfile = { + networkInterfaceConfigurations?: Maybe>>; }; -export type AzureVirtualMachineScaleSetNetworkProfileConfiguration = { +export type AzureVmScaleSetNetworkProfileConfig = { deleteOption?: Maybe; - dnsSettings?: Maybe; + dnsSettings?: Maybe; enableAcceleratedNetworking?: Maybe; enableFpga?: Maybe; enableIPForwarding?: Maybe; id: Scalars['String']; - ipConfigurations?: Maybe>>; + ipConfigurations?: Maybe>>; name?: Maybe; networkSecurityGroup?: Maybe; primary?: Maybe; }; -export type AzureVirtualMachineScaleSetNetworkProfileConfigurationDnsSettings = { - dnsServers?: Maybe>>; -}; - -export type AzureVirtualMachineScaleSetNetworkPublicIpAddresssConfiguration = { +export type AzureVmScaleSetNetworkPublicIpAddresssConfiguration = { deleteOption?: Maybe; - dnsSettings?: Maybe; + dnsSettings?: Maybe; idleTimeoutInMinutes?: Maybe; - ipTags?: Maybe>>; + ipTags?: Maybe>>; name?: Maybe; publicIPAddressVersion?: Maybe; publicIPPrefix?: Maybe; }; -export type AzureVirtualMachineScaleSetOsProfile = { +export type AzureVmScaleSetOsProfile = { adminUsername?: Maybe; allowExtensionOperations?: Maybe; computerNamePrefix?: Maybe; - linuxConfiguration?: Maybe; + linuxConfiguration?: Maybe; secrets?: Maybe>>; - windowsConfiguration?: Maybe; + windowsConfiguration?: Maybe; }; -export type AzureVirtualMachineScaleSetOsProfileLinuxConfiguration = { +export type AzureVmScaleSetOsProfileLinuxConfiguration = { disablePasswordAuthentication?: Maybe; provisionVMAgent?: Maybe; ssh?: Maybe; }; -export type AzureVirtualMachineScaleSetOsProfileWindowsConfiguration = { +export type AzureVmScaleSetOsProfileWindowsConfiguration = { enableAutomaticUpdates?: Maybe; provisionVMAgent?: Maybe; ssh?: Maybe; timeZone?: Maybe; }; -export type AzureVirtualMachineScaleSetProfile = { - diagnosticsProfile?: Maybe; - extensionProfile?: Maybe; - networkProfile?: Maybe; - osProfile?: Maybe; - storageProfile?: Maybe; +export type AzureVmScaleSetProfile = { + diagnosticsProfile?: Maybe; + extensionProfile?: Maybe; + networkProfile?: Maybe; + osProfile?: Maybe; + storageProfile?: Maybe; }; -export type AzureVirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings = { +export type AzureVmScaleSetPublicIpAddressConfigurationDnsSettings = { domainNameLabel?: Maybe; }; -export type AzureVirtualMachineScaleSetScaleInPolicy = { +export type AzureVmScaleSetScaleInPolicy = { rules?: Maybe>>; }; -export type AzureVirtualMachineScaleSetStorageProfile = { - imageReference?: Maybe; - osDisk?: Maybe; +export type AzureVmScaleSetStorageProfile = { + imageReference?: Maybe; + osDisk?: Maybe; }; -export type AzureVirtualMachineScaleSetStorageProfileImageReference = { +export type AzureVmScaleSetStorageProfileImageReference = { id?: Maybe; offer?: Maybe; publisher?: Maybe; @@ -6259,55 +6364,23 @@ export type AzureVirtualMachineScaleSetStorageProfileImageReference = { version?: Maybe; }; -export type AzureVirtualMachineScaleSetStorageProfileManagedDisk = { +export type AzureVmScaleSetStorageProfileManagedDisk = { storageAccountType?: Maybe; }; -export type AzureVirtualMachineScaleSetStorageProfileOsDisk = { +export type AzureVmScaleSetStorageProfileOsDisk = { caching?: Maybe; createOption?: Maybe; diskSizeGB?: Maybe; - managedDisk?: Maybe; + managedDisk?: Maybe; osType?: Maybe; writeAcceleratorEnabled?: Maybe; }; -export type AzureVirtualMachineScaleSetSubResource = { +export type AzureVmScaleSetSubResource = { id: Scalars['String']; }; -export type AzureVirtualMachineStorageImageReference = { - exactVersion?: Maybe; - id?: Maybe; - offer?: Maybe; - publisher?: Maybe; - sharedGalleryImageId?: Maybe; - sku?: Maybe; - version?: Maybe; -}; - -export type AzureVirtualNetwork = AzureResource & { - addressSpacePrefixes?: Maybe>>; - appServiceEnvironments?: Maybe>>; - ddosProtectionPlans?: Maybe>>; - dnsServers?: Maybe>>; - enableDdosProtection?: Maybe; - enableVmProtection?: Maybe; - firewalls?: Maybe>>; - flowTimeoutInMinutes?: Maybe; - lbVirtualNetworkOf?: Maybe>>; - networkInterfaces?: Maybe>>; - provisioningState?: Maybe; - resourceGroup?: Maybe>>; - resourceGuid?: Maybe; - virtualMachines?: Maybe>>; -}; - -export type AzureVirtualNetworkDdosProtectionPlan = AzureBaseResource & { - etag?: Maybe; - resourceGuid?: Maybe; -}; - export type AzureWebSiteFunction = AzureBaseResource & { configHref?: Maybe; functionAppId?: Maybe; From b8c60823f6777b7765cd72117dce6e1497b1953a Mon Sep 17 00:00:00 2001 From: "mariano.pizarro" Date: Fri, 30 Sep 2022 17:39:58 -0300 Subject: [PATCH 2/8] feat(services): rename tables and properties to fix postgres long names errors --- src/services/aksManagedCluster/schema.graphql | 2 +- src/services/billing/schema.graphql | 16 +- src/services/cdnEndpoints/schema.graphql | 4 +- src/services/containerRegistry/format.ts | 35 ++- src/services/index.ts | 5 +- src/services/recoveryInstances/format.ts | 2 +- src/services/recoveryInstances/schema.graphql | 10 +- src/services/recoveryPolicies/format.ts | 1 + src/services/recoveryVaults/format.ts | 39 +-- src/services/recoveryVaults/schema.graphql | 11 +- src/services/subscription/schema.graphql | 4 +- src/services/virtualMachine/format.ts | 46 ++- src/services/virtualMachine/schema.graphql | 2 +- src/types/generated.ts | 295 +++++++----------- 14 files changed, 212 insertions(+), 260 deletions(-) diff --git a/src/services/aksManagedCluster/schema.graphql b/src/services/aksManagedCluster/schema.graphql index cafbb9f9..f94edbea 100644 --- a/src/services/aksManagedCluster/schema.graphql +++ b/src/services/aksManagedCluster/schema.graphql @@ -193,5 +193,5 @@ type azureAksManagedCluster implements azureResource skuName: String @search(by: [hash, regexp]) skuTier: String @search(by: [hash, regexp]) resourceGroup: [azureResourceGroup] @hasInverse(field: aksManagedClusters) - virtualMachineScaleSets: [azureVirtualMachineScaleSet] @hasInverse(field: aksManagedClusters) + virtualMachineScaleSets: [azureVmScaleSet] @hasInverse(field: aksManagedClusters) } diff --git a/src/services/billing/schema.graphql b/src/services/billing/schema.graphql index c6129747..8aea53bf 100644 --- a/src/services/billing/schema.graphql +++ b/src/services/billing/schema.graphql @@ -1,15 +1,15 @@ type azureBilling implements azureBaseResource @key(fields: "id") { subscriptionId: String @search(by: [hash, regexp]) region: String @search(by: [hash, regexp]) - totalCostMonthToDate: awsTotalBillingInfo - totalCostLast30Days: awsTotalBillingInfo - monthToDateDailyAverage: [awsServiceBillingInfo] - last30DaysDailyAverage: [awsServiceBillingInfo] - monthToDate: [awsServiceBillingInfo] - last30Days: [awsServiceBillingInfo] + totalCostMonthToDate: azureTotalBillingInfo + totalCostLast30Days: azureTotalBillingInfo + monthToDateDailyAverage: [azureServiceBillingInfo] + last30DaysDailyAverage: [azureServiceBillingInfo] + monthToDate: [azureServiceBillingInfo] + last30Days: [azureServiceBillingInfo] } -type awsServiceBillingInfo +type azureServiceBillingInfo @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -21,7 +21,7 @@ type awsServiceBillingInfo formattedCost: String @search(by: [hash, regexp]) } -type awsTotalBillingInfo +type azureTotalBillingInfo @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/cdnEndpoints/schema.graphql b/src/services/cdnEndpoints/schema.graphql index 49e215e3..d9a77094 100644 --- a/src/services/cdnEndpoints/schema.graphql +++ b/src/services/cdnEndpoints/schema.graphql @@ -40,7 +40,7 @@ type azureCdnSigningParamIdentifier { paramName: String @search(by: [hash, regexp]) } -type azureCdnResourceRef { +type azureCdnResourceReference { id: String! @id @search(by: [hash, regexp]) } @@ -54,7 +54,7 @@ type azureCdnDeliveryRuleActionParameter { customFragment: String @search(by: [hash, regexp]) algorithm: String @search(by: [hash, regexp]) parameterNameOverride: [azureCdnSigningParamIdentifier] - originGroup: azureCdnResourceRef + originGroup: azureCdnResourceReference sourcePattern: String @search(by: [hash, regexp]) destination: String @search(by: [hash, regexp]) preserveUnmatchedPath: Boolean @search diff --git a/src/services/containerRegistry/format.ts b/src/services/containerRegistry/format.ts index 45efb5c5..915f356c 100644 --- a/src/services/containerRegistry/format.ts +++ b/src/services/containerRegistry/format.ts @@ -1,5 +1,5 @@ import cuid from 'cuid' -import { formatTagsFromMap } from '../../utils/format' +import { formatTagsFromMap, transformSystemData } from '../../utils/format' import { RawAzureContainerRegistry } from './data' import { AzureContainerRegistry } from '../../types/generated' @@ -84,13 +84,32 @@ export default ({ dataEndpointEnabled, dataEndpointHostNames, privateEndpointConnections: - privateEndpointConnections.map(({ id: privateEndpointId, privateLinkServiceConnectionState, ...rest }) => ({ - id: privateEndpointId || cuid(), - privateLinkServiceConnectionStateStatus: privateLinkServiceConnectionState?.status, - privateLinkServiceConnectionStateActionsRequired: privateLinkServiceConnectionState?.actionsRequired, - privateLinkServiceConnectionStateDescription: privateLinkServiceConnectionState?.description, - ...rest, - })) || [], + privateEndpointConnections.map( + ({ + id: privateEndpointId, + privateLinkServiceConnectionState, + privateEndpoint, + systemData, + name: peName, + type: peType, + provisioningState: peProvisioningState, + }) => ({ + id: privateEndpointId || cuid(), + name: peName, + type: peType, + provisioningState: peProvisioningState, + privateLinkServiceConnectionStateStatus: + privateLinkServiceConnectionState?.status, + privateLinkServiceConnectionStateActionsRequired: + privateLinkServiceConnectionState?.actionsRequired, + privateLinkServiceConnectionStateDescription: + privateLinkServiceConnectionState?.description, + privateEndpoint: { + id: privateEndpoint.id || cuid(), + }, + ...transformSystemData(systemData), + }) + ) || [], publicNetworkAccess, networkRuleBypassOptions, zoneRedundancy, diff --git a/src/services/index.ts b/src/services/index.ts index 09aedbeb..720a5953 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -8,6 +8,7 @@ import chalk from 'chalk' import { isEmpty, merge, unionBy } from 'lodash' import path from 'path' +import { DocumentNode } from 'graphql' import { DEFAULT_REGION, DEFAULT_RESOURCES, @@ -33,9 +34,9 @@ import { getClientSecretCredentials, getTokenCredentials } from '../utils/authUtils' -import enhancers, { EnhancerConfig } from './base/enhancers' import { createDiffSecs } from '../utils/dateutils' import { obfuscateSensitiveString } from '../utils/format' +import enhancers, { EnhancerConfig } from './base/enhancers' export const enums = { services, @@ -344,7 +345,7 @@ export default class Provider extends CloudGraph.Client { * getSchema is used to get the schema for provider * @returns A string of graphql sub schemas */ - getSchema(): any { + getSchema(): DocumentNode { const typesArray = loadFilesSync(path.join(__dirname), { recursive: true, extensions: ['graphql'], diff --git a/src/services/recoveryInstances/format.ts b/src/services/recoveryInstances/format.ts index 3bc6040e..a5fd37c0 100644 --- a/src/services/recoveryInstances/format.ts +++ b/src/services/recoveryInstances/format.ts @@ -184,7 +184,7 @@ export default ({ }: { service: RawAzureProtectedItemResource account: string -}): AzureBackupInstance => { +}): AzureRecoveryInstance => { const { id, name, type, region, eTag, properties, resourceGroupId } = service return { id: id || cuid(), diff --git a/src/services/recoveryInstances/schema.graphql b/src/services/recoveryInstances/schema.graphql index 4bfd8cd2..91ab0e0b 100644 --- a/src/services/recoveryInstances/schema.graphql +++ b/src/services/recoveryInstances/schema.graphql @@ -13,7 +13,7 @@ type azureRecoveryInstanceItemExtendedInfo lastRefreshedAt: DateTime @search(by: [day]) } -type azureBackupInstanceResourceHealth +type azureRecoveryInstanceResourceHealth @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -47,14 +47,14 @@ type azureRecoveryInstanceExtendedProperties linuxVmApplicationName: String @search(by: [hash, regexp]) } -type azureBackupInstanceKPIResourceHealth +type azureRecoveryInstanceKPIResourceHealth @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { resourceHealthStatus: String @search(by: [hash, regexp]) - resourceHealthDetails: [azureBackupInstanceResourceHealth] + resourceHealthDetails: [azureRecoveryInstanceResourceHealth] } type azureRecoveryInstanceKpisHealths @@ -66,7 +66,7 @@ type azureRecoveryInstanceKpisHealths @key(fields: "id") { id: String! @id key: String @search(by: [hash, regexp]) - value: azureBackupInstanceKPIResourceHealth + value: azureRecoveryInstanceKPIResourceHealth } type azureRecoveryInstanceErrorDetail @@ -124,7 +124,7 @@ type azureRecoveryInstanceProperties extendedInfo: azureRecoveryInstanceItemExtendedInfo virtualMachineId: String @search(by: [hash, regexp]) healthStatus: String @search(by: [hash, regexp]) - healthDetails: [azureBackupInstanceResourceHealth] + healthDetails: [azureRecoveryInstanceResourceHealth] protectedItemDataId: String @search(by: [hash, regexp]) extendedProperties: azureRecoveryInstanceExtendedProperties serverName: String @search(by: [hash, regexp]) diff --git a/src/services/recoveryPolicies/format.ts b/src/services/recoveryPolicies/format.ts index b2eff63a..522213fc 100644 --- a/src/services/recoveryPolicies/format.ts +++ b/src/services/recoveryPolicies/format.ts @@ -23,6 +23,7 @@ import { AzureRecoveryPolicyRetentionPolicyUnion, AzureRecoveryPolicySchedulePolicyUnion, } from '../../types/generated' +import { RawAzureProtectionPolicyResource } from './data' export interface RawAzureSchedulePolicy extends SchedulePolicy { scheduleFrequencyInMins?: number diff --git a/src/services/recoveryVaults/format.ts b/src/services/recoveryVaults/format.ts index c6a24f5f..ced5bf3d 100644 --- a/src/services/recoveryVaults/format.ts +++ b/src/services/recoveryVaults/format.ts @@ -107,42 +107,7 @@ export default ({ value: identity?.userAssignedIdentities[key], })), }, - properties: { - ...properties, - moveDetails: { - ...properties?.moveDetails, - completionTimeUtc: properties?.moveDetails?.completionTimeUtc?.toISOString(), - startTimeUtc: properties?.moveDetails?.startTimeUtc?.toISOString(), - }, - upgradeDetails: { - ...properties?.upgradeDetails, - endTimeUtc: properties?.upgradeDetails?.endTimeUtc?.toISOString(), - lastUpdatedTimeUtc: properties?.upgradeDetails?.lastUpdatedTimeUtc?.toISOString(), - startTimeUtc: properties?.upgradeDetails?.startTimeUtc?.toISOString(), - }, - privateEndpointConnections: properties?.privateEndpointConnections?.map(connection => ({ - id: connection?.id || cuid(), - properties: { - provisioningState: connection.properties?.provisioningState, - privateEndpoint: connection.properties?.privateEndpoint, - privateLinkServiceConnectionState: { - status: connection.properties?.privateLinkServiceConnectionState?.status, - description: connection.properties?.privateLinkServiceConnectionState?.description, - actionsRequired: connection.properties?.privateLinkServiceConnectionState?.actionsRequired, - } - }, - name: connection.name, - type: connection.type, - location: connection.location - })), - }, - sku, - createdBy: systemData?.createdBy, - createdByType: systemData?.createdByType, - createdAt: systemData?.createdAt?.toISOString(), - lastModifiedBy: systemData?.lastModifiedBy, - lastModifiedByType: systemData?.lastModifiedByType, - lastModifiedAt: systemData?.lastModifiedAt?.toISOString(), + ...transformSystemData(systemData), tags: formatTagsFromMap(Tags), } -} +} \ No newline at end of file diff --git a/src/services/recoveryVaults/schema.graphql b/src/services/recoveryVaults/schema.graphql index 6f932005..d303c3bb 100644 --- a/src/services/recoveryVaults/schema.graphql +++ b/src/services/recoveryVaults/schema.graphql @@ -15,6 +15,15 @@ type azureRecoveryVaultUpgradeDetails previousResourceId: String @search(by: [hash, regexp]) } +type azureRecoveryVaultPrivateEndpoint + @generate( + query: { get: false, query: true, aggregate: false } + mutation: { add: false, delete: false } + subscription: false + ) { + id: String @search(by: [hash, regexp]) +} + type azureRecoveryVaultPrivateLinkServiceConnectionState @generate( query: { get: false, query: true, aggregate: false } @@ -26,7 +35,7 @@ type azureRecoveryVaultPrivateLinkServiceConnectionState actionsRequired: String @search(by: [hash, regexp]) } -type azureRecoveryVaultPrivateEndpointConnection +type azureRecoveryVaultPrivateEndpointConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } diff --git a/src/services/subscription/schema.graphql b/src/services/subscription/schema.graphql index e5b36daf..940f31b6 100644 --- a/src/services/subscription/schema.graphql +++ b/src/services/subscription/schema.graphql @@ -23,7 +23,7 @@ type azureSubscription implements azureBaseResource @key(fields: "id") { cognitiveServicesAccounts: [azureCognitiveServicesAccount] containerRegistries: [azureContainerRegistry] cosmosDbs: [azureCosmosDb] - databaseManagedSqlInstances: [azureDatabaseManagedSqlInstance] + databaseManagedSqlInstances: [azureDbManagedSqlInstance] databaseMySql: [azureDatabaseMySql] databasePostgreSql: [azureDatabasePostgreSql] databaseSql: [azureDatabaseSql] @@ -80,6 +80,6 @@ type azureSubscription implements azureBaseResource @key(fields: "id") { synapseWorkspaces: [azureSynapseWorkspace] trafficManagerProfiles: [azureTrafficManagerProfile] virtualMachines: [azureVirtualMachine] - virtualMachineScaleSets: [azureVirtualMachineScaleSet] + virtualMachineScaleSets: [azureVmScaleSet] virtualNetworks: [azureVirtualNetwork] } diff --git a/src/services/virtualMachine/format.ts b/src/services/virtualMachine/format.ts index 2f74a8b1..0642e059 100644 --- a/src/services/virtualMachine/format.ts +++ b/src/services/virtualMachine/format.ts @@ -51,30 +51,52 @@ export default ({ Tags, } = service const { - linuxConfiguration: linuxConfig = {}, - windowsConfiguration: { patchSettings: wps, ...windowsConfiguration } = {}, - ...osProfile - } = restOsProfile - const storageImageReference: AzureVirtualMachineStorageImageReference = - imageReference || {} + id: imageReferenceId, + exactVersion, + offer, + sku, + publisher, + version, + sharedGalleryImageId, + }: AzureVirtualMachineStorageImageReference = imageReference return { id, subscriptionId: account, name, type, region, + plan: { name: planName, publisher: planPublisher, product: planProduct }, + vmSize, + vmId, + priority, + billingProfileMaxPrice: maxPrice, + additionalCapabilities: { ultraSSDEnabled, hibernationEnabled }, osProfile: { + computerName, + windowsConfiguration: { + provisionVMAgent: wProvisionVMAgent, + enableAutomaticUpdates, + timeZone, + }, linuxConfiguration: { - disablePasswordAuthentication: linuxConfig?.disablePasswordAuthentication, - provisionVMAgent: linuxConfig?.provisionVMAgent, + disablePasswordAuthentication, + provisionVMAgent: lProvisionVMAgent, }, - windowsConfiguration, - ...osProfile, + allowExtensionOperations, + requireGuestProvisionSignal, + }, + storageImageReference: { + id: imageReferenceId, + exactVersion, + offer, + sku, + publisher, + version, + sharedGalleryImageId, }, - storageImageReference, bootDiagnostics, licenseType, resourceGroupId, tags: formatTagsFromMap(Tags), } -} +} \ No newline at end of file diff --git a/src/services/virtualMachine/schema.graphql b/src/services/virtualMachine/schema.graphql index 99dfed85..4c491157 100644 --- a/src/services/virtualMachine/schema.graphql +++ b/src/services/virtualMachine/schema.graphql @@ -92,5 +92,5 @@ type azureVirtualMachine implements azureBaseResource networkInterfaces: [azureNetworkInterface] @hasInverse(field: virtualMachines) virtualNetworks: [azureVirtualNetwork] @hasInverse(field: virtualMachines) resourceGroup: [azureResourceGroup] @hasInverse(field: virtualMachines) - virtualMachineScaleSets: [azureVirtualMachineScaleSet] @hasInverse(field: virtualMachines) + virtualMachineScaleSets: [azureVmScaleSet] @hasInverse(field: virtualMachines) } diff --git a/src/types/generated.ts b/src/types/generated.ts index eabc93d6..bd49f00a 100644 --- a/src/types/generated.ts +++ b/src/types/generated.ts @@ -14,19 +14,6 @@ export type Scalars = { Int64: number; }; -export type AwsServiceBillingInfo = { - cost?: Maybe; - currency?: Maybe; - formattedCost?: Maybe; - name: Scalars['String']; -}; - -export type AwsTotalBillingInfo = { - cost?: Maybe; - currency?: Maybe; - formattedCost?: Maybe; -}; - export type AzureAdApplication = { apiAcceptMappedClaims?: Maybe; apiKnownClientApplications?: Maybe>>; @@ -342,7 +329,7 @@ export type AzureAksManagedCluster = AzureResource & { servicePrincipalProfileClientId?: Maybe; skuName?: Maybe; skuTier?: Maybe; - virtualMachineScaleSets?: Maybe>>; + virtualMachineScaleSets?: Maybe>>; }; export type AzureAksManagedClusterAadProfile = { @@ -1816,28 +1803,6 @@ export type AzureBackupInstanceDatasourceSet = { export type AzureBackupInstanceInnerError = { additionalInfo?: Maybe>>; code?: Maybe; - message?: Maybe; - recommendations?: Maybe>>; -}; - -export type AzureBackupInstanceExtendedProperties = { - diskExclusionProperties?: Maybe; - linuxVmApplicationName?: Maybe; -}; - -export type AzureBackupInstanceItemExtendedInfo = { - lastRefreshedAt?: Maybe; - oldestRecoveryPoint?: Maybe; - policyInconsistent?: Maybe; - policyState?: Maybe; - recoveryPointCount?: Maybe; - resourceState?: Maybe; - resourceStateSyncTime?: Maybe; -}; - -export type AzureBackupInstanceKpiResourceHealth = { - resourceHealthDetails?: Maybe>>; - resourceHealthStatus?: Maybe; }; export type AzureBackupInstanceKeyValue = { @@ -1849,8 +1814,18 @@ export type AzureBackupInstanceKeyValue = { export type AzureBackupInstanceOperationalStoreParameters = { dataStoreType?: Maybe; id: Scalars['String']; - key?: Maybe; - value?: Maybe; + objectType?: Maybe; + resourceGroupId?: Maybe; +}; + +export type AzureBackupInstancePolicyInfo = { + policyId?: Maybe; + policyParameters?: Maybe; + policyVersion?: Maybe; +}; + +export type AzureBackupInstancePolicyParameters = { + dataStoreParametersList?: Maybe>>; }; export type AzureBackupInstanceProperties = { @@ -1858,40 +1833,23 @@ export type AzureBackupInstanceProperties = { dataSourceInfo?: Maybe; dataSourceSetInfo?: Maybe; friendlyName?: Maybe; - healthDetails?: Maybe>>; - healthStatus?: Maybe; - isArchiveEnabled?: Maybe; - isDeferredDeleteScheduleUpcoming?: Maybe; - isRehydrate?: Maybe; - isScheduledForDeferredDelete?: Maybe; - kpisHealths?: Maybe>>; - lastBackupErrorDetail?: Maybe; - lastBackupStatus?: Maybe; - lastBackupTime?: Maybe; - lastRecoveryPoint?: Maybe; - parentName?: Maybe; - parentType?: Maybe; - policyId?: Maybe; - policyName?: Maybe; - policyState?: Maybe; - protectedItemDataId?: Maybe; - protectedItemDataSourceId?: Maybe; - protectedItemHealthStatus?: Maybe; - protectedItemId?: Maybe; - protectedItemType?: Maybe; - protectionState?: Maybe; - protectionStatus?: Maybe; - resourceGuardOperationRequests?: Maybe>>; - serverName?: Maybe; - sourceAssociations?: Maybe>>; - sourceResourceId?: Maybe; - virtualMachineId?: Maybe; - workloadType?: Maybe; + objectType?: Maybe; + policyInfo?: Maybe; + protectionErrorDetails?: Maybe; + protectionStatus?: Maybe; + provisioningState?: Maybe; }; -export type AzureBackupInstanceResourceHealth = { - code?: Maybe; - id: Scalars['String']; +export type AzureBackupInstanceProtectionStatusDetails = { + errorDetails?: Maybe; + status?: Maybe; +}; + +export type AzureBackupInstanceUserFacingError = { + code?: Maybe; + innerError?: Maybe; + isRetryable?: Maybe; + isUserError?: Maybe; message?: Maybe; properties?: Maybe>>; recommendedAction?: Maybe>>; @@ -1939,6 +1897,12 @@ export type AzureBackupPolicyBackupSchedule = { timeZone?: Maybe; }; +export type AzureBackupPolicyDailySchedule = { + retentionDurationCount?: Maybe; + retentionDurationType?: Maybe; + retentionTimes?: Maybe>>; +}; + export type AzureBackupPolicyDataStoreInfoBase = { dataStoreType?: Maybe; objectType?: Maybe; @@ -1950,29 +1914,12 @@ export type AzureBackupPolicyDay = { isLast?: Maybe; }; -export type AzureBackupPolicyDailySchedule = { - retentionDurationCount?: Maybe; - retentionDurationType?: Maybe; - retentionTimes?: Maybe>>; -}; - -export type AzureBackupPolicyHourlySchedule = { - interval?: Maybe; - scheduleWindowDuration?: Maybe; - scheduleWindowStartTime?: Maybe; -}; - -export type AzureBackupPolicyInstantRpAdditionalDetails = { - azureBackupRGNamePrefix?: Maybe; - azureBackupRGNameSuffix?: Maybe; -}; - export type AzureBackupPolicyMonthlySchedule = { retentionDurationCount?: Maybe; retentionDurationType?: Maybe; - retentionScheduleDaily?: Maybe>>; + retentionScheduleDaily?: Maybe>>; retentionScheduleFormatType?: Maybe; - retentionScheduleWeekly?: Maybe; + retentionScheduleWeekly?: Maybe; retentionTimes?: Maybe>>; }; @@ -1988,48 +1935,42 @@ export type AzureBackupPolicyRetentionTag = { tagName?: Maybe; }; -export type AzureBackupPolicyRetentionPolicyUnion = { - dailySchedule?: Maybe; - monthlySchedule?: Maybe; - retentionDurationCount?: Maybe; - retentionDurationType?: Maybe; - retentionPolicyType?: Maybe; - weeklySchedule?: Maybe; - yearlySchedule?: Maybe; +export type AzureBackupPolicyScheduleBasedBackupCriteria = { + absoluteCriteria?: Maybe>>; + daysOfMonth?: Maybe>>; + daysOfTheWeek?: Maybe>>; + id: Scalars['String']; + monthsOfYear?: Maybe>>; + objectType?: Maybe; + scheduleTimes?: Maybe>>; + weeksOfTheMonth?: Maybe>>; }; -export type AzureBackupPolicySchedulePolicyUnion = { - dailySchedule?: Maybe>>; - hourlySchedule?: Maybe; - scheduleFrequencyInMins?: Maybe; - schedulePolicyType?: Maybe; - scheduleRunDays?: Maybe>>; - scheduleRunFrequency?: Maybe; - scheduleRunTimes?: Maybe>>; - scheduleWeeklyFrequency?: Maybe; - weeklySchedule?: Maybe; +export type AzureBackupPolicySourceLifeCycle = { + deleteAfter?: Maybe; + id: Scalars['String']; + sourceDataStore?: Maybe; + targetDataStoreCopySettings?: Maybe>>; }; -export type AzureBackupPolicySettings = { - isCompression?: Maybe; - issqlcompression?: Maybe; - timeZone?: Maybe; +export type AzureBackupPolicyTaggingCriteria = { + criteria?: Maybe>>; + id: Scalars['String']; + isDefault?: Maybe; + tagInfo?: Maybe; + taggingPriority?: Maybe; }; -export type AzureBackupPolicySubProtectionPolicy = { +export type AzureBackupPolicyTargetCopySetting = { + copyAfter?: Maybe; + dataStore?: Maybe; id: Scalars['String']; - policyType?: Maybe; - retentionPolicy?: Maybe; - schedulePolicy?: Maybe; }; -export type AzureBackupPolicyWeeklyRetentionFormat = { - daysOfTheWeek?: Maybe>>; - id: Scalars['String']; - monthsOfYear?: Maybe>>; +export type AzureBackupPolicyTriggerContext = { objectType?: Maybe; - scheduleTimes?: Maybe>>; - weeksOfTheMonth?: Maybe>>; + schedule?: Maybe; + taggingCriteria?: Maybe>>; }; export type AzureBackupPolicyWeeklySchedule = { @@ -2037,17 +1978,15 @@ export type AzureBackupPolicyWeeklySchedule = { retentionDurationCount?: Maybe; retentionDurationType?: Maybe; retentionTimes?: Maybe>>; - scheduleRunDays?: Maybe>>; - scheduleRunTimes?: Maybe>>; }; export type AzureBackupPolicyYearlySchedule = { monthsOfYear?: Maybe>>; retentionDurationCount?: Maybe; retentionDurationType?: Maybe; - retentionScheduleDaily?: Maybe>>; + retentionScheduleDaily?: Maybe>>; retentionScheduleFormatType?: Maybe; - retentionScheduleWeekly?: Maybe; + retentionScheduleWeekly?: Maybe; retentionTimes?: Maybe>>; }; @@ -2085,14 +2024,14 @@ export type AzureBaseResource = { }; export type AzureBilling = AzureBaseResource & { - last30Days?: Maybe>>; - last30DaysDailyAverage?: Maybe>>; - monthToDate?: Maybe>>; - monthToDateDailyAverage?: Maybe>>; + last30Days?: Maybe>>; + last30DaysDailyAverage?: Maybe>>; + monthToDate?: Maybe>>; + monthToDateDailyAverage?: Maybe>>; region?: Maybe; subscriptionId?: Maybe; - totalCostLast30Days?: Maybe; - totalCostMonthToDate?: Maybe; + totalCostLast30Days?: Maybe; + totalCostMonthToDate?: Maybe; }; export type AzureCdnCertificateSourceParameters = { @@ -2163,7 +2102,7 @@ export type AzureCdnDeliveryRuleActionParameter = { headerAction?: Maybe; headerName?: Maybe; odataType?: Maybe; - originGroup?: Maybe; + originGroup?: Maybe; parameterNameOverride?: Maybe>>; preserveUnmatchedPath?: Maybe; queryParameters?: Maybe; @@ -2305,7 +2244,7 @@ export type AzureCdnProfile = AzureResource & { sku?: Maybe; }; -export type AzureCdnResourceRef = { +export type AzureCdnResourceReference = { id: Scalars['String']; }; @@ -3669,9 +3608,6 @@ export type AzureIntegrationRuntimeSsis = { }; export type AzureIntegrationRuntimeSsisCatalogInfo = { - catalogAdminPasswordType?: Maybe; - catalogAdminPasswordValue?: Maybe; - catalogAdminUserName?: Maybe; catalogPricingTier?: Maybe; catalogServerEndpoint?: Maybe; dualStandbyPairName?: Maybe; @@ -4543,8 +4479,8 @@ export type AzureRecoveryInstanceItemExtendedInfo = { resourceStateSyncTime?: Maybe; }; -export type AzureRecoveryInstanceKpiResourceHealthDetails = { - resourceHealthDetails?: Maybe>>; +export type AzureRecoveryInstanceKpiResourceHealth = { + resourceHealthDetails?: Maybe>>; resourceHealthStatus?: Maybe; }; @@ -4557,7 +4493,7 @@ export type AzureRecoveryInstanceKeyValue = { export type AzureRecoveryInstanceKpisHealths = { id: Scalars['String']; key?: Maybe; - value?: Maybe; + value?: Maybe; }; export type AzureRecoveryInstanceProperties = { @@ -4574,7 +4510,7 @@ export type AzureRecoveryInstanceProperties = { extendedProperties?: Maybe; fabricName?: Maybe; friendlyName?: Maybe; - healthDetails?: Maybe>>; + healthDetails?: Maybe>>; healthStatus?: Maybe; isArchiveEnabled?: Maybe; isDeferredDeleteScheduleUpcoming?: Maybe; @@ -4605,7 +4541,7 @@ export type AzureRecoveryInstanceProperties = { workloadType?: Maybe; }; -export type AzureRecoveryInstanceResourceHealthDetails = { +export type AzureRecoveryInstanceResourceHealth = { code?: Maybe; id: Scalars['String']; message?: Maybe; @@ -4629,12 +4565,6 @@ export type AzureRecoveryPolicyDailyRetentionFormat = { isLast?: Maybe; }; -export type AzureRecoveryPolicyDailyRetentionSchedule = { - retentionDurationCount?: Maybe; - retentionDurationType?: Maybe; - retentionTimes?: Maybe>>; -}; - export type AzureRecoveryPolicyHourlySchedule = { interval?: Maybe; scheduleWindowDuration?: Maybe; @@ -4646,15 +4576,6 @@ export type AzureRecoveryPolicyInstantRpAdditionalDetails = { azureBackupRGNameSuffix?: Maybe; }; -export type AzureRecoveryPolicyMonthlyRetentionSchedule = { - retentionDurationCount?: Maybe; - retentionDurationType?: Maybe; - retentionScheduleDaily?: Maybe>>; - retentionScheduleFormatType?: Maybe; - retentionScheduleWeekly?: Maybe; - retentionTimes?: Maybe>>; -}; - export type AzureRecoveryPolicyProperties = { backupManagementType?: Maybe; fabricName?: Maybe; @@ -4678,13 +4599,13 @@ export type AzureRecoveryPolicyRetentionDuration = { }; export type AzureRecoveryPolicyRetentionPolicyUnion = { - dailySchedule?: Maybe; - monthlySchedule?: Maybe; + dailySchedule?: Maybe; + monthlySchedule?: Maybe; retentionDurationCount?: Maybe; retentionDurationType?: Maybe; retentionPolicyType?: Maybe; - weeklySchedule?: Maybe; - yearlySchedule?: Maybe; + weeklySchedule?: Maybe; + yearlySchedule?: Maybe; }; export type AzureRecoveryPolicySchedulePolicyUnion = { @@ -4717,28 +4638,11 @@ export type AzureRecoveryPolicyWeeklyRetentionFormat = { weeksOfTheMonth?: Maybe>>; }; -export type AzureRecoveryPolicyWeeklyRetentionSchedule = { - daysOfTheWeek?: Maybe>>; - retentionDurationCount?: Maybe; - retentionDurationType?: Maybe; - retentionTimes?: Maybe>>; -}; - export type AzureRecoveryPolicyWeeklySchedule = { scheduleRunDays?: Maybe>>; scheduleRunTimes?: Maybe>>; }; -export type AzureRecoveryPolicyYearlyRetentionSchedule = { - monthsOfYear?: Maybe>>; - retentionDurationCount?: Maybe; - retentionDurationType?: Maybe; - retentionScheduleDaily?: Maybe>>; - retentionScheduleFormatType?: Maybe; - retentionScheduleWeekly?: Maybe; - retentionTimes?: Maybe>>; -}; - export type AzureRecoveryVault = AzureResource & { createdAt?: Maybe; createdBy?: Maybe; @@ -4760,6 +4664,10 @@ export type AzureRecoveryVaultCmkKekIdentity = { userAssignedIdentity?: Maybe; }; +export type AzureRecoveryVaultCmkKeyVaultProperties = { + keyUri?: Maybe; +}; + export type AzureRecoveryVaultIdentity = { principalId?: Maybe; tenantId?: Maybe; @@ -4767,8 +4675,13 @@ export type AzureRecoveryVaultIdentity = { userAssignedIdentities?: Maybe>>; }; +export type AzureRecoveryVaultPrivateEndpoint = { + id?: Maybe; +}; + export type AzureRecoveryVaultPrivateEndpointConn = { privateEndpoint?: Maybe; + privateEndpointId?: Maybe; privateLinkServiceConnectionState?: Maybe; provisioningState?: Maybe; }; @@ -4802,6 +4715,7 @@ export type AzureRecoveryVaultPropertiesEncryption = { infrastructureEncryption?: Maybe; kekIdentity?: Maybe; keyUri?: Maybe; + keyVaultProperties?: Maybe; }; export type AzureRecoveryVaultPropertiesMoveDetails = { @@ -5236,6 +5150,13 @@ export type AzureSecuritySetting = AzureBaseResource & { subscriptionId?: Maybe; }; +export type AzureServiceBillingInfo = { + cost?: Maybe; + currency?: Maybe; + formattedCost?: Maybe; + name: Scalars['String']; +}; + export type AzureServiceBus = AzureResource & { createdAt?: Maybe; disableLocalAuth?: Maybe; @@ -5750,7 +5671,7 @@ export type AzureSubscription = AzureBaseResource & { dataCollectionRules?: Maybe>>; dataFactories?: Maybe>>; dataLakeStorageAccounts?: Maybe>>; - databaseManagedSqlInstances?: Maybe>>; + databaseManagedSqlInstances?: Maybe>>; databaseMySql?: Maybe>>; databasePostgreSql?: Maybe>>; databaseSql?: Maybe>>; @@ -5804,7 +5725,7 @@ export type AzureSubscription = AzureBaseResource & { synapseSqlPools?: Maybe>>; synapseWorkspaces?: Maybe>>; trafficManagerProfiles?: Maybe>>; - virtualMachineScaleSets?: Maybe>>; + virtualMachineScaleSets?: Maybe>>; virtualMachines?: Maybe>>; virtualNetworks?: Maybe>>; }; @@ -6070,6 +5991,12 @@ export type AzureTag = { virtualNetworks?: Maybe>>; }; +export type AzureTotalBillingInfo = { + cost?: Maybe; + currency?: Maybe; + formattedCost?: Maybe; +}; + export type AzureTrafficManagerProfile = AzureResource & { allowedEndpointRecordTypes?: Maybe>>; dnsConfig?: Maybe; @@ -6164,7 +6091,7 @@ export type AzureVirtualMachine = AzureBaseResource & { storageImageReference?: Maybe; subscriptionId?: Maybe; tags?: Maybe>>; - virtualMachineScaleSets?: Maybe>>; + virtualMachineScaleSets?: Maybe>>; virtualNetworks?: Maybe>>; vmId?: Maybe; vmSize?: Maybe; @@ -6194,6 +6121,12 @@ export type AzureVirtualMachineOsProfileWindowsConfiguration = { timeZone?: Maybe; }; +export type AzureVirtualMachinePlan = { + name?: Maybe; + product?: Maybe; + publisher?: Maybe; +}; + export type AzureVirtualMachineStorageImageReference = { exactVersion?: Maybe; id?: Maybe; @@ -6227,6 +6160,7 @@ export type AzureVirtualNetworkDdosProtectionPlan = AzureBaseResource & { }; export type AzureVmScaleSet = AzureResource & { + aksManagedClusters?: Maybe>>; doNotRunExtensionsOnOverprovisionedVMs?: Maybe; overprovision?: Maybe; platformFaultDomainCount?: Maybe; @@ -6236,6 +6170,7 @@ export type AzureVmScaleSet = AzureResource & { singlePlacementGroup?: Maybe; uniqueId?: Maybe; virtualMachineProfile?: Maybe; + virtualMachines?: Maybe>>; }; export type AzureVmScaleSetDiagnosticsProfile = { From 24cd691ccf1cbaba055423d8cae96f29d34252ed Mon Sep 17 00:00:00 2001 From: "mariano.pizarro" Date: Tue, 4 Oct 2022 13:20:07 -0300 Subject: [PATCH 3/8] feat(services): Rename appGateway tables to fix postgres errors --- src/enums/schemasMap.ts | 2 +- src/enums/serviceAliases.ts | 2 +- src/enums/serviceMap.ts | 2 + src/enums/services.ts | 2 +- src/services/applicationGateway/format.ts | 208 ++--- src/services/applicationGateway/mutation.ts | 4 +- .../applicationGateway/schema.graphql | 535 ++++++----- src/types/generated.ts | 841 ++++++++++++++++++ 8 files changed, 1201 insertions(+), 395 deletions(-) diff --git a/src/enums/schemasMap.ts b/src/enums/schemasMap.ts index 2bb26a04..4ab2cd89 100644 --- a/src/enums/schemasMap.ts +++ b/src/enums/schemasMap.ts @@ -14,7 +14,7 @@ export default { [services.adServicePrincipal]: 'azureADServicePrincipal', [services.adUser]: 'azureADUser', [services.aksManagedCluster]: 'azureAksManagedCluster', - [services.applicationGateway]: 'azureApplicationGateway', + [services.appGateway]: 'azureAppGateway', [services.appServiceEnvironment]: 'azureAppServiceEnvironment', // [services.appServiceKubeEnvironment]: 'azureAppServiceKubeEnvironment', [services.appInsights]: 'azureAppInsights', diff --git a/src/enums/serviceAliases.ts b/src/enums/serviceAliases.ts index a61eca57..674eaf6f 100644 --- a/src/enums/serviceAliases.ts +++ b/src/enums/serviceAliases.ts @@ -4,7 +4,7 @@ export default { [services.actionGroup]: 'actionGroups', [services.activityLogAlerts]: 'activityLogAlerts', [services.aksManagedCluster]: 'aksManagedClusters', - [services.applicationGateway]: 'applicationGateways', + [services.appGateway]: 'appGateways', [services.appServiceEnvironment]: 'appServiceEnvironments', [services.appInsights]: 'appInsights', [services.appServicePlan]: 'appServicePlans', diff --git a/src/enums/serviceMap.ts b/src/enums/serviceMap.ts index 064ec812..493adc5c 100644 --- a/src/enums/serviceMap.ts +++ b/src/enums/serviceMap.ts @@ -88,6 +88,7 @@ import AzureBackupPolicy from '../services/backupPolicies' import AzureBilling from '../services/billing' import AzureLogProfiles from '../services/logProfiles' import Subscription from '../services/subscription' +import AzureApplicationGateway from '../services/applicationGateway' /** * serviceMap is an object that contains all currently supported services for AWS @@ -104,6 +105,7 @@ export default { [services.adServicePrincipal]: AzureADServicePrincipal, [services.adUser]: AzureADUser, [services.aksManagedCluster]: AzureAksManagedCluster, + [services.appGateway]: AzureApplicationGateway, [services.metricAlert]: AzureMetricAlert, [services.applicationGateway]: AzureApplicationGateway, [services.appServiceEnvironment]: AzureAppServiceEnvironment, diff --git a/src/enums/services.ts b/src/enums/services.ts index afc4f3e9..d5bebd8f 100644 --- a/src/enums/services.ts +++ b/src/enums/services.ts @@ -8,7 +8,7 @@ export default { adServicePrincipal: 'adServicePrincipal', adUser: 'adUser', aksManagedCluster: 'aksManagedCluster', - applicationGateway: 'applicationGateway', + appGateway: 'appGateway', appServiceEnvironment: 'appServiceEnvironment', // appServiceKubeEnvironment: 'appServiceKubeEnvironment', appInsights: 'appInsights', diff --git a/src/services/applicationGateway/format.ts b/src/services/applicationGateway/format.ts index 8274ee01..5505185e 100644 --- a/src/services/applicationGateway/format.ts +++ b/src/services/applicationGateway/format.ts @@ -47,51 +47,51 @@ import { } from '@azure/arm-network' import cuid from 'cuid' import { - AzureApplicationGateway, - AzureApplicationGatewayApplicationGatewayBackendAddressPool, - AzureApplicationGatewayUserAssignedIdentities, - AzureApplicationGatewayVirtualNetworkTap, - AzureApplicationGatewayNetworkInterfaceIpConfiguration, - AzureApplicationGatewayIpConfiguration, - AzureApplicationGatewayPublicIpAddress, - AzureApplicationGatewaySubnet, - AzureApplicationGatewayBackendAddressPool, - AzureApplicationGatewaySecurityRule, - AzureApplicationGatewayApplicationSecurityGroup, - AzureApplicationGatewayNetworkSecurityGroup, - AzureApplicationGatewayNetworkInterface, - AzureApplicationGatewayPrivateEndpoint, - AzureApplicationGatewayCustomDnsConfigPropertiesFormat, - AzureApplicationGatewayPrivateLinkServiceConnection, - AzureApplicationGatewayPrivateEndpointIpConfiguration, - AzureApplicationGatewayPrivateLinkService, - AzureApplicationGatewayPrivateLinkServiceIpConfiguration, - AzureApplicationGatewayFrontendIpConfiguration, - AzureApplicationGatewayFlowLog, - AzureApplicationGatewayServiceEndpointPropertiesFormat, - AzureApplicationGatewayServiceEndpointPolicy, - AzureApplicationGatewayServiceEndpointPolicyDefinition, - AzureApplicationGatewayIpConfigurationProfile, - AzureApplicationGatewayServiceAssociationLink, - AzureApplicationGatewayResourceNavigationLink, - AzureApplicationGatewayDelegation, - AzureApplicationGatewayApplicationGatewayConnectionDraining, - AzureApplicationGatewayApplicationGatewayBackendHttpSettings, - AzureApplicationGatewayApplicationGatewayHttpListener, - AzureApplicationGatewayApplicationGatewaySslProfile, - AzureApplicationGatewayApplicationGatewaySslPolicy, - AzureApplicationGatewayApplicationGatewayPathRule, - AzureApplicationGatewayApplicationGatewayUrlPathMap, - AzureApplicationGatewayApplicationGatewayRequestRoutingRule, - AzureApplicationGatewayApplicationGatewayRewriteRuleSet, - AzureApplicationGatewayApplicationGatewayRedirectConfiguration, - AzureApplicationGatewayApplicationGatewayFirewallDisabledRuleGroup, - AzureApplicationGatewayApplicationGatewayFirewallExclusion, - AzureApplicationGatewayApplicationGatewayWebApplicationFirewallConfiguration, - AzureApplicationGatewayApplicationGatewayPrivateEndpointConnection, - AzureApplicationGatewayApplicationGatewayPrivateLinkConfiguration, - AzureApplicationGatewayApplicationGatewayPrivateLinkIpConfiguration, - AzureApplicationGatewayApplicationGatewayLoadDistributionPolicy, + AzureAppGateway, + AzureAppGatewayAppGatewayBackendAddressPool, + AzureAppGatewayUserAssignedIdentities, + AzureAppGatewayVirtualNetworkTap, + AzureAppGatewayNetIntfIpConfig, + AzureAppGatewayIpConfig, + AzureAppGatewayPublicIpAddress, + AzureAppGatewaySubnet, + AzureAppGatewayBackendAddrPool, + AzureAppGatewaySecurityRule, + AzureAppGatewaySecurityGroup, + AzureAppGatewayNetworkSecurityGroup, + AzureAppGatewayNetworkInterface, + AzureAppGatewayPrivateEndpoint, + AzureAppGatewayCustomDnsConfigPropertiesFormat, + AzureAppGatewayPrivateLinkServiceConn, + AzureAppGatewayPrivateEndpointIpConfig, + AzureAppGatewayPrivateLinkSvc, + AzureAppGatewayPrivateLinkServiceIpConfig, + AzureAppGatewayFrontendIpConfig, + AzureAppGatewayFlowLog, + AzureAppGatewayServiceEndpointPropertiesFormat, + AzureAppGatewayEndpointPolicy, + AzureAppGatewayEndpointPolicyDefinition, + AzureAppGatewayIpConfigurationProfile, + AzureAppGatewayServiceAssociationLink, + AzureAppGatewayResourceNavigationLink, + AzureAppGatewayDelegation, + AzureAppGatewayConnectionDraining, + AzureAppGatewayBackendHttpSettings, + AzureAppGatewayHttpListener, + AzureAppGatewaySslProfile, + AzureAppGatewaySslPolicy, + AzureAppGatewayApplicationGatewayPathRule, + AzureAppGatewayUrlPathMap, + AzureAppGatewayRequestRoutingRule, + AzureAppGatewayRewriteRuleSet, + AzureAppGatewayRedirectConfig, + AzureAppGatewayFirewallDisabledRuleGroup, + AzureAppGatewayApplicationGatewayFirewallExclusion, + AzureAppGatewayWebAppFirewallConfig, + AzureAppGatewayPrivateEndpointConn, + AzureAppGatewayPrivateLinkConfig, + AzureAppGatewayPrivateLinkIpConfig, + AzureAppGatewayLoadDistribPolicy, } from '../../types/generated' import { formatTagsFromMap } from '../../utils/format' import { RawAzureApplicationGateway } from './data' @@ -100,8 +100,8 @@ export const formatUserAssignedIdentities = ( userAssignedIdentities?: { [propertyName: string]: Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties } -): AzureApplicationGatewayUserAssignedIdentities[] => { - const result: AzureApplicationGatewayUserAssignedIdentities[] = [] +): AzureAppGatewayUserAssignedIdentities[] => { + const result: AzureAppGatewayUserAssignedIdentities[] = [] for (const [key, value] of Object.entries(userAssignedIdentities)) { result.push({ id: `${key}:${value}`, @@ -117,7 +117,7 @@ export const formatUserAssignedIdentities = ( export const formatApplicationGatewaySslPolicy = ( sslPolicy: ApplicationGatewaySslPolicy -): AzureApplicationGatewayApplicationGatewaySslPolicy => { +): AzureAppGatewaySslPolicy => { return { disabledSslProtocols: sslPolicy?.disabledSslProtocols, policyType: sslPolicy?.policyType, @@ -129,7 +129,7 @@ export const formatApplicationGatewaySslPolicy = ( export const formatApplicationGatewaySslProfile = ( profile: ApplicationGatewaySslProfile -): AzureApplicationGatewayApplicationGatewaySslProfile=> { +): AzureAppGatewaySslProfile => { return { id: profile.id, name: profile.name, @@ -141,7 +141,7 @@ export const formatApplicationGatewaySslProfile = ( } } -export const formatBackendAddressPool = (pool: BackendAddressPool): AzureApplicationGatewayBackendAddressPool | undefined => { +export const formatBackendAddressPool = (pool: BackendAddressPool): AzureAppGatewayBackendAddrPool | undefined => { return { id: pool.id, name: pool.name, @@ -175,7 +175,7 @@ export const formatBackendAddressPool = (pool: BackendAddressPool): AzureApplica }) || [] } }) || [], - backendIPConfigurations: pool.backendIPConfigurations?.map(config => config), + backendIPConfigs: pool.backendIPConfigurations?.map(config => config), loadBalancingRules: pool.loadBalancingRules.map(r => r.id) || [], outboundRule: pool.outboundRule?.id, outboundRules: pool.outboundRules.map(r => r.id) || [], @@ -184,7 +184,7 @@ export const formatBackendAddressPool = (pool: BackendAddressPool): AzureApplica } } -export const formatApplicationSecurityGroup = (group: ApplicationSecurityGroup): AzureApplicationGatewayApplicationSecurityGroup => { +export const formatApplicationSecurityGroup = (group: ApplicationSecurityGroup): AzureAppGatewaySecurityGroup => { return { id: group.id, resourceGuid: group.resourceGuid, @@ -192,7 +192,7 @@ export const formatApplicationSecurityGroup = (group: ApplicationSecurityGroup): } } -export const formatSecurityRule = (securityRule: SecurityRule): AzureApplicationGatewaySecurityRule => { +export const formatSecurityRule = (securityRule: SecurityRule): AzureAppGatewaySecurityRule => { return { id: securityRule.id, name: securityRule.name, @@ -208,7 +208,7 @@ export const formatSecurityRule = (securityRule: SecurityRule): AzureApplication ) || [], destinationAddressPrefix: securityRule.destinationAddressPrefix, destinationAddressPrefixes: securityRule.destinationAddressPrefixes, - destinationApplicationSecurityGroups: securityRule.destinationApplicationSecurityGroups?.map( + destinationAppSecurityGroups: securityRule.destinationApplicationSecurityGroups?.map( group => formatApplicationSecurityGroup(group) ) || [], sourcePortRanges: securityRule.sourcePortRanges, @@ -222,7 +222,7 @@ export const formatSecurityRule = (securityRule: SecurityRule): AzureApplication export const formatPrivateLinkServiceConnection = ( plsc: PrivateLinkServiceConnection -): AzureApplicationGatewayPrivateLinkServiceConnection => { +): AzureAppGatewayPrivateLinkServiceConn => { return { id: plsc.id, name: plsc.name, @@ -241,7 +241,7 @@ export const formatPrivateLinkServiceConnection = ( export const formatCustomDnsConfigPropertiesFormat = ( f: CustomDnsConfigPropertiesFormat -): AzureApplicationGatewayCustomDnsConfigPropertiesFormat => { +): AzureAppGatewayCustomDnsConfigPropertiesFormat => { return { fqdn: f.fqdn, ipAddresses: f.ipAddresses, @@ -250,7 +250,7 @@ export const formatCustomDnsConfigPropertiesFormat = ( export const formatPrivateEndpointIPConfiguration = ( pe: PrivateEndpointIPConfiguration -): AzureApplicationGatewayPrivateEndpointIpConfiguration => { +): AzureAppGatewayPrivateEndpointIpConfig => { return { name: pe.name, type: pe.type, @@ -260,7 +260,7 @@ export const formatPrivateEndpointIPConfiguration = ( } } -export const formatPrivateEndpoint = (pe: PrivateEndpoint): AzureApplicationGatewayPrivateEndpoint => { +export const formatPrivateEndpoint = (pe: PrivateEndpoint): AzureAppGatewayPrivateEndpoint => { return { extendedLocation: { name: pe.extendedLocation?.name, @@ -269,8 +269,8 @@ export const formatPrivateEndpoint = (pe: PrivateEndpoint): AzureApplicationGate subnet: pe.subnet, networkInterfaces: pe.networkInterfaces?.map(ni => ni) || [], provisioningState: pe.provisioningState, - privateLinkServiceConnections: pe.privateLinkServiceConnections?.map(c => formatPrivateLinkServiceConnection(c)) || [], - manualPrivateLinkServiceConnections: pe.manualPrivateLinkServiceConnections?.map(c => formatPrivateLinkServiceConnection(c)) || [], + privateLinkServiceConn: pe.privateLinkServiceConnections?.map(c => formatPrivateLinkServiceConnection(c)) || [], + manualPrivateLinkServiceConn: pe.manualPrivateLinkServiceConnections?.map(c => formatPrivateLinkServiceConnection(c)) || [], customDnsConfigs: pe.customDnsConfigs?.map(c => formatCustomDnsConfigPropertiesFormat(c)) || [], applicationSecurityGroups: pe.applicationSecurityGroups?.map(sg => formatApplicationSecurityGroup(sg)) || [], ipConfigurations: pe.ipConfigurations?.map(c => formatPrivateEndpointIPConfiguration(c)) || [], @@ -279,7 +279,7 @@ export const formatPrivateEndpoint = (pe: PrivateEndpoint): AzureApplicationGate } export const formatFrontendIPConfiguration = ( c: FrontendIPConfiguration -): AzureApplicationGatewayFrontendIpConfiguration => { +): AzureAppGatewayFrontendIpConfig => { return { id: c.id, name: c.name, @@ -302,7 +302,7 @@ export const formatFrontendIPConfiguration = ( export const formatPrivateLinkServiceIpConfiguration = ( c: PrivateLinkServiceIpConfiguration -): AzureApplicationGatewayPrivateLinkServiceIpConfiguration => { +): AzureAppGatewayPrivateLinkServiceIpConfig => { return { id: c.id, name: c.name, @@ -318,7 +318,7 @@ export const formatPrivateLinkServiceIpConfiguration = ( export const formatApplicationGatewayPrivateEndpointConnection = ( c: PrivateEndpointConnection -): AzureApplicationGatewayApplicationGatewayPrivateEndpointConnection => { +): AzureAppGatewayPrivateEndpointConn => { return { id: c.id, name: c.name, @@ -330,14 +330,14 @@ export const formatApplicationGatewayPrivateEndpointConnection = ( } } -export const formatPrivateLinkService = (pls: PrivateLinkService): AzureApplicationGatewayPrivateLinkService => { +export const formatPrivateLinkService = (pls: PrivateLinkService): AzureAppGatewayPrivateLinkSvc => { return { id: pls.id, extendedLocation: { name: pls.extendedLocation?.name, type: pls.extendedLocation?.type, }, - loadBalancerFrontendIpConfigurations: pls.loadBalancerFrontendIpConfigurations?.map(c => formatFrontendIPConfiguration(c)) || [], + loadBalancerFrontendIpConfigs: pls.loadBalancerFrontendIpConfigurations?.map(c => formatFrontendIPConfiguration(c)) || [], ipConfigurations: pls.ipConfigurations?.map(c => formatPrivateLinkServiceIpConfiguration(c)) || [], networkInterfaces: pls.networkInterfaces?.map(ni => ni) || [], provisioningState: pls.provisioningState, @@ -350,7 +350,7 @@ export const formatPrivateLinkService = (pls: PrivateLinkService): AzureApplicat } } -export const formatNetworkInterface = (ni: NetworkInterface): AzureApplicationGatewayNetworkInterface => { +export const formatNetworkInterface = (ni: NetworkInterface): AzureAppGatewayNetworkInterface => { return { id: ni.id, extendedLocation: { @@ -386,7 +386,7 @@ export const formatNetworkInterface = (ni: NetworkInterface): AzureApplicationGa } -export const formatFlowLog = (fl: FlowLog): AzureApplicationGatewayFlowLog => { +export const formatFlowLog = (fl: FlowLog): AzureAppGatewayFlowLog => { return { id: fl.id, targetResourceId: fl.targetResourceId, @@ -414,7 +414,7 @@ export const formatFlowLog = (fl: FlowLog): AzureApplicationGatewayFlowLog => { } } -export const formatNetworkSecurityGroup = (sg: NetworkSecurityGroup): AzureApplicationGatewayNetworkSecurityGroup => { +export const formatNetworkSecurityGroup = (sg: NetworkSecurityGroup): AzureAppGatewayNetworkSecurityGroup => { return { id: sg.id, securityRules: sg.securityRules?.map(rule => formatSecurityRule(rule)) || [], @@ -429,7 +429,7 @@ export const formatNetworkSecurityGroup = (sg: NetworkSecurityGroup): AzureAppli export const formatServiceEndpointPropertiesFormat = ( format: ServiceEndpointPropertiesFormat -): AzureApplicationGatewayServiceEndpointPropertiesFormat => { +): AzureAppGatewayServiceEndpointPropertiesFormat => { return { id: cuid(), service: format.service, @@ -440,7 +440,7 @@ export const formatServiceEndpointPropertiesFormat = ( export const formatServiceEndpointPolicyDefinition = ( def: ServiceEndpointPolicyDefinition -): AzureApplicationGatewayServiceEndpointPolicyDefinition => { +): AzureAppGatewayEndpointPolicyDefinition => { return { id: def.id, name: def.name, @@ -452,11 +452,11 @@ export const formatServiceEndpointPolicyDefinition = ( } } -export const formatServiceEndpointPolicy = (sep: ServiceEndpointPolicy): AzureApplicationGatewayServiceEndpointPolicy => { +export const formatServiceEndpointPolicy = (sep: ServiceEndpointPolicy): AzureAppGatewayEndpointPolicy => { return { id: sep.id, kind: sep.kind, - serviceEndpointPolicyDefinitions: sep.serviceEndpointPolicyDefinitions?.map(def => formatServiceEndpointPolicyDefinition(def)) || [], + serviceEndpointPolicyDef: sep.serviceEndpointPolicyDefinitions?.map(def => formatServiceEndpointPolicyDefinition(def)) || [], subnets: sep.subnets?.map(subnet => subnet) || [], resourceGuid: sep.resourceGuid, provisioningState: sep.provisioningState, @@ -465,7 +465,7 @@ export const formatServiceEndpointPolicy = (sep: ServiceEndpointPolicy): AzureAp } } -export const formatIPConfigurationProfile = (profile: IPConfigurationProfile): AzureApplicationGatewayIpConfigurationProfile => { +export const formatIPConfigurationProfile = (profile: IPConfigurationProfile): AzureAppGatewayIpConfigurationProfile => { return { id: profile.id, name: profile.name, @@ -475,7 +475,7 @@ export const formatIPConfigurationProfile = (profile: IPConfigurationProfile): A } } -export const formatResourceNavigationLink = (link: ResourceNavigationLink): AzureApplicationGatewayResourceNavigationLink => { +export const formatResourceNavigationLink = (link: ResourceNavigationLink): AzureAppGatewayResourceNavigationLink => { return { id: link.id, name: link.name, @@ -486,7 +486,7 @@ export const formatResourceNavigationLink = (link: ResourceNavigationLink): Azur } } -export const formatServiceAssociationLink = (link: ServiceAssociationLink): AzureApplicationGatewayServiceAssociationLink => { +export const formatServiceAssociationLink = (link: ServiceAssociationLink): AzureAppGatewayServiceAssociationLink => { return { id: link .id, name: link.name, @@ -499,7 +499,7 @@ export const formatServiceAssociationLink = (link: ServiceAssociationLink): Azur } } -export const formatDelegation = (delegation: Delegation): AzureApplicationGatewayDelegation => { +export const formatDelegation = (delegation: Delegation): AzureAppGatewayDelegation => { return { id: delegation.id, name: delegation.name, @@ -511,7 +511,7 @@ export const formatDelegation = (delegation: Delegation): AzureApplicationGatewa } export const formatApplicationGatewayIPConfiguration = ( config: ApplicationGatewayIPConfiguration -): AzureApplicationGatewayNetworkInterfaceIpConfiguration => { +): AzureAppGatewayNetIntfIpConfig => { return { id: config.id, name: config.name, @@ -521,7 +521,7 @@ export const formatApplicationGatewayIPConfiguration = ( } } -export const formatSubnet = (subnet: Subnet): AzureApplicationGatewaySubnet => { +export const formatSubnet = (subnet: Subnet): AzureAppGatewaySubnet => { return { id: subnet.id, name: subnet.name, @@ -572,7 +572,7 @@ export const formatSubnet = (subnet: Subnet): AzureApplicationGatewaySubnet => { } } -export const formatIPConfiguration = (config: IPConfiguration): AzureApplicationGatewayIpConfiguration => { +export const formatIPConfiguration = (config: IPConfiguration): AzureAppGatewayIpConfig => { return { id: config.id, name: config.id, @@ -584,13 +584,13 @@ export const formatIPConfiguration = (config: IPConfiguration): AzureApplication } } -const formatVirtualNetworkTap = (tap: VirtualNetworkTap): AzureApplicationGatewayVirtualNetworkTap | undefined => { +const formatVirtualNetworkTap = (tap: VirtualNetworkTap): AzureAppGatewayVirtualNetworkTap | undefined => { return tap ? { id: tap.id, name: tap.name, type: tap.type, - networkInterfaceTapConfigurations: tap.networkInterfaceTapConfigurations?.map( + networkInterfaceTapConfigs: tap.networkInterfaceTapConfigurations?.map( config => { return { id: config.id, @@ -613,7 +613,7 @@ const formatVirtualNetworkTap = (tap: VirtualNetworkTap): AzureApplicationGatewa : undefined } -const formatPublicIPAddress = (pIp: PublicIPAddress): AzureApplicationGatewayPublicIpAddress | undefined => { +const formatPublicIPAddress = (pIp: PublicIPAddress): AzureAppGatewayPublicIpAddress | undefined => { return pIp ? { id: pIp.id, @@ -660,7 +660,7 @@ const formatPublicIPAddress = (pIp: PublicIPAddress): AzureApplicationGatewayPub const formatNetworkInterfaceIPConfiguration = ( config: NetworkInterfaceIPConfiguration -): AzureApplicationGatewayNetworkInterfaceIpConfiguration | undefined => { +): AzureAppGatewayNetIntfIpConfig | undefined => { return config ? { id: config.id, @@ -670,10 +670,10 @@ const formatNetworkInterfaceIPConfiguration = ( virtualNetworkTaps: config.virtualNetworkTaps?.map( tap => formatVirtualNetworkTap(tap) ), - applicationGatewayBackendAddressPools: config.applicationGatewayBackendAddressPools?.map( + appGatewayBackendAddrPools: config.applicationGatewayBackendAddressPools?.map( p => p ) || [], - loadBalancerBackendAddressPools: config.loadBalancerBackendAddressPools?.map( + loadBalancerBackendAddrPools: config.loadBalancerBackendAddressPools?.map( p => formatBackendAddressPool(p) ) || [], loadBalancerInboundNatRules: config.loadBalancerInboundNatRules?.map(r => { @@ -722,13 +722,13 @@ const formatNetworkInterfaceIPConfiguration = ( const formatApplicationGatewayBackendAddressPool = ( pool: ApplicationGatewayBackendAddressPool -): AzureApplicationGatewayApplicationGatewayBackendAddressPool | undefined => { +): AzureAppGatewayAppGatewayBackendAddressPool | undefined => { return pool ? { id: pool.id, name: pool.name, type: pool.type, - backendIPConfigurations: pool.backendIPConfigurations?.map( + backendIPConfigs: pool.backendIPConfigurations?.map( c => formatNetworkInterfaceIPConfiguration(c) ), backendAddresses: pool.backendAddresses?.map( @@ -747,7 +747,7 @@ const formatApplicationGatewayBackendAddressPool = ( const formatApplicationGatewayConnectionDraining = ( agcd: ApplicationGatewayConnectionDraining -): AzureApplicationGatewayApplicationGatewayConnectionDraining => { +): AzureAppGatewayConnectionDraining => { return { enabled: agcd.enabled, drainTimeoutInSec: agcd.drainTimeoutInSec, @@ -757,7 +757,7 @@ const formatApplicationGatewayConnectionDraining = ( const formatApplicationGatewayBackendHttpSettings = ( setting: ApplicationGatewayBackendHttpSettings -): AzureApplicationGatewayApplicationGatewayBackendHttpSettings => { +): AzureAppGatewayBackendHttpSettings => { return { id: setting.id, name: setting.name, @@ -767,7 +767,7 @@ const formatApplicationGatewayBackendHttpSettings = ( cookieBasedAffinity: setting.cookieBasedAffinity, requestTimeout: setting.requestTimeout, probe: {id: setting.probe?.id}, - authenticationCertificates: setting.authenticationCertificates?.map( + authenticationCert: setting.authenticationCertificates?.map( certificate => {return {id: certificate.id}} ) || [], trustedRootCertificates: setting.trustedRootCertificates?.map( @@ -785,7 +785,7 @@ const formatApplicationGatewayBackendHttpSettings = ( const formatApplicationGatewayHttpListener = ( listener: ApplicationGatewayHttpListener -): AzureApplicationGatewayApplicationGatewayHttpListener => { +): AzureAppGatewayHttpListener => { return { id: listener.id, name: listener.name, @@ -812,7 +812,7 @@ const formatApplicationGatewayHttpListener = ( const formatApplicationGatewayPathRule = ( map: ApplicationGatewayPathRule -): AzureApplicationGatewayApplicationGatewayPathRule => { +): AzureAppGatewayApplicationGatewayPathRule => { return { id: map.id, name: map.name, @@ -830,7 +830,7 @@ const formatApplicationGatewayPathRule = ( const formatApplicationGatewayUrlPathMap = ( map: ApplicationGatewayUrlPathMap -): AzureApplicationGatewayApplicationGatewayUrlPathMap => { +): AzureAppGatewayUrlPathMap => { return { id: map.id, name: map.name, @@ -847,7 +847,7 @@ const formatApplicationGatewayUrlPathMap = ( const formatApplicationGatewayRequestRoutingRule = ( rule: ApplicationGatewayRequestRoutingRule -): AzureApplicationGatewayApplicationGatewayRequestRoutingRule => { +): AzureAppGatewayRequestRoutingRule => { return { id: rule.id, name: rule.name, @@ -867,7 +867,7 @@ const formatApplicationGatewayRequestRoutingRule = ( const formatApplicationGatewayRewriteRuleSet = ( ruleSet: ApplicationGatewayRewriteRuleSet -): AzureApplicationGatewayApplicationGatewayRewriteRuleSet => { +): AzureAppGatewayRewriteRuleSet => { return { id: ruleSet.id, name: ruleSet.name, @@ -878,7 +878,7 @@ const formatApplicationGatewayRewriteRuleSet = ( const formatApplicationGatewayRedirectConfiguration = ( config: ApplicationGatewayRedirectConfiguration -): AzureApplicationGatewayApplicationGatewayRedirectConfiguration => { +): AzureAppGatewayRedirectConfig => { return { id: config.id, name: config.name, @@ -896,7 +896,7 @@ const formatApplicationGatewayRedirectConfiguration = ( const formatApplicationGatewayFirewallDisabledRuleGroup = ( ruleGroup: ApplicationGatewayFirewallDisabledRuleGroup -): AzureApplicationGatewayApplicationGatewayFirewallDisabledRuleGroup => { +): AzureAppGatewayFirewallDisabledRuleGroup => { return { id: cuid(), ruleGroupName: ruleGroup.ruleGroupName, @@ -906,7 +906,7 @@ const formatApplicationGatewayFirewallDisabledRuleGroup = ( const formatApplicationGatewayFirewallExclusion = ( exclusion: ApplicationGatewayFirewallExclusion -): AzureApplicationGatewayApplicationGatewayFirewallExclusion => { +): AzureAppGatewayApplicationGatewayFirewallExclusion => { return { id: cuid(), matchVariable: exclusion.matchVariable, @@ -917,7 +917,7 @@ const formatApplicationGatewayFirewallExclusion = ( const formatApplicationGatewayWebApplicationFirewallConfiguration = ( config: ApplicationGatewayWebApplicationFirewallConfiguration -): AzureApplicationGatewayApplicationGatewayWebApplicationFirewallConfiguration => { +): AzureAppGatewayWebAppFirewallConfig => { return { enabled: config.enabled, firewallMode: config.firewallMode, @@ -934,7 +934,7 @@ const formatApplicationGatewayWebApplicationFirewallConfiguration = ( const formatApplicationGatewayPrivateLinkIpConfiguration = ( config: ApplicationGatewayPrivateLinkIpConfiguration -): AzureApplicationGatewayApplicationGatewayPrivateLinkIpConfiguration => { +): AzureAppGatewayPrivateLinkIpConfig => { return { id: config.id, name: config.name, @@ -949,7 +949,7 @@ const formatApplicationGatewayPrivateLinkIpConfiguration = ( const formatApplicationGatewayPrivateLinkConfiguration = ( config: ApplicationGatewayPrivateLinkConfiguration -): AzureApplicationGatewayApplicationGatewayPrivateLinkConfiguration => { +): AzureAppGatewayPrivateLinkConfig => { return { id: config.id, name: config.name, @@ -961,7 +961,7 @@ const formatApplicationGatewayPrivateLinkConfiguration = ( const formatApplicationGatewayLoadDistributionPolicy = ( config: ApplicationGatewayLoadDistributionPolicy -): AzureApplicationGatewayApplicationGatewayLoadDistributionPolicy => { +): AzureAppGatewayLoadDistribPolicy => { return { id: config.id, name: config.name, @@ -988,7 +988,7 @@ export default ({ service: RawAzureApplicationGateway account: string region: string -}): AzureApplicationGateway => { +}): AzureAppGateway => { const { id, Tags = {}, @@ -1052,7 +1052,7 @@ export default ({ } } ), - authenticationCertificates: authenticationCertificates.map( + authenticationCert: authenticationCertificates.map( c => { return { id: c.id, diff --git a/src/services/applicationGateway/mutation.ts b/src/services/applicationGateway/mutation.ts index 6733ec6c..124cdd3c 100644 --- a/src/services/applicationGateway/mutation.ts +++ b/src/services/applicationGateway/mutation.ts @@ -1,5 +1,5 @@ -export default `mutation($input: [AddazureApplicationGatewayInput!]!) { - addazureApplicationGateway(input: $input, upsert: true) { +export default `mutation($input: [AddazureAppGatewayInput!]!) { + addazureAppGateway(input: $input, upsert: true) { numUids } }`; diff --git a/src/services/applicationGateway/schema.graphql b/src/services/applicationGateway/schema.graphql index e515e8db..eb9c937f 100644 --- a/src/services/applicationGateway/schema.graphql +++ b/src/services/applicationGateway/schema.graphql @@ -1,4 +1,4 @@ -type azureApplicationGatewaySubResource +type azureAppGatewaySubResource @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -6,7 +6,7 @@ type azureApplicationGatewaySubResource ) { id: String @search(by: [hash, regexp]) } -type azureApplicationGatewayResourceSet +type azureAppGatewayResourceSet @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -15,7 +15,7 @@ type azureApplicationGatewayResourceSet subscriptions: [String] @search(by: [hash, regexp]) } -type azureApplicationGatewayPrivateLinkServiceConnectionState +type azureAppGatewayPrivateLinkServiceConnState @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -26,7 +26,7 @@ type azureApplicationGatewayPrivateLinkServiceConnectionState actionsRequired: String @search(by: [hash, regexp]) } -type azureApplicationGatewayPrivateLinkServiceConnection +type azureAppGatewayPrivateLinkServiceConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -39,10 +39,10 @@ type azureApplicationGatewayPrivateLinkServiceConnection privateLinkServiceId: String @search(by: [hash, regexp]) groupIds: [String] @search(by: [hash, regexp]) requestMessage: String @search(by: [hash, regexp]) - privateLinkServiceConnectionState: azureApplicationGatewayPrivateLinkServiceConnectionState + privateLinkServiceConnectionState: azureAppGatewayPrivateLinkServiceConnState } -type azureApplicationGatewayCustomDnsConfigPropertiesFormat +type azureAppGatewayCustomDnsConfigPropertiesFormat @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -52,7 +52,7 @@ type azureApplicationGatewayCustomDnsConfigPropertiesFormat ipAddresses: [String] @search(by: [hash, regexp]) } -type azureApplicationGatewayPrivateEndpointIPConfiguration +type azureAppGatewayPrivateEndpointIPConfig @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -65,26 +65,26 @@ type azureApplicationGatewayPrivateEndpointIPConfiguration privateIPAddress: String @search(by: [hash, regexp]) } -type azureApplicationGatewayPrivateEndpoint +type azureAppGatewayPrivateEndpoint @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { id: String @search(by: [hash, regexp]) - extendedLocation: azureApplicationGatewayExtendedLocation - subnet: azureApplicationGatewaySubnet - networkInterfaces: [azureApplicationGatewayNetworkInterface] + extendedLocation: azureAppGatewayExtendedLocation + subnet: azureAppGatewaySubnet + networkInterfaces: [azureAppGatewayNetworkInterface] provisioningState: String @search(by: [hash, regexp]) - privateLinkServiceConnections: [azureApplicationGatewayPrivateLinkServiceConnection] - manualPrivateLinkServiceConnections: [azureApplicationGatewayPrivateLinkServiceConnection] - customDnsConfigs: [azureApplicationGatewayCustomDnsConfigPropertiesFormat] - applicationSecurityGroups: [azureApplicationGatewayApplicationSecurityGroup] - ipConfigurations: [azureApplicationGatewayPrivateEndpointIPConfiguration] + privateLinkServiceConn: [azureAppGatewayPrivateLinkServiceConn] + manualPrivateLinkServiceConn: [azureAppGatewayPrivateLinkServiceConn] + customDnsConfigs: [azureAppGatewayCustomDnsConfigPropertiesFormat] + applicationSecurityGroups: [azureAppGatewaySecurityGroup] + ipConfigurations: [azureAppGatewayPrivateEndpointIPConfig] customNetworkInterfaceName: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationSecurityGroup +type azureAppGatewaySecurityGroup @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -95,7 +95,7 @@ type azureApplicationGatewayApplicationSecurityGroup provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewaySecurityRule +type azureAppGatewaySecurityRule @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -110,10 +110,10 @@ type azureApplicationGatewaySecurityRule destinationPortRange: String @search(by: [hash, regexp]) sourceAddressPrefix: String @search(by: [hash, regexp]) sourceAddressPrefixes: [String] @search(by: [hash, regexp]) - sourceApplicationSecurityGroups: [azureApplicationGatewayApplicationSecurityGroup] + sourceApplicationSecurityGroups: [azureAppGatewaySecurityGroup] destinationAddressPrefix: String @search(by: [hash, regexp]) destinationAddressPrefixes: [String] @search(by: [hash, regexp]) - destinationApplicationSecurityGroups: [azureApplicationGatewayApplicationSecurityGroup] + destinationAppSecurityGroups: [azureAppGatewaySecurityGroup] sourcePortRanges: [String] @search(by: [hash, regexp]) destinationPortRanges: [String] @search(by: [hash, regexp]) access: String @search(by: [hash, regexp]) @@ -122,7 +122,7 @@ type azureApplicationGatewaySecurityRule provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayNetworkInterfaceDnsSettings +type azureAppGatewayDnsSettings @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -135,7 +135,7 @@ type azureApplicationGatewayNetworkInterfaceDnsSettings internalDomainNameSuffix: String @search(by: [hash, regexp]) } -type azureApplicationGatewayPrivateLinkServiceIpConfiguration +type azureAppGatewayPrivateLinkServiceIpConfig @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -146,13 +146,13 @@ type azureApplicationGatewayPrivateLinkServiceIpConfiguration type: String @search(by: [hash, regexp]) privateIPAddress: String @search(by: [hash, regexp]) privateIPAllocationMethod: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubnet + subnet: azureAppGatewaySubnet primary: Boolean @search provisioningState: String @search(by: [hash, regexp]) privateIPAddressVersion: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayPrivateEndpointConnection +type azureAppGatewayPrivateEndpointConn @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -161,62 +161,62 @@ type azureApplicationGatewayApplicationGatewayPrivateEndpointConnection id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - privateEndpoint: azureApplicationGatewayPrivateEndpoint - privateLinkServiceConnectionState: azureApplicationGatewayPrivateLinkServiceConnectionState + privateEndpoint: azureAppGatewayPrivateEndpoint + privateLinkServiceConnectionState: azureAppGatewayPrivateLinkServiceConnState provisioningState: String @search(by: [hash, regexp]) linkIdentifier: String @search(by: [hash, regexp]) } -type azureApplicationGatewayPrivateLinkService +type azureAppGatewayPrivateLinkSvc @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { id: String @search(by: [hash, regexp]) - extendedLocation: azureApplicationGatewayExtendedLocation - loadBalancerFrontendIpConfigurations: [azureApplicationGatewayFrontendIPConfiguration] - ipConfigurations: [azureApplicationGatewayPrivateLinkServiceIpConfiguration] - networkInterfaces: [azureApplicationGatewayNetworkInterface] + extendedLocation: azureAppGatewayExtendedLocation + loadBalancerFrontendIpConfigs: [azureAppGatewayFrontendIPConfig] + ipConfigurations: [azureAppGatewayPrivateLinkServiceIpConfig] + networkInterfaces: [azureAppGatewayNetworkInterface] provisioningState: String @search(by: [hash, regexp]) - privateEndpointConnections: [azureApplicationGatewayApplicationGatewayPrivateEndpointConnection] - visibility: azureApplicationGatewayResourceSet - autoApproval: azureApplicationGatewayResourceSet + privateEndpointConnections: [azureAppGatewayPrivateEndpointConn] + visibility: azureAppGatewayResourceSet + autoApproval: azureAppGatewayResourceSet fqdns: [String] @search(by: [hash, regexp]) alias: String @search(by: [hash, regexp]) enableProxyProtocol: Boolean @search } -type azureApplicationGatewayNetworkInterface +type azureAppGatewayNetworkInterface @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { id: String @search(by: [hash, regexp]) - extendedLocation: azureApplicationGatewayExtendedLocation - virtualMachine: azureApplicationGatewaySubResource - networkSecurityGroup: azureApplicationGatewayNetworkSecurityGroup - privateEndpoint: azureApplicationGatewayNetworkInterface - ipConfigurations: [azureApplicationGatewayNetworkInterfaceIPConfiguration] - tapConfigurations: [azureApplicationGatewayNetworkInterfaceTapConfiguration] - dnsSettings: azureApplicationGatewayNetworkInterfaceDnsSettings + extendedLocation: azureAppGatewayExtendedLocation + virtualMachine: azureAppGatewaySubResource + networkSecurityGroup: azureAppGatewayNetworkSecurityGroup + privateEndpoint: azureAppGatewayNetworkInterface + ipConfigurations: [azureAppGatewayNetIntfIPConfig] + tapConfigurations: [azureAppGatewayNetworkInterfaceTapConfig] + dnsSettings: azureAppGatewayDnsSettings macAddress: String @search(by: [hash, regexp]) primary: Boolean @search vnetEncryptionSupported: Boolean @search enableAcceleratedNetworking: Boolean @search enableIPForwarding: Boolean @search hostedWorkloads: [String] @search(by: [hash, regexp]) - dscpConfiguration: azureApplicationGatewaySubResource + dscpConfiguration: azureAppGatewaySubResource resourceGuid: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) workloadType: String @search(by: [hash, regexp]) nicType: String @search(by: [hash, regexp]) - privateLinkService: azureApplicationGatewayPrivateLinkService + privateLinkService: azureAppGatewayPrivateLinkSvc migrationPhase: String @search(by: [hash, regexp]) } -type azureApplicationGatewayRetentionPolicyParameters +type azureAppGatewayRetentionPolicyParameters @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -226,7 +226,7 @@ type azureApplicationGatewayRetentionPolicyParameters enabled: Boolean @search } -type azureApplicationGatewayFlowLogFormatParameters +type azureAppGatewayFlowLogFormatParameters @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -236,16 +236,16 @@ type azureApplicationGatewayFlowLogFormatParameters version: Int @search } -type azureApplicationGatewayTrafficAnalyticsProperties +type azureAppGatewayTrafficAnalyticsProperties @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { - networkWatcherFlowAnalyticsConfiguration: azureApplicationGatewayTrafficAnalyticsConfigurationProperties + networkWatcherFlowAnalyticsConfiguration: azureAppGatewayTrafficAnalyticsConfigProperties } -type azureApplicationGatewayTrafficAnalyticsConfigurationProperties +type azureAppGatewayTrafficAnalyticsConfigProperties @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -258,7 +258,7 @@ type azureApplicationGatewayTrafficAnalyticsConfigurationProperties trafficAnalyticsInterval: Int @search } -type azureApplicationGatewayFlowLog +type azureAppGatewayFlowLog @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -269,29 +269,29 @@ type azureApplicationGatewayFlowLog targetResourceGuid: String @search(by: [hash, regexp]) storageId: String @search(by: [hash, regexp]) enabled: Boolean @search - retentionPolicy: azureApplicationGatewayRetentionPolicyParameters - format: azureApplicationGatewayFlowLogFormatParameters - flowAnalyticsConfiguration: azureApplicationGatewayTrafficAnalyticsProperties + retentionPolicy: azureAppGatewayRetentionPolicyParameters + format: azureAppGatewayFlowLogFormatParameters + flowAnalyticsConfiguration: azureAppGatewayTrafficAnalyticsProperties provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayNetworkSecurityGroup +type azureAppGatewayNetworkSecurityGroup @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { id: String @search(by: [hash, regexp]) - securityRules: [azureApplicationGatewaySecurityRule] - defaultSecurityRules: [azureApplicationGatewaySecurityRule] - networkInterfaces: [azureApplicationGatewayNetworkInterface] - subnets: [azureApplicationGatewaySubnet] - flowLogs: [azureApplicationGatewayFlowLog] + securityRules: [azureAppGatewaySecurityRule] + defaultSecurityRules: [azureAppGatewaySecurityRule] + networkInterfaces: [azureAppGatewayNetworkInterface] + subnets: [azureAppGatewaySubnet] + flowLogs: [azureAppGatewayFlowLog] resourceGuid: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayRoute +type azureAppGatewayRoute @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -307,21 +307,21 @@ type azureApplicationGatewayRoute hasBgpOverride: Boolean @search } -type azureApplicationGatewayRouteTable +type azureAppGatewayRouteTable @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { id: String @search(by: [hash, regexp]) - routes: [azureApplicationGatewayRoute] - subnets: [azureApplicationGatewaySubnet] + routes: [azureAppGatewayRoute] + subnets: [azureAppGatewaySubnet] disableBgpRoutePropagation: Boolean @search provisioningState: String @search(by: [hash, regexp]) resourceGuid: String @search(by: [hash, regexp]) } -type azureApplicationGatewayServiceEndpointPropertiesFormat +type azureAppGatewayServiceEndpointPropertiesFormat @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -333,7 +333,7 @@ type azureApplicationGatewayServiceEndpointPropertiesFormat provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayServiceEndpointPolicyDefinition +type azureAppGatewayEndpointPolicyDefinition @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -348,7 +348,7 @@ type azureApplicationGatewayServiceEndpointPolicyDefinition provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayServiceEndpointPolicy +type azureAppGatewayEndpointPolicy @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -356,15 +356,15 @@ type azureApplicationGatewayServiceEndpointPolicy ) { id: String @search(by: [hash, regexp]) kind: String @search(by: [hash, regexp]) - serviceEndpointPolicyDefinitions: [azureApplicationGatewayServiceEndpointPolicyDefinition] - subnets: [azureApplicationGatewaySubnet] + serviceEndpointPolicyDef: [azureAppGatewayEndpointPolicyDefinition] + subnets: [azureAppGatewaySubnet] resourceGuid: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) serviceAlias: String @search(by: [hash, regexp]) contextualServiceEndpointPolicies: [String] @search(by: [hash, regexp]) } -type azureApplicationGatewayIPConfigurationProfile +type azureAppGatewayIPConfigurationProfile @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -373,11 +373,11 @@ type azureApplicationGatewayIPConfigurationProfile id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubnet + subnet: azureAppGatewaySubnet provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayResourceNavigationLink +type azureAppGatewayResourceNavigationLink @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -391,7 +391,7 @@ type azureApplicationGatewayResourceNavigationLink provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayServiceAssociationLink +type azureAppGatewayServiceAssociationLink @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -407,7 +407,7 @@ type azureApplicationGatewayServiceAssociationLink locations: [String] @search(by: [hash, regexp]) } -type azureApplicationGatewayDelegation +type azureAppGatewayDelegation @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -421,7 +421,7 @@ type azureApplicationGatewayDelegation provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayIPConfiguration +type azureAppGatewayApplicationGatewayIPConfig @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -430,11 +430,11 @@ type azureApplicationGatewayApplicationGatewayIPConfiguration id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubnet + subnet: azureAppGatewaySubnet provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewaySubnet +type azureAppGatewaySubnet @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -445,26 +445,26 @@ type azureApplicationGatewaySubnet type: String @search(by: [hash, regexp]) addressPrefix: String @search(by: [hash, regexp]) addressPrefixes: [String] @search(by: [hash, regexp]) - networkSecurityGroup: azureApplicationGatewayNetworkSecurityGroup - routeTable: azureApplicationGatewayRouteTable - natGateway: azureApplicationGatewaySubResource - serviceEndpoints: [azureApplicationGatewayServiceEndpointPropertiesFormat] - serviceEndpointPolicies: [azureApplicationGatewayServiceEndpointPolicy] - privateEndpoints: [azureApplicationGatewayPrivateEndpoint] - ipConfigurations: [azureApplicationGatewayIPConfiguration] - ipConfigurationProfiles: [azureApplicationGatewayIPConfigurationProfile] - ipAllocations: [azureApplicationGatewaySubResource] - resourceNavigationLinks: [azureApplicationGatewayResourceNavigationLink] - serviceAssociationLinks: [azureApplicationGatewayServiceAssociationLink] - delegations: [azureApplicationGatewayDelegation] + networkSecurityGroup: azureAppGatewayNetworkSecurityGroup + routeTable: azureAppGatewayRouteTable + natGateway: azureAppGatewaySubResource + serviceEndpoints: [azureAppGatewayServiceEndpointPropertiesFormat] + serviceEndpointPolicies: [azureAppGatewayEndpointPolicy] + privateEndpoints: [azureAppGatewayPrivateEndpoint] + ipConfigurations: [azureAppGatewayIPConfig] + ipConfigurationProfiles: [azureAppGatewayIPConfigurationProfile] + ipAllocations: [azureAppGatewaySubResource] + resourceNavigationLinks: [azureAppGatewayResourceNavigationLink] + serviceAssociationLinks: [azureAppGatewayServiceAssociationLink] + delegations: [azureAppGatewayDelegation] purpose: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) privateEndpointNetworkPolicies: String @search(by: [hash, regexp]) privateLinkServiceNetworkPolicies: String @search(by: [hash, regexp]) - applicationGatewayIpConfigurations: [azureApplicationGatewayApplicationGatewayIPConfiguration] + applicationGatewayIpConfigurations: [azureAppGatewayApplicationGatewayIPConfig] } -type azureApplicationGatewayUserAssignedIdentityAdditionalProperty +type azureAppGatewayUserAssignedIdentityAdditionalProperty @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -474,7 +474,7 @@ type azureApplicationGatewayUserAssignedIdentityAdditionalProperty clientId: String @search(by: [hash, regexp]) } -type azureApplicationGatewayUserAssignedIdentities +type azureAppGatewayUserAssignedIdentities @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -482,10 +482,10 @@ type azureApplicationGatewayUserAssignedIdentities ) { id: String! @id key: String - property: azureApplicationGatewayUserAssignedIdentityAdditionalProperty + property: azureAppGatewayUserAssignedIdentityAdditionalProperty } -type azureApplicationGatewayManagedServiceIdentity +type azureAppGatewayManagedServiceIdentity @generate( query: { get: false, query: true, aggregate: false } mutation: { add: false, delete: false } @@ -494,10 +494,10 @@ type azureApplicationGatewayManagedServiceIdentity principalId: String @search(by: [hash, regexp]) tenantId: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - userAssignedIdentities: [azureApplicationGatewayUserAssignedIdentities] + userAssignedIdentities: [azureAppGatewayUserAssignedIdentities] } -type azureApplicationGatewayIPConfiguration +type azureAppGatewayIPConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -508,12 +508,12 @@ type azureApplicationGatewayIPConfiguration type: String @search(by: [hash, regexp]) privateIPAddress: String @search(by: [hash, regexp]) privateIPAllocationMethod: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubnet - publicIPAddress: azureApplicationGatewayPublicIPAddress + subnet: azureAppGatewaySubnet + publicIPAddress: azureAppGatewayPublicIPAddress provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayAuthenticationCertificate +type azureAppGatewayAuthenticationCertificate @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -526,7 +526,7 @@ type azureApplicationGatewayAuthenticationCertificate provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayTrustedRootCertificate +type azureAppGatewayTrustedRootCertificate @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -540,7 +540,7 @@ type azureApplicationGatewayTrustedRootCertificate provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayTrustedClientCertificate +type azureAppGatewayTrustedClientCertificate @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -555,7 +555,7 @@ type azureApplicationGatewayTrustedClientCertificate provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewaySslCertificate +type azureAppGatewaySslCertificate @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -571,7 +571,7 @@ type azureApplicationGatewaySslCertificate provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayFrontendIPConfiguration +type azureAppGatewayAppGatewayFrontendIPConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -588,7 +588,7 @@ type azureApplicationGatewayFrontendIPConfiguration provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayFrontendPort +type azureAppGatewayFrontendPort @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -601,7 +601,7 @@ type azureApplicationGatewayFrontendPort provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayProbe +type azureAppGatewayProbe @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -624,7 +624,7 @@ type azureApplicationGatewayProbe provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayBackendAddressPool +type azureAppGatewayAppGatewayBackendAddressPool @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -633,13 +633,12 @@ type azureApplicationGatewayApplicationGatewayBackendAddressPool id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - backendIPConfigurations: [azureApplicationGatewayNetworkInterfaceIPConfiguration] - - backendAddresses: [azureApplicationGatewayApplicationGatewayBackendAddress] + backendIPConfigs: [azureAppGatewayNetIntfIPConfig] + backendAddresses: [azureAppGatewayBackendAddress] provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayGatewayLoadBalancerTunnelInterface +type azureAppGatewayGatewayLoadBalancerTunnelInterface @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -652,7 +651,7 @@ type azureApplicationGatewayGatewayLoadBalancerTunnelInterface type: String @search(by: [hash, regexp]) } -type azureApplicationGatewayBackendAddressPool +type azureAppGatewayBackendAddrPool @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -662,9 +661,9 @@ type azureApplicationGatewayBackendAddressPool name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) location: String @search(by: [hash, regexp]) - tunnelInterfaces: [azureApplicationGatewayGatewayLoadBalancerTunnelInterface] - loadBalancerBackendAddresses: [azureApplicationGatewayLoadBalancerBackendAddress] - backendIPConfigurations: [azureApplicationGatewayNetworkInterfaceIPConfiguration] + tunnelInterfaces: [azureAppGatewayGatewayLoadBalancerTunnelInterface] + loadBalancerBackendAddresses: [azureAppGatewayLoadBalancerAddr] + backendIPConfigs: [azureAppGatewayNetIntfIPConfig] loadBalancingRules: [String] @search(by: [hash, regexp]) outboundRule: String @search(by: [hash, regexp]) outboundRules: [String] @search(by: [hash, regexp]) @@ -672,7 +671,7 @@ type azureApplicationGatewayBackendAddressPool provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayNatRulePortMapping +type azureAppGatewayNatRulePortMapping @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -684,7 +683,7 @@ type azureApplicationGatewayNatRulePortMapping backendPort: Int @search } -type azureApplicationGatewayLoadBalancerBackendAddress +type azureAppGatewayLoadBalancerAddr @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -697,10 +696,10 @@ type azureApplicationGatewayLoadBalancerBackendAddress ipAddress: String @search(by: [hash, regexp]) networkInterfaceIPConfiguration: String @search(by: [hash, regexp]) loadBalancerFrontendIPConfiguration: String @search(by: [hash, regexp]) - inboundNatRulesPortMapping: [azureApplicationGatewayNatRulePortMapping] + inboundNatRulesPortMapping: [azureAppGatewayNatRulePortMapping] } -type azureApplicationGatewayInboundNatRule +type azureAppGatewayInboundNatRule @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -709,8 +708,8 @@ type azureApplicationGatewayInboundNatRule id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - frontendIPConfiguration: azureApplicationGatewaySubResource - backendIPConfiguration: azureApplicationGatewayNetworkInterfaceIPConfiguration + frontendIPConfiguration: azureAppGatewaySubResource + backendIPConfiguration: azureAppGatewayNetIntfIPConfig protocol: String @search(by: [hash, regexp]) frontendPort: Int @search backendPort: Int @search @@ -719,21 +718,11 @@ type azureApplicationGatewayInboundNatRule enableTcpReset: Boolean @search frontendPortRangeStart: Int @search frontendPortRangeEnd: Int @search - backendAddressPool: azureApplicationGatewaySubResource - provisioningState: String @search(by: [hash, regexp]) - } -type azureApplicationGatewayApplicationSecurityGroup - @generate( - query: { get: false, query: false, aggregate: false } - mutation: { add: false, delete: false } - subscription: false - ) { - id: String @search(by: [hash, regexp]) - resourceGuid: String @search(by: [hash, regexp]) + backendAddressPool: azureAppGatewaySubResource provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties +type azureAppGatewayPrivateLinkConnProperties @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -744,7 +733,7 @@ type azureApplicationGatewayNetworkInterfaceIPConfigurationPrivateLinkConnection fqdns: [String] @search(by: [hash, regexp]) } -type azureApplicationGatewayNetworkInterfaceIPConfiguration +type azureAppGatewayNetIntfIPConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -753,23 +742,23 @@ type azureApplicationGatewayNetworkInterfaceIPConfiguration id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - gatewayLoadBalancer: azureApplicationGatewaySubResource - virtualNetworkTaps: [azureApplicationGatewayVirtualNetworkTap] - applicationGatewayBackendAddressPools: [azureApplicationGatewayApplicationGatewayBackendAddressPool] - loadBalancerBackendAddressPools: [azureApplicationGatewayBackendAddressPool] - loadBalancerInboundNatRules: [azureApplicationGatewayInboundNatRule] + gatewayLoadBalancer: azureAppGatewaySubResource + virtualNetworkTaps: [azureAppGatewayVirtualNetworkTap] + appGatewayBackendAddrPools: [azureAppGatewayAppGatewayBackendAddressPool] + loadBalancerBackendAddrPools: [azureAppGatewayBackendAddrPool] + loadBalancerInboundNatRules: [azureAppGatewayInboundNatRule] privateIPAddress: String @search(by: [hash, regexp]) privateIPAllocationMethod: String @search(by: [hash, regexp]) privateIPAddressVersion: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubnet + subnet: azureAppGatewaySubnet primary: Boolean @search - publicIPAddress: azureApplicationGatewayPublicIPAddress - applicationSecurityGroups: [azureApplicationGatewayApplicationSecurityGroup] + publicIPAddress: azureAppGatewayPublicIPAddress + applicationSecurityGroups: [azureAppGatewaySecurityGroup] provisioningState: String @search(by: [hash, regexp]) - privateLinkConnectionProperties: azureApplicationGatewayNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + privateLinkConnectionProperties: azureAppGatewayPrivateLinkConnProperties, } -type azureApplicationGatewayNetworkInterfaceTapConfiguration +type azureAppGatewayNetworkInterfaceTapConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -778,12 +767,12 @@ type azureApplicationGatewayNetworkInterfaceTapConfiguration id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - virtualNetworkTap: azureApplicationGatewayVirtualNetworkTap + virtualNetworkTap: azureAppGatewayVirtualNetworkTap provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayFrontendIPConfiguration +type azureAppGatewayFrontendIPConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -793,21 +782,21 @@ type azureApplicationGatewayFrontendIPConfiguration name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) zones: [String] @search(by: [hash, regexp]) - inboundNatRuleIds: [azureApplicationGatewaySubResource] - inboundNatPools: [azureApplicationGatewaySubResource] - outboundRules: [azureApplicationGatewaySubResource] - loadBalancingRules: [azureApplicationGatewaySubResource] + inboundNatRuleIds: [azureAppGatewaySubResource] + inboundNatPools: [azureAppGatewaySubResource] + outboundRules: [azureAppGatewaySubResource] + loadBalancingRules: [azureAppGatewaySubResource] privateIPAddress: String @search(by: [hash, regexp]) privateIPAllocationMethod: String @search(by: [hash, regexp]) privateIPAddressVersion: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubnet - publicIPAddress: azureApplicationGatewayPublicIPAddress - publicIPPrefix: azureApplicationGatewaySubResource - gatewayLoadBalancer: azureApplicationGatewaySubResource + subnet: azureAppGatewaySubnet + publicIPAddress: azureAppGatewayPublicIPAddress + publicIPPrefix: azureAppGatewaySubResource + gatewayLoadBalancer: azureAppGatewaySubResource provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayIpTag +type azureAppGatewayIpTag @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -818,7 +807,7 @@ type azureApplicationGatewayIpTag tag: String @search(by: [hash, regexp]) } -type azureApplicationGatewayExtendedLocation +type azureAppGatewayExtendedLocation @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -828,7 +817,7 @@ type azureApplicationGatewayExtendedLocation type: String @search(by: [hash, regexp]) } -type azureApplicationGatewayNatGateway +type azureAppGatewayNatGateway @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -837,44 +826,44 @@ type azureApplicationGatewayNatGateway id: String @search(by: [hash, regexp]) zones: [String] @search(by: [hash, regexp]) idleTimeoutInMinutes: Int @search - publicIpAddresses: [azureApplicationGatewaySubResource] - publicIpPrefixes: [azureApplicationGatewaySubResource] - subnets: [azureApplicationGatewaySubResource] + publicIpAddresses: [azureAppGatewaySubResource] + publicIpPrefixes: [azureAppGatewaySubResource] + subnets: [azureAppGatewaySubResource] resourceGuid: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayPublicIPAddress +type azureAppGatewayPublicIPAddress @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } subscription: false ) { id: String @search(by: [hash, regexp]) - extendedLocation: azureApplicationGatewayExtendedLocation + extendedLocation: azureAppGatewayExtendedLocation zones: [String] @search(by: [hash, regexp]) publicIPAllocationMethod: String @search(by: [hash, regexp]) publicIPAddressVersion: String @search(by: [hash, regexp]) - ipConfiguration: azureApplicationGatewayIPConfiguration + ipConfiguration: azureAppGatewayIPConfig dnsDomainNameLabel: String @search(by: [hash, regexp]) dnsFqdn: String @search(by: [hash, regexp]) dnsReverseFqdn: String @search(by: [hash, regexp]) - ipTags: [azureApplicationGatewayIpTag] + ipTags: [azureAppGatewayIpTag] ipAddress: String @search(by: [hash, regexp]) - publicIPPrefix: azureApplicationGatewaySubResource + publicIPPrefix: azureAppGatewaySubResource idleTimeoutInMinutes: Int @search resourceGuid: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) - servicePublicIPAddress: azureApplicationGatewayPublicIPAddress + servicePublicIPAddress: azureAppGatewayPublicIPAddress natGatewayId: String @search(by: [hash, regexp]) natGatewayZones: [String] @search(by: [hash, regexp]) - natGateway: azureApplicationGatewayNatGateway + natGateway: azureAppGatewayNatGateway migrationPhase: String @search(by: [hash, regexp]) - linkedPublicIPAddress: azureApplicationGatewayPublicIPAddress + linkedPublicIPAddress: azureAppGatewayPublicIPAddress deleteOption: String @search(by: [hash, regexp]) } -type azureApplicationGatewayVirtualNetworkTap +type azureAppGatewayVirtualNetworkTap @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -883,15 +872,15 @@ type azureApplicationGatewayVirtualNetworkTap id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - networkInterfaceTapConfigurations: [azureApplicationGatewayNetworkInterfaceTapConfiguration], + networkInterfaceTapConfigs: [azureAppGatewayNetworkInterfaceTapConfig], resourceGuid: String @search(by: [hash, regexp]) - destinationNetworkInterfaceIPConfiguration: azureApplicationGatewayNetworkInterfaceIPConfiguration, - destinationLoadBalancerFrontEndIPConfiguration: azureApplicationGatewayFrontendIPConfiguration, + destinationNetworkInterfaceIPConfiguration: azureAppGatewayNetIntfIPConfig, + destinationLoadBalancerFrontEndIPConfiguration: azureAppGatewayFrontendIPConfig, destinationPort: Int @search provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayBackendAddress +type azureAppGatewayBackendAddress @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -902,7 +891,7 @@ type azureApplicationGatewayApplicationGatewayBackendAddress ipAddress: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayConnectionDraining +type azureAppGatewayConnectionDraining @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -912,7 +901,7 @@ type azureApplicationGatewayApplicationGatewayConnectionDraining drainTimeoutInSec: Int @search } -type azureApplicationGatewayApplicationGatewayBackendHttpSettings +type azureAppGatewayBackendHttpSettings @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -925,10 +914,10 @@ type azureApplicationGatewayApplicationGatewayBackendHttpSettings protocol: String @search(by: [hash, regexp]) cookieBasedAffinity: String @search(by: [hash, regexp]) requestTimeout: Int @search - probe: azureApplicationGatewaySubResource - authenticationCertificates: [azureApplicationGatewaySubResource] - trustedRootCertificates: [azureApplicationGatewaySubResource] - connectionDraining: azureApplicationGatewayApplicationGatewayConnectionDraining + probe: azureAppGatewaySubResource + authenticationCert: [azureAppGatewaySubResource] + trustedRootCertificates: [azureAppGatewaySubResource] + connectionDraining: azureAppGatewayConnectionDraining hostName: String @search(by: [hash, regexp]) pickHostNameFromBackendAddress: Boolean @search affinityCookieName: String @search(by: [hash, regexp]) @@ -937,7 +926,7 @@ type azureApplicationGatewayApplicationGatewayBackendHttpSettings provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayCustomError +type azureAppGatewayCustomError @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -948,7 +937,7 @@ type azureApplicationGatewayApplicationGatewayCustomError customErrorPageUrl: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayHttpListener +type azureAppGatewayHttpListener @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -957,20 +946,20 @@ type azureApplicationGatewayApplicationGatewayHttpListener id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - frontendIPConfiguration: azureApplicationGatewaySubResource - frontendPort: azureApplicationGatewaySubResource + frontendIPConfiguration: azureAppGatewaySubResource + frontendPort: azureAppGatewaySubResource protocol: String @search(by: [hash, regexp]) hostName: String @search(by: [hash, regexp]) - sslCertificate: azureApplicationGatewaySubResource - sslProfile: azureApplicationGatewaySubResource + sslCertificate: azureAppGatewaySubResource + sslProfile: azureAppGatewaySubResource requireServerNameIndication: Boolean @search provisioningState: String @search(by: [hash, regexp]) - customErrorConfigurations: [azureApplicationGatewayApplicationGatewayCustomError] - firewallPolicy: azureApplicationGatewaySubResource + customErrorConfigurations: [azureAppGatewayCustomError] + firewallPolicy: azureAppGatewaySubResource hostNames: [String] @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewaySslPolicy +type azureAppGatewaySslPolicy @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -983,7 +972,7 @@ type azureApplicationGatewayApplicationGatewaySslPolicy minProtocolVersion: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewaySslPolicy +type azureAppGatewaySslProfile @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -992,28 +981,13 @@ type azureApplicationGatewayApplicationGatewaySslPolicy id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - trustedClientCertificates: [azureApplicationGatewaySubResource] - sslPolicy: azureApplicationGatewayApplicationGatewaySslPolicy + trustedClientCertificates: [azureAppGatewaySubResource] + sslPolicy: azureAppGatewaySslPolicy clientAuthConfiguration: Boolean @search provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewaySslProfile - @generate( - query: { get: false, query: false, aggregate: false } - mutation: { add: false, delete: false } - subscription: false - ) { - id: String @search(by: [hash, regexp]) - name: String @search(by: [hash, regexp]) - type: String @search(by: [hash, regexp]) - trustedClientCertificates: [azureApplicationGatewaySubResource] - sslPolicy: azureApplicationGatewayApplicationGatewaySslPolicy - clientAuthConfiguration: Boolean @search - provisioningState: String @search(by: [hash, regexp]) -} - -type azureApplicationGatewayApplicationGatewayPathRule +type azureAppGatewayApplicationGatewayPathRule @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1023,16 +997,16 @@ type azureApplicationGatewayApplicationGatewayPathRule name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) paths: [String] @search(by: [hash, regexp]) - backendAddressPool: azureApplicationGatewaySubResource - backendHttpSettings: azureApplicationGatewaySubResource - redirectConfiguration: azureApplicationGatewaySubResource - rewriteRuleSet: azureApplicationGatewaySubResource - loadDistributionPolicy: azureApplicationGatewaySubResource + backendAddressPool: azureAppGatewaySubResource + backendHttpSettings: azureAppGatewaySubResource + redirectConfiguration: azureAppGatewaySubResource + rewriteRuleSet: azureAppGatewaySubResource + loadDistributionPolicy: azureAppGatewaySubResource provisioningState: String @search(by: [hash, regexp]) - firewallPolicy: azureApplicationGatewaySubResource + firewallPolicy: azureAppGatewaySubResource } -type azureApplicationGatewayApplicationGatewayUrlPathMap +type azureAppGatewayUrlPathMap @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1041,16 +1015,16 @@ type azureApplicationGatewayApplicationGatewayUrlPathMap id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - defaultBackendAddressPool: azureApplicationGatewaySubResource - defaultBackendHttpSettings: azureApplicationGatewaySubResource - defaultRewriteRuleSet: azureApplicationGatewaySubResource - defaultRedirectConfiguration: azureApplicationGatewaySubResource - defaultLoadDistributionPolicy: azureApplicationGatewaySubResource - pathRules: [azureApplicationGatewayApplicationGatewayPathRule] + defaultBackendAddressPool: azureAppGatewaySubResource + defaultBackendHttpSettings: azureAppGatewaySubResource + defaultRewriteRuleSet: azureAppGatewaySubResource + defaultRedirectConfiguration: azureAppGatewaySubResource + defaultLoadDistributionPolicy: azureAppGatewaySubResource + pathRules: [azureAppGatewayApplicationGatewayPathRule] provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayRequestRoutingRule +type azureAppGatewayRequestRoutingRule @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1061,17 +1035,17 @@ type azureApplicationGatewayApplicationGatewayRequestRoutingRule type: String @search(by: [hash, regexp]) ruleType: String @search(by: [hash, regexp]) priority: Int @search - backendAddressPool: azureApplicationGatewaySubResource - backendHttpSettings: azureApplicationGatewaySubResource - httpListener: azureApplicationGatewaySubResource - urlPathMap: azureApplicationGatewaySubResource - rewriteRuleSet: azureApplicationGatewaySubResource - redirectConfiguration: azureApplicationGatewaySubResource - loadDistributionPolicy: azureApplicationGatewaySubResource + backendAddressPool: azureAppGatewaySubResource + backendHttpSettings: azureAppGatewaySubResource + httpListener: azureAppGatewaySubResource + urlPathMap: azureAppGatewaySubResource + rewriteRuleSet: azureAppGatewaySubResource + redirectConfiguration: azureAppGatewaySubResource + loadDistributionPolicy: azureAppGatewaySubResource provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayRewriteRuleSet +type azureAppGatewayRewriteRuleSet @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1079,11 +1053,11 @@ type azureApplicationGatewayApplicationGatewayRewriteRuleSet ) { id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) - rewriteRules: [azureApplicationGatewayApplicationGatewayRequestRoutingRule] + rewriteRules: [azureAppGatewayRequestRoutingRule] provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayRedirectConfiguration +type azureAppGatewayRedirectConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1093,15 +1067,15 @@ type azureApplicationGatewayApplicationGatewayRedirectConfiguration name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) redirectType: String @search(by: [hash, regexp]) - targetListener: azureApplicationGatewaySubResource + targetListener: azureAppGatewaySubResource targetUrl: String @search(by: [hash, regexp]) includePath: Boolean @search includeQueryString: Boolean @search - requestRoutingRules: [azureApplicationGatewaySubResource] - urlPathMaps: [azureApplicationGatewaySubResource] - pathRules: [azureApplicationGatewaySubResource] + requestRoutingRules: [azureAppGatewaySubResource] + urlPathMaps: [azureAppGatewaySubResource] + pathRules: [azureAppGatewaySubResource] } -type azureApplicationGatewayApplicationGatewayFirewallDisabledRuleGroup +type azureAppGatewayFirewallDisabledRuleGroup @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1112,7 +1086,7 @@ type azureApplicationGatewayApplicationGatewayFirewallDisabledRuleGroup rules: [Int] @search } -type azureApplicationGatewayApplicationGatewayFirewallExclusion +type azureAppGatewayApplicationGatewayFirewallExclusion @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1124,7 +1098,7 @@ type azureApplicationGatewayApplicationGatewayFirewallExclusion selector: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayWebApplicationFirewallConfiguration +type azureAppGatewayWebAppFirewallConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1134,16 +1108,16 @@ type azureApplicationGatewayApplicationGatewayWebApplicationFirewallConfiguratio firewallMode: String @search(by: [hash, regexp]) ruleSetType: String @search(by: [hash, regexp]) ruleSetVersion: String @search(by: [hash, regexp]) - disabledRuleGroups: [azureApplicationGatewayApplicationGatewayFirewallDisabledRuleGroup] + disabledRuleGroups: [azureAppGatewayFirewallDisabledRuleGroup] requestBodyCheck: Boolean @search maxRequestBodySize: Int @search maxRequestBodySizeInKb: Int @search fileUploadLimitInMb: Int @search - exclusions: [azureApplicationGatewayApplicationGatewayFirewallExclusion] + exclusions: [azureAppGatewayApplicationGatewayFirewallExclusion] } -type azureApplicationGatewayApplicationGatewayAutoscaleConfiguration +type azureAppGatewayAutoscaleConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1153,7 +1127,7 @@ type azureApplicationGatewayApplicationGatewayAutoscaleConfiguration maxCapacity: Int @search } -type azureApplicationGatewayApplicationGatewayPrivateLinkIpConfiguration +type azureAppGatewayPrivateLinkIpConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1164,12 +1138,12 @@ type azureApplicationGatewayApplicationGatewayPrivateLinkIpConfiguration type: String @search(by: [hash, regexp]) privateIPAddress: String @search(by: [hash, regexp]) privateIPAllocationMethod: String @search(by: [hash, regexp]) - subnet: azureApplicationGatewaySubResource + subnet: azureAppGatewaySubResource primary: Boolean @search provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayPrivateLinkConfiguration +type azureAppGatewayPrivateLinkConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1178,22 +1152,11 @@ type azureApplicationGatewayApplicationGatewayPrivateLinkConfiguration id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - ipConfigurations: [azureApplicationGatewayApplicationGatewayPrivateLinkIpConfiguration] + ipConfigurations: [azureAppGatewayPrivateLinkIpConfig] provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayCustomError - @generate( - query: { get: false, query: false, aggregate: false } - mutation: { add: false, delete: false } - subscription: false - ) { - id: String @search(by: [hash, regexp]) - statusCode: String @search(by: [hash, regexp]) - customErrorPageUrl: String @search(by: [hash, regexp]) -} - -type azureApplicationGatewayApplicationGatewayLoadDistributionTarget +type azureAppGatewayLoadDistributionTarget @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1203,10 +1166,10 @@ type azureApplicationGatewayApplicationGatewayLoadDistributionTarget name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) weightPerServer: Int @search - backendAddressPool: azureApplicationGatewaySubResource + backendAddressPool: azureAppGatewaySubResource } -type azureApplicationGatewayApplicationGatewayLoadDistributionPolicy +type azureAppGatewayLoadDistribPolicy @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1215,12 +1178,12 @@ type azureApplicationGatewayApplicationGatewayLoadDistributionPolicy id: String @search(by: [hash, regexp]) name: String @search(by: [hash, regexp]) type: String @search(by: [hash, regexp]) - loadDistributionTargets: [azureApplicationGatewayApplicationGatewayLoadDistributionTarget] + loadDistributionTargets: [azureAppGatewayLoadDistributionTarget] loadDistributionAlgorithm: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) } -type azureApplicationGatewayApplicationGatewayGlobalConfiguration +type azureAppGatewayGlobalConfig @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -1230,7 +1193,7 @@ type azureApplicationGatewayApplicationGatewayGlobalConfiguration enableResponseBuffering: Boolean @search } -type azureApplicationGateway implements azureResource +type azureAppGateway implements azureResource @generate( query: { get: true, query: true, aggregate: true } mutation: { add: true, delete: false } @@ -1238,36 +1201,36 @@ type azureApplicationGateway implements azureResource ) @key(fields: "id") { zones: [String] @search(by: [hash, regexp]) - identity: azureApplicationGatewayManagedServiceIdentity - sslPolicy: azureApplicationGatewayApplicationGatewaySslPolicy + identity: azureAppGatewayManagedServiceIdentity + sslPolicy: azureAppGatewaySslPolicy operationalState: String @search(by: [hash, regexp]) - gatewayIPConfigurations: [azureApplicationGatewayIPConfiguration] - authenticationCertificates: [azureApplicationGatewayAuthenticationCertificate] - trustedRootCertificates: [azureApplicationGatewayTrustedRootCertificate] - trustedClientCertificates: [azureApplicationGatewayTrustedClientCertificate] - sslCertificates: [azureApplicationGatewaySslCertificate] - frontendIPConfigurations: [azureApplicationGatewayFrontendIPConfiguration] - frontendPorts: [azureApplicationGatewayFrontendPort] - probes: [azureApplicationGatewayProbe] - backendAddressPools: [azureApplicationGatewayApplicationGatewayBackendAddressPool] - backendHttpSettingsCollection: [azureApplicationGatewayApplicationGatewayBackendHttpSettings] - httpListeners: [azureApplicationGatewayApplicationGatewayHttpListener] - sslProfiles: [azureApplicationGatewayApplicationGatewaySslProfile] - urlPathMaps: [azureApplicationGatewayApplicationGatewayUrlPathMap] - requestRoutingRules: [azureApplicationGatewayApplicationGatewayRequestRoutingRule] - rewriteRuleSets: [azureApplicationGatewayApplicationGatewayRewriteRuleSet] - redirectConfigurations: [azureApplicationGatewayApplicationGatewayRedirectConfiguration] - webApplicationFirewallConfiguration: azureApplicationGatewayApplicationGatewayWebApplicationFirewallConfiguration - firewallPolicy: azureApplicationGatewaySubResource + gatewayIPConfigurations: [azureAppGatewayIPConfig] + authenticationCert: [azureAppGatewayAuthenticationCertificate] + trustedRootCertificates: [azureAppGatewayTrustedRootCertificate] + trustedClientCertificates: [azureAppGatewayTrustedClientCertificate] + sslCertificates: [azureAppGatewaySslCertificate] + frontendIPConfigurations: [azureAppGatewayAppGatewayFrontendIPConfig] + frontendPorts: [azureAppGatewayFrontendPort] + probes: [azureAppGatewayProbe] + backendAddressPools: [azureAppGatewayAppGatewayBackendAddressPool] + backendHttpSettingsCollection: [azureAppGatewayBackendHttpSettings] + httpListeners: [azureAppGatewayHttpListener] + sslProfiles: [azureAppGatewaySslProfile] + urlPathMaps: [azureAppGatewayUrlPathMap] + requestRoutingRules: [azureAppGatewayRequestRoutingRule] + rewriteRuleSets: [azureAppGatewayRewriteRuleSet] + redirectConfigurations: [azureAppGatewayRedirectConfig] + webApplicationFirewallConfiguration: azureAppGatewayWebAppFirewallConfig + firewallPolicy: azureAppGatewaySubResource enableHttp2: Boolean @search enableFips: Boolean @search - autoscaleConfiguration: azureApplicationGatewayApplicationGatewayAutoscaleConfiguration - privateLinkConfigurations: [azureApplicationGatewayApplicationGatewayPrivateLinkConfiguration] - privateEndpointConnections: [azureApplicationGatewayApplicationGatewayPrivateEndpointConnection] + autoscaleConfiguration: azureAppGatewayAutoscaleConfig + privateLinkConfigurations: [azureAppGatewayPrivateLinkConfig] + privateEndpointConnections: [azureAppGatewayPrivateEndpointConn] resourceGuid: String @search(by: [hash, regexp]) provisioningState: String @search(by: [hash, regexp]) - customErrorConfigurations: [azureApplicationGatewayApplicationGatewayCustomError] + customErrorConfigurations: [azureAppGatewayCustomError] forceFirewallPolicyAssociation: Boolean @search - loadDistributionPolicies: [azureApplicationGatewayApplicationGatewayLoadDistributionPolicy] - globalConfiguration: azureApplicationGatewayApplicationGatewayGlobalConfiguration + loadDistributionPolicies: [azureAppGatewayLoadDistribPolicy] + globalConfiguration: azureAppGatewayGlobalConfig } diff --git a/src/types/generated.ts b/src/types/generated.ts index bd49f00a..b14dd795 100644 --- a/src/types/generated.ts +++ b/src/types/generated.ts @@ -456,6 +456,847 @@ export type AzureAksManagedClusterPropertiesAutoScalerProfile = { skipNodesWithSystemPods?: Maybe; }; +export type AzureAppGateway = AzureResource & { + authenticationCert?: Maybe>>; + autoscaleConfiguration?: Maybe; + backendAddressPools?: Maybe>>; + backendHttpSettingsCollection?: Maybe>>; + customErrorConfigurations?: Maybe>>; + enableFips?: Maybe; + enableHttp2?: Maybe; + firewallPolicy?: Maybe; + forceFirewallPolicyAssociation?: Maybe; + frontendIPConfigurations?: Maybe>>; + frontendPorts?: Maybe>>; + gatewayIPConfigurations?: Maybe>>; + globalConfiguration?: Maybe; + httpListeners?: Maybe>>; + identity?: Maybe; + loadDistributionPolicies?: Maybe>>; + operationalState?: Maybe; + privateEndpointConnections?: Maybe>>; + privateLinkConfigurations?: Maybe>>; + probes?: Maybe>>; + provisioningState?: Maybe; + redirectConfigurations?: Maybe>>; + requestRoutingRules?: Maybe>>; + resourceGuid?: Maybe; + rewriteRuleSets?: Maybe>>; + sslCertificates?: Maybe>>; + sslPolicy?: Maybe; + sslProfiles?: Maybe>>; + trustedClientCertificates?: Maybe>>; + trustedRootCertificates?: Maybe>>; + urlPathMaps?: Maybe>>; + webApplicationFirewallConfiguration?: Maybe; + zones?: Maybe>>; +}; + +export type AzureAppGatewayAppGatewayBackendAddressPool = { + backendAddresses?: Maybe>>; + backendIPConfigs?: Maybe>>; + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayAppGatewayFrontendIpConfig = { + id?: Maybe; + name?: Maybe; + privateIPAddress?: Maybe; + privateIPAllocationMethod?: Maybe; + privateLinkConfigurationId?: Maybe; + provisioningState?: Maybe; + publicIPAddressId?: Maybe; + subnetId?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayApplicationGatewayFirewallExclusion = { + id?: Maybe; + matchVariable?: Maybe; + selector?: Maybe; + selectorMatchOperator?: Maybe; +}; + +export type AzureAppGatewayApplicationGatewayIpConfig = { + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + subnet?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayApplicationGatewayPathRule = { + backendAddressPool?: Maybe; + backendHttpSettings?: Maybe; + firewallPolicy?: Maybe; + id?: Maybe; + loadDistributionPolicy?: Maybe; + name?: Maybe; + paths?: Maybe>>; + provisioningState?: Maybe; + redirectConfiguration?: Maybe; + rewriteRuleSet?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayAuthenticationCertificate = { + data?: Maybe; + id: Scalars['String']; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayAutoscaleConfig = { + maxCapacity?: Maybe; + minCapacity?: Maybe; +}; + +export type AzureAppGatewayBackendAddrPool = { + backendIPConfigs?: Maybe>>; + id?: Maybe; + inboundNatRules?: Maybe>>; + loadBalancerBackendAddresses?: Maybe>>; + loadBalancingRules?: Maybe>>; + location?: Maybe; + name?: Maybe; + outboundRule?: Maybe; + outboundRules?: Maybe>>; + provisioningState?: Maybe; + tunnelInterfaces?: Maybe>>; + type?: Maybe; +}; + +export type AzureAppGatewayBackendAddress = { + fqdn?: Maybe; + id?: Maybe; + ipAddress?: Maybe; +}; + +export type AzureAppGatewayBackendHttpSettings = { + affinityCookieName?: Maybe; + authenticationCert?: Maybe>>; + connectionDraining?: Maybe; + cookieBasedAffinity?: Maybe; + hostName?: Maybe; + id?: Maybe; + name?: Maybe; + path?: Maybe; + pickHostNameFromBackendAddress?: Maybe; + port?: Maybe; + probe?: Maybe; + probeEnabled?: Maybe; + protocol?: Maybe; + provisioningState?: Maybe; + requestTimeout?: Maybe; + trustedRootCertificates?: Maybe>>; + type?: Maybe; +}; + +export type AzureAppGatewayConnectionDraining = { + drainTimeoutInSec?: Maybe; + enabled?: Maybe; +}; + +export type AzureAppGatewayCustomDnsConfigPropertiesFormat = { + fqdn?: Maybe; + ipAddresses?: Maybe>>; +}; + +export type AzureAppGatewayCustomError = { + customErrorPageUrl?: Maybe; + id?: Maybe; + statusCode?: Maybe; +}; + +export type AzureAppGatewayDelegation = { + actions?: Maybe>>; + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + serviceName?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayDnsSettings = { + appliedDnsServers?: Maybe>>; + dnsServers?: Maybe>>; + internalDnsNameLabel?: Maybe; + internalDomainNameSuffix?: Maybe; + internalFqdn?: Maybe; +}; + +export type AzureAppGatewayEndpointPolicy = { + contextualServiceEndpointPolicies?: Maybe>>; + id?: Maybe; + kind?: Maybe; + provisioningState?: Maybe; + resourceGuid?: Maybe; + serviceAlias?: Maybe; + serviceEndpointPolicyDef?: Maybe>>; + subnets?: Maybe>>; +}; + +export type AzureAppGatewayEndpointPolicyDefinition = { + description?: Maybe; + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + service?: Maybe; + serviceResources?: Maybe>>; + type?: Maybe; +}; + +export type AzureAppGatewayExtendedLocation = { + name?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayFirewallDisabledRuleGroup = { + id?: Maybe; + ruleGroupName?: Maybe; + rules?: Maybe>>; +}; + +export type AzureAppGatewayFlowLog = { + enabled?: Maybe; + flowAnalyticsConfiguration?: Maybe; + format?: Maybe; + id?: Maybe; + provisioningState?: Maybe; + retentionPolicy?: Maybe; + storageId?: Maybe; + targetResourceGuid?: Maybe; + targetResourceId?: Maybe; +}; + +export type AzureAppGatewayFlowLogFormatParameters = { + type?: Maybe; + version?: Maybe; +}; + +export type AzureAppGatewayFrontendIpConfig = { + gatewayLoadBalancer?: Maybe; + id?: Maybe; + inboundNatPools?: Maybe>>; + inboundNatRuleIds?: Maybe>>; + loadBalancingRules?: Maybe>>; + name?: Maybe; + outboundRules?: Maybe>>; + privateIPAddress?: Maybe; + privateIPAddressVersion?: Maybe; + privateIPAllocationMethod?: Maybe; + provisioningState?: Maybe; + publicIPAddress?: Maybe; + publicIPPrefix?: Maybe; + subnet?: Maybe; + type?: Maybe; + zones?: Maybe>>; +}; + +export type AzureAppGatewayFrontendPort = { + id: Scalars['String']; + name?: Maybe; + port?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayGatewayLoadBalancerTunnelInterface = { + id: Scalars['String']; + identifier?: Maybe; + port?: Maybe; + protocol?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayGlobalConfig = { + enableRequestBuffering?: Maybe; + enableResponseBuffering?: Maybe; +}; + +export type AzureAppGatewayHttpListener = { + customErrorConfigurations?: Maybe>>; + firewallPolicy?: Maybe; + frontendIPConfiguration?: Maybe; + frontendPort?: Maybe; + hostName?: Maybe; + hostNames?: Maybe>>; + id?: Maybe; + name?: Maybe; + protocol?: Maybe; + provisioningState?: Maybe; + requireServerNameIndication?: Maybe; + sslCertificate?: Maybe; + sslProfile?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayIpConfig = { + id?: Maybe; + name?: Maybe; + privateIPAddress?: Maybe; + privateIPAllocationMethod?: Maybe; + provisioningState?: Maybe; + publicIPAddress?: Maybe; + subnet?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayIpConfigurationProfile = { + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + subnet?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayInboundNatRule = { + backendAddressPool?: Maybe; + backendIPConfiguration?: Maybe; + backendPort?: Maybe; + enableFloatingIP?: Maybe; + enableTcpReset?: Maybe; + frontendIPConfiguration?: Maybe; + frontendPort?: Maybe; + frontendPortRangeEnd?: Maybe; + frontendPortRangeStart?: Maybe; + id?: Maybe; + idleTimeoutInMinutes?: Maybe; + name?: Maybe; + protocol?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayIpTag = { + id?: Maybe; + ipTagType?: Maybe; + tag?: Maybe; +}; + +export type AzureAppGatewayLoadBalancerAddr = { + id: Scalars['String']; + inboundNatRulesPortMapping?: Maybe>>; + ipAddress?: Maybe; + loadBalancerFrontendIPConfiguration?: Maybe; + name?: Maybe; + networkInterfaceIPConfiguration?: Maybe; + subnet?: Maybe; + virtualNetwork?: Maybe; +}; + +export type AzureAppGatewayLoadDistribPolicy = { + id?: Maybe; + loadDistributionAlgorithm?: Maybe; + loadDistributionTargets?: Maybe>>; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayLoadDistributionTarget = { + backendAddressPool?: Maybe; + id?: Maybe; + name?: Maybe; + type?: Maybe; + weightPerServer?: Maybe; +}; + +export type AzureAppGatewayManagedServiceIdentity = { + principalId?: Maybe; + tenantId?: Maybe; + type?: Maybe; + userAssignedIdentities?: Maybe>>; +}; + +export type AzureAppGatewayNatGateway = { + id?: Maybe; + idleTimeoutInMinutes?: Maybe; + provisioningState?: Maybe; + publicIpAddresses?: Maybe>>; + publicIpPrefixes?: Maybe>>; + resourceGuid?: Maybe; + subnets?: Maybe>>; + zones?: Maybe>>; +}; + +export type AzureAppGatewayNatRulePortMapping = { + backendPort?: Maybe; + frontendPort?: Maybe; + id: Scalars['String']; + inboundNatRuleName?: Maybe; +}; + +export type AzureAppGatewayNetIntfIpConfig = { + appGatewayBackendAddrPools?: Maybe>>; + applicationSecurityGroups?: Maybe>>; + gatewayLoadBalancer?: Maybe; + id?: Maybe; + loadBalancerBackendAddrPools?: Maybe>>; + loadBalancerInboundNatRules?: Maybe>>; + name?: Maybe; + primary?: Maybe; + privateIPAddress?: Maybe; + privateIPAddressVersion?: Maybe; + privateIPAllocationMethod?: Maybe; + privateLinkConnectionProperties?: Maybe; + provisioningState?: Maybe; + publicIPAddress?: Maybe; + subnet?: Maybe; + type?: Maybe; + virtualNetworkTaps?: Maybe>>; +}; + +export type AzureAppGatewayNetworkInterface = { + dnsSettings?: Maybe; + dscpConfiguration?: Maybe; + enableAcceleratedNetworking?: Maybe; + enableIPForwarding?: Maybe; + extendedLocation?: Maybe; + hostedWorkloads?: Maybe>>; + id?: Maybe; + ipConfigurations?: Maybe>>; + macAddress?: Maybe; + migrationPhase?: Maybe; + networkSecurityGroup?: Maybe; + nicType?: Maybe; + primary?: Maybe; + privateEndpoint?: Maybe; + privateLinkService?: Maybe; + provisioningState?: Maybe; + resourceGuid?: Maybe; + tapConfigurations?: Maybe>>; + virtualMachine?: Maybe; + vnetEncryptionSupported?: Maybe; + workloadType?: Maybe; +}; + +export type AzureAppGatewayNetworkInterfaceTapConfig = { + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; + virtualNetworkTap?: Maybe; +}; + +export type AzureAppGatewayNetworkSecurityGroup = { + defaultSecurityRules?: Maybe>>; + flowLogs?: Maybe>>; + id?: Maybe; + networkInterfaces?: Maybe>>; + provisioningState?: Maybe; + resourceGuid?: Maybe; + securityRules?: Maybe>>; + subnets?: Maybe>>; +}; + +export type AzureAppGatewayPrivateEndpoint = { + applicationSecurityGroups?: Maybe>>; + customDnsConfigs?: Maybe>>; + customNetworkInterfaceName?: Maybe; + extendedLocation?: Maybe; + id?: Maybe; + ipConfigurations?: Maybe>>; + manualPrivateLinkServiceConn?: Maybe>>; + networkInterfaces?: Maybe>>; + privateLinkServiceConn?: Maybe>>; + provisioningState?: Maybe; + subnet?: Maybe; +}; + +export type AzureAppGatewayPrivateEndpointConn = { + id?: Maybe; + linkIdentifier?: Maybe; + name?: Maybe; + privateEndpoint?: Maybe; + privateLinkServiceConnectionState?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayPrivateEndpointIpConfig = { + groupId?: Maybe; + memberName?: Maybe; + name?: Maybe; + privateIPAddress?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkConfig = { + id?: Maybe; + ipConfigurations?: Maybe>>; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkConnProperties = { + fqdns?: Maybe>>; + groupId?: Maybe; + requiredMemberName?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkIpConfig = { + id?: Maybe; + name?: Maybe; + primary?: Maybe; + privateIPAddress?: Maybe; + privateIPAllocationMethod?: Maybe; + provisioningState?: Maybe; + subnet?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkServiceConn = { + groupIds?: Maybe>>; + id?: Maybe; + name?: Maybe; + privateLinkServiceConnectionState?: Maybe; + privateLinkServiceId?: Maybe; + provisioningState?: Maybe; + requestMessage?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkServiceConnState = { + actionsRequired?: Maybe; + description?: Maybe; + status?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkServiceIpConfig = { + id?: Maybe; + name?: Maybe; + primary?: Maybe; + privateIPAddress?: Maybe; + privateIPAddressVersion?: Maybe; + privateIPAllocationMethod?: Maybe; + provisioningState?: Maybe; + subnet?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayPrivateLinkSvc = { + alias?: Maybe; + autoApproval?: Maybe; + enableProxyProtocol?: Maybe; + extendedLocation?: Maybe; + fqdns?: Maybe>>; + id?: Maybe; + ipConfigurations?: Maybe>>; + loadBalancerFrontendIpConfigs?: Maybe>>; + networkInterfaces?: Maybe>>; + privateEndpointConnections?: Maybe>>; + provisioningState?: Maybe; + visibility?: Maybe; +}; + +export type AzureAppGatewayProbe = { + host?: Maybe; + id: Scalars['String']; + interval?: Maybe; + matchBody?: Maybe; + matchStatusCodes?: Maybe>>; + minServers?: Maybe; + name?: Maybe; + path?: Maybe; + pickHostNameFromBackendHttpSettings?: Maybe; + port?: Maybe; + protocol?: Maybe; + provisioningState?: Maybe; + timeout?: Maybe; + type?: Maybe; + unhealthyThreshold?: Maybe; +}; + +export type AzureAppGatewayPublicIpAddress = { + deleteOption?: Maybe; + dnsDomainNameLabel?: Maybe; + dnsFqdn?: Maybe; + dnsReverseFqdn?: Maybe; + extendedLocation?: Maybe; + id?: Maybe; + idleTimeoutInMinutes?: Maybe; + ipAddress?: Maybe; + ipConfiguration?: Maybe; + ipTags?: Maybe>>; + linkedPublicIPAddress?: Maybe; + migrationPhase?: Maybe; + natGateway?: Maybe; + natGatewayId?: Maybe; + natGatewayZones?: Maybe>>; + provisioningState?: Maybe; + publicIPAddressVersion?: Maybe; + publicIPAllocationMethod?: Maybe; + publicIPPrefix?: Maybe; + resourceGuid?: Maybe; + servicePublicIPAddress?: Maybe; + zones?: Maybe>>; +}; + +export type AzureAppGatewayRedirectConfig = { + id?: Maybe; + includePath?: Maybe; + includeQueryString?: Maybe; + name?: Maybe; + pathRules?: Maybe>>; + redirectType?: Maybe; + requestRoutingRules?: Maybe>>; + targetListener?: Maybe; + targetUrl?: Maybe; + type?: Maybe; + urlPathMaps?: Maybe>>; +}; + +export type AzureAppGatewayRequestRoutingRule = { + backendAddressPool?: Maybe; + backendHttpSettings?: Maybe; + httpListener?: Maybe; + id?: Maybe; + loadDistributionPolicy?: Maybe; + name?: Maybe; + priority?: Maybe; + provisioningState?: Maybe; + redirectConfiguration?: Maybe; + rewriteRuleSet?: Maybe; + ruleType?: Maybe; + type?: Maybe; + urlPathMap?: Maybe; +}; + +export type AzureAppGatewayResourceNavigationLink = { + id?: Maybe; + link?: Maybe; + linkedResourceType?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayResourceSet = { + subscriptions?: Maybe>>; +}; + +export type AzureAppGatewayRetentionPolicyParameters = { + days?: Maybe; + enabled?: Maybe; +}; + +export type AzureAppGatewayRewriteRuleSet = { + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + rewriteRules?: Maybe>>; +}; + +export type AzureAppGatewayRoute = { + addressPrefix?: Maybe; + hasBgpOverride?: Maybe; + id?: Maybe; + name?: Maybe; + nextHopIpAddress?: Maybe; + nextHopType?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayRouteTable = { + disableBgpRoutePropagation?: Maybe; + id?: Maybe; + provisioningState?: Maybe; + resourceGuid?: Maybe; + routes?: Maybe>>; + subnets?: Maybe>>; +}; + +export type AzureAppGatewaySecurityGroup = { + id?: Maybe; + provisioningState?: Maybe; + resourceGuid?: Maybe; +}; + +export type AzureAppGatewaySecurityRule = { + access?: Maybe; + description?: Maybe; + destinationAddressPrefix?: Maybe; + destinationAddressPrefixes?: Maybe>>; + destinationAppSecurityGroups?: Maybe>>; + destinationPortRange?: Maybe; + destinationPortRanges?: Maybe>>; + direction?: Maybe; + id?: Maybe; + name?: Maybe; + priority?: Maybe; + protocol?: Maybe; + provisioningState?: Maybe; + sourceAddressPrefix?: Maybe; + sourceAddressPrefixes?: Maybe>>; + sourceApplicationSecurityGroups?: Maybe>>; + sourcePortRange?: Maybe; + sourcePortRanges?: Maybe>>; + type?: Maybe; +}; + +export type AzureAppGatewayServiceAssociationLink = { + allowDelete?: Maybe; + id?: Maybe; + link?: Maybe; + linkedResourceType?: Maybe; + locations?: Maybe>>; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayServiceEndpointPropertiesFormat = { + id?: Maybe; + locations?: Maybe>>; + provisioningState?: Maybe; + service?: Maybe; +}; + +export type AzureAppGatewaySslCertificate = { + data?: Maybe; + id: Scalars['String']; + keyVaultSecretId?: Maybe; + name?: Maybe; + password?: Maybe; + provisioningState?: Maybe; + publicCertData?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewaySslPolicy = { + cipherSuites?: Maybe>>; + disabledSslProtocols?: Maybe>>; + minProtocolVersion?: Maybe; + policyName?: Maybe; + policyType?: Maybe; +}; + +export type AzureAppGatewaySslProfile = { + clientAuthConfiguration?: Maybe; + id?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + sslPolicy?: Maybe; + trustedClientCertificates?: Maybe>>; + type?: Maybe; +}; + +export type AzureAppGatewaySubResource = { + id?: Maybe; +}; + +export type AzureAppGatewaySubnet = { + addressPrefix?: Maybe; + addressPrefixes?: Maybe>>; + applicationGatewayIpConfigurations?: Maybe>>; + delegations?: Maybe>>; + id?: Maybe; + ipAllocations?: Maybe>>; + ipConfigurationProfiles?: Maybe>>; + ipConfigurations?: Maybe>>; + name?: Maybe; + natGateway?: Maybe; + networkSecurityGroup?: Maybe; + privateEndpointNetworkPolicies?: Maybe; + privateEndpoints?: Maybe>>; + privateLinkServiceNetworkPolicies?: Maybe; + provisioningState?: Maybe; + purpose?: Maybe; + resourceNavigationLinks?: Maybe>>; + routeTable?: Maybe; + serviceAssociationLinks?: Maybe>>; + serviceEndpointPolicies?: Maybe>>; + serviceEndpoints?: Maybe>>; + type?: Maybe; +}; + +export type AzureAppGatewayTrafficAnalyticsConfigProperties = { + enabled?: Maybe; + trafficAnalyticsInterval?: Maybe; + workspaceId?: Maybe; + workspaceRegion?: Maybe; + workspaceResourceId?: Maybe; +}; + +export type AzureAppGatewayTrafficAnalyticsProperties = { + networkWatcherFlowAnalyticsConfiguration?: Maybe; +}; + +export type AzureAppGatewayTrustedClientCertificate = { + clientCertIssuerDN?: Maybe; + data?: Maybe; + id: Scalars['String']; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; + validatedCertData?: Maybe; +}; + +export type AzureAppGatewayTrustedRootCertificate = { + data?: Maybe; + id: Scalars['String']; + keyVaultSecretId?: Maybe; + name?: Maybe; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayUrlPathMap = { + defaultBackendAddressPool?: Maybe; + defaultBackendHttpSettings?: Maybe; + defaultLoadDistributionPolicy?: Maybe; + defaultRedirectConfiguration?: Maybe; + defaultRewriteRuleSet?: Maybe; + id?: Maybe; + name?: Maybe; + pathRules?: Maybe>>; + provisioningState?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayUserAssignedIdentities = { + id: Scalars['String']; + key?: Maybe; + property?: Maybe; +}; + +export type AzureAppGatewayUserAssignedIdentityAdditionalProperty = { + clientId?: Maybe; + principalId?: Maybe; +}; + +export type AzureAppGatewayVirtualNetworkTap = { + destinationLoadBalancerFrontEndIPConfiguration?: Maybe; + destinationNetworkInterfaceIPConfiguration?: Maybe; + destinationPort?: Maybe; + id?: Maybe; + name?: Maybe; + networkInterfaceTapConfigs?: Maybe>>; + provisioningState?: Maybe; + resourceGuid?: Maybe; + type?: Maybe; +}; + +export type AzureAppGatewayWebAppFirewallConfig = { + disabledRuleGroups?: Maybe>>; + enabled?: Maybe; + exclusions?: Maybe>>; + fileUploadLimitInMb?: Maybe; + firewallMode?: Maybe; + maxRequestBodySize?: Maybe; + maxRequestBodySizeInKb?: Maybe; + requestBodyCheck?: Maybe; + ruleSetType?: Maybe; + ruleSetVersion?: Maybe; +}; + export type AzureAppInsights = AzureResource & { appId?: Maybe; applicationId?: Maybe; From fdeec0bc7dc49cd07b023ff7cfd03f6a8acec9d4 Mon Sep 17 00:00:00 2001 From: James Zhou Date: Wed, 28 Sep 2022 23:02:39 -0500 Subject: [PATCH 4/8] feat(CG-901): add application gateway support --- src/enums/serviceMap.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/enums/serviceMap.ts b/src/enums/serviceMap.ts index 493adc5c..4a904373 100644 --- a/src/enums/serviceMap.ts +++ b/src/enums/serviceMap.ts @@ -88,7 +88,6 @@ import AzureBackupPolicy from '../services/backupPolicies' import AzureBilling from '../services/billing' import AzureLogProfiles from '../services/logProfiles' import Subscription from '../services/subscription' -import AzureApplicationGateway from '../services/applicationGateway' /** * serviceMap is an object that contains all currently supported services for AWS From 0d51c99174ba04710ed8bb0fd1df1f6c2119cd8d Mon Sep 17 00:00:00 2001 From: "mariano.pizarro" Date: Tue, 4 Oct 2022 13:20:07 -0300 Subject: [PATCH 5/8] feat(services): Rename appGateway tables to fix postgres errors --- src/enums/serviceMap.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/enums/serviceMap.ts b/src/enums/serviceMap.ts index 4a904373..493adc5c 100644 --- a/src/enums/serviceMap.ts +++ b/src/enums/serviceMap.ts @@ -88,6 +88,7 @@ import AzureBackupPolicy from '../services/backupPolicies' import AzureBilling from '../services/billing' import AzureLogProfiles from '../services/logProfiles' import Subscription from '../services/subscription' +import AzureApplicationGateway from '../services/applicationGateway' /** * serviceMap is an object that contains all currently supported services for AWS From c1ee8bd69496ac8f78fdd8dd2558d650192ff3c7 Mon Sep 17 00:00:00 2001 From: James Zhou Date: Wed, 28 Sep 2022 23:02:39 -0500 Subject: [PATCH 6/8] feat(CG-901): add application gateway support --- src/enums/serviceMap.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/enums/serviceMap.ts b/src/enums/serviceMap.ts index 493adc5c..4a904373 100644 --- a/src/enums/serviceMap.ts +++ b/src/enums/serviceMap.ts @@ -88,7 +88,6 @@ import AzureBackupPolicy from '../services/backupPolicies' import AzureBilling from '../services/billing' import AzureLogProfiles from '../services/logProfiles' import Subscription from '../services/subscription' -import AzureApplicationGateway from '../services/applicationGateway' /** * serviceMap is an object that contains all currently supported services for AWS From 5f395117d02a8e2e7122f7c0a9b0a21fce6795bd Mon Sep 17 00:00:00 2001 From: "mariano.pizarro" Date: Tue, 4 Oct 2022 14:29:53 -0300 Subject: [PATCH 7/8] feat(service): rename table to fix postgres errors --- src/enums/serviceMap.ts | 2 +- src/services/applicationGateway/format.ts | 4 +- .../applicationGateway/schema.graphql | 6 +- src/types/generated.ts | 845 +----------------- 4 files changed, 9 insertions(+), 848 deletions(-) diff --git a/src/enums/serviceMap.ts b/src/enums/serviceMap.ts index 4a904373..c58339c0 100644 --- a/src/enums/serviceMap.ts +++ b/src/enums/serviceMap.ts @@ -106,7 +106,7 @@ export default { [services.aksManagedCluster]: AzureAksManagedCluster, [services.appGateway]: AzureApplicationGateway, [services.metricAlert]: AzureMetricAlert, - [services.applicationGateway]: AzureApplicationGateway, + [services.appGateway]: AzureApplicationGateway, [services.appServiceEnvironment]: AzureAppServiceEnvironment, // [services.appServiceKubeEnvironment]: AzureAppServiceKubeEnvironment, [services.appInsights]: AzureAppInsights, diff --git a/src/services/applicationGateway/format.ts b/src/services/applicationGateway/format.ts index 5505185e..7d936e42 100644 --- a/src/services/applicationGateway/format.ts +++ b/src/services/applicationGateway/format.ts @@ -48,7 +48,7 @@ import { import cuid from 'cuid' import { AzureAppGateway, - AzureAppGatewayAppGatewayBackendAddressPool, + AzureAppGatewayAppGatewayBackendAddrPool, AzureAppGatewayUserAssignedIdentities, AzureAppGatewayVirtualNetworkTap, AzureAppGatewayNetIntfIpConfig, @@ -722,7 +722,7 @@ const formatNetworkInterfaceIPConfiguration = ( const formatApplicationGatewayBackendAddressPool = ( pool: ApplicationGatewayBackendAddressPool -): AzureAppGatewayAppGatewayBackendAddressPool | undefined => { +): AzureAppGatewayAppGatewayBackendAddrPool | undefined => { return pool ? { id: pool.id, diff --git a/src/services/applicationGateway/schema.graphql b/src/services/applicationGateway/schema.graphql index eb9c937f..e06deff1 100644 --- a/src/services/applicationGateway/schema.graphql +++ b/src/services/applicationGateway/schema.graphql @@ -624,7 +624,7 @@ type azureAppGatewayProbe provisioningState: String @search(by: [hash, regexp]) } -type azureAppGatewayAppGatewayBackendAddressPool +type azureAppGatewayAppGatewayBackendAddrPool @generate( query: { get: false, query: false, aggregate: false } mutation: { add: false, delete: false } @@ -744,7 +744,7 @@ type azureAppGatewayNetIntfIPConfig type: String @search(by: [hash, regexp]) gatewayLoadBalancer: azureAppGatewaySubResource virtualNetworkTaps: [azureAppGatewayVirtualNetworkTap] - appGatewayBackendAddrPools: [azureAppGatewayAppGatewayBackendAddressPool] + appGatewayBackendAddrPools: [azureAppGatewayAppGatewayBackendAddrPool] loadBalancerBackendAddrPools: [azureAppGatewayBackendAddrPool] loadBalancerInboundNatRules: [azureAppGatewayInboundNatRule] privateIPAddress: String @search(by: [hash, regexp]) @@ -1212,7 +1212,7 @@ type azureAppGateway implements azureResource frontendIPConfigurations: [azureAppGatewayAppGatewayFrontendIPConfig] frontendPorts: [azureAppGatewayFrontendPort] probes: [azureAppGatewayProbe] - backendAddressPools: [azureAppGatewayAppGatewayBackendAddressPool] + backendAddressPools: [azureAppGatewayAppGatewayBackendAddrPool] backendHttpSettingsCollection: [azureAppGatewayBackendHttpSettings] httpListeners: [azureAppGatewayHttpListener] sslProfiles: [azureAppGatewaySslProfile] diff --git a/src/types/generated.ts b/src/types/generated.ts index b14dd795..bd90ecaf 100644 --- a/src/types/generated.ts +++ b/src/types/generated.ts @@ -459,7 +459,7 @@ export type AzureAksManagedClusterPropertiesAutoScalerProfile = { export type AzureAppGateway = AzureResource & { authenticationCert?: Maybe>>; autoscaleConfiguration?: Maybe; - backendAddressPools?: Maybe>>; + backendAddressPools?: Maybe>>; backendHttpSettingsCollection?: Maybe>>; customErrorConfigurations?: Maybe>>; enableFips?: Maybe; @@ -492,7 +492,7 @@ export type AzureAppGateway = AzureResource & { zones?: Maybe>>; }; -export type AzureAppGatewayAppGatewayBackendAddressPool = { +export type AzureAppGatewayAppGatewayBackendAddrPool = { backendAddresses?: Maybe>>; backendIPConfigs?: Maybe>>; id?: Maybe; @@ -832,7 +832,7 @@ export type AzureAppGatewayNatRulePortMapping = { }; export type AzureAppGatewayNetIntfIpConfig = { - appGatewayBackendAddrPools?: Maybe>>; + appGatewayBackendAddrPools?: Maybe>>; applicationSecurityGroups?: Maybe>>; gatewayLoadBalancer?: Maybe; id?: Maybe; @@ -1689,845 +1689,6 @@ export type AzureAppServiceWebAppSiteConfigVirtualDirectory = { virtualPath?: Maybe; }; -export type AzureApplicationGateway = AzureResource & { - authenticationCertificates?: Maybe>>; - autoscaleConfiguration?: Maybe; - backendAddressPools?: Maybe>>; - backendHttpSettingsCollection?: Maybe>>; - customErrorConfigurations?: Maybe>>; - enableFips?: Maybe; - enableHttp2?: Maybe; - firewallPolicy?: Maybe; - forceFirewallPolicyAssociation?: Maybe; - frontendIPConfigurations?: Maybe>>; - frontendPorts?: Maybe>>; - gatewayIPConfigurations?: Maybe>>; - globalConfiguration?: Maybe; - httpListeners?: Maybe>>; - identity?: Maybe; - loadDistributionPolicies?: Maybe>>; - operationalState?: Maybe; - privateEndpointConnections?: Maybe>>; - privateLinkConfigurations?: Maybe>>; - probes?: Maybe>>; - provisioningState?: Maybe; - redirectConfigurations?: Maybe>>; - requestRoutingRules?: Maybe>>; - resourceGuid?: Maybe; - rewriteRuleSets?: Maybe>>; - sslCertificates?: Maybe>>; - sslPolicy?: Maybe; - sslProfiles?: Maybe>>; - trustedClientCertificates?: Maybe>>; - trustedRootCertificates?: Maybe>>; - urlPathMaps?: Maybe>>; - webApplicationFirewallConfiguration?: Maybe; - zones?: Maybe>>; -}; - -export type AzureApplicationGatewayApplicationGatewayAutoscaleConfiguration = { - maxCapacity?: Maybe; - minCapacity?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayBackendAddress = { - fqdn?: Maybe; - id?: Maybe; - ipAddress?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayBackendAddressPool = { - backendAddresses?: Maybe>>; - backendIPConfigurations?: Maybe>>; - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayBackendHttpSettings = { - affinityCookieName?: Maybe; - authenticationCertificates?: Maybe>>; - connectionDraining?: Maybe; - cookieBasedAffinity?: Maybe; - hostName?: Maybe; - id?: Maybe; - name?: Maybe; - path?: Maybe; - pickHostNameFromBackendAddress?: Maybe; - port?: Maybe; - probe?: Maybe; - probeEnabled?: Maybe; - protocol?: Maybe; - provisioningState?: Maybe; - requestTimeout?: Maybe; - trustedRootCertificates?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayConnectionDraining = { - drainTimeoutInSec?: Maybe; - enabled?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayCustomError = { - customErrorPageUrl?: Maybe; - id?: Maybe; - statusCode?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayFirewallDisabledRuleGroup = { - id?: Maybe; - ruleGroupName?: Maybe; - rules?: Maybe>>; -}; - -export type AzureApplicationGatewayApplicationGatewayFirewallExclusion = { - id?: Maybe; - matchVariable?: Maybe; - selector?: Maybe; - selectorMatchOperator?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayGlobalConfiguration = { - enableRequestBuffering?: Maybe; - enableResponseBuffering?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayHttpListener = { - customErrorConfigurations?: Maybe>>; - firewallPolicy?: Maybe; - frontendIPConfiguration?: Maybe; - frontendPort?: Maybe; - hostName?: Maybe; - hostNames?: Maybe>>; - id?: Maybe; - name?: Maybe; - protocol?: Maybe; - provisioningState?: Maybe; - requireServerNameIndication?: Maybe; - sslCertificate?: Maybe; - sslProfile?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayIpConfiguration = { - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - subnet?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayLoadDistributionPolicy = { - id?: Maybe; - loadDistributionAlgorithm?: Maybe; - loadDistributionTargets?: Maybe>>; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayLoadDistributionTarget = { - backendAddressPool?: Maybe; - id?: Maybe; - name?: Maybe; - type?: Maybe; - weightPerServer?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayPathRule = { - backendAddressPool?: Maybe; - backendHttpSettings?: Maybe; - firewallPolicy?: Maybe; - id?: Maybe; - loadDistributionPolicy?: Maybe; - name?: Maybe; - paths?: Maybe>>; - provisioningState?: Maybe; - redirectConfiguration?: Maybe; - rewriteRuleSet?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayPrivateEndpointConnection = { - id?: Maybe; - linkIdentifier?: Maybe; - name?: Maybe; - privateEndpoint?: Maybe; - privateLinkServiceConnectionState?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayPrivateLinkConfiguration = { - id?: Maybe; - ipConfigurations?: Maybe>>; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayPrivateLinkIpConfiguration = { - id?: Maybe; - name?: Maybe; - primary?: Maybe; - privateIPAddress?: Maybe; - privateIPAllocationMethod?: Maybe; - provisioningState?: Maybe; - subnet?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayRedirectConfiguration = { - id?: Maybe; - includePath?: Maybe; - includeQueryString?: Maybe; - name?: Maybe; - pathRules?: Maybe>>; - redirectType?: Maybe; - requestRoutingRules?: Maybe>>; - targetListener?: Maybe; - targetUrl?: Maybe; - type?: Maybe; - urlPathMaps?: Maybe>>; -}; - -export type AzureApplicationGatewayApplicationGatewayRequestRoutingRule = { - backendAddressPool?: Maybe; - backendHttpSettings?: Maybe; - httpListener?: Maybe; - id?: Maybe; - loadDistributionPolicy?: Maybe; - name?: Maybe; - priority?: Maybe; - provisioningState?: Maybe; - redirectConfiguration?: Maybe; - rewriteRuleSet?: Maybe; - ruleType?: Maybe; - type?: Maybe; - urlPathMap?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayRewriteRuleSet = { - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - rewriteRules?: Maybe>>; -}; - -export type AzureApplicationGatewayApplicationGatewaySslPolicy = { - cipherSuites?: Maybe>>; - clientAuthConfiguration?: Maybe; - disabledSslProtocols?: Maybe>>; - id?: Maybe; - minProtocolVersion?: Maybe; - name?: Maybe; - policyName?: Maybe; - policyType?: Maybe; - provisioningState?: Maybe; - sslPolicy?: Maybe; - trustedClientCertificates?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewaySslProfile = { - clientAuthConfiguration?: Maybe; - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - sslPolicy?: Maybe; - trustedClientCertificates?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayUrlPathMap = { - defaultBackendAddressPool?: Maybe; - defaultBackendHttpSettings?: Maybe; - defaultLoadDistributionPolicy?: Maybe; - defaultRedirectConfiguration?: Maybe; - defaultRewriteRuleSet?: Maybe; - id?: Maybe; - name?: Maybe; - pathRules?: Maybe>>; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayApplicationGatewayWebApplicationFirewallConfiguration = { - disabledRuleGroups?: Maybe>>; - enabled?: Maybe; - exclusions?: Maybe>>; - fileUploadLimitInMb?: Maybe; - firewallMode?: Maybe; - maxRequestBodySize?: Maybe; - maxRequestBodySizeInKb?: Maybe; - requestBodyCheck?: Maybe; - ruleSetType?: Maybe; - ruleSetVersion?: Maybe; -}; - -export type AzureApplicationGatewayApplicationSecurityGroup = { - id?: Maybe; - provisioningState?: Maybe; - resourceGuid?: Maybe; -}; - -export type AzureApplicationGatewayAuthenticationCertificate = { - data?: Maybe; - id: Scalars['String']; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayBackendAddressPool = { - backendIPConfigurations?: Maybe>>; - id?: Maybe; - inboundNatRules?: Maybe>>; - loadBalancerBackendAddresses?: Maybe>>; - loadBalancingRules?: Maybe>>; - location?: Maybe; - name?: Maybe; - outboundRule?: Maybe; - outboundRules?: Maybe>>; - provisioningState?: Maybe; - tunnelInterfaces?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayCustomDnsConfigPropertiesFormat = { - fqdn?: Maybe; - ipAddresses?: Maybe>>; -}; - -export type AzureApplicationGatewayDelegation = { - actions?: Maybe>>; - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - serviceName?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayExtendedLocation = { - name?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayFlowLog = { - enabled?: Maybe; - flowAnalyticsConfiguration?: Maybe; - format?: Maybe; - id?: Maybe; - provisioningState?: Maybe; - retentionPolicy?: Maybe; - storageId?: Maybe; - targetResourceGuid?: Maybe; - targetResourceId?: Maybe; -}; - -export type AzureApplicationGatewayFlowLogFormatParameters = { - type?: Maybe; - version?: Maybe; -}; - -export type AzureApplicationGatewayFrontendIpConfiguration = { - gatewayLoadBalancer?: Maybe; - id?: Maybe; - inboundNatPools?: Maybe>>; - inboundNatRuleIds?: Maybe>>; - loadBalancingRules?: Maybe>>; - name?: Maybe; - outboundRules?: Maybe>>; - privateIPAddress?: Maybe; - privateIPAddressVersion?: Maybe; - privateIPAllocationMethod?: Maybe; - privateLinkConfigurationId?: Maybe; - provisioningState?: Maybe; - publicIPAddress?: Maybe; - publicIPAddressId?: Maybe; - publicIPPrefix?: Maybe; - subnet?: Maybe; - subnetId?: Maybe; - type?: Maybe; - zones?: Maybe>>; -}; - -export type AzureApplicationGatewayFrontendPort = { - id: Scalars['String']; - name?: Maybe; - port?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayGatewayLoadBalancerTunnelInterface = { - id: Scalars['String']; - identifier?: Maybe; - port?: Maybe; - protocol?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayIpConfiguration = { - id?: Maybe; - name?: Maybe; - privateIPAddress?: Maybe; - privateIPAllocationMethod?: Maybe; - provisioningState?: Maybe; - publicIPAddress?: Maybe; - subnet?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayIpConfigurationProfile = { - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - subnet?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayInboundNatRule = { - backendAddressPool?: Maybe; - backendIPConfiguration?: Maybe; - backendPort?: Maybe; - enableFloatingIP?: Maybe; - enableTcpReset?: Maybe; - frontendIPConfiguration?: Maybe; - frontendPort?: Maybe; - frontendPortRangeEnd?: Maybe; - frontendPortRangeStart?: Maybe; - id?: Maybe; - idleTimeoutInMinutes?: Maybe; - name?: Maybe; - protocol?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayIpTag = { - id?: Maybe; - ipTagType?: Maybe; - tag?: Maybe; -}; - -export type AzureApplicationGatewayLoadBalancerBackendAddress = { - id: Scalars['String']; - inboundNatRulesPortMapping?: Maybe>>; - ipAddress?: Maybe; - loadBalancerFrontendIPConfiguration?: Maybe; - name?: Maybe; - networkInterfaceIPConfiguration?: Maybe; - subnet?: Maybe; - virtualNetwork?: Maybe; -}; - -export type AzureApplicationGatewayManagedServiceIdentity = { - principalId?: Maybe; - tenantId?: Maybe; - type?: Maybe; - userAssignedIdentities?: Maybe>>; -}; - -export type AzureApplicationGatewayNatGateway = { - id?: Maybe; - idleTimeoutInMinutes?: Maybe; - provisioningState?: Maybe; - publicIpAddresses?: Maybe>>; - publicIpPrefixes?: Maybe>>; - resourceGuid?: Maybe; - subnets?: Maybe>>; - zones?: Maybe>>; -}; - -export type AzureApplicationGatewayNatRulePortMapping = { - backendPort?: Maybe; - frontendPort?: Maybe; - id: Scalars['String']; - inboundNatRuleName?: Maybe; -}; - -export type AzureApplicationGatewayNetworkInterface = { - dnsSettings?: Maybe; - dscpConfiguration?: Maybe; - enableAcceleratedNetworking?: Maybe; - enableIPForwarding?: Maybe; - extendedLocation?: Maybe; - hostedWorkloads?: Maybe>>; - id?: Maybe; - ipConfigurations?: Maybe>>; - macAddress?: Maybe; - migrationPhase?: Maybe; - networkSecurityGroup?: Maybe; - nicType?: Maybe; - primary?: Maybe; - privateEndpoint?: Maybe; - privateLinkService?: Maybe; - provisioningState?: Maybe; - resourceGuid?: Maybe; - tapConfigurations?: Maybe>>; - virtualMachine?: Maybe; - vnetEncryptionSupported?: Maybe; - workloadType?: Maybe; -}; - -export type AzureApplicationGatewayNetworkInterfaceDnsSettings = { - appliedDnsServers?: Maybe>>; - dnsServers?: Maybe>>; - internalDnsNameLabel?: Maybe; - internalDomainNameSuffix?: Maybe; - internalFqdn?: Maybe; -}; - -export type AzureApplicationGatewayNetworkInterfaceIpConfiguration = { - applicationGatewayBackendAddressPools?: Maybe>>; - applicationSecurityGroups?: Maybe>>; - gatewayLoadBalancer?: Maybe; - id?: Maybe; - loadBalancerBackendAddressPools?: Maybe>>; - loadBalancerInboundNatRules?: Maybe>>; - name?: Maybe; - primary?: Maybe; - privateIPAddress?: Maybe; - privateIPAddressVersion?: Maybe; - privateIPAllocationMethod?: Maybe; - privateLinkConnectionProperties?: Maybe; - provisioningState?: Maybe; - publicIPAddress?: Maybe; - subnet?: Maybe; - type?: Maybe; - virtualNetworkTaps?: Maybe>>; -}; - -export type AzureApplicationGatewayNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties = { - fqdns?: Maybe>>; - groupId?: Maybe; - requiredMemberName?: Maybe; -}; - -export type AzureApplicationGatewayNetworkInterfaceTapConfiguration = { - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; - virtualNetworkTap?: Maybe; -}; - -export type AzureApplicationGatewayNetworkSecurityGroup = { - defaultSecurityRules?: Maybe>>; - flowLogs?: Maybe>>; - id?: Maybe; - networkInterfaces?: Maybe>>; - provisioningState?: Maybe; - resourceGuid?: Maybe; - securityRules?: Maybe>>; - subnets?: Maybe>>; -}; - -export type AzureApplicationGatewayPrivateEndpoint = { - applicationSecurityGroups?: Maybe>>; - customDnsConfigs?: Maybe>>; - customNetworkInterfaceName?: Maybe; - extendedLocation?: Maybe; - id?: Maybe; - ipConfigurations?: Maybe>>; - manualPrivateLinkServiceConnections?: Maybe>>; - networkInterfaces?: Maybe>>; - privateLinkServiceConnections?: Maybe>>; - provisioningState?: Maybe; - subnet?: Maybe; -}; - -export type AzureApplicationGatewayPrivateEndpointIpConfiguration = { - groupId?: Maybe; - memberName?: Maybe; - name?: Maybe; - privateIPAddress?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayPrivateLinkService = { - alias?: Maybe; - autoApproval?: Maybe; - enableProxyProtocol?: Maybe; - extendedLocation?: Maybe; - fqdns?: Maybe>>; - id?: Maybe; - ipConfigurations?: Maybe>>; - loadBalancerFrontendIpConfigurations?: Maybe>>; - networkInterfaces?: Maybe>>; - privateEndpointConnections?: Maybe>>; - provisioningState?: Maybe; - visibility?: Maybe; -}; - -export type AzureApplicationGatewayPrivateLinkServiceConnection = { - groupIds?: Maybe>>; - id?: Maybe; - name?: Maybe; - privateLinkServiceConnectionState?: Maybe; - privateLinkServiceId?: Maybe; - provisioningState?: Maybe; - requestMessage?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayPrivateLinkServiceConnectionState = { - actionsRequired?: Maybe; - description?: Maybe; - status?: Maybe; -}; - -export type AzureApplicationGatewayPrivateLinkServiceIpConfiguration = { - id?: Maybe; - name?: Maybe; - primary?: Maybe; - privateIPAddress?: Maybe; - privateIPAddressVersion?: Maybe; - privateIPAllocationMethod?: Maybe; - provisioningState?: Maybe; - subnet?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayProbe = { - host?: Maybe; - id: Scalars['String']; - interval?: Maybe; - matchBody?: Maybe; - matchStatusCodes?: Maybe>>; - minServers?: Maybe; - name?: Maybe; - path?: Maybe; - pickHostNameFromBackendHttpSettings?: Maybe; - port?: Maybe; - protocol?: Maybe; - provisioningState?: Maybe; - timeout?: Maybe; - type?: Maybe; - unhealthyThreshold?: Maybe; -}; - -export type AzureApplicationGatewayPublicIpAddress = { - deleteOption?: Maybe; - dnsDomainNameLabel?: Maybe; - dnsFqdn?: Maybe; - dnsReverseFqdn?: Maybe; - extendedLocation?: Maybe; - id?: Maybe; - idleTimeoutInMinutes?: Maybe; - ipAddress?: Maybe; - ipConfiguration?: Maybe; - ipTags?: Maybe>>; - linkedPublicIPAddress?: Maybe; - migrationPhase?: Maybe; - natGateway?: Maybe; - natGatewayId?: Maybe; - natGatewayZones?: Maybe>>; - provisioningState?: Maybe; - publicIPAddressVersion?: Maybe; - publicIPAllocationMethod?: Maybe; - publicIPPrefix?: Maybe; - resourceGuid?: Maybe; - servicePublicIPAddress?: Maybe; - zones?: Maybe>>; -}; - -export type AzureApplicationGatewayResourceNavigationLink = { - id?: Maybe; - link?: Maybe; - linkedResourceType?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayResourceSet = { - subscriptions?: Maybe>>; -}; - -export type AzureApplicationGatewayRetentionPolicyParameters = { - days?: Maybe; - enabled?: Maybe; -}; - -export type AzureApplicationGatewayRoute = { - addressPrefix?: Maybe; - hasBgpOverride?: Maybe; - id?: Maybe; - name?: Maybe; - nextHopIpAddress?: Maybe; - nextHopType?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayRouteTable = { - disableBgpRoutePropagation?: Maybe; - id?: Maybe; - provisioningState?: Maybe; - resourceGuid?: Maybe; - routes?: Maybe>>; - subnets?: Maybe>>; -}; - -export type AzureApplicationGatewaySecurityRule = { - access?: Maybe; - description?: Maybe; - destinationAddressPrefix?: Maybe; - destinationAddressPrefixes?: Maybe>>; - destinationApplicationSecurityGroups?: Maybe>>; - destinationPortRange?: Maybe; - destinationPortRanges?: Maybe>>; - direction?: Maybe; - id?: Maybe; - name?: Maybe; - priority?: Maybe; - protocol?: Maybe; - provisioningState?: Maybe; - sourceAddressPrefix?: Maybe; - sourceAddressPrefixes?: Maybe>>; - sourceApplicationSecurityGroups?: Maybe>>; - sourcePortRange?: Maybe; - sourcePortRanges?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayServiceAssociationLink = { - allowDelete?: Maybe; - id?: Maybe; - link?: Maybe; - linkedResourceType?: Maybe; - locations?: Maybe>>; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayServiceEndpointPolicy = { - contextualServiceEndpointPolicies?: Maybe>>; - id?: Maybe; - kind?: Maybe; - provisioningState?: Maybe; - resourceGuid?: Maybe; - serviceAlias?: Maybe; - serviceEndpointPolicyDefinitions?: Maybe>>; - subnets?: Maybe>>; -}; - -export type AzureApplicationGatewayServiceEndpointPolicyDefinition = { - description?: Maybe; - id?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - service?: Maybe; - serviceResources?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayServiceEndpointPropertiesFormat = { - id?: Maybe; - locations?: Maybe>>; - provisioningState?: Maybe; - service?: Maybe; -}; - -export type AzureApplicationGatewaySslCertificate = { - data?: Maybe; - id: Scalars['String']; - keyVaultSecretId?: Maybe; - name?: Maybe; - password?: Maybe; - provisioningState?: Maybe; - publicCertData?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewaySubResource = { - id?: Maybe; -}; - -export type AzureApplicationGatewaySubnet = { - addressPrefix?: Maybe; - addressPrefixes?: Maybe>>; - applicationGatewayIpConfigurations?: Maybe>>; - delegations?: Maybe>>; - id?: Maybe; - ipAllocations?: Maybe>>; - ipConfigurationProfiles?: Maybe>>; - ipConfigurations?: Maybe>>; - name?: Maybe; - natGateway?: Maybe; - networkSecurityGroup?: Maybe; - privateEndpointNetworkPolicies?: Maybe; - privateEndpoints?: Maybe>>; - privateLinkServiceNetworkPolicies?: Maybe; - provisioningState?: Maybe; - purpose?: Maybe; - resourceNavigationLinks?: Maybe>>; - routeTable?: Maybe; - serviceAssociationLinks?: Maybe>>; - serviceEndpointPolicies?: Maybe>>; - serviceEndpoints?: Maybe>>; - type?: Maybe; -}; - -export type AzureApplicationGatewayTrafficAnalyticsConfigurationProperties = { - enabled?: Maybe; - trafficAnalyticsInterval?: Maybe; - workspaceId?: Maybe; - workspaceRegion?: Maybe; - workspaceResourceId?: Maybe; -}; - -export type AzureApplicationGatewayTrafficAnalyticsProperties = { - networkWatcherFlowAnalyticsConfiguration?: Maybe; -}; - -export type AzureApplicationGatewayTrustedClientCertificate = { - clientCertIssuerDN?: Maybe; - data?: Maybe; - id: Scalars['String']; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; - validatedCertData?: Maybe; -}; - -export type AzureApplicationGatewayTrustedRootCertificate = { - data?: Maybe; - id: Scalars['String']; - keyVaultSecretId?: Maybe; - name?: Maybe; - provisioningState?: Maybe; - type?: Maybe; -}; - -export type AzureApplicationGatewayUserAssignedIdentities = { - id: Scalars['String']; - key?: Maybe; - property?: Maybe; -}; - -export type AzureApplicationGatewayUserAssignedIdentityAdditionalProperty = { - clientId?: Maybe; - principalId?: Maybe; -}; - -export type AzureApplicationGatewayVirtualNetworkTap = { - destinationLoadBalancerFrontEndIPConfiguration?: Maybe; - destinationNetworkInterfaceIPConfiguration?: Maybe; - destinationPort?: Maybe; - id?: Maybe; - name?: Maybe; - networkInterfaceTapConfigurations?: Maybe>>; - provisioningState?: Maybe; - resourceGuid?: Maybe; - type?: Maybe; -}; - export type AzureArcConnectedCluster = AzureResource & { agentPublicKeyCertificate?: Maybe; agentVersion?: Maybe; From ec41bb1747db6aef9d96f731ebf87b6ca1fd3d8c Mon Sep 17 00:00:00 2001 From: "mariano.pizarro" Date: Tue, 4 Oct 2022 15:56:49 -0300 Subject: [PATCH 8/8] feat(service): Updated sdk version --- package.json | 2 +- yarn.lock | 849 ++------------------------------------------------- 2 files changed, 25 insertions(+), 826 deletions(-) diff --git a/package.json b/package.json index d13c011d..c2c3812f 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@azure/identity": "^2.0.4", "@azure/storage-blob": "^12.8.0", "@azure/storage-queue": "^12.9.0", - "@cloudgraph/sdk": "0.20.0", + "@cloudgraph/sdk": "0.22.0", "@graphql-tools/load-files": "^6.5.3", "@graphql-tools/merge": "^8.2.3", "@microsoft/microsoft-graph-client": "^3.0.2", diff --git a/yarn.lock b/yarn.lock index 55da0bd1..7987f301 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1294,10 +1294,10 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cloudgraph/sdk@0.20.0": - version "0.20.0" - resolved "https://registry.yarnpkg.com/@cloudgraph/sdk/-/sdk-0.20.0.tgz#fb3febad5934c53c39c509783abc63a98637c94d" - integrity sha512-34vw0bf/8rsnPy8fBSRFp0muOLnEYkpy2zfT/fL7WCqy1+4POwUqErGkOM4JUU83N7Lwn5cz9woR8DbhGHfU9A== +"@cloudgraph/sdk@0.22.0": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@cloudgraph/sdk/-/sdk-0.22.0.tgz#c2a4e817a70ae9b123e0fcd401d55f79e24386ab" + integrity sha512-EJ7vLgrMRh52tOH14TKHgOI62BYy9ZH4WuEhcVr8S8RDnLxBO1XsXOKKjIsE+SmawMBzck8qxiEKttppalhJ8g== dependencies: "@graphql-tools/load-files" "^6.5.3" "@graphql-tools/merge" "^8.2.1" @@ -1307,7 +1307,6 @@ inquirer "^8.1.2" jsonpath "^1.1.1" lodash "^4.17.21" - node-jq "^2.3.0" ora "^5.4.1" "@endemolshinegroup/cosmiconfig-typescript-loader@3.0.2": @@ -1695,18 +1694,6 @@ tslib "~2.3.0" value-or-promise "1.0.11" -"@hapi/hoek@^9.0.0": - version "9.2.1" - resolved "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz" - integrity sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw== - -"@hapi/topo@^5.0.0": - version "5.1.0" - resolved "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz" - integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== - dependencies: - "@hapi/hoek" "^9.0.0" - "@humanwhocodes/config-array@^0.5.0": version "0.5.0" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz" @@ -2379,33 +2366,11 @@ lodash "^4.17.4" read-pkg-up "^7.0.0" -"@sideway/address@^4.1.3": - version "4.1.3" - resolved "https://registry.npmjs.org/@sideway/address/-/address-4.1.3.tgz" - integrity sha512-8ncEUtmnTsMmL7z1YPB47kPUq7LpKWJNFPsRzHiIajGC5uXlWGn+AmkYPcHNl8S4tcEGx+cnORnNYaw2wvL+LQ== - dependencies: - "@hapi/hoek" "^9.0.0" - -"@sideway/formula@^3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz" - integrity sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg== - -"@sideway/pinpoint@^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz" - integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== - "@sindresorhus/is@^0.14.0": version "0.14.0" resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== -"@sindresorhus/is@^0.7.0": - version "0.7.0" - resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz" - integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow== - "@sinonjs/commons@^1.7.0": version "1.8.3" resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz" @@ -2920,13 +2885,6 @@ anymatch@^3.0.3, anymatch@~3.1.2: resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -archive-type@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/archive-type/-/archive-type-4.0.0.tgz" - integrity sha1-+S5yIzBW38aWlHJ0nCZ72wRrHXA= - dependencies: - file-type "^4.2.0" - archy@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz" @@ -3235,17 +3193,6 @@ before-after-hook@^2.2.0: resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== -bin-build@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/bin-build/-/bin-build-3.0.0.tgz" - integrity sha512-jcUOof71/TNAI2uM5uoUaDq2ePcVBQ3R/qhxAz1rX7UfvduAL/RXD3jXzvn8cVcDJdGVkiR1shal3OH0ImpuhA== - dependencies: - decompress "^4.0.0" - download "^6.2.2" - execa "^0.7.0" - p-map-series "^1.0.0" - tempfile "^2.0.0" - bin-links@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.1.tgz#cc70ffb481988b22c527d3e6e454787876987a49" @@ -3275,14 +3222,6 @@ bindings@^1.5.0: dependencies: file-uri-to-path "1.0.0" -bl@^1.0.0: - version "1.2.3" - resolved "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz" - integrity sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" - bl@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz" @@ -3374,40 +3313,17 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -buffer-alloc-unsafe@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz" - integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== - -buffer-alloc@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz" - integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== - dependencies: - buffer-alloc-unsafe "^1.1.0" - buffer-fill "^1.0.0" - -buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz" - integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= - buffer-equal-constant-time@1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz" integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk= -buffer-fill@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz" - integrity sha1-+PeLdniYiO858gXNY39o5wISKyw= - buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@^5.2.1, buffer@^5.5.0, buffer@^5.7.0: +buffer@^5.5.0, buffer@^5.7.0: version "5.7.1" resolved "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -3485,19 +3401,6 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" -cacheable-request@^2.1.1: - version "2.1.4" - resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz" - integrity sha1-DYCIAbY0KtM8kd+dC0TcCbkeXD0= - dependencies: - clone-response "1.0.2" - get-stream "3.0.0" - http-cache-semantics "3.8.1" - keyv "3.0.0" - lowercase-keys "1.0.0" - normalize-url "2.0.1" - responselike "1.0.2" - cacheable-request@^6.0.0: version "6.1.0" resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz" @@ -3573,16 +3476,6 @@ cardinal@^2.1.1: ansicolors "~0.3.2" redeyed "~2.1.0" -caw@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/caw/-/caw-2.0.1.tgz" - integrity sha512-Cg8/ZSBEa8ZVY9HspcGUYaK63d/bN7rqS3CYCzEGUxuYv6UlmcjzDUz2fCFFHyTvUW5Pk0I+3hkA3iXlIj6guA== - dependencies: - get-proxy "^2.0.0" - isurl "^1.0.0-alpha5" - tunnel-agent "^0.6.0" - url-to-options "^1.0.1" - chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" @@ -3803,7 +3696,7 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clone-response@1.0.2, clone-response@^1.0.2: +clone-response@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz" integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= @@ -3904,11 +3797,6 @@ combined-stream@^1.0.6, combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" -commander@^2.8.1: - version "2.20.3" - resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - commander@^8.2.0: version "8.3.0" resolved "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz" @@ -3942,14 +3830,6 @@ concat-map@0.0.1: resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -config-chain@^1.1.11: - version "1.1.13" - resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz" - integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== - dependencies: - ini "^1.3.4" - proto-list "~1.2.1" - confusing-browser-globals@^1.0.10: version "1.0.11" resolved "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz" @@ -3969,13 +3849,6 @@ constant-case@^3.0.4: tslib "^2.0.3" upper-case "^2.0.2" -content-disposition@^0.5.2: - version "0.5.4" - resolved "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - conventional-changelog-angular@^5.0.0: version "5.0.13" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz" @@ -4088,15 +3961,6 @@ cross-fetch@^3.0.4, cross-fetch@^3.0.6: dependencies: node-fetch "2.6.7" -cross-spawn@^5.0.1: - version "5.1.0" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz" - integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" - cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" @@ -4235,66 +4099,13 @@ decode-uri-component@^0.2.0: resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -decompress-response@^3.2.0, decompress-response@^3.3.0: +decompress-response@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz" integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= dependencies: mimic-response "^1.0.0" -decompress-tar@^4.0.0, decompress-tar@^4.1.0, decompress-tar@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz" - integrity sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ== - dependencies: - file-type "^5.2.0" - is-stream "^1.1.0" - tar-stream "^1.5.2" - -decompress-tarbz2@^4.0.0: - version "4.1.1" - resolved "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz" - integrity sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A== - dependencies: - decompress-tar "^4.1.0" - file-type "^6.1.0" - is-stream "^1.1.0" - seek-bzip "^1.0.5" - unbzip2-stream "^1.0.9" - -decompress-targz@^4.0.0: - version "4.1.1" - resolved "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz" - integrity sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w== - dependencies: - decompress-tar "^4.1.1" - file-type "^5.2.0" - is-stream "^1.1.0" - -decompress-unzip@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz" - integrity sha1-3qrM39FK6vhVePczroIQ+bSEj2k= - dependencies: - file-type "^3.8.0" - get-stream "^2.2.0" - pify "^2.3.0" - yauzl "^2.4.2" - -decompress@^4.0.0, decompress@^4.2.1: - version "4.2.1" - resolved "https://registry.npmjs.org/decompress/-/decompress-4.2.1.tgz" - integrity sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ== - dependencies: - decompress-tar "^4.0.0" - decompress-tarbz2 "^4.0.0" - decompress-targz "^4.0.0" - decompress-unzip "^4.0.1" - graceful-fs "^4.1.10" - make-dir "^1.0.0" - pify "^2.3.0" - strip-dirs "^2.0.0" - dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz" @@ -4486,40 +4297,6 @@ dotenv@^10.0.0: resolved "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== -download@^6.2.2: - version "6.2.5" - resolved "https://registry.npmjs.org/download/-/download-6.2.5.tgz" - integrity sha512-DpO9K1sXAST8Cpzb7kmEhogJxymyVUd5qz/vCOSyvwtp2Klj2XcDt5YUuasgxka44SxF0q5RriKIwJmQHG2AuA== - dependencies: - caw "^2.0.0" - content-disposition "^0.5.2" - decompress "^4.0.0" - ext-name "^5.0.0" - file-type "5.2.0" - filenamify "^2.0.0" - get-stream "^3.0.0" - got "^7.0.0" - make-dir "^1.0.0" - p-event "^1.0.0" - pify "^3.0.0" - -download@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/download/-/download-8.0.0.tgz" - integrity sha512-ASRY5QhDk7FK+XrQtQyvhpDKanLluEEQtWl/J7Lxuf/b+i8RYh997QeXvL85xitrmRKVlx9c7eTrcRdq2GS4eA== - dependencies: - archive-type "^4.0.0" - content-disposition "^0.5.2" - decompress "^4.2.1" - ext-name "^5.0.0" - file-type "^11.1.0" - filenamify "^3.0.0" - get-stream "^4.1.0" - got "^8.3.1" - make-dir "^2.1.0" - p-event "^2.1.0" - pify "^4.0.1" - dset@^3.1.0: version "3.1.1" resolved "https://registry.npmjs.org/dset/-/dset-3.1.1.tgz" @@ -4576,7 +4353,7 @@ encoding@^0.1.12, encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -end-of-stream@^1.0.0, end-of-stream@^1.1.0: +end-of-stream@^1.1.0: version "1.4.4" resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== @@ -4894,19 +4671,6 @@ events@^3.0.0: resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -execa@^0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz" - integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^5.0.0, execa@^5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" @@ -4964,21 +4728,6 @@ expect@^27.4.6: jest-matcher-utils "^27.4.6" jest-message-util "^27.4.6" -ext-list@^2.0.0: - version "2.2.2" - resolved "https://registry.npmjs.org/ext-list/-/ext-list-2.2.2.tgz" - integrity sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA== - dependencies: - mime-db "^1.28.0" - -ext-name@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/ext-name/-/ext-name-5.0.0.tgz" - integrity sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ== - dependencies: - ext-list "^2.0.0" - sort-keys-length "^1.0.0" - extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz" @@ -5102,13 +4851,6 @@ fbjs@^3.0.0: setimmediate "^1.0.5" ua-parser-js "^0.7.30" -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz" - integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= - dependencies: - pend "~1.2.0" - figures@^1.7.0: version "1.7.0" resolved "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz" @@ -5138,31 +4880,6 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" -file-type@5.2.0, file-type@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz" - integrity sha1-LdvqfHP/42No365J3DOMBYwritY= - -file-type@^11.1.0: - version "11.1.0" - resolved "https://registry.npmjs.org/file-type/-/file-type-11.1.0.tgz" - integrity sha512-rM0UO7Qm9K7TWTtA6AShI/t7H5BPjDeGVDaNyg9BjHAj3PysKy7+8C8D137R88jnR3rFJZQB/tFgydl5sN5m7g== - -file-type@^3.8.0: - version "3.9.0" - resolved "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz" - integrity sha1-JXoHg4TR24CHvESdEH1SpSZyuek= - -file-type@^4.2.0: - version "4.4.0" - resolved "https://registry.npmjs.org/file-type/-/file-type-4.4.0.tgz" - integrity sha1-G2AOX8ofvcboDApwxxyNul95BsU= - -file-type@^6.1.0: - version "6.2.0" - resolved "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz" - integrity sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg== - file-uri-to-path@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" @@ -5173,29 +4890,6 @@ filename-regex@^2.0.0: resolved "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz" integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= -filename-reserved-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz" - integrity sha1-q/c9+rc10EVECr/qLZHzieu/oik= - -filenamify@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/filenamify/-/filenamify-2.1.0.tgz" - integrity sha512-ICw7NTT6RsDp2rnYKVd8Fu4cr6ITzGy3+u4vUujPkabyaz+03F24NWEX7fs5fp+kBonlaqPH8fAO2NM+SXt/JA== - dependencies: - filename-reserved-regex "^2.0.0" - strip-outer "^1.0.0" - trim-repeated "^1.0.0" - -filenamify@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/filenamify/-/filenamify-3.0.0.tgz" - integrity sha512-5EFZ//MsvJgXjBAFJ+Bh2YaCTRF/VP1YOmGrgt+KJ4SFRLjI87EIdwLLuT6wQX0I4F9W41xutobzczjsOKlI/g== - dependencies: - filename-reserved-regex "^2.0.0" - strip-outer "^1.0.0" - trim-repeated "^1.0.0" - fill-range@^2.1.0: version "2.2.4" resolved "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz" @@ -5333,7 +5027,7 @@ fragment-cache@^0.2.1: dependencies: map-cache "^0.2.2" -from2@^2.1.1, from2@^2.3.0: +from2@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz" integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= @@ -5346,11 +5040,6 @@ fromentries@^1.3.2: resolved "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz" integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg== -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - fs-extra@^10.0.0: version "10.0.0" resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz" @@ -5448,31 +5137,11 @@ get-package-type@^0.1.0: resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-proxy@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/get-proxy/-/get-proxy-2.1.0.tgz" - integrity sha512-zmZIaQTWnNQb4R4fJUEp/FC51eZsc6EkErspy3xtIYStaq8EB/hDIWipxsal+E8rz0qD7f2sL/NA9Xee4RInJw== - dependencies: - npm-conf "^1.1.0" - get-stdin@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz" integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== -get-stream@3.0.0, get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz" - integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= - -get-stream@^2.2.0: - version "2.3.1" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz" - integrity sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4= - dependencies: - object-assign "^4.0.1" - pinkie-promise "^2.0.0" - get-stream@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz" @@ -5605,49 +5274,6 @@ globby@^11.0.0, globby@^11.0.1, globby@^11.0.3, globby@^11.0.4: merge2 "^1.4.1" slash "^3.0.0" -got@^7.0.0: - version "7.1.0" - resolved "https://registry.npmjs.org/got/-/got-7.1.0.tgz" - integrity sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw== - dependencies: - decompress-response "^3.2.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-plain-obj "^1.1.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - p-cancelable "^0.3.0" - p-timeout "^1.1.1" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - url-parse-lax "^1.0.0" - url-to-options "^1.0.1" - -got@^8.3.1: - version "8.3.2" - resolved "https://registry.npmjs.org/got/-/got-8.3.2.tgz" - integrity sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw== - dependencies: - "@sindresorhus/is" "^0.7.0" - cacheable-request "^2.1.1" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - into-stream "^3.1.0" - is-retry-allowed "^1.1.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - mimic-response "^1.0.0" - p-cancelable "^0.4.0" - p-timeout "^2.0.1" - pify "^3.0.0" - safe-buffer "^5.1.1" - timed-out "^4.0.1" - url-parse-lax "^3.0.0" - url-to-options "^1.0.1" - got@^9.6.0: version "9.6.0" resolved "https://registry.npmjs.org/got/-/got-9.6.0.tgz" @@ -5665,7 +5291,7 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.9" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz" integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== @@ -5757,23 +5383,11 @@ has-flag@^4.0.0: resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz" - integrity sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw== - has-symbols@^1.0.1, has-symbols@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz" integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz" - integrity sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw== - dependencies: - has-symbol-support-x "^1.4.1" - has-tostringtag@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz" @@ -5868,11 +5482,6 @@ html-escaper@^2.0.0: resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== -http-cache-semantics@3.8.1: - version "3.8.1" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== - http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz" @@ -6016,11 +5625,6 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ini@^1.3.4, ini@~1.3.0: - version "1.3.8" - resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz" - integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== - ini@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz" @@ -6031,6 +5635,11 @@ ini@^3.0.0: resolved "https://registry.yarnpkg.com/ini/-/ini-3.0.0.tgz#2f6de95006923aa75feed8894f5686165adc08f1" integrity sha512-TxYQaeNW/N8ymDvwAxPyRbhMBtnEwuvaTYpOQkFx1nSeusgezHniEc/l35Vo4iCq/mMiTJbpD7oYxN98hFlfmw== +ini@~1.3.0: + version "1.3.8" + resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + init-package-json@^3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/init-package-json/-/init-package-json-3.0.2.tgz" @@ -6078,14 +5687,6 @@ interpret@^1.0.0: resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== -into-stream@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz" - integrity sha1-lvsKk2wSur1v8XUqF9BWFqvQlMY= - dependencies: - from2 "^2.1.1" - p-is-promise "^1.1.0" - into-stream@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/into-stream/-/into-stream-6.0.0.tgz" @@ -6315,13 +5916,6 @@ is-interactive@^1.0.0: resolved "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz" integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== -is-invalid-path@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/is-invalid-path/-/is-invalid-path-0.1.0.tgz" - integrity sha1-MHqFWzzxqTi0TqcNLGEQYFNxTzQ= - dependencies: - is-glob "^2.0.0" - is-lambda@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz" @@ -6334,11 +5928,6 @@ is-lower-case@^2.0.2: dependencies: tslib "^2.0.3" -is-natural-number@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz" - integrity sha1-q5124dtM7VHjXeDHLr7PCfc0zeg= - is-negative-zero@^2.0.1: version "2.0.2" resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" @@ -6385,11 +5974,6 @@ is-obj@^2.0.0: resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-object@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz" - integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== - is-observable@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz" @@ -6407,7 +5991,7 @@ is-path-inside@^3.0.2: resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: +is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= @@ -6464,17 +6048,12 @@ is-relative@^1.0.0: dependencies: is-unc-path "^1.0.0" -is-retry-allowed@^1.0.0, is-retry-allowed@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== - is-shared-array-buffer@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz" integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== -is-stream@^1.0.0, is-stream@^1.1.0: +is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= @@ -6529,13 +6108,6 @@ is-upper-case@^2.0.2: dependencies: tslib "^2.0.3" -is-valid-path@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/is-valid-path/-/is-valid-path-0.1.1.tgz" - integrity sha1-EQ+f90w39mPh7HkV60UfLbk6yd8= - dependencies: - is-invalid-path "^0.1.0" - is-weakref@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz" @@ -6643,14 +6215,6 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz" - integrity sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w== - dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" - iterall@^1.2.1: version "1.3.0" resolved "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz" @@ -7080,17 +6644,6 @@ jest@^27.0.6: import-local "^3.0.2" jest-cli "^27.4.7" -joi@^17.4.0: - version "17.6.0" - resolved "https://registry.npmjs.org/joi/-/joi-17.6.0.tgz" - integrity sha512-OX5dG6DTbcr/kbMFj0KGYxuew69HPcAE3K/sZpEV2nP6e/j/C0HV+HNiBPCASxdx5T7DMoa0s8UeHWMnb6n2zw== - dependencies: - "@hapi/hoek" "^9.0.0" - "@hapi/topo" "^5.0.0" - "@sideway/address" "^4.1.3" - "@sideway/formula" "^3.0.0" - "@sideway/pinpoint" "^2.0.0" - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" @@ -7306,13 +6859,6 @@ jws@^4.0.0: jwa "^2.0.0" safe-buffer "^5.0.1" -keyv@3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz" - integrity sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA== - dependencies: - json-buffer "3.0.0" - keyv@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz" @@ -7732,11 +7278,6 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lowercase-keys@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz" - integrity sha1-TjNms55/VFfjXxMkvfb4jQv8cwY= - lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz" @@ -7747,14 +7288,6 @@ lowercase-keys@^2.0.0: resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== -lru-cache@^4.0.1: - version "4.1.5" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" @@ -7767,21 +7300,6 @@ lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.13.1.tgz#267a81fbd0881327c46a81c5922606a2cfe336c4" integrity sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ== -make-dir@^1.0.0: - version "1.3.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz" - integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== - dependencies: - pify "^3.0.0" - -make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - make-dir@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" @@ -7967,7 +7485,7 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.1" picomatch "^2.2.3" -mime-db@1.51.0, mime-db@^1.28.0: +mime-db@1.51.0: version "1.51.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz" integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== @@ -8272,18 +7790,6 @@ node-int64@^0.4.0: resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs= -node-jq@^2.3.0: - version "2.3.4" - resolved "https://registry.yarnpkg.com/node-jq/-/node-jq-2.3.4.tgz#047b1717e86b269f3cd64fcc0b44ac8dbe21cd65" - integrity sha512-Zm0kJzDHUtVdS9a3Ypq07+rQfxJ9SdbUa5hEOP9Y+gwToLPme6onIptApQgsqIMByA1FIE7sw+EKZvrmIy1Jqw== - dependencies: - bin-build "^3.0.0" - download "^8.0.0" - is-valid-path "^0.1.1" - joi "^17.4.0" - strip-final-newline "^2.0.0" - tempfile "^3.0.0" - node-releases@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz" @@ -8338,15 +7844,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-url@2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz" - integrity sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw== - dependencies: - prepend-http "^2.0.0" - query-string "^5.0.1" - sort-keys "^2.0.0" - normalize-url@^4.1.0: version "4.5.1" resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz" @@ -8371,14 +7868,6 @@ npm-bundled@^1.1.1, npm-bundled@^1.1.2: dependencies: npm-normalize-package-bin "^1.0.1" -npm-conf@^1.1.0: - version "1.1.3" - resolved "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz" - integrity sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw== - dependencies: - config-chain "^1.1.11" - pify "^3.0.0" - npm-install-checks@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz" @@ -8448,13 +7937,6 @@ npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.1 npm-package-arg "^9.0.1" proc-log "^2.0.0" -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - npm-run-path@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" @@ -8570,7 +8052,7 @@ nwsapi@^2.2.0: resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz" integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== -object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.1.0: version "4.1.1" resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= @@ -8723,16 +8205,6 @@ os-tmpdir@~1.0.2: resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -p-cancelable@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz" - integrity sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw== - -p-cancelable@^0.4.0: - version "0.4.1" - resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz" - integrity sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ== - p-cancelable@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz" @@ -8743,20 +8215,6 @@ p-each-series@^2.1.0: resolved "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz" integrity sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA== -p-event@^1.0.0: - version "1.3.0" - resolved "https://registry.npmjs.org/p-event/-/p-event-1.3.0.tgz" - integrity sha1-jmtPT2XHK8W2/ii3XtqHT5akoIU= - dependencies: - p-timeout "^1.1.1" - -p-event@^2.1.0: - version "2.3.1" - resolved "https://registry.npmjs.org/p-event/-/p-event-2.3.1.tgz" - integrity sha512-NQCqOFhbpVTMX4qMe8PF8lbGtzZ+LCiN7pcNrb/413Na7+TRoe1xkKUzuWa/YEJdGQ0FvKtj35EEbDoVPO2kbA== - dependencies: - p-timeout "^2.0.1" - p-filter@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz" @@ -8764,16 +8222,6 @@ p-filter@^2.0.0: dependencies: p-map "^2.0.0" -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz" - integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= - -p-is-promise@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz" - integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4= - p-is-promise@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz" @@ -8814,13 +8262,6 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" -p-map-series@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-map-series/-/p-map-series-1.0.0.tgz" - integrity sha1-v5j+V1cFZYqeE1G++4WuTB8Hvco= - dependencies: - p-reduce "^1.0.0" - p-map@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz" @@ -8833,11 +8274,6 @@ p-map@^4.0.0: dependencies: aggregate-error "^3.0.0" -p-reduce@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz" - integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= - p-reduce@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz" @@ -8851,20 +8287,6 @@ p-retry@^4.0.0: "@types/retry" "^0.12.0" retry "^0.13.1" -p-timeout@^1.1.1: - version "1.2.1" - resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz" - integrity sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y= - dependencies: - p-finally "^1.0.0" - -p-timeout@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz" - integrity sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA== - dependencies: - p-finally "^1.0.0" - p-try@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz" @@ -9014,11 +8436,6 @@ path-is-absolute@^1.0.0: resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-key@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" @@ -9046,11 +8463,6 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz" - integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= - picocolors@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" @@ -9061,33 +8473,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz" - integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= - pify@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz" integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz" - integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz" - integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= - pirates@^4.0.4: version "4.0.5" resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" @@ -9130,11 +8520,6 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= - prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz" @@ -9241,16 +8626,6 @@ promzard@^0.3.0: dependencies: read "1" -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz" - integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= - -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - psl@^1.1.28, psl@^1.1.33: version "1.8.0" resolved "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz" @@ -9279,15 +8654,6 @@ qrcode-terminal@^0.12.0: resolved "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz" integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" @@ -9380,7 +8746,7 @@ readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.4.0, readable-stre string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@~2.3.6: +readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -9598,7 +8964,7 @@ resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.20.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -responselike@1.0.2, responselike@^1.0.2: +responselike@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz" integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= @@ -9679,7 +9045,7 @@ rxjs@^7.2.0, rxjs@^7.5.1: dependencies: tslib "^2.1.0" -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -9718,13 +9084,6 @@ scuid@^1.1.0: resolved "https://registry.npmjs.org/scuid/-/scuid-1.1.0.tgz" integrity sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg== -seek-bzip@^1.0.5: - version "1.0.6" - resolved "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.6.tgz" - integrity sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ== - dependencies: - commander "^2.8.1" - semantic-release@^19.0.2: version "19.0.2" resolved "https://registry.npmjs.org/semantic-release/-/semantic-release-19.0.2.tgz" @@ -9822,13 +9181,6 @@ setimmediate@^1.0.5: resolved "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz" integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.0.0" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" @@ -9836,11 +9188,6 @@ shebang-command@^2.0.0: dependencies: shebang-regex "^3.0.0" -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" @@ -9877,7 +9224,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: +signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.6" resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz" integrity sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ== @@ -10010,27 +9357,6 @@ sonic-boom@^2.1.0: dependencies: atomic-sleep "^1.0.0" -sort-keys-length@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/sort-keys-length/-/sort-keys-length-1.0.1.tgz" - integrity sha1-nLb09OnkgVWmqgZx7dM2/xR5oYg= - dependencies: - sort-keys "^1.0.0" - -sort-keys@^1.0.0: - version "1.1.2" - resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz" - integrity sha1-RBttTTRnmPG05J6JIK37oOVD+a0= - dependencies: - is-plain-obj "^1.0.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz" - integrity sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg= - dependencies: - is-plain-obj "^1.0.0" - source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz" @@ -10190,11 +9516,6 @@ stream-combiner2@~1.1.1: duplexer2 "~0.1.0" readable-stream "^2.0.2" -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz" - integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM= - string-argv@0.3.1: version "0.3.1" resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz" @@ -10314,18 +9635,6 @@ strip-bom@^4.0.0: resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== -strip-dirs@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz" - integrity sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g== - dependencies: - is-natural-number "^4.0.1" - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - strip-final-newline@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" @@ -10348,13 +9657,6 @@ strip-json-comments@~2.0.1: resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= -strip-outer@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz" - integrity sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg== - dependencies: - escape-string-regexp "^1.0.2" - subarg@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz" @@ -10448,19 +9750,6 @@ table@^6.0.9: string-width "^4.2.3" strip-ansi "^6.0.1" -tar-stream@^1.5.2: - version "1.6.2" - resolved "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz" - integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A== - dependencies: - bl "^1.0.0" - buffer-alloc "^1.2.0" - end-of-stream "^1.0.0" - fs-constants "^1.0.0" - readable-stream "^2.3.0" - to-buffer "^1.1.1" - xtend "^4.0.0" - tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: version "6.1.11" resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" @@ -10473,32 +9762,11 @@ tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: mkdirp "^1.0.3" yallist "^4.0.0" -temp-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz" - integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= - temp-dir@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz" integrity sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg== -tempfile@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/tempfile/-/tempfile-2.0.0.tgz" - integrity sha1-awRGhWqbERTRhW/8vlCczLCXcmU= - dependencies: - temp-dir "^1.0.0" - uuid "^3.0.1" - -tempfile@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/tempfile/-/tempfile-3.0.0.tgz" - integrity sha512-uNFCg478XovRi85iD42egu+eSFUmmka750Jy7L5tfHI5hQKKtbPnxaSaXAbBqCDYrw3wx4tXjKwci4/QmsZJxw== - dependencies: - temp-dir "^2.0.0" - uuid "^3.3.2" - tempy@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/tempy/-/tempy-1.0.1.tgz" @@ -10562,11 +9830,6 @@ through@2, "through@>=2.2.7 <3", through@^2.3.6, through@^2.3.8: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= -timed-out@^4.0.0, timed-out@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz" - integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= - tiny-relative-date@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz" @@ -10591,11 +9854,6 @@ tmpl@1.0.5: resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== -to-buffer@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz" - integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== - to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" @@ -10683,13 +9941,6 @@ trim-newlines@^3.0.0: resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -trim-repeated@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz" - integrity sha1-42RqLqTokTEr9+rObPsFOAvAHCE= - dependencies: - escape-string-regexp "^1.0.2" - ts-jest@^27.0.4: version "27.1.3" resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.3.tgz" @@ -10748,13 +9999,6 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= - dependencies: - safe-buffer "^5.0.1" - tunnel@0.0.6, tunnel@^0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz" @@ -10846,14 +10090,6 @@ unbox-primitive@^1.0.1: has-symbols "^1.0.2" which-boxed-primitive "^1.0.2" -unbzip2-stream@^1.0.9: - version "1.4.3" - resolved "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz" - integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== - dependencies: - buffer "^5.2.1" - through "^2.3.8" - unc-path-regex@^0.1.2: version "0.1.2" resolved "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz" @@ -10961,13 +10197,6 @@ url-join@^4.0.0: resolved "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz" integrity sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA== -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz" - integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= - dependencies: - prepend-http "^1.0.1" - url-parse-lax@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz" @@ -10975,11 +10204,6 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz" - integrity sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k= - use@^3.1.0: version "3.1.1" resolved "https://registry.npmjs.org/use/-/use-3.1.1.tgz" @@ -10990,11 +10214,6 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1: resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= -uuid@^3.0.1, uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - uuid@^8.3.0, uuid@^8.3.2: version "8.3.2" resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz" @@ -11147,13 +10366,6 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@^1.2.9: - version "1.3.1" - resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - which@^2.0.1, which@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" @@ -11260,7 +10472,7 @@ xmlchars@^2.2.0: resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== -xtend@^4.0.0, xtend@~4.0.1: +xtend@~4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -11275,11 +10487,6 @@ y18n@^5.0.5: resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - yallist@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" @@ -11356,14 +10563,6 @@ yargs@^17.0.0: y18n "^5.0.5" yargs-parser "^21.0.0" -yauzl@^2.4.2: - version "2.10.0" - resolved "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz" - integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= - dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - yn@3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz"