import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class StorageSyncServices extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'storageSyncServices' , } ) ; } } schema export class StorageSyncServicesPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'storageSyncServices_privateEndpointConnections' , } ) ; } } schema export class StorageSyncServicesRegisteredServers extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'storageSyncServices_registeredServers' , } ) ; } } schema export class StorageSyncServicesSyncGroups extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'storageSyncServices_syncGroups' , } ) ; } } schema export class StorageSyncServicesSyncGroupsCloudEndpoints extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'storageSyncServices_syncGroups_cloudEndpoints' , } ) ; } } schema export class StorageSyncServicesSyncGroupsServerEndpoints extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'storageSyncServices_syncGroups_serverEndpoints' , } ) ; } } schema export interface StorageSyncServicesOptions { schema readonly apiVersion ? : MicrosoftStorageSyncStorageSyncServicesApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : StorageSyncServiceCreateParametersProperties ; schema readonly resources ? : MicrosoftStorageSyncStorageSyncServicesResources [ ] ; schema readonly tags ? : MicrosoftStorageSyncStorageSyncServicesTags ; schema readonly type : MicrosoftStorageSyncStorageSyncServicesType ; } schema export interface StorageSyncServicesPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftStorageSyncStorageSyncServicesPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftStorageSyncStorageSyncServicesPrivateEndpointConnectionsType ; } schema export interface StorageSyncServicesRegisteredServersOptions { schema readonly apiVersion ? : MicrosoftStorageSyncStorageSyncServicesRegisteredServersApiVersion ; schema readonly name : string ; schema readonly properties : RegisteredServerCreateParametersProperties ; schema readonly type : MicrosoftStorageSyncStorageSyncServicesRegisteredServersType ; } schema export interface StorageSyncServicesSyncGroupsOptions { schema readonly apiVersion ? : MicrosoftStorageSyncStorageSyncServicesSyncGroupsApiVersion ; schema readonly name : string ; schema readonly properties : MicrosoftStorageSyncStorageSyncServicesSyncGroupsProperties ; schema readonly resources ? : MicrosoftStorageSyncStorageSyncServicesSyncGroupsResources [ ] ; schema readonly type : MicrosoftStorageSyncStorageSyncServicesSyncGroupsType ; } schema export interface StorageSyncServicesSyncGroupsCloudEndpointsOptions { schema readonly apiVersion ? : MicrosoftStorageSyncStorageSyncServicesSyncGroupsCloudEndpointsApiVersion ; schema readonly name : string ; schema readonly properties : CloudEndpointCreateParametersProperties ; schema readonly type : MicrosoftStorageSyncStorageSyncServicesSyncGroupsCloudEndpointsType ; } schema export interface StorageSyncServicesSyncGroupsServerEndpointsOptions { schema readonly apiVersion ? : MicrosoftStorageSyncStorageSyncServicesSyncGroupsServerEndpointsApiVersion ; schema readonly name : string ; schema readonly properties : ServerEndpointCreateParametersProperties ; schema readonly type : MicrosoftStorageSyncStorageSyncServicesSyncGroupsServerEndpointsType ; } export enum MicrosoftStorageSyncStorageSyncServicesApiVersion { "MicrosoftStorageSyncStorageSyncServicesApiVersion_2020_09_01" = '2020-09-01' } schema export interface StorageSyncServiceCreateParametersProperties { schema readonly incomingTrafficPolicy ? : StorageSyncServiceCreateParametersPropertiesIncomingTrafficPolicy ; } schema export class MicrosoftStorageSyncStorageSyncServicesResources { public static fromStorageSyncServicesPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftStorageSyncStorageSyncServicesResources ( value ) ; } public static fromStorageSyncServicesSyncGroupsChildResource ( value ) { return new MicrosoftStorageSyncStorageSyncServicesResources ( value ) ; } public static fromStorageSyncServicesRegisteredServersChildResource ( value ) { return new MicrosoftStorageSyncStorageSyncServicesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftStorageSyncStorageSyncServicesTags { } export enum MicrosoftStorageSyncStorageSyncServicesType { "MicrosoftStorageSyncStorageSyncServicesType_MICROSOFT_STORAGE_SYNC_STORAGE_SYNC_SERVICES" = 'Microsoft.StorageSync/storageSyncServices' } export enum MicrosoftStorageSyncStorageSyncServicesPrivateEndpointConnectionsApiVersion { "MicrosoftStorageSyncStorageSyncServicesPrivateEndpointConnectionsApiVersion_2020_09_01" = '2020-09-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState : PrivateLinkServiceConnectionState ; schema readonly provisioningState ? : PrivateEndpointConnectionPropertiesProvisioningState ; } export enum MicrosoftStorageSyncStorageSyncServicesPrivateEndpointConnectionsType { "MicrosoftStorageSyncStorageSyncServicesPrivateEndpointConnectionsType_MICROSOFT_STORAGE_SYNC_STORAGE_SYNC_SERVICES_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.StorageSync/storageSyncServices/privateEndpointConnections' } export enum MicrosoftStorageSyncStorageSyncServicesRegisteredServersApiVersion { "MicrosoftStorageSyncStorageSyncServicesRegisteredServersApiVersion_2020_09_01" = '2020-09-01' } schema export interface RegisteredServerCreateParametersProperties { schema readonly agentVersion ? : string ; schema readonly clusterId ? : string ; schema readonly clusterName ? : string ; schema readonly friendlyName ? : string ; schema readonly lastHeartBeat ? : string ; schema readonly serverCertificate ? : string ; schema readonly serverId ? : string ; schema readonly serverOSVersion ? : string ; schema readonly serverRole ? : string ; } export enum MicrosoftStorageSyncStorageSyncServicesRegisteredServersType { "MicrosoftStorageSyncStorageSyncServicesRegisteredServersType_MICROSOFT_STORAGE_SYNC_STORAGE_SYNC_SERVICES_REGISTERED_SERVERS" = 'Microsoft.StorageSync/storageSyncServices/registeredServers' } export enum MicrosoftStorageSyncStorageSyncServicesSyncGroupsApiVersion { "MicrosoftStorageSyncStorageSyncServicesSyncGroupsApiVersion_2020_09_01" = '2020-09-01' } schema export interface MicrosoftStorageSyncStorageSyncServicesSyncGroupsProperties { } schema export class MicrosoftStorageSyncStorageSyncServicesSyncGroupsResources { public static fromStorageSyncServicesSyncGroupsCloudEndpointsChildResource ( value ) { return new MicrosoftStorageSyncStorageSyncServicesSyncGroupsResources ( value ) ; } public static fromStorageSyncServicesSyncGroupsServerEndpointsChildResource ( value ) { return new MicrosoftStorageSyncStorageSyncServicesSyncGroupsResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum MicrosoftStorageSyncStorageSyncServicesSyncGroupsType { "MicrosoftStorageSyncStorageSyncServicesSyncGroupsType_MICROSOFT_STORAGE_SYNC_STORAGE_SYNC_SERVICES_SYNC_GROUPS" = 'Microsoft.StorageSync/storageSyncServices/syncGroups' } export enum MicrosoftStorageSyncStorageSyncServicesSyncGroupsCloudEndpointsApiVersion { "MicrosoftStorageSyncStorageSyncServicesSyncGroupsCloudEndpointsApiVersion_2020_09_01" = '2020-09-01' } schema export interface CloudEndpointCreateParametersProperties { schema readonly azureFileShareName ? : string ; schema readonly friendlyName ? : string ; schema readonly storageAccountResourceId ? : string ; schema readonly storageAccountTenantId ? : string ; } export enum MicrosoftStorageSyncStorageSyncServicesSyncGroupsCloudEndpointsType { "MicrosoftStorageSyncStorageSyncServicesSyncGroupsCloudEndpointsType_MICROSOFT_STORAGE_SYNC_STORAGE_SYNC_SERVICES_SYNC_GROUPS_CLOUD_ENDPOINTS" = 'Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints' } export enum MicrosoftStorageSyncStorageSyncServicesSyncGroupsServerEndpointsApiVersion { "MicrosoftStorageSyncStorageSyncServicesSyncGroupsServerEndpointsApiVersion_2020_09_01" = '2020-09-01' } schema export interface ServerEndpointCreateParametersProperties { schema readonly cloudTiering ? : ServerEndpointCreateParametersPropertiesCloudTiering ; schema readonly friendlyName ? : string ; schema readonly initialDownloadPolicy ? : ServerEndpointCreateParametersPropertiesInitialDownloadPolicy ; schema readonly localCacheMode ? : ServerEndpointCreateParametersPropertiesLocalCacheMode ; schema readonly offlineDataTransfer ? : ServerEndpointCreateParametersPropertiesOfflineDataTransfer ; schema readonly offlineDataTransferShareName ? : string ; schema readonly serverLocalPath ? : string ; schema readonly serverResourceId ? : string ; schema readonly tierFilesOlderThanDays ? : number ; schema readonly volumeFreeSpacePercent ? : number ; } export enum MicrosoftStorageSyncStorageSyncServicesSyncGroupsServerEndpointsType { "MicrosoftStorageSyncStorageSyncServicesSyncGroupsServerEndpointsType_MICROSOFT_STORAGE_SYNC_STORAGE_SYNC_SERVICES_SYNC_GROUPS_SERVER_ENDPOINTS" = 'Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints' } export enum StorageSyncServiceCreateParametersPropertiesIncomingTrafficPolicy { ALLOW_ALL_TRAFFIC = 'AllowAllTraffic' , ALLOW_VIRTUAL_NETWORKS_ONLY = 'AllowVirtualNetworksOnly' } schema export interface StorageSyncServicesPrivateEndpointConnectionsChildResource { schema readonly apiVersion : StorageSyncServicesPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : StorageSyncServicesPrivateEndpointConnectionsChildResourceType ; } schema export interface StorageSyncServicesSyncGroupsChildResource { schema readonly apiVersion : StorageSyncServicesSyncGroupsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : StorageSyncServicesSyncGroupsChildResourceProperties ; schema readonly type : StorageSyncServicesSyncGroupsChildResourceType ; } schema export interface StorageSyncServicesRegisteredServersChildResource { schema readonly apiVersion : StorageSyncServicesRegisteredServersChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : RegisteredServerCreateParametersProperties ; schema readonly type : StorageSyncServicesRegisteredServersChildResourceType ; } schema export interface PrivateEndpoint { } schema export interface PrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : PrivateLinkServiceConnectionStateStatus ; } export enum PrivateEndpointConnectionPropertiesProvisioningState { SUCCEEDED = 'Succeeded' , CREATING = 'Creating' , DELETING = 'Deleting' , FAILED = 'Failed' } schema export interface StorageSyncServicesSyncGroupsCloudEndpointsChildResource { schema readonly apiVersion : StorageSyncServicesSyncGroupsCloudEndpointsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : CloudEndpointCreateParametersProperties ; schema readonly type : StorageSyncServicesSyncGroupsCloudEndpointsChildResourceType ; } schema export interface StorageSyncServicesSyncGroupsServerEndpointsChildResource { schema readonly apiVersion : StorageSyncServicesSyncGroupsServerEndpointsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : ServerEndpointCreateParametersProperties ; schema readonly type : StorageSyncServicesSyncGroupsServerEndpointsChildResourceType ; } export enum ServerEndpointCreateParametersPropertiesCloudTiering { ON = 'on' , OFF = 'off' } export enum ServerEndpointCreateParametersPropertiesInitialDownloadPolicy { NAMESPACE_ONLY = 'NamespaceOnly' , NAMESPACE_THEN_MODIFIED_FILES = 'NamespaceThenModifiedFiles' , AVOID_TIERED_FILES = 'AvoidTieredFiles' } export enum ServerEndpointCreateParametersPropertiesLocalCacheMode { DOWNLOAD_NEW_AND_MODIFIED_FILES = 'DownloadNewAndModifiedFiles' , UPDATE_LOCALLY_CACHED_FILES = 'UpdateLocallyCachedFiles' } export enum ServerEndpointCreateParametersPropertiesOfflineDataTransfer { ON = 'on' , OFF = 'off' } export enum StorageSyncServicesPrivateEndpointConnectionsChildResourceApiVersion { "StorageSyncServicesPrivateEndpointConnectionsChildResourceApiVersion_2020_09_01" = '2020-09-01' } export enum StorageSyncServicesPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum StorageSyncServicesSyncGroupsChildResourceApiVersion { "StorageSyncServicesSyncGroupsChildResourceApiVersion_2020_09_01" = '2020-09-01' } schema export interface StorageSyncServicesSyncGroupsChildResourceProperties { } export enum StorageSyncServicesSyncGroupsChildResourceType { SYNC_GROUPS = 'syncGroups' } export enum StorageSyncServicesRegisteredServersChildResourceApiVersion { "StorageSyncServicesRegisteredServersChildResourceApiVersion_2020_09_01" = '2020-09-01' } export enum StorageSyncServicesRegisteredServersChildResourceType { REGISTERED_SERVERS = 'registeredServers' } export enum PrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' } export enum StorageSyncServicesSyncGroupsCloudEndpointsChildResourceApiVersion { "StorageSyncServicesSyncGroupsCloudEndpointsChildResourceApiVersion_2020_09_01" = '2020-09-01' } export enum StorageSyncServicesSyncGroupsCloudEndpointsChildResourceType { CLOUD_ENDPOINTS = 'cloudEndpoints' } export enum StorageSyncServicesSyncGroupsServerEndpointsChildResourceApiVersion { "StorageSyncServicesSyncGroupsServerEndpointsChildResourceApiVersion_2020_09_01" = '2020-09-01' } export enum StorageSyncServicesSyncGroupsServerEndpointsChildResourceType { SERVER_ENDPOINTS = 'serverEndpoints' }