@azure/arm-batch 9.2.1-alpha.20240925.1 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/CHANGELOG.md +63 -7
  2. package/dist/index.js +1215 -315
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/applicationCreateSample.js +1 -1
  7. package/dist-esm/samples-dev/applicationDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/applicationGetSample.js +1 -1
  9. package/dist-esm/samples-dev/applicationListSample.js +1 -1
  10. package/dist-esm/samples-dev/applicationPackageActivateSample.js +1 -1
  11. package/dist-esm/samples-dev/applicationPackageCreateSample.js +1 -1
  12. package/dist-esm/samples-dev/applicationPackageDeleteSample.js +1 -1
  13. package/dist-esm/samples-dev/applicationPackageGetSample.js +1 -1
  14. package/dist-esm/samples-dev/applicationPackageListSample.js +1 -1
  15. package/dist-esm/samples-dev/applicationUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/batchAccountCreateSample.js +5 -5
  17. package/dist-esm/samples-dev/batchAccountDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +1 -1
  19. package/dist-esm/samples-dev/batchAccountGetKeysSample.js +1 -1
  20. package/dist-esm/samples-dev/batchAccountGetSample.js +2 -2
  21. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +1 -1
  22. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +1 -1
  23. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +3 -3
  24. package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
  25. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
  26. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
  27. package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
  29. package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
  30. package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
  31. package/dist-esm/samples-dev/certificateGetSample.js +2 -2
  32. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
  33. package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
  34. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
  35. package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
  36. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
  37. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +39 -0
  40. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +1 -0
  41. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/{locationListSupportedCloudServiceSkusSample.js → networkSecurityPerimeterListConfigurationsSample.js} +9 -8
  44. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +1 -0
  45. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +39 -0
  48. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +1 -0
  49. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  50. package/dist-esm/samples-dev/poolCreateSample.js +50 -132
  51. package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
  52. package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
  53. package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
  54. package/dist-esm/samples-dev/poolGetSample.js +7 -7
  55. package/dist-esm/samples-dev/poolListByBatchAccountSample.js +2 -2
  56. package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
  57. package/dist-esm/samples-dev/poolUpdateSample.js +4 -4
  58. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
  59. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
  60. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +1 -1
  61. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +1 -1
  62. package/dist-esm/samples-dev/privateLinkResourceGetSample.js +1 -1
  63. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
  64. package/dist-esm/src/batchManagementClient.d.ts +2 -1
  65. package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
  66. package/dist-esm/src/batchManagementClient.js +5 -3
  67. package/dist-esm/src/batchManagementClient.js.map +1 -1
  68. package/dist-esm/src/models/index.d.ts +467 -46
  69. package/dist-esm/src/models/index.d.ts.map +1 -1
  70. package/dist-esm/src/models/index.js +92 -0
  71. package/dist-esm/src/models/index.js.map +1 -1
  72. package/dist-esm/src/models/mappers.d.ts +22 -3
  73. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  74. package/dist-esm/src/models/mappers.js +739 -120
  75. package/dist-esm/src/models/mappers.js.map +1 -1
  76. package/dist-esm/src/models/parameters.d.ts +1 -0
  77. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  78. package/dist-esm/src/models/parameters.js +14 -1
  79. package/dist-esm/src/models/parameters.js.map +1 -1
  80. package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
  81. package/dist-esm/src/operations/batchAccountOperations.js +2 -2
  82. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
  83. package/dist-esm/src/operations/index.d.ts +1 -0
  84. package/dist-esm/src/operations/index.d.ts.map +1 -1
  85. package/dist-esm/src/operations/index.js +1 -0
  86. package/dist-esm/src/operations/index.js.map +1 -1
  87. package/dist-esm/src/operations/location.d.ts +1 -23
  88. package/dist-esm/src/operations/location.d.ts.map +1 -1
  89. package/dist-esm/src/operations/location.js +0 -124
  90. package/dist-esm/src/operations/location.js.map +1 -1
  91. package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts +66 -0
  92. package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
  93. package/dist-esm/src/operations/networkSecurityPerimeterOperations.js +286 -0
  94. package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +1 -0
  95. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
  96. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  97. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  98. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  99. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  100. package/dist-esm/src/operationsInterfaces/location.d.ts +1 -7
  101. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -1
  102. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
  103. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
  105. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
  106. package/dist-esm/test/batch_examples.js +23 -45
  107. package/dist-esm/test/batch_examples.js.map +1 -1
  108. package/package.json +6 -5
  109. package/review/arm-batch.api.md +294 -44
  110. package/src/batchManagementClient.ts +7 -2
  111. package/src/models/index.ts +517 -53
  112. package/src/models/mappers.ts +781 -133
  113. package/src/models/parameters.ts +16 -1
  114. package/src/operations/batchAccountOperations.ts +42 -42
  115. package/src/operations/index.ts +1 -0
  116. package/src/operations/location.ts +0 -154
  117. package/src/operations/networkSecurityPerimeterOperations.ts +397 -0
  118. package/src/operationsInterfaces/batchAccountOperations.ts +1 -1
  119. package/src/operationsInterfaces/index.ts +1 -0
  120. package/src/operationsInterfaces/location.ts +0 -10
  121. package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +81 -0
  122. package/types/arm-batch.d.ts +575 -81
  123. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts +0 -2
  124. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts.map +0 -1
  125. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +0 -1
