import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class MoveCollections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'moveCollections' , } ) ; } } schema export class MoveCollectionsMoveResources extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'moveCollections_moveResources' , } ) ; } } schema export interface MoveCollectionsOptions { schema readonly apiVersion ? : MicrosoftMigrateMoveCollectionsApiVersion ; schema readonly identity ? : Identity ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : MoveCollectionProperties ; schema readonly resources ? : MoveCollectionsMoveResourcesChildResource [ ] ; schema readonly tags ? : MicrosoftMigrateMoveCollectionsTags ; schema readonly type : MicrosoftMigrateMoveCollectionsType ; } schema export interface MoveCollectionsMoveResourcesOptions { schema readonly apiVersion ? : MicrosoftMigrateMoveCollectionsMoveResourcesApiVersion ; schema readonly name : string ; schema readonly properties : MoveResourceProperties ; schema readonly type : MicrosoftMigrateMoveCollectionsMoveResourcesType ; } export enum MicrosoftMigrateMoveCollectionsApiVersion { "MicrosoftMigrateMoveCollectionsApiVersion_2021_01_01" = '2021-01-01' } schema export interface Identity { schema readonly principalId ? : string ; schema readonly tenantId ? : string ; schema readonly type ? : IdentityType ; } schema export interface MoveCollectionProperties { schema readonly provisioningState ? : MoveCollectionPropertiesProvisioningState ; schema readonly sourceRegion : string ; schema readonly targetRegion : string ; } schema export interface MoveCollectionsMoveResourcesChildResource { schema readonly apiVersion : MoveCollectionsMoveResourcesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : MoveResourceProperties ; schema readonly type : MoveCollectionsMoveResourcesChildResourceType ; } schema export interface MicrosoftMigrateMoveCollectionsTags { } export enum MicrosoftMigrateMoveCollectionsType { "MicrosoftMigrateMoveCollectionsType_MICROSOFT_MIGRATE_MOVE_COLLECTIONS" = 'Microsoft.Migrate/moveCollections' } export enum MicrosoftMigrateMoveCollectionsMoveResourcesApiVersion { "MicrosoftMigrateMoveCollectionsMoveResourcesApiVersion_2021_01_01" = '2021-01-01' } schema export interface MoveResourceProperties { schema readonly dependsOnOverrides ? : MoveResourceDependencyOverride [ ] ; schema readonly existingTargetId ? : string ; schema readonly provisioningState ? : MoveResourcePropertiesProvisioningState ; schema readonly resourceSettings ? : ResourceSettings ; schema readonly sourceId : string ; } export enum MicrosoftMigrateMoveCollectionsMoveResourcesType { "MicrosoftMigrateMoveCollectionsMoveResourcesType_MICROSOFT_MIGRATE_MOVE_COLLECTIONS_MOVE_RESOURCES" = 'Microsoft.Migrate/moveCollections/moveResources' } export enum IdentityType { NONE = 'None' , SYSTEM_ASSIGNED = 'SystemAssigned' , USER_ASSIGNED = 'UserAssigned' } export enum MoveCollectionPropertiesProvisioningState { SUCCEEDED = 'Succeeded' , UPDATING = 'Updating' , CREATING = 'Creating' , FAILED = 'Failed' } export enum MoveCollectionsMoveResourcesChildResourceApiVersion { "MoveCollectionsMoveResourcesChildResourceApiVersion_2021_01_01" = '2021-01-01' } export enum MoveCollectionsMoveResourcesChildResourceType { MOVE_RESOURCES = 'moveResources' } schema export interface MoveResourceDependencyOverride { schema readonly id ? : string ; schema readonly targetId ? : string ; } export enum MoveResourcePropertiesProvisioningState { SUCCEEDED = 'Succeeded' , UPDATING = 'Updating' , CREATING = 'Creating' , FAILED = 'Failed' } schema export class ResourceSettings { public static fromVirtualMachineResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromAvailabilitySetResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromVirtualNetworkResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromNetworkInterfaceResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromNetworkSecurityGroupResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromLoadBalancerResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromSqlServerResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromSqlElasticPoolResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromSqlDatabaseResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromResourceGroupResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromPublicIpAddressResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromKeyVaultResourceSettings ( value ) { return new ResourceSettings ( value ) ; } public static fromDiskEncryptionSetResourceSettings ( value ) { return new ResourceSettings ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface VirtualMachineResourceSettings { schema readonly resourceType : VirtualMachineResourceSettingsResourceType ; schema readonly targetAvailabilitySetId ? : string ; schema readonly targetAvailabilityZone ? : VirtualMachineResourceSettingsTargetAvailabilityZone ; schema readonly targetVmSize ? : string ; } schema export interface AvailabilitySetResourceSettings { schema readonly faultDomain ? : number ; schema readonly resourceType : AvailabilitySetResourceSettingsResourceType ; schema readonly updateDomain ? : number ; } schema export interface VirtualNetworkResourceSettings { schema readonly addressSpace ? : string [ ] ; schema readonly dnsServers ? : string [ ] ; schema readonly enableDdosProtection ? : boolean ; schema readonly resourceType : VirtualNetworkResourceSettingsResourceType ; schema readonly subnets ? : SubnetResourceSettings [ ] ; } schema export interface NetworkInterfaceResourceSettings { schema readonly enableAcceleratedNetworking ? : boolean ; schema readonly ipConfigurations ? : NicIpConfigurationResourceSettings [ ] ; schema readonly resourceType : NetworkInterfaceResourceSettingsResourceType ; } schema export interface NetworkSecurityGroupResourceSettings { schema readonly resourceType : NetworkSecurityGroupResourceSettingsResourceType ; schema readonly securityRules ? : NsgSecurityRule [ ] ; } schema export interface LoadBalancerResourceSettings { schema readonly backendAddressPools ? : LbBackendAddressPoolResourceSettings [ ] ; schema readonly frontendIPConfigurations ? : LbFrontendIpConfigurationResourceSettings [ ] ; schema readonly resourceType : LoadBalancerResourceSettingsResourceType ; schema readonly sku ? : string ; schema readonly zones ? : string ; } schema export interface SqlServerResourceSettings { schema readonly resourceType : SqlServerResourceSettingsResourceType ; } schema export interface SqlElasticPoolResourceSettings { schema readonly resourceType : SqlElasticPoolResourceSettingsResourceType ; schema readonly zoneRedundant ? : SqlElasticPoolResourceSettingsZoneRedundant ; } schema export interface SqlDatabaseResourceSettings { schema readonly resourceType : SqlDatabaseResourceSettingsResourceType ; schema readonly zoneRedundant ? : SqlDatabaseResourceSettingsZoneRedundant ; } schema export interface ResourceGroupResourceSettings { schema readonly resourceType : ResourceGroupResourceSettingsResourceType ; } schema export interface PublicIpAddressResourceSettings { schema readonly domainNameLabel ? : string ; schema readonly fqdn ? : string ; schema readonly publicIpAllocationMethod ? : string ; schema readonly resourceType : PublicIpAddressResourceSettingsResourceType ; schema readonly sku ? : string ; schema readonly zones ? : string ; } schema export interface KeyVaultResourceSettings { schema readonly resourceType : KeyVaultResourceSettingsResourceType ; } schema export interface DiskEncryptionSetResourceSettings { schema readonly resourceType : DiskEncryptionSetResourceSettingsResourceType ; } export enum VirtualMachineResourceSettingsResourceType { "VirtualMachineResourceSettingsResourceType_MICROSOFT_COMPUTE_VIRTUAL_MACHINES" = 'Microsoft.Compute/virtualMachines' } export enum VirtualMachineResourceSettingsTargetAvailabilityZone { "VirtualMachineResourceSettingsTargetAvailabilityZone_1" = '1' , "VirtualMachineResourceSettingsTargetAvailabilityZone_2" = '2' , "VirtualMachineResourceSettingsTargetAvailabilityZone_3" = '3' , NA = 'NA' } export enum AvailabilitySetResourceSettingsResourceType { "AvailabilitySetResourceSettingsResourceType_MICROSOFT_COMPUTE_AVAILABILITY_SETS" = 'Microsoft.Compute/availabilitySets' } export enum VirtualNetworkResourceSettingsResourceType { "VirtualNetworkResourceSettingsResourceType_MICROSOFT_NETWORK_VIRTUAL_NETWORKS" = 'Microsoft.Network/virtualNetworks' } schema export interface SubnetResourceSettings { schema readonly addressPrefix ? : string ; schema readonly name ? : string ; schema readonly networkSecurityGroup ? : NsgReference ; } schema export interface NicIpConfigurationResourceSettings { schema readonly loadBalancerBackendAddressPools ? : LoadBalancerBackendAddressPoolReference [ ] ; schema readonly loadBalancerNatRules ? : LoadBalancerNatRuleReference [ ] ; schema readonly name ? : string ; schema readonly primary ? : boolean ; schema readonly privateIpAddress ? : string ; schema readonly privateIpAllocationMethod ? : string ; schema readonly publicIp ? : PublicIpReference ; schema readonly subnet ? : SubnetReference ; } export enum NetworkInterfaceResourceSettingsResourceType { "NetworkInterfaceResourceSettingsResourceType_MICROSOFT_NETWORK_NETWORK_INTERFACES" = 'Microsoft.Network/networkInterfaces' } export enum NetworkSecurityGroupResourceSettingsResourceType { "NetworkSecurityGroupResourceSettingsResourceType_MICROSOFT_NETWORK_NETWORK_SECURITY_GROUPS" = 'Microsoft.Network/networkSecurityGroups' } schema export interface NsgSecurityRule { schema readonly access ? : string ; schema readonly description ? : string ; schema readonly destinationAddressPrefix ? : string ; schema readonly destinationPortRange ? : string ; schema readonly direction ? : string ; schema readonly name ? : string ; schema readonly priority ? : number ; schema readonly protocol ? : string ; schema readonly sourceAddressPrefix ? : string ; schema readonly sourcePortRange ? : string ; } schema export interface LbBackendAddressPoolResourceSettings { schema readonly name ? : string ; } schema export interface LbFrontendIpConfigurationResourceSettings { schema readonly name ? : string ; schema readonly privateIpAddress ? : string ; schema readonly privateIpAllocationMethod ? : string ; schema readonly subnet ? : SubnetReference ; schema readonly zones ? : string ; } export enum LoadBalancerResourceSettingsResourceType { "LoadBalancerResourceSettingsResourceType_MICROSOFT_NETWORK_LOAD_BALANCERS" = 'Microsoft.Network/loadBalancers' } export enum SqlServerResourceSettingsResourceType { "SqlServerResourceSettingsResourceType_MICROSOFT_SQL_SERVERS" = 'Microsoft.Sql/servers' } export enum SqlElasticPoolResourceSettingsResourceType { "SqlElasticPoolResourceSettingsResourceType_MICROSOFT_SQL_SERVERS_ELASTIC_POOLS" = 'Microsoft.Sql/servers/elasticPools' } export enum SqlElasticPoolResourceSettingsZoneRedundant { ENABLE = 'Enable' , DISABLE = 'Disable' } export enum SqlDatabaseResourceSettingsResourceType { "SqlDatabaseResourceSettingsResourceType_MICROSOFT_SQL_SERVERS_DATABASES" = 'Microsoft.Sql/servers/databases' } export enum SqlDatabaseResourceSettingsZoneRedundant { ENABLE = 'Enable' , DISABLE = 'Disable' } export enum ResourceGroupResourceSettingsResourceType { RESOURCE_GROUPS = 'resourceGroups' } export enum PublicIpAddressResourceSettingsResourceType { "PublicIpAddressResourceSettingsResourceType_MICROSOFT_NETWORK_PUBLIC_IP_ADDRESSES" = 'Microsoft.Network/publicIPAddresses' } export enum KeyVaultResourceSettingsResourceType { "KeyVaultResourceSettingsResourceType_MICROSOFT_KEY_VAULT_VAULTS" = 'Microsoft.KeyVault/vaults' } export enum DiskEncryptionSetResourceSettingsResourceType { "DiskEncryptionSetResourceSettingsResourceType_MICROSOFT_COMPUTE_DISK_ENCRYPTION_SETS" = 'Microsoft.Compute/diskEncryptionSets' } schema export interface NsgReference { schema readonly sourceArmResourceId : string ; } schema export interface LoadBalancerBackendAddressPoolReference { schema readonly name ? : string ; schema readonly sourceArmResourceId : string ; } schema export interface LoadBalancerNatRuleReference { schema readonly name ? : string ; schema readonly sourceArmResourceId : string ; } schema export interface PublicIpReference { schema readonly sourceArmResourceId : string ; } schema export interface SubnetReference { schema readonly name ? : string ; schema readonly sourceArmResourceId : string ; }