@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.
- package/CHANGELOG.md +63 -7
- package/dist/index.js +1215 -315
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationListSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageActivateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageListSample.js +1 -1
- package/dist-esm/samples-dev/applicationUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountCreateSample.js +5 -5
- package/dist-esm/samples-dev/batchAccountDeleteSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetSample.js +2 -2
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +3 -3
- package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
- package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
- package/dist-esm/samples-dev/certificateGetSample.js +2 -2
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{locationListSupportedCloudServiceSkusSample.js → networkSecurityPerimeterListConfigurationsSample.js} +9 -8
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolCreateSample.js +50 -132
- package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
- package/dist-esm/samples-dev/poolGetSample.js +7 -7
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
- package/dist-esm/samples-dev/poolUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
- package/dist-esm/src/batchManagementClient.d.ts +2 -1
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +5 -3
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +467 -46
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +92 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +22 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +739 -120
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +14 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
- package/dist-esm/src/operations/batchAccountOperations.js +2 -2
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/location.d.ts +1 -23
- package/dist-esm/src/operations/location.d.ts.map +1 -1
- package/dist-esm/src/operations/location.js +0 -124
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts +66 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js +286 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/location.d.ts +1 -7
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist-esm/test/batch_examples.js +23 -45
- package/dist-esm/test/batch_examples.js.map +1 -1
- package/package.json +6 -5
- package/review/arm-batch.api.md +294 -44
- package/src/batchManagementClient.ts +7 -2
- package/src/models/index.ts +517 -53
- package/src/models/mappers.ts +781 -133
- package/src/models/parameters.ts +16 -1
- package/src/operations/batchAccountOperations.ts +42 -42
- package/src/operations/index.ts +1 -0
- package/src/operations/location.ts +0 -154
- package/src/operations/networkSecurityPerimeterOperations.ts +397 -0
- package/src/operationsInterfaces/batchAccountOperations.ts +1 -1
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/location.ts +0 -10
- package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +81 -0
- package/types/arm-batch.d.ts +575 -81
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +0 -1
package/review/arm-batch.api.md
CHANGED
|
@@ -10,6 +10,31 @@ import { OperationState } from '@azure/core-lro';
|
|
|
10
10
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
11
11
|
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
12
|
|
|
13
|
+
// @public
|
|
14
|
+
export interface AccessRule {
|
|
15
|
+
name?: string;
|
|
16
|
+
properties?: AccessRuleProperties;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// @public
|
|
20
|
+
export type AccessRuleDirection = string;
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export interface AccessRuleProperties {
|
|
24
|
+
addressPrefixes?: string[];
|
|
25
|
+
direction?: AccessRuleDirection;
|
|
26
|
+
emailAddresses?: string[];
|
|
27
|
+
fullyQualifiedDomainNames?: string[];
|
|
28
|
+
networkSecurityPerimeters?: NetworkSecurityPerimeter[];
|
|
29
|
+
phoneNumbers?: string[];
|
|
30
|
+
subscriptions?: AccessRulePropertiesSubscriptionsItem[];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// @public
|
|
34
|
+
export interface AccessRulePropertiesSubscriptionsItem {
|
|
35
|
+
id?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
13
38
|
// @public
|
|
14
39
|
export type AccountKeyType = "Primary" | "Secondary";
|
|
15
40
|
|
|
@@ -22,7 +47,7 @@ export interface ActivateApplicationPackageParameters {
|
|
|
22
47
|
export type AllocationState = "Steady" | "Resizing" | "Stopping";
|
|
23
48
|
|
|
24
49
|
// @public
|
|
25
|
-
export interface Application extends
|
|
50
|
+
export interface Application extends AzureProxyResource {
|
|
26
51
|
allowUpdates?: boolean;
|
|
27
52
|
defaultVersion?: string;
|
|
28
53
|
displayName?: string;
|
|
@@ -72,7 +97,7 @@ export interface ApplicationOperations {
|
|
|
72
97
|
}
|
|
73
98
|
|
|
74
99
|
// @public
|
|
75
|
-
export interface ApplicationPackage extends
|
|
100
|
+
export interface ApplicationPackage extends AzureProxyResource {
|
|
76
101
|
readonly format?: string;
|
|
77
102
|
readonly lastActivationTime?: Date;
|
|
78
103
|
readonly state?: PackageState;
|
|
@@ -219,7 +244,29 @@ export interface AzureFileShareConfiguration {
|
|
|
219
244
|
}
|
|
220
245
|
|
|
221
246
|
// @public
|
|
222
|
-
export interface
|
|
247
|
+
export interface AzureProxyResource {
|
|
248
|
+
readonly etag?: string;
|
|
249
|
+
readonly id?: string;
|
|
250
|
+
readonly name?: string;
|
|
251
|
+
tags?: {
|
|
252
|
+
[propertyName: string]: string;
|
|
253
|
+
};
|
|
254
|
+
readonly type?: string;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// @public
|
|
258
|
+
export interface AzureResource {
|
|
259
|
+
readonly id?: string;
|
|
260
|
+
readonly location?: string;
|
|
261
|
+
readonly name?: string;
|
|
262
|
+
readonly tags?: {
|
|
263
|
+
[propertyName: string]: string;
|
|
264
|
+
};
|
|
265
|
+
readonly type?: string;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// @public
|
|
269
|
+
export interface BatchAccount extends AzureResource {
|
|
223
270
|
readonly accountEndpoint?: string;
|
|
224
271
|
readonly activeJobAndJobScheduleQuota?: number;
|
|
225
272
|
readonly allowedAuthenticationModes?: AuthenticationMode[];
|
|
@@ -460,6 +507,8 @@ export class BatchManagementClient extends coreClient.ServiceClient {
|
|
|
460
507
|
// (undocumented)
|
|
461
508
|
location: Location_2;
|
|
462
509
|
// (undocumented)
|
|
510
|
+
networkSecurityPerimeterOperations: NetworkSecurityPerimeterOperations;
|
|
511
|
+
// (undocumented)
|
|
463
512
|
operations: Operations;
|
|
464
513
|
// (undocumented)
|
|
465
514
|
poolOperations: PoolOperations;
|
|
@@ -490,7 +539,7 @@ export interface BatchPoolIdentity {
|
|
|
490
539
|
export type CachingType = "None" | "ReadOnly" | "ReadWrite";
|
|
491
540
|
|
|
492
541
|
// @public
|
|
493
|
-
export interface Certificate extends
|
|
542
|
+
export interface Certificate extends AzureProxyResource {
|
|
494
543
|
readonly deleteCertificateError?: DeleteCertificateError;
|
|
495
544
|
format?: CertificateFormat;
|
|
496
545
|
readonly previousProvisioningState?: CertificateProvisioningState;
|
|
@@ -533,7 +582,7 @@ export interface CertificateCreateOptionalParams extends coreClient.OperationOpt
|
|
|
533
582
|
}
|
|
534
583
|
|
|
535
584
|
// @public
|
|
536
|
-
export interface CertificateCreateOrUpdateParameters extends
|
|
585
|
+
export interface CertificateCreateOrUpdateParameters extends AzureProxyResource {
|
|
537
586
|
data?: string;
|
|
538
587
|
format?: CertificateFormat;
|
|
539
588
|
password?: string;
|
|
@@ -680,12 +729,6 @@ export interface CloudErrorBody {
|
|
|
680
729
|
target?: string;
|
|
681
730
|
}
|
|
682
731
|
|
|
683
|
-
// @public
|
|
684
|
-
export interface CloudServiceConfiguration {
|
|
685
|
-
osFamily: string;
|
|
686
|
-
osVersion?: string;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
732
|
// @public
|
|
690
733
|
export type ComputeNodeDeallocationOption = "Requeue" | "Terminate" | "TaskCompletion" | "RetainedData";
|
|
691
734
|
|
|
@@ -704,6 +747,15 @@ export interface ContainerConfiguration {
|
|
|
704
747
|
type: ContainerType;
|
|
705
748
|
}
|
|
706
749
|
|
|
750
|
+
// @public
|
|
751
|
+
export interface ContainerHostBatchBindMountEntry {
|
|
752
|
+
isReadOnly?: boolean;
|
|
753
|
+
source?: ContainerHostDataPath;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
// @public
|
|
757
|
+
export type ContainerHostDataPath = string;
|
|
758
|
+
|
|
707
759
|
// @public
|
|
708
760
|
export interface ContainerRegistry {
|
|
709
761
|
identityReference?: ComputeNodeIdentityReference;
|
|
@@ -718,6 +770,9 @@ export type ContainerType = string;
|
|
|
718
770
|
// @public
|
|
719
771
|
export type ContainerWorkingDirectory = "TaskWorkingDirectory" | "ContainerImageDefault";
|
|
720
772
|
|
|
773
|
+
// @public
|
|
774
|
+
export type CreatedByType = string;
|
|
775
|
+
|
|
721
776
|
// @public
|
|
722
777
|
export interface DataDisk {
|
|
723
778
|
caching?: CachingType;
|
|
@@ -736,7 +791,6 @@ export interface DeleteCertificateError {
|
|
|
736
791
|
|
|
737
792
|
// @public
|
|
738
793
|
export interface DeploymentConfiguration {
|
|
739
|
-
cloudServiceConfiguration?: CloudServiceConfiguration;
|
|
740
794
|
virtualMachineConfiguration?: VirtualMachineConfiguration;
|
|
741
795
|
}
|
|
742
796
|
|
|
@@ -747,7 +801,7 @@ export interface DetectorListResult {
|
|
|
747
801
|
}
|
|
748
802
|
|
|
749
803
|
// @public
|
|
750
|
-
export interface DetectorResponse extends
|
|
804
|
+
export interface DetectorResponse extends AzureProxyResource {
|
|
751
805
|
value?: string;
|
|
752
806
|
}
|
|
753
807
|
|
|
@@ -803,6 +857,26 @@ export interface EnvironmentSetting {
|
|
|
803
857
|
value?: string;
|
|
804
858
|
}
|
|
805
859
|
|
|
860
|
+
// @public
|
|
861
|
+
export interface ErrorAdditionalInfo {
|
|
862
|
+
readonly info?: Record<string, unknown>;
|
|
863
|
+
readonly type?: string;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
// @public
|
|
867
|
+
export interface ErrorDetail {
|
|
868
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
869
|
+
readonly code?: string;
|
|
870
|
+
readonly details?: ErrorDetail[];
|
|
871
|
+
readonly message?: string;
|
|
872
|
+
readonly target?: string;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
// @public
|
|
876
|
+
export interface ErrorResponse {
|
|
877
|
+
error?: ErrorDetail;
|
|
878
|
+
}
|
|
879
|
+
|
|
806
880
|
// @public
|
|
807
881
|
export interface FixedScaleSettings {
|
|
808
882
|
nodeDeallocationOption?: ComputeNodeDeallocationOption;
|
|
@@ -816,9 +890,11 @@ export function getContinuationToken(page: unknown): string | undefined;
|
|
|
816
890
|
|
|
817
891
|
// @public
|
|
818
892
|
export interface ImageReference {
|
|
893
|
+
communityGalleryImageId?: string;
|
|
819
894
|
id?: string;
|
|
820
895
|
offer?: string;
|
|
821
896
|
publisher?: string;
|
|
897
|
+
sharedGalleryImageId?: string;
|
|
822
898
|
sku?: string;
|
|
823
899
|
version?: string;
|
|
824
900
|
}
|
|
@@ -848,6 +924,9 @@ export interface IPRule {
|
|
|
848
924
|
value: string;
|
|
849
925
|
}
|
|
850
926
|
|
|
927
|
+
// @public
|
|
928
|
+
export type IssueType = string;
|
|
929
|
+
|
|
851
930
|
// @public
|
|
852
931
|
export type KeySource = "Microsoft.Batch" | "Microsoft.KeyVault";
|
|
853
932
|
|
|
@@ -862,12 +941,74 @@ export interface KeyVaultReference {
|
|
|
862
941
|
url: string;
|
|
863
942
|
}
|
|
864
943
|
|
|
944
|
+
// @public
|
|
945
|
+
export enum KnownAccessRuleDirection {
|
|
946
|
+
Inbound = "Inbound",
|
|
947
|
+
Outbound = "Outbound"
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
// @public
|
|
951
|
+
export enum KnownContainerHostDataPath {
|
|
952
|
+
Applications = "Applications",
|
|
953
|
+
JobPrep = "JobPrep",
|
|
954
|
+
Shared = "Shared",
|
|
955
|
+
Startup = "Startup",
|
|
956
|
+
Task = "Task",
|
|
957
|
+
VfsMounts = "VfsMounts"
|
|
958
|
+
}
|
|
959
|
+
|
|
865
960
|
// @public
|
|
866
961
|
export enum KnownContainerType {
|
|
867
962
|
CriCompatible = "CriCompatible",
|
|
868
963
|
DockerCompatible = "DockerCompatible"
|
|
869
964
|
}
|
|
870
965
|
|
|
966
|
+
// @public
|
|
967
|
+
export enum KnownCreatedByType {
|
|
968
|
+
Application = "Application",
|
|
969
|
+
Key = "Key",
|
|
970
|
+
ManagedIdentity = "ManagedIdentity",
|
|
971
|
+
User = "User"
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
// @public
|
|
975
|
+
export enum KnownIssueType {
|
|
976
|
+
ConfigurationPropagationFailure = "ConfigurationPropagationFailure",
|
|
977
|
+
MissingIdentityConfiguration = "MissingIdentityConfiguration",
|
|
978
|
+
MissingPerimeterConfiguration = "MissingPerimeterConfiguration",
|
|
979
|
+
Unknown = "Unknown"
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
// @public
|
|
983
|
+
export enum KnownNetworkSecurityPerimeterConfigurationProvisioningState {
|
|
984
|
+
Accepted = "Accepted",
|
|
985
|
+
Canceled = "Canceled",
|
|
986
|
+
Creating = "Creating",
|
|
987
|
+
Deleting = "Deleting",
|
|
988
|
+
Failed = "Failed",
|
|
989
|
+
Succeeded = "Succeeded",
|
|
990
|
+
Updating = "Updating"
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
// @public
|
|
994
|
+
export enum KnownResourceAssociationAccessMode {
|
|
995
|
+
Audit = "Audit",
|
|
996
|
+
Enforced = "Enforced",
|
|
997
|
+
Learning = "Learning"
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
// @public
|
|
1001
|
+
export enum KnownSecurityEncryptionTypes {
|
|
1002
|
+
NonPersistedTPM = "NonPersistedTPM",
|
|
1003
|
+
VMGuestStateOnly = "VMGuestStateOnly"
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
// @public
|
|
1007
|
+
export enum KnownSeverity {
|
|
1008
|
+
Error = "Error",
|
|
1009
|
+
Warning = "Warning"
|
|
1010
|
+
}
|
|
1011
|
+
|
|
871
1012
|
// @public
|
|
872
1013
|
export interface LinuxUserConfiguration {
|
|
873
1014
|
gid?: number;
|
|
@@ -915,7 +1056,6 @@ export interface ListPrivateLinkResourcesResult {
|
|
|
915
1056
|
interface Location_2 {
|
|
916
1057
|
checkNameAvailability(locationName: string, parameters: CheckNameAvailabilityParameters, options?: LocationCheckNameAvailabilityOptionalParams): Promise<LocationCheckNameAvailabilityResponse>;
|
|
917
1058
|
getQuotas(locationName: string, options?: LocationGetQuotasOptionalParams): Promise<LocationGetQuotasResponse>;
|
|
918
|
-
listSupportedCloudServiceSkus(locationName: string, options?: LocationListSupportedCloudServiceSkusOptionalParams): PagedAsyncIterableIterator<SupportedSku>;
|
|
919
1059
|
listSupportedVirtualMachineSkus(locationName: string, options?: LocationListSupportedVirtualMachineSkusOptionalParams): PagedAsyncIterableIterator<SupportedSku>;
|
|
920
1060
|
}
|
|
921
1061
|
export { Location_2 as Location }
|
|
@@ -934,22 +1074,6 @@ export interface LocationGetQuotasOptionalParams extends coreClient.OperationOpt
|
|
|
934
1074
|
// @public
|
|
935
1075
|
export type LocationGetQuotasResponse = BatchLocationQuota;
|
|
936
1076
|
|
|
937
|
-
// @public
|
|
938
|
-
export interface LocationListSupportedCloudServiceSkusNextOptionalParams extends coreClient.OperationOptions {
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
// @public
|
|
942
|
-
export type LocationListSupportedCloudServiceSkusNextResponse = SupportedSkusResult;
|
|
943
|
-
|
|
944
|
-
// @public
|
|
945
|
-
export interface LocationListSupportedCloudServiceSkusOptionalParams extends coreClient.OperationOptions {
|
|
946
|
-
filter?: string;
|
|
947
|
-
maxresults?: number;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
// @public
|
|
951
|
-
export type LocationListSupportedCloudServiceSkusResponse = SupportedSkusResult;
|
|
952
|
-
|
|
953
1077
|
// @public
|
|
954
1078
|
export interface LocationListSupportedVirtualMachineSkusNextOptionalParams extends coreClient.OperationOptions {
|
|
955
1079
|
}
|
|
@@ -971,6 +1095,7 @@ export type LoginMode = "Batch" | "Interactive";
|
|
|
971
1095
|
|
|
972
1096
|
// @public (undocumented)
|
|
973
1097
|
export interface ManagedDisk {
|
|
1098
|
+
securityProfile?: VMDiskSecurityProfile;
|
|
974
1099
|
storageAccountType?: StorageAccountType;
|
|
975
1100
|
}
|
|
976
1101
|
|
|
@@ -1017,6 +1142,89 @@ export interface NetworkSecurityGroupRule {
|
|
|
1017
1142
|
// @public
|
|
1018
1143
|
export type NetworkSecurityGroupRuleAccess = "Allow" | "Deny";
|
|
1019
1144
|
|
|
1145
|
+
// @public
|
|
1146
|
+
export interface NetworkSecurityPerimeter {
|
|
1147
|
+
id?: string;
|
|
1148
|
+
location?: string;
|
|
1149
|
+
perimeterGuid?: string;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
// @public
|
|
1153
|
+
export interface NetworkSecurityPerimeterConfiguration extends ProxyResource {
|
|
1154
|
+
properties?: NetworkSecurityPerimeterConfigurationProperties;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
// @public
|
|
1158
|
+
export interface NetworkSecurityPerimeterConfigurationListResult {
|
|
1159
|
+
nextLink?: string;
|
|
1160
|
+
value?: NetworkSecurityPerimeterConfiguration[];
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
// @public
|
|
1164
|
+
export interface NetworkSecurityPerimeterConfigurationProperties {
|
|
1165
|
+
networkSecurityPerimeter?: NetworkSecurityPerimeter;
|
|
1166
|
+
profile?: NetworkSecurityProfile;
|
|
1167
|
+
readonly provisioningIssues?: ProvisioningIssue[];
|
|
1168
|
+
readonly provisioningState?: NetworkSecurityPerimeterConfigurationProvisioningState;
|
|
1169
|
+
resourceAssociation?: ResourceAssociation;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
// @public
|
|
1173
|
+
export type NetworkSecurityPerimeterConfigurationProvisioningState = string;
|
|
1174
|
+
|
|
1175
|
+
// @public
|
|
1176
|
+
export interface NetworkSecurityPerimeterGetConfigurationOptionalParams extends coreClient.OperationOptions {
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
// @public
|
|
1180
|
+
export type NetworkSecurityPerimeterGetConfigurationResponse = NetworkSecurityPerimeterConfiguration;
|
|
1181
|
+
|
|
1182
|
+
// @public
|
|
1183
|
+
export interface NetworkSecurityPerimeterListConfigurationsNextOptionalParams extends coreClient.OperationOptions {
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
// @public
|
|
1187
|
+
export type NetworkSecurityPerimeterListConfigurationsNextResponse = NetworkSecurityPerimeterConfigurationListResult;
|
|
1188
|
+
|
|
1189
|
+
// @public
|
|
1190
|
+
export interface NetworkSecurityPerimeterListConfigurationsOptionalParams extends coreClient.OperationOptions {
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
// @public
|
|
1194
|
+
export type NetworkSecurityPerimeterListConfigurationsResponse = NetworkSecurityPerimeterConfigurationListResult;
|
|
1195
|
+
|
|
1196
|
+
// @public
|
|
1197
|
+
export interface NetworkSecurityPerimeterOperations {
|
|
1198
|
+
beginReconcileConfiguration(resourceGroupName: string, accountName: string, networkSecurityPerimeterConfigurationName: string, options?: NetworkSecurityPerimeterReconcileConfigurationOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterReconcileConfigurationResponse>, NetworkSecurityPerimeterReconcileConfigurationResponse>>;
|
|
1199
|
+
beginReconcileConfigurationAndWait(resourceGroupName: string, accountName: string, networkSecurityPerimeterConfigurationName: string, options?: NetworkSecurityPerimeterReconcileConfigurationOptionalParams): Promise<NetworkSecurityPerimeterReconcileConfigurationResponse>;
|
|
1200
|
+
getConfiguration(resourceGroupName: string, accountName: string, networkSecurityPerimeterConfigurationName: string, options?: NetworkSecurityPerimeterGetConfigurationOptionalParams): Promise<NetworkSecurityPerimeterGetConfigurationResponse>;
|
|
1201
|
+
listConfigurations(resourceGroupName: string, accountName: string, options?: NetworkSecurityPerimeterListConfigurationsOptionalParams): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
// @public
|
|
1205
|
+
export interface NetworkSecurityPerimeterReconcileConfigurationHeaders {
|
|
1206
|
+
location?: string;
|
|
1207
|
+
retryAfter?: number;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
// @public
|
|
1211
|
+
export interface NetworkSecurityPerimeterReconcileConfigurationOptionalParams extends coreClient.OperationOptions {
|
|
1212
|
+
resumeFrom?: string;
|
|
1213
|
+
updateIntervalInMs?: number;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
// @public
|
|
1217
|
+
export type NetworkSecurityPerimeterReconcileConfigurationResponse = NetworkSecurityPerimeterReconcileConfigurationHeaders;
|
|
1218
|
+
|
|
1219
|
+
// @public
|
|
1220
|
+
export interface NetworkSecurityProfile {
|
|
1221
|
+
accessRules?: AccessRule[];
|
|
1222
|
+
accessRulesVersion?: number;
|
|
1223
|
+
diagnosticSettingsVersion?: number;
|
|
1224
|
+
enabledLogCategories?: string[];
|
|
1225
|
+
name?: string;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1020
1228
|
// @public
|
|
1021
1229
|
export interface NFSMountConfiguration {
|
|
1022
1230
|
mountOptions?: string;
|
|
@@ -1103,7 +1311,7 @@ export interface OutboundEnvironmentEndpointCollection {
|
|
|
1103
1311
|
export type PackageState = "Pending" | "Active";
|
|
1104
1312
|
|
|
1105
1313
|
// @public
|
|
1106
|
-
export interface Pool extends
|
|
1314
|
+
export interface Pool extends AzureProxyResource {
|
|
1107
1315
|
readonly allocationState?: AllocationState;
|
|
1108
1316
|
readonly allocationStateTransitionTime?: Date;
|
|
1109
1317
|
applicationLicenses?: string[];
|
|
@@ -1262,7 +1470,7 @@ export interface PrivateEndpoint {
|
|
|
1262
1470
|
}
|
|
1263
1471
|
|
|
1264
1472
|
// @public
|
|
1265
|
-
export interface PrivateEndpointConnection extends
|
|
1473
|
+
export interface PrivateEndpointConnection extends AzureProxyResource {
|
|
1266
1474
|
readonly groupIds?: string[];
|
|
1267
1475
|
readonly privateEndpoint?: PrivateEndpoint;
|
|
1268
1476
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
@@ -1336,7 +1544,7 @@ export interface PrivateEndpointConnectionUpdateOptionalParams extends coreClien
|
|
|
1336
1544
|
export type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
|
|
1337
1545
|
|
|
1338
1546
|
// @public
|
|
1339
|
-
export interface PrivateLinkResource extends
|
|
1547
|
+
export interface PrivateLinkResource extends AzureProxyResource {
|
|
1340
1548
|
readonly groupId?: string;
|
|
1341
1549
|
readonly requiredMembers?: string[];
|
|
1342
1550
|
readonly requiredZoneNames?: string[];
|
|
@@ -1380,15 +1588,26 @@ export interface PrivateLinkServiceConnectionState {
|
|
|
1380
1588
|
// @public
|
|
1381
1589
|
export type PrivateLinkServiceConnectionStatus = "Approved" | "Pending" | "Rejected" | "Disconnected";
|
|
1382
1590
|
|
|
1591
|
+
// @public
|
|
1592
|
+
export interface ProvisioningIssue {
|
|
1593
|
+
readonly name?: string;
|
|
1594
|
+
readonly properties?: ProvisioningIssueProperties;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
// @public
|
|
1598
|
+
export interface ProvisioningIssueProperties {
|
|
1599
|
+
readonly description?: string;
|
|
1600
|
+
readonly issueType?: IssueType;
|
|
1601
|
+
readonly severity?: Severity;
|
|
1602
|
+
readonly suggestedAccessRules?: AccessRule[];
|
|
1603
|
+
readonly suggestedResourceIds?: string[];
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1383
1606
|
// @public
|
|
1384
1607
|
export type ProvisioningState = "Invalid" | "Creating" | "Deleting" | "Succeeded" | "Failed" | "Cancelled";
|
|
1385
1608
|
|
|
1386
1609
|
// @public
|
|
1387
|
-
export interface ProxyResource {
|
|
1388
|
-
readonly etag?: string;
|
|
1389
|
-
readonly id?: string;
|
|
1390
|
-
readonly name?: string;
|
|
1391
|
-
readonly type?: string;
|
|
1610
|
+
export interface ProxyResource extends Resource {
|
|
1392
1611
|
}
|
|
1393
1612
|
|
|
1394
1613
|
// @public
|
|
@@ -1398,7 +1617,7 @@ export interface PublicIPAddressConfiguration {
|
|
|
1398
1617
|
}
|
|
1399
1618
|
|
|
1400
1619
|
// @public
|
|
1401
|
-
export type PublicNetworkAccessType = "Enabled" | "Disabled";
|
|
1620
|
+
export type PublicNetworkAccessType = "Enabled" | "Disabled" | "SecuredByPerimeter";
|
|
1402
1621
|
|
|
1403
1622
|
// @public
|
|
1404
1623
|
export interface ResizeError {
|
|
@@ -1420,14 +1639,20 @@ export interface ResizeOperationStatus {
|
|
|
1420
1639
|
// @public
|
|
1421
1640
|
export interface Resource {
|
|
1422
1641
|
readonly id?: string;
|
|
1423
|
-
readonly location?: string;
|
|
1424
1642
|
readonly name?: string;
|
|
1425
|
-
readonly
|
|
1426
|
-
[propertyName: string]: string;
|
|
1427
|
-
};
|
|
1643
|
+
readonly systemData?: SystemData;
|
|
1428
1644
|
readonly type?: string;
|
|
1429
1645
|
}
|
|
1430
1646
|
|
|
1647
|
+
// @public
|
|
1648
|
+
export interface ResourceAssociation {
|
|
1649
|
+
accessMode?: ResourceAssociationAccessMode;
|
|
1650
|
+
name?: string;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
// @public
|
|
1654
|
+
export type ResourceAssociationAccessMode = string;
|
|
1655
|
+
|
|
1431
1656
|
// @public
|
|
1432
1657
|
export interface ResourceFile {
|
|
1433
1658
|
autoStorageContainerName?: string;
|
|
@@ -1459,18 +1684,27 @@ export interface ScaleSettings {
|
|
|
1459
1684
|
fixedScale?: FixedScaleSettings;
|
|
1460
1685
|
}
|
|
1461
1686
|
|
|
1687
|
+
// @public
|
|
1688
|
+
export type SecurityEncryptionTypes = string;
|
|
1689
|
+
|
|
1462
1690
|
// @public
|
|
1463
1691
|
export interface SecurityProfile {
|
|
1464
1692
|
encryptionAtHost?: boolean;
|
|
1465
|
-
securityType?:
|
|
1693
|
+
securityType?: SecurityTypes;
|
|
1466
1694
|
uefiSettings?: UefiSettings;
|
|
1467
1695
|
}
|
|
1468
1696
|
|
|
1697
|
+
// @public
|
|
1698
|
+
export type SecurityTypes = "trustedLaunch" | "confidentialVM";
|
|
1699
|
+
|
|
1469
1700
|
// @public
|
|
1470
1701
|
export interface ServiceArtifactReference {
|
|
1471
1702
|
id: string;
|
|
1472
1703
|
}
|
|
1473
1704
|
|
|
1705
|
+
// @public
|
|
1706
|
+
export type Severity = string;
|
|
1707
|
+
|
|
1474
1708
|
// @public
|
|
1475
1709
|
export interface SkuCapability {
|
|
1476
1710
|
readonly name?: string;
|
|
@@ -1505,8 +1739,19 @@ export interface SupportedSkusResult {
|
|
|
1505
1739
|
value: SupportedSku[];
|
|
1506
1740
|
}
|
|
1507
1741
|
|
|
1742
|
+
// @public
|
|
1743
|
+
export interface SystemData {
|
|
1744
|
+
createdAt?: Date;
|
|
1745
|
+
createdBy?: string;
|
|
1746
|
+
createdByType?: CreatedByType;
|
|
1747
|
+
lastModifiedAt?: Date;
|
|
1748
|
+
lastModifiedBy?: string;
|
|
1749
|
+
lastModifiedByType?: CreatedByType;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1508
1752
|
// @public
|
|
1509
1753
|
export interface TaskContainerSettings {
|
|
1754
|
+
containerHostBatchBindMounts?: ContainerHostBatchBindMountEntry[];
|
|
1510
1755
|
containerRunOptions?: string;
|
|
1511
1756
|
imageName: string;
|
|
1512
1757
|
registry?: ContainerRegistry;
|
|
@@ -1577,6 +1822,11 @@ export interface VirtualMachineFamilyCoreQuota {
|
|
|
1577
1822
|
readonly name?: string;
|
|
1578
1823
|
}
|
|
1579
1824
|
|
|
1825
|
+
// @public
|
|
1826
|
+
export interface VMDiskSecurityProfile {
|
|
1827
|
+
securityEncryptionType?: SecurityEncryptionTypes;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1580
1830
|
// @public
|
|
1581
1831
|
export interface VMExtension {
|
|
1582
1832
|
autoUpgradeMinorVersion?: boolean;
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
PrivateLinkResourceOperationsImpl,
|
|
25
25
|
PrivateEndpointConnectionOperationsImpl,
|
|
26
26
|
PoolOperationsImpl,
|
|
27
|
+
NetworkSecurityPerimeterOperationsImpl,
|
|
27
28
|
} from "./operations";
|
|
28
29
|
import {
|
|
29
30
|
BatchAccountOperations,
|
|
@@ -35,6 +36,7 @@ import {
|
|
|
35
36
|
PrivateLinkResourceOperations,
|
|
36
37
|
PrivateEndpointConnectionOperations,
|
|
37
38
|
PoolOperations,
|
|
39
|
+
NetworkSecurityPerimeterOperations,
|
|
38
40
|
} from "./operationsInterfaces";
|
|
39
41
|
import { BatchManagementClientOptionalParams } from "./models";
|
|
40
42
|
|
|
@@ -71,7 +73,7 @@ export class BatchManagementClient extends coreClient.ServiceClient {
|
|
|
71
73
|
credential: credentials,
|
|
72
74
|
};
|
|
73
75
|
|
|
74
|
-
const packageDetails = `azsdk-js-arm-batch/
|
|
76
|
+
const packageDetails = `azsdk-js-arm-batch/10.0.0`;
|
|
75
77
|
const userAgentPrefix =
|
|
76
78
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
77
79
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -125,7 +127,7 @@ export class BatchManagementClient extends coreClient.ServiceClient {
|
|
|
125
127
|
|
|
126
128
|
// Assigning values to Constant parameters
|
|
127
129
|
this.$host = options.$host || "https://management.azure.com";
|
|
128
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
130
|
+
this.apiVersion = options.apiVersion || "2024-07-01";
|
|
129
131
|
this.batchAccountOperations = new BatchAccountOperationsImpl(this);
|
|
130
132
|
this.applicationPackageOperations = new ApplicationPackageOperationsImpl(
|
|
131
133
|
this,
|
|
@@ -140,6 +142,8 @@ export class BatchManagementClient extends coreClient.ServiceClient {
|
|
|
140
142
|
this.privateEndpointConnectionOperations =
|
|
141
143
|
new PrivateEndpointConnectionOperationsImpl(this);
|
|
142
144
|
this.poolOperations = new PoolOperationsImpl(this);
|
|
145
|
+
this.networkSecurityPerimeterOperations =
|
|
146
|
+
new NetworkSecurityPerimeterOperationsImpl(this);
|
|
143
147
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
144
148
|
}
|
|
145
149
|
|
|
@@ -180,4 +184,5 @@ export class BatchManagementClient extends coreClient.ServiceClient {
|
|
|
180
184
|
privateLinkResourceOperations: PrivateLinkResourceOperations;
|
|
181
185
|
privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
|
|
182
186
|
poolOperations: PoolOperations;
|
|
187
|
+
networkSecurityPerimeterOperations: NetworkSecurityPerimeterOperations;
|
|
183
188
|
}
|