@@ -137,7 +137,7 @@ export interface PrivateLinkServiceConnectionState {
137
137
  readonly actionsRequired?: string;
138
138
  }
139
139
  /** A definition of an Azure resource. */
140
- export interface ProxyResource {
140
+ export interface AzureProxyResource {
141
141
  /**
142
142
  * The ID of the resource.
143
143
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -158,6 +158,10 @@ export interface ProxyResource {
158
158
  * NOTE: This property will not be serialized. It can only be populated by the server.
159
159
  */
160
160
  readonly etag?: string;
161
+ /** The tags of the resource. */
162
+ tags?: {
163
+ [propertyName: string]: string;
164
+ };
161
165
  }
162
166
  /** A VM Family and its associated core quota for the Batch account. */
163
167
  export interface VirtualMachineFamilyCoreQuota {
@@ -173,7 +177,7 @@ export interface VirtualMachineFamilyCoreQuota {
173
177
  readonly coreQuota?: number;
174
178
  }
175
179
  /** A definition of an Azure resource. */
176
- export interface Resource {
180
+ export interface AzureResource {
177
181
  /**
178
182
  * The ID of the resource.
179
183
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -453,18 +457,9 @@ export interface ListPoolsResult {
453
457
  }
454
458
  /** Deployment configuration properties. */
455
459
  export interface DeploymentConfiguration {
456
- /** This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch account was created with its poolAllocationMode property set to 'UserSubscription'. */
457
- cloudServiceConfiguration?: CloudServiceConfiguration;
458
- /** This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. */
460
+ /** The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure. */
459
461
  virtualMachineConfiguration?: VirtualMachineConfiguration;
460
462
  }
461
- /** The configuration for nodes in a pool based on the Azure Cloud Services platform. */
462
- export interface CloudServiceConfiguration {
463
- /** Possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. 6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases). */
464
- osFamily: string;
465
- /** The default value is * which specifies the latest operating system version for the specified OS family. */
466
- osVersion?: string;
467
- }
468
463
  /** The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure. */
469
464
  export interface VirtualMachineConfiguration {
470
465
  /** A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation. */
@@ -510,6 +505,10 @@ export interface ImageReference {
510
505
  version?: string;
511
506
  /** This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. */
512
507
  id?: string;
508
+ /** This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call. */
509
+ sharedGalleryImageId?: string;
510
+ /** This property is mutually exclusive with other properties and can be fetched from community gallery image GET call. */
511
+ communityGalleryImageId?: string;
513
512
  }
514
513
  /** Windows operating system settings to apply to the virtual machine. */
515
514
  export interface WindowsConfiguration {
@@ -611,11 +610,18 @@ export interface DiffDiskSettings {
611
610
  export interface ManagedDisk {
612
611
  /** The storage account type for use in creating data disks or OS disk. */
613
612
  storageAccountType?: StorageAccountType;
613
+ /** Specifies the security profile settings for the managed disk. **Note**: It can only be set for Confidential VMs and is required when using Confidential VMs. */
614
+ securityProfile?: VMDiskSecurityProfile;
615
+ }
616
+ /** Specifies the security profile settings for the managed disk. **Note**: It can only be set for Confidential VMs and is required when using Confidential VMs. */
617
+ export interface VMDiskSecurityProfile {
618
+ /** Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. **Note**: It can be set for only Confidential VMs and required when using Confidential VMs. */
619
+ securityEncryptionType?: SecurityEncryptionTypes;
614
620
  }
615
621
  /** Specifies the security profile settings for the virtual machine or virtual machine scale set. */
616
622
  export interface SecurityProfile {
617
623
  /** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. */
618
- securityType?: "trustedLaunch";
624
+ securityType?: SecurityTypes;
619
625
  /** This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. */
620
626
  encryptionAtHost?: boolean;
621
627
  /** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. */
@@ -678,13 +684,13 @@ export interface AutoScaleRunError {
678
684
  }
679
685
  /** The network configuration for a pool. */
680
686
  export interface NetworkConfiguration {
681
- /** The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration */
687
+ /** The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. Enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration */
682
688
  subnetId?: string;
683
689
  /** The scope of dynamic vnet assignment. */
684
690
  dynamicVnetAssignmentScope?: DynamicVNetAssignmentScope;
685
- /** Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property. */
691
+ /** The endpoint configuration for a pool. */
686
692
  endpointConfiguration?: PoolEndpointConfiguration;
687
- /** This property is only supported on Pools with the virtualMachineConfiguration property. */
693
+ /** The public IP Address configuration of the networking configuration of a Pool. */
688
694
  publicIPAddressConfiguration?: PublicIPAddressConfiguration;
689
695
  /** Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview. */
690
696
  enableAcceleratedNetworking?: boolean;
@@ -756,7 +762,7 @@ export interface LinuxUserConfiguration {
756
762
  }
757
763
  /** Properties used to create a user account on a Windows node. */
758
764
  export interface WindowsUserConfiguration {
759
- /** Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. */
765
+ /** Specifies login mode for the user. The default value is Interactive. */
760
766
  loginMode?: LoginMode;
761
767
  }
762
768
  /** The Batch service does not assign any meaning to this metadata; it is solely for the use of user code. */
@@ -831,14 +837,23 @@ export interface TaskContainerSettings {
831
837
  registry?: ContainerRegistry;
832
838
  /** A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'. */
833
839
  workingDirectory?: ContainerWorkingDirectory;
840
+ /** If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty. */
841
+ containerHostBatchBindMounts?: ContainerHostBatchBindMountEntry[];
842
+ }
843
+ /** The entry of path and mount mode you want to mount into task container. */
844
+ export interface ContainerHostBatchBindMountEntry {
845
+ /** The paths which will be mounted to container task's container. */
846
+ source?: ContainerHostDataPath;
847
+ /** For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path. */
848
+ isReadOnly?: boolean;
834
849
  }
835
850
  /** Warning: This object is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. */
836
851
  export interface CertificateReference {
837
852
  /** The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool. */
838
853
  id: string;
839
- /** The default value is currentUser. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory. */
854
+ /** The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory. */
840
855
  storeLocation?: CertificateStoreLocation;
841
- /** This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My. */
856
+ /** This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My. */
842
857
  storeName?: string;
843
858
  /** Which user accounts on the compute node should have access to the private data of the certificate. */
844
859
  visibility?: CertificateVisibility[];
@@ -943,7 +958,7 @@ export interface UpgradePolicy {
943
958
  mode: UpgradeMode;
944
959
  /** The configuration parameters used for performing automatic OS upgrade. */
945
960
  automaticOSUpgradePolicy?: AutomaticOSUpgradePolicy;
946
- /** This property is only supported on Pools with the virtualMachineConfiguration property. */
961
+ /** The configuration parameters used while performing a rolling upgrade. */
947
962
  rollingUpgradePolicy?: RollingUpgradePolicy;
948
963
  }
949
964
  /** The configuration parameters used for performing automatic OS upgrade. */
@@ -1032,13 +1047,222 @@ export interface EndpointDetail {
1032
1047
  */
1033
1048
  readonly port?: number;
1034
1049
  }
1050
+ /** Result of a list NSP (network security perimeter) configurations request. */
1051
+ export interface NetworkSecurityPerimeterConfigurationListResult {
1052
+ /** Array of network security perimeter results. */
1053
+ value?: NetworkSecurityPerimeterConfiguration[];
1054
+ /** The link used to get the next page of results. */
1055
+ nextLink?: string;
1056
+ }
1057
+ /** Network security configuration properties. */
1058
+ export interface NetworkSecurityPerimeterConfigurationProperties {
1059
+ /**
1060
+ * Provisioning state of a network security perimeter configuration that is being created or updated.
1061
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1062
+ */
1063
+ readonly provisioningState?: NetworkSecurityPerimeterConfigurationProvisioningState;
1064
+ /**
1065
+ * List of provisioning issues, if any
1066
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1067
+ */
1068
+ readonly provisioningIssues?: ProvisioningIssue[];
1069
+ /** Information about a network security perimeter (NSP) */
1070
+ networkSecurityPerimeter?: NetworkSecurityPerimeter;
1071
+ /** Information about resource association */
1072
+ resourceAssociation?: ResourceAssociation;
1073
+ /** Network security perimeter configuration profile */
1074
+ profile?: NetworkSecurityProfile;
1075
+ }
1076
+ /** Describes a provisioning issue for a network security perimeter configuration */
1077
+ export interface ProvisioningIssue {
1078
+ /**
1079
+ * Name of the issue
1080
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1081
+ */
1082
+ readonly name?: string;
1083
+ /**
1084
+ * Details of a provisioning issue for a network security perimeter (NSP) configuration. Resource providers should generate separate provisioning issue elements for each separate issue detected, and include a meaningful and distinctive description, as well as any appropriate suggestedResourceIds and suggestedAccessRules
1085
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1086
+ */
1087
+ readonly properties?: ProvisioningIssueProperties;
1088
+ }
1089
+ /** Details of a provisioning issue for a network security perimeter (NSP) configuration. Resource providers should generate separate provisioning issue elements for each separate issue detected, and include a meaningful and distinctive description, as well as any appropriate suggestedResourceIds and suggestedAccessRules */
1090
+ export interface ProvisioningIssueProperties {
1091
+ /**
1092
+ * Type of issue
1093
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1094
+ */
1095
+ readonly issueType?: IssueType;
1096
+ /**
1097
+ * Severity of the issue.
1098
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1099
+ */
1100
+ readonly severity?: Severity;
1101
+ /**
1102
+ * Description of the issue
1103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1104
+ */
1105
+ readonly description?: string;
1106
+ /**
1107
+ * Fully qualified resource IDs of suggested resources that can be associated to the network security perimeter (NSP) to remediate the issue.
1108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1109
+ */
1110
+ readonly suggestedResourceIds?: string[];
1111
+ /**
1112
+ * Access rules that can be added to the network security profile (NSP) to remediate the issue.
1113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1114
+ */
1115
+ readonly suggestedAccessRules?: AccessRule[];
1116
+ }
1117
+ /** Access rule in a network security perimeter configuration profile */
1118
+ export interface AccessRule {
1119
+ /** Name of the access rule */
1120
+ name?: string;
1121
+ /** Properties of Access Rule */
1122
+ properties?: AccessRuleProperties;
1123
+ }
1124
+ /** Properties of Access Rule */
1125
+ export interface AccessRuleProperties {
1126
+ /** Direction of Access Rule */
1127
+ direction?: AccessRuleDirection;
1128
+ /** Address prefixes in the CIDR format for inbound rules */
1129
+ addressPrefixes?: string[];
1130
+ /** Subscriptions for inbound rules */
1131
+ subscriptions?: AccessRulePropertiesSubscriptionsItem[];
1132
+ /** Network security perimeters for inbound rules */
1133
+ networkSecurityPerimeters?: NetworkSecurityPerimeter[];
1134
+ /** Fully qualified domain names (FQDN) for outbound rules */
1135
+ fullyQualifiedDomainNames?: string[];
1136
+ /** Email addresses for outbound rules */
1137
+ emailAddresses?: string[];
1138
+ /** Phone numbers for outbound rules */
1139
+ phoneNumbers?: string[];
1140
+ }
1141
+ /** Subscription identifiers */
1142
+ export interface AccessRulePropertiesSubscriptionsItem {
1143
+ /** The fully qualified Azure resource ID of the subscription e.g. ('/subscriptions/00000000-0000-0000-0000-000000000000') */
1144
+ id?: string;
1145
+ }
1146
+ /** Information about a network security perimeter (NSP) */
1147
+ export interface NetworkSecurityPerimeter {
1148
+ /** Fully qualified Azure resource ID of the NSP resource */
1149
+ id?: string;
1150
+ /** Universal unique ID (UUID) of the network security perimeter */
1151
+ perimeterGuid?: string;
1152
+ /** Location of the network security perimeter */
1153
+ location?: string;
1154
+ }
1155
+ /** Information about resource association */
1156
+ export interface ResourceAssociation {
1157
+ /** Name of the resource association */
1158
+ name?: string;
1159
+ /** Access mode of the resource association */
1160
+ accessMode?: ResourceAssociationAccessMode;
1161
+ }
1162
+ /** Network security perimeter configuration profile */
1163
+ export interface NetworkSecurityProfile {
1164
+ /** Name of the profile */
1165
+ name?: string;
1166
+ /** Current access rules version */
1167
+ accessRulesVersion?: number;
1168
+ /** List of Access Rules */
1169
+ accessRules?: AccessRule[];
1170
+ /** Current diagnostic settings version */
1171
+ diagnosticSettingsVersion?: number;
1172
+ /** List of log categories that are enabled */
1173
+ enabledLogCategories?: string[];
1174
+ }
1175
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1176
+ export interface Resource {
1177
+ /**
1178
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
1179
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1180
+ */
1181
+ readonly id?: string;
1182
+ /**
1183
+ * The name of the resource
1184
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1185
+ */
1186
+ readonly name?: string;
1187
+ /**
1188
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1189
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1190
+ */
1191
+ readonly type?: string;
1192
+ /**
1193
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1195
+ */
1196
+ readonly systemData?: SystemData;
1197
+ }
1198
+ /** Metadata pertaining to creation and last modification of the resource. */
1199
+ export interface SystemData {
1200
+ /** The identity that created the resource. */
1201
+ createdBy?: string;
1202
+ /** The type of identity that created the resource. */
1203
+ createdByType?: CreatedByType;
1204
+ /** The timestamp of resource creation (UTC). */
1205
+ createdAt?: Date;
1206
+ /** The identity that last modified the resource. */
1207
+ lastModifiedBy?: string;
1208
+ /** The type of identity that last modified the resource. */
1209
+ lastModifiedByType?: CreatedByType;
1210
+ /** The timestamp of resource last modification (UTC) */
1211
+ lastModifiedAt?: Date;
1212
+ }
1213
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1214
+ export interface ErrorResponse {
1215
+ /** The error object. */
1216
+ error?: ErrorDetail;
1217
+ }
1218
+ /** The error detail. */
1219
+ export interface ErrorDetail {
1220
+ /**
1221
+ * The error code.
1222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1223
+ */
1224
+ readonly code?: string;
1225
+ /**
1226
+ * The error message.
1227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1228
+ */
1229
+ readonly message?: string;
1230
+ /**
1231
+ * The error target.
1232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1233
+ */
1234
+ readonly target?: string;
1235
+ /**
1236
+ * The error details.
1237
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1238
+ */
1239
+ readonly details?: ErrorDetail[];
1240
+ /**
1241
+ * The error additional info.
1242
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1243
+ */
1244
+ readonly additionalInfo?: ErrorAdditionalInfo[];
1245
+ }
1246
+ /** The resource management error additional info. */
1247
+ export interface ErrorAdditionalInfo {
1248
+ /**
1249
+ * The additional info type.
1250
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1251
+ */
1252
+ readonly type?: string;
1253
+ /**
1254
+ * The additional info.
1255
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1256
+ */
1257
+ readonly info?: Record<string, unknown>;
1258
+ }
1035
1259
  /** Contains information about the auto-storage account associated with a Batch account. */
1036
1260
  export interface AutoStorageProperties extends AutoStorageBaseProperties {
1037
1261
  /** The UTC time at which storage keys were last synchronized with the Batch account. */
1038
1262
  lastKeySync: Date;
1039
1263
  }
1040
1264
  /** Contains information about a private link resource. */
1041
- export interface PrivateEndpointConnection extends ProxyResource {
1265
+ export interface PrivateEndpointConnection extends AzureProxyResource {
1042
1266
  /**
1043
1267
  * The provisioning state of the private endpoint connection.
1044
1268
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1058,7 +1282,7 @@ export interface PrivateEndpointConnection extends ProxyResource {
1058
1282
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1059
1283
  }
1060
1284
  /** An application package which represents a particular version of an application. */
1061
- export interface ApplicationPackage extends ProxyResource {
1285
+ export interface ApplicationPackage extends AzureProxyResource {
1062
1286
  /**
1063
1287
  * The current state of the application package.
1064
1288
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1086,7 +1310,7 @@ export interface ApplicationPackage extends ProxyResource {
1086
1310
  readonly lastActivationTime?: Date;
1087
1311
  }
1088
1312
  /** Contains information about an application in a Batch account. */
1089
- export interface Application extends ProxyResource {
1313
+ export interface Application extends AzureProxyResource {
1090
1314
  /** The display name for the application. */
1091
1315
  displayName?: string;
1092
1316
  /** A value indicating whether packages within the application may be overwritten using the same version string. */
@@ -1095,7 +1319,7 @@ export interface Application extends ProxyResource {
1095
1319
  defaultVersion?: string;
1096
1320
  }
1097
1321
  /** Contains information about a certificate. */
1098
- export interface Certificate extends ProxyResource {
1322
+ export interface Certificate extends AzureProxyResource {
1099
1323
  /** This must match the first portion of the certificate name. Currently required to be 'SHA1'. */
1100
1324
  thumbprintAlgorithm?: string;
1101
1325
  /** This must match the thumbprint from the name. */
@@ -1131,7 +1355,7 @@ export interface Certificate extends ProxyResource {
1131
1355
  readonly deleteCertificateError?: DeleteCertificateError;
1132
1356
  }
1133
1357
  /** Contains information about a certificate. */
1134
- export interface CertificateCreateOrUpdateParameters extends ProxyResource {
1358
+ export interface CertificateCreateOrUpdateParameters extends AzureProxyResource {
1135
1359
  /** This must match the first portion of the certificate name. Currently required to be 'SHA1'. */
1136
1360
  thumbprintAlgorithm?: string;
1137
1361
  /** This must match the thumbprint from the name. */
@@ -1144,12 +1368,12 @@ export interface CertificateCreateOrUpdateParameters extends ProxyResource {
1144
1368
  password?: string;
1145
1369
  }
1146
1370
  /** Contains the information for a detector. */
1147
- export interface DetectorResponse extends ProxyResource {
1371
+ export interface DetectorResponse extends AzureProxyResource {
1148
1372
  /** A base64 encoded string that represents the content of a detector. */
1149
1373
  value?: string;
1150
1374
  }
1151
1375
  /** Contains information about a private link resource. */
1152
- export interface PrivateLinkResource extends ProxyResource {
1376
+ export interface PrivateLinkResource extends AzureProxyResource {
1153
1377
  /**
1154
1378
  * The group id is used to establish the private link connection.
1155
1379
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1167,7 +1391,7 @@ export interface PrivateLinkResource extends ProxyResource {
1167
1391
  readonly requiredZoneNames?: string[];
1168
1392
  }
1169
1393
  /** Contains information about a pool. */
1170
- export interface Pool extends ProxyResource {
1394
+ export interface Pool extends AzureProxyResource {
1171
1395
  /** The type of identity used for the Batch Pool. */
1172
1396
  identity?: BatchPoolIdentity;
1173
1397
  /** The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. */
@@ -1202,9 +1426,9 @@ export interface Pool extends ProxyResource {
1202
1426
  * NOTE: This property will not be serialized. It can only be populated by the server.
1203
1427
  */
1204
1428
  readonly allocationStateTransitionTime?: Date;
1205
- /** For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). */
1429
+ /** For information about available VM sizes, see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). */
1206
1430
  vmSize?: string;
1207
- /** Using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS). */
1431
+ /** Deployment configuration properties. */
1208
1432
  deploymentConfiguration?: DeploymentConfiguration;
1209
1433
  /**
1210
1434
  * The number of dedicated compute nodes currently in the pool.
@@ -1269,7 +1493,7 @@ export interface Pool extends ProxyResource {
1269
1493
  };
1270
1494
  }
1271
1495
  /** Contains information about an Azure Batch account. */
1272
- export interface BatchAccount extends Resource {
1496
+ export interface BatchAccount extends AzureResource {
1273
1497
  /** The identity of the Batch account. */
1274
1498
  identity?: BatchAccountIdentity;
1275
1499
  /**
@@ -1389,6 +1613,14 @@ export interface CertificateCreateOrUpdateProperties extends CertificateBaseProp
1389
1613
  /** This must not be specified if the certificate format is Cer. */
1390
1614
  password?: string;
1391
1615
  }
1616
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1617
+ export interface ProxyResource extends Resource {
1618
+ }
1619
+ /** Network security perimeter (NSP) configuration resource */
1620
+ export interface NetworkSecurityPerimeterConfiguration extends ProxyResource {
1621
+ /** Network security configuration properties. */
1622
+ properties?: NetworkSecurityPerimeterConfigurationProperties;
1623
+ }
1392
1624
  /** Defines headers for BatchAccount_create operation. */
1393
1625
  export interface BatchAccountCreateHeaders {
1394
1626
  /** The URL of the resource used to check the status of the asynchronous operation. */
@@ -1476,6 +1708,13 @@ export interface PoolStopResizeHeaders {
1476
1708
  /** The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers. */
1477
1709
  eTag?: string;
1478
1710
  }
1711
+ /** Defines headers for NetworkSecurityPerimeter_reconcileConfiguration operation. */
1712
+ export interface NetworkSecurityPerimeterReconcileConfigurationHeaders {
1713
+ /** The URL of the resource used to check the status of the asynchronous operation. */
1714
+ location?: string;
1715
+ /** Suggested delay to check the status of the asynchronous operation. The value is an integer that specifies the delay in seconds. */
1716
+ retryAfter?: number;
1717
+ }
1479
1718
  /** Known values of {@link ContainerType} that the service accepts. */
1480
1719
  export declare enum KnownContainerType {
1481
1720
  /** A Docker compatible container technology will be used to launch the containers. */
@@ -1492,12 +1731,182 @@ export declare enum KnownContainerType {
1492
1731
  * **CriCompatible**: A CRI based technology will be used to launch the containers.
1493
1732
  */
1494
1733
  export type ContainerType = string;
1734
+ /** Known values of {@link SecurityEncryptionTypes} that the service accepts. */
1735
+ export declare enum KnownSecurityEncryptionTypes {
1736
+ /** NonPersistedTPM */
1737
+ NonPersistedTPM = "NonPersistedTPM",
1738
+ /** VMGuestStateOnly */
1739
+ VMGuestStateOnly = "VMGuestStateOnly"
1740
+ }
1741
+ /**
1742
+ * Defines values for SecurityEncryptionTypes. \
1743
+ * {@link KnownSecurityEncryptionTypes} can be used interchangeably with SecurityEncryptionTypes,
1744
+ * this enum contains the known values that the service supports.
1745
+ * ### Known values supported by the service
1746
+ * **NonPersistedTPM** \
1747
+ * **VMGuestStateOnly**
1748
+ */
1749
+ export type SecurityEncryptionTypes = string;
1750
+ /** Known values of {@link ContainerHostDataPath} that the service accepts. */
1751
+ export declare enum KnownContainerHostDataPath {
1752
+ /** The path for multi-instances task to shared their files. */
1753
+ Shared = "Shared",
1754
+ /** The path for start task. */
1755
+ Startup = "Startup",
1756
+ /** The path contains all virtual file systems are mounted on this node. */
1757
+ VfsMounts = "VfsMounts",
1758
+ /** The task path. */
1759
+ Task = "Task",
1760
+ /** The job-prep task path. */
1761
+ JobPrep = "JobPrep",
1762
+ /** The applications path. */
1763
+ Applications = "Applications"
1764
+ }
1765
+ /**
1766
+ * Defines values for ContainerHostDataPath. \
1767
+ * {@link KnownContainerHostDataPath} can be used interchangeably with ContainerHostDataPath,
1768
+ * this enum contains the known values that the service supports.
1769
+ * ### Known values supported by the service
1770
+ * **Shared**: The path for multi-instances task to shared their files. \
1771
+ * **Startup**: The path for start task. \
1772
+ * **VfsMounts**: The path contains all virtual file systems are mounted on this node. \
1773
+ * **Task**: The task path. \
1774
+ * **JobPrep**: The job-prep task path. \
1775
+ * **Applications**: The applications path.
1776
+ */
1777
+ export type ContainerHostDataPath = string;
1778
+ /** Known values of {@link NetworkSecurityPerimeterConfigurationProvisioningState} that the service accepts. */
1779
+ export declare enum KnownNetworkSecurityPerimeterConfigurationProvisioningState {
1780
+ /** Succeeded */
1781
+ Succeeded = "Succeeded",
1782
+ /** Creating */
1783
+ Creating = "Creating",
1784
+ /** Updating */
1785
+ Updating = "Updating",
1786
+ /** Deleting */
1787
+ Deleting = "Deleting",
1788
+ /** Accepted */
1789
+ Accepted = "Accepted",
1790
+ /** Failed */
1791
+ Failed = "Failed",
1792
+ /** Canceled */
1793
+ Canceled = "Canceled"
1794
+ }
1795
+ /**
1796
+ * Defines values for NetworkSecurityPerimeterConfigurationProvisioningState. \
1797
+ * {@link KnownNetworkSecurityPerimeterConfigurationProvisioningState} can be used interchangeably with NetworkSecurityPerimeterConfigurationProvisioningState,
1798
+ * this enum contains the known values that the service supports.
1799
+ * ### Known values supported by the service
1800
+ * **Succeeded** \
1801
+ * **Creating** \
1802
+ * **Updating** \
1803
+ * **Deleting** \
1804
+ * **Accepted** \
1805
+ * **Failed** \
1806
+ * **Canceled**
1807
+ */
1808
+ export type NetworkSecurityPerimeterConfigurationProvisioningState = string;
1809
+ /** Known values of {@link IssueType} that the service accepts. */
1810
+ export declare enum KnownIssueType {
1811
+ /** Unknown issue type */
1812
+ Unknown = "Unknown",
1813
+ /** An error occurred while applying the network security perimeter (NSP) configuration. */
1814
+ ConfigurationPropagationFailure = "ConfigurationPropagationFailure",
1815
+ /** A network connectivity issue is happening on the resource which could be addressed either by adding new resources to the network security perimeter (NSP) or by modifying access rules. */
1816
+ MissingPerimeterConfiguration = "MissingPerimeterConfiguration",
1817
+ /** An managed identity hasn't been associated with the resource. The resource will still be able to validate inbound traffic from the network security perimeter (NSP) or matching inbound access rules, but it won't be able to perform outbound access as a member of the NSP. */
1818
+ MissingIdentityConfiguration = "MissingIdentityConfiguration"
1819
+ }
1820
+ /**
1821
+ * Defines values for IssueType. \
1822
+ * {@link KnownIssueType} can be used interchangeably with IssueType,
1823
+ * this enum contains the known values that the service supports.
1824
+ * ### Known values supported by the service
1825
+ * **Unknown**: Unknown issue type \
1826
+ * **ConfigurationPropagationFailure**: An error occurred while applying the network security perimeter (NSP) configuration. \
1827
+ * **MissingPerimeterConfiguration**: A network connectivity issue is happening on the resource which could be addressed either by adding new resources to the network security perimeter (NSP) or by modifying access rules. \
1828
+ * **MissingIdentityConfiguration**: An managed identity hasn't been associated with the resource. The resource will still be able to validate inbound traffic from the network security perimeter (NSP) or matching inbound access rules, but it won't be able to perform outbound access as a member of the NSP.
1829
+ */
1830
+ export type IssueType = string;
1831
+ /** Known values of {@link Severity} that the service accepts. */
1832
+ export declare enum KnownSeverity {
1833
+ /** Warning */
1834
+ Warning = "Warning",
1835
+ /** Error */
1836
+ Error = "Error"
1837
+ }
1838
+ /**
1839
+ * Defines values for Severity. \
1840
+ * {@link KnownSeverity} can be used interchangeably with Severity,
1841
+ * this enum contains the known values that the service supports.
1842
+ * ### Known values supported by the service
1843
+ * **Warning** \
1844
+ * **Error**
1845
+ */
1846
+ export type Severity = string;
1847
+ /** Known values of {@link AccessRuleDirection} that the service accepts. */
1848
+ export declare enum KnownAccessRuleDirection {
1849
+ /** Applies to inbound network traffic to the secured resources. */
1850
+ Inbound = "Inbound",
1851
+ /** Applies to outbound network traffic from the secured resources */
1852
+ Outbound = "Outbound"
1853
+ }
1854
+ /**
1855
+ * Defines values for AccessRuleDirection. \
1856
+ * {@link KnownAccessRuleDirection} can be used interchangeably with AccessRuleDirection,
1857
+ * this enum contains the known values that the service supports.
1858
+ * ### Known values supported by the service
1859
+ * **Inbound**: Applies to inbound network traffic to the secured resources. \
1860
+ * **Outbound**: Applies to outbound network traffic from the secured resources
1861
+ */
1862
+ export type AccessRuleDirection = string;
1863
+ /** Known values of {@link ResourceAssociationAccessMode} that the service accepts. */
1864
+ export declare enum KnownResourceAssociationAccessMode {
1865
+ /** Enforced access mode - traffic to the resource that failed access checks is blocked */
1866
+ Enforced = "Enforced",
1867
+ /** Learning access mode - traffic to the resource is enabled for analysis but not blocked */
1868
+ Learning = "Learning",
1869
+ /** Audit access mode - traffic to the resource that fails access checks is logged but not blocked */
1870
+ Audit = "Audit"
1871
+ }
1872
+ /**
1873
+ * Defines values for ResourceAssociationAccessMode. \
1874
+ * {@link KnownResourceAssociationAccessMode} can be used interchangeably with ResourceAssociationAccessMode,
1875
+ * this enum contains the known values that the service supports.
1876
+ * ### Known values supported by the service
1877
+ * **Enforced**: Enforced access mode - traffic to the resource that failed access checks is blocked \
1878
+ * **Learning**: Learning access mode - traffic to the resource is enabled for analysis but not blocked \
1879
+ * **Audit**: Audit access mode - traffic to the resource that fails access checks is logged but not blocked
1880
+ */
1881
+ export type ResourceAssociationAccessMode = string;
1882
+ /** Known values of {@link CreatedByType} that the service accepts. */
1883
+ export declare enum KnownCreatedByType {
1884
+ /** User */
1885
+ User = "User",
1886
+ /** Application */
1887
+ Application = "Application",
1888
+ /** ManagedIdentity */
1889
+ ManagedIdentity = "ManagedIdentity",
1890
+ /** Key */
1891
+ Key = "Key"
1892
+ }
1893
+ /**
1894
+ * Defines values for CreatedByType. \
1895
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1896
+ * this enum contains the known values that the service supports.
1897
+ * ### Known values supported by the service
1898
+ * **User** \
1899
+ * **Application** \
1900
+ * **ManagedIdentity** \
1901
+ * **Key**
1902
+ */
1903
+ export type CreatedByType = string;
1495
1904
  /** Defines values for AutoStorageAuthenticationMode. */
1496
1905
  export type AutoStorageAuthenticationMode = "StorageKeys" | "BatchAccountManagedIdentity";
1497
1906
  /** Defines values for PoolAllocationMode. */
1498
1907
  export type PoolAllocationMode = "BatchService" | "UserSubscription";
1499
1908
  /** Defines values for PublicNetworkAccessType. */
1500
- export type PublicNetworkAccessType = "Enabled" | "Disabled";
1909
+ export type PublicNetworkAccessType = "Enabled" | "Disabled" | "SecuredByPerimeter";
1501
1910
  /** Defines values for EndpointAccessDefaultAction. */
1502
1911
  export type EndpointAccessDefaultAction = "Allow" | "Deny";
1503
1912
  /** Defines values for KeySource. */
@@ -1534,6 +1943,8 @@ export type StorageAccountType = "Standard_LRS" | "Premium_LRS" | "StandardSSD_L
1534
1943
  export type DiskEncryptionTarget = "OsDisk" | "TemporaryDisk";
1535
1944
  /** Defines values for NodePlacementPolicyType. */
1536
1945
  export type NodePlacementPolicyType = "Regional" | "Zonal";
1946
+ /** Defines values for SecurityTypes. */
1947
+ export type SecurityTypes = "trustedLaunch" | "confidentialVM";
1537
1948
  /** Defines values for ComputeNodeDeallocationOption. */
1538
1949
  export type ComputeNodeDeallocationOption = "Requeue" | "Terminate" | "TaskCompletion" | "RetainedData";
1539
1950
  /** Defines values for InterNodeCommunicationState. */
@@ -1729,15 +2140,6 @@ export interface LocationListSupportedVirtualMachineSkusOptionalParams extends c
1729
2140
  /** Contains response data for the listSupportedVirtualMachineSkus operation. */
1730
2141
  export type LocationListSupportedVirtualMachineSkusResponse = SupportedSkusResult;
1731
2142
  /** Optional parameters. */
1732
- export interface LocationListSupportedCloudServiceSkusOptionalParams extends coreClient.OperationOptions {
1733
- /** The maximum number of items to return in the response. */
1734
- maxresults?: number;
1735
- /** OData filter expression. Valid properties for filtering are "familyName". */
1736
- filter?: string;
1737
- }
1738
- /** Contains response data for the listSupportedCloudServiceSkus operation. */
1739
- export type LocationListSupportedCloudServiceSkusResponse = SupportedSkusResult;
1740
- /** Optional parameters. */
1741
2143
  export interface LocationCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1742
2144
  }
1743
2145
  /** Contains response data for the checkNameAvailability operation. */
@@ -1748,11 +2150,6 @@ export interface LocationListSupportedVirtualMachineSkusNextOptionalParams exten
1748
2150
  /** Contains response data for the listSupportedVirtualMachineSkusNext operation. */
1749
2151
  export type LocationListSupportedVirtualMachineSkusNextResponse = SupportedSkusResult;
1750
2152
  /** Optional parameters. */
1751
- export interface LocationListSupportedCloudServiceSkusNextOptionalParams extends coreClient.OperationOptions {
1752
- }
1753
- /** Contains response data for the listSupportedCloudServiceSkusNext operation. */
1754
- export type LocationListSupportedCloudServiceSkusNextResponse = SupportedSkusResult;
1755
- /** Optional parameters. */
1756
2153
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1757
2154
  }
1758
2155
  /** Contains response data for the list operation. */
@@ -1934,6 +2331,30 @@ export interface PoolListByBatchAccountNextOptionalParams extends coreClient.Ope
1934
2331
  /** Contains response data for the listByBatchAccountNext operation. */
1935
2332
  export type PoolListByBatchAccountNextResponse = ListPoolsResult;
1936
2333
  /** Optional parameters. */
2334
+ export interface NetworkSecurityPerimeterListConfigurationsOptionalParams extends coreClient.OperationOptions {
2335
+ }
2336
+ /** Contains response data for the listConfigurations operation. */
2337
+ export type NetworkSecurityPerimeterListConfigurationsResponse = NetworkSecurityPerimeterConfigurationListResult;
2338
+ /** Optional parameters. */
2339
+ export interface NetworkSecurityPerimeterGetConfigurationOptionalParams extends coreClient.OperationOptions {
2340
+ }
2341
+ /** Contains response data for the getConfiguration operation. */
2342
+ export type NetworkSecurityPerimeterGetConfigurationResponse = NetworkSecurityPerimeterConfiguration;
2343
+ /** Optional parameters. */
2344
+ export interface NetworkSecurityPerimeterReconcileConfigurationOptionalParams extends coreClient.OperationOptions {
2345
+ /** Delay to wait until next poll, in milliseconds. */
2346
+ updateIntervalInMs?: number;
2347
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2348
+ resumeFrom?: string;
2349
+ }
2350
+ /** Contains response data for the reconcileConfiguration operation. */
2351
+ export type NetworkSecurityPerimeterReconcileConfigurationResponse = NetworkSecurityPerimeterReconcileConfigurationHeaders;
2352
+ /** Optional parameters. */
2353
+ export interface NetworkSecurityPerimeterListConfigurationsNextOptionalParams extends coreClient.OperationOptions {
2354
+ }
2355
+ /** Contains response data for the listConfigurationsNext operation. */
2356
+ export type NetworkSecurityPerimeterListConfigurationsNextResponse = NetworkSecurityPerimeterConfigurationListResult;
2357
+ /** Optional parameters. */
1937
2358
  export interface BatchManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1938
2359
  /** server parameter */
1939
2360
  $host?: string;