@azure/arm-appcontainers 2.0.0-alpha.20230725.1 → 2.0.0-alpha.20230821.2

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 (175) hide show
  1. package/CHANGELOG.md +329 -506
  2. package/README.md +1 -1
  3. package/dist/index.js +2559 -2012
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/availableWorkloadProfilesGetSample.js +1 -1
  8. package/dist-esm/samples-dev/billingMetersGetSample.js +1 -1
  9. package/dist-esm/samples-dev/certificatesCreateOrUpdateSample.js +1 -1
  10. package/dist-esm/samples-dev/certificatesDeleteSample.js +1 -1
  11. package/dist-esm/samples-dev/certificatesGetSample.js +1 -1
  12. package/dist-esm/samples-dev/certificatesListSample.js +1 -1
  13. package/dist-esm/samples-dev/certificatesUpdateSample.js +1 -1
  14. package/dist-esm/samples-dev/connectedEnvironmentsCertificatesCreateOrUpdateSample.js +1 -1
  15. package/dist-esm/samples-dev/connectedEnvironmentsCertificatesDeleteSample.js +1 -1
  16. package/dist-esm/samples-dev/connectedEnvironmentsCertificatesGetSample.js +1 -1
  17. package/dist-esm/samples-dev/connectedEnvironmentsCertificatesListSample.js +1 -1
  18. package/dist-esm/samples-dev/connectedEnvironmentsCertificatesUpdateSample.js +1 -1
  19. package/dist-esm/samples-dev/connectedEnvironmentsCheckNameAvailabilitySample.js +1 -1
  20. package/dist-esm/samples-dev/connectedEnvironmentsCreateOrUpdateSample.js +1 -1
  21. package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js +1 -1
  22. package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsDeleteSample.js +1 -1
  23. package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsGetSample.js +1 -1
  24. package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsListSample.js +1 -1
  25. package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsListSecretsSample.js +1 -1
  26. package/dist-esm/samples-dev/connectedEnvironmentsDeleteSample.js +1 -1
  27. package/dist-esm/samples-dev/connectedEnvironmentsGetSample.js +1 -1
  28. package/dist-esm/samples-dev/connectedEnvironmentsListByResourceGroupSample.js +1 -1
  29. package/dist-esm/samples-dev/connectedEnvironmentsListBySubscriptionSample.js +1 -1
  30. package/dist-esm/samples-dev/connectedEnvironmentsStoragesCreateOrUpdateSample.js +1 -1
  31. package/dist-esm/samples-dev/connectedEnvironmentsStoragesDeleteSample.js +1 -1
  32. package/dist-esm/samples-dev/connectedEnvironmentsStoragesGetSample.js +1 -1
  33. package/dist-esm/samples-dev/connectedEnvironmentsStoragesListSample.js +1 -1
  34. package/dist-esm/samples-dev/connectedEnvironmentsUpdateSample.js +1 -1
  35. package/dist-esm/samples-dev/containerAppsAuthConfigsCreateOrUpdateSample.js +1 -1
  36. package/dist-esm/samples-dev/containerAppsAuthConfigsDeleteSample.js +1 -1
  37. package/dist-esm/samples-dev/containerAppsAuthConfigsGetSample.js +1 -1
  38. package/dist-esm/samples-dev/containerAppsAuthConfigsListByContainerAppSample.js +1 -1
  39. package/dist-esm/samples-dev/containerAppsCreateOrUpdateSample.js +12 -5
  40. package/dist-esm/samples-dev/containerAppsCreateOrUpdateSample.js.map +1 -1
  41. package/dist-esm/samples-dev/containerAppsDeleteSample.js +1 -1
  42. package/dist-esm/samples-dev/containerAppsDiagnosticsGetDetectorSample.js +1 -1
  43. package/dist-esm/samples-dev/containerAppsDiagnosticsGetRevisionSample.js +1 -1
  44. package/dist-esm/samples-dev/containerAppsDiagnosticsGetRootSample.js +1 -1
  45. package/dist-esm/samples-dev/containerAppsDiagnosticsListDetectorsSample.js +1 -1
  46. package/dist-esm/samples-dev/containerAppsDiagnosticsListRevisionsSample.js +1 -1
  47. package/dist-esm/samples-dev/containerAppsGetAuthTokenSample.js +1 -1
  48. package/dist-esm/samples-dev/containerAppsGetSample.js +1 -1
  49. package/dist-esm/samples-dev/containerAppsListByResourceGroupSample.js +1 -1
  50. package/dist-esm/samples-dev/containerAppsListBySubscriptionSample.js +1 -1
  51. package/dist-esm/samples-dev/containerAppsListCustomHostNameAnalysisSample.js +1 -1
  52. package/dist-esm/samples-dev/containerAppsListSecretsSample.js +1 -1
  53. package/dist-esm/samples-dev/containerAppsRevisionReplicasGetReplicaSample.js +1 -1
  54. package/dist-esm/samples-dev/containerAppsRevisionReplicasListReplicasSample.js +1 -1
  55. package/dist-esm/samples-dev/containerAppsRevisionsActivateRevisionSample.js +1 -1
  56. package/dist-esm/samples-dev/containerAppsRevisionsDeactivateRevisionSample.js +1 -1
  57. package/dist-esm/samples-dev/containerAppsRevisionsGetRevisionSample.js +1 -1
  58. package/dist-esm/samples-dev/containerAppsRevisionsListRevisionsSample.js +1 -1
  59. package/dist-esm/samples-dev/containerAppsRevisionsRestartRevisionSample.js +1 -1
  60. package/dist-esm/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.js +5 -3
  61. package/dist-esm/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/containerAppsSourceControlsDeleteSample.js +1 -1
  63. package/dist-esm/samples-dev/containerAppsSourceControlsGetSample.js +1 -1
  64. package/dist-esm/samples-dev/containerAppsSourceControlsListByContainerAppSample.js +1 -1
  65. package/dist-esm/samples-dev/containerAppsStartSample.d.ts +2 -0
  66. package/dist-esm/samples-dev/containerAppsStartSample.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/containerAppsStartSample.js +39 -0
  68. package/dist-esm/samples-dev/containerAppsStartSample.js.map +1 -0
  69. package/dist-esm/samples-dev/containerAppsStopSample.d.ts +2 -0
  70. package/dist-esm/samples-dev/containerAppsStopSample.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/containerAppsStopSample.js +39 -0
  72. package/dist-esm/samples-dev/containerAppsStopSample.js.map +1 -0
  73. package/dist-esm/samples-dev/containerAppsUpdateSample.js +10 -3
  74. package/dist-esm/samples-dev/containerAppsUpdateSample.js.map +1 -1
  75. package/dist-esm/samples-dev/daprComponentsCreateOrUpdateSample.js +2 -2
  76. package/dist-esm/samples-dev/daprComponentsDeleteSample.js +1 -1
  77. package/dist-esm/samples-dev/daprComponentsGetSample.js +2 -2
  78. package/dist-esm/samples-dev/daprComponentsListSample.js +1 -1
  79. package/dist-esm/samples-dev/daprComponentsListSecretsSample.js +1 -1
  80. package/dist-esm/samples-dev/jobExecutionSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/jobExecutionSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/jobExecutionSample.js +40 -0
  83. package/dist-esm/samples-dev/jobExecutionSample.js.map +1 -0
  84. package/dist-esm/samples-dev/jobsCreateOrUpdateSample.js +62 -1
  85. package/dist-esm/samples-dev/jobsCreateOrUpdateSample.js.map +1 -1
  86. package/dist-esm/samples-dev/jobsDeleteSample.js +1 -1
  87. package/dist-esm/samples-dev/jobsExecutionsListSample.js +1 -1
  88. package/dist-esm/samples-dev/jobsGetSample.js +1 -1
  89. package/dist-esm/samples-dev/jobsListByResourceGroupSample.js +1 -1
  90. package/dist-esm/samples-dev/jobsListBySubscriptionSample.js +1 -1
  91. package/dist-esm/samples-dev/jobsListSecretsSample.js +1 -1
  92. package/dist-esm/samples-dev/jobsStartSample.js +3 -2
  93. package/dist-esm/samples-dev/jobsStartSample.js.map +1 -1
  94. package/dist-esm/samples-dev/jobsStopExecutionSample.js +1 -1
  95. package/dist-esm/samples-dev/jobsStopMultipleExecutionsSample.js +2 -9
  96. package/dist-esm/samples-dev/jobsStopMultipleExecutionsSample.js.map +1 -1
  97. package/dist-esm/samples-dev/jobsUpdateSample.js +1 -1
  98. package/dist-esm/samples-dev/managedCertificatesCreateOrUpdateSample.js +1 -1
  99. package/dist-esm/samples-dev/managedCertificatesDeleteSample.js +1 -1
  100. package/dist-esm/samples-dev/managedCertificatesGetSample.js +1 -1
  101. package/dist-esm/samples-dev/managedCertificatesListSample.js +1 -1
  102. package/dist-esm/samples-dev/managedCertificatesUpdateSample.js +1 -1
  103. package/dist-esm/samples-dev/managedEnvironmentDiagnosticsGetDetectorSample.js +1 -1
  104. package/dist-esm/samples-dev/managedEnvironmentDiagnosticsListDetectorsSample.js +1 -1
  105. package/dist-esm/samples-dev/managedEnvironmentsCreateOrUpdateSample.js +3 -2
  106. package/dist-esm/samples-dev/managedEnvironmentsCreateOrUpdateSample.js.map +1 -1
  107. package/dist-esm/samples-dev/managedEnvironmentsDeleteSample.js +1 -1
  108. package/dist-esm/samples-dev/managedEnvironmentsDiagnosticsGetRootSample.js +1 -1
  109. package/dist-esm/samples-dev/managedEnvironmentsGetAuthTokenSample.js +1 -1
  110. package/dist-esm/samples-dev/managedEnvironmentsGetSample.js +1 -1
  111. package/dist-esm/samples-dev/managedEnvironmentsListByResourceGroupSample.js +1 -1
  112. package/dist-esm/samples-dev/managedEnvironmentsListBySubscriptionSample.js +1 -1
  113. package/dist-esm/samples-dev/managedEnvironmentsListWorkloadProfileStatesSample.js +1 -1
  114. package/dist-esm/samples-dev/managedEnvironmentsStoragesCreateOrUpdateSample.js +1 -1
  115. package/dist-esm/samples-dev/managedEnvironmentsStoragesDeleteSample.js +1 -1
  116. package/dist-esm/samples-dev/managedEnvironmentsStoragesGetSample.js +1 -1
  117. package/dist-esm/samples-dev/managedEnvironmentsStoragesListSample.js +1 -1
  118. package/dist-esm/samples-dev/managedEnvironmentsUpdateSample.js +1 -1
  119. package/dist-esm/samples-dev/namespacesCheckNameAvailabilitySample.js +2 -2
  120. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  121. package/dist-esm/src/containerAppsAPIClient.d.ts +12 -4
  122. package/dist-esm/src/containerAppsAPIClient.d.ts.map +1 -1
  123. package/dist-esm/src/containerAppsAPIClient.js +41 -5
  124. package/dist-esm/src/containerAppsAPIClient.js.map +1 -1
  125. package/dist-esm/src/models/index.d.ts +578 -378
  126. package/dist-esm/src/models/index.d.ts.map +1 -1
  127. package/dist-esm/src/models/index.js +78 -42
  128. package/dist-esm/src/models/index.js.map +1 -1
  129. package/dist-esm/src/models/mappers.d.ts +24 -15
  130. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  131. package/dist-esm/src/models/mappers.js +937 -634
  132. package/dist-esm/src/models/mappers.js.map +1 -1
  133. package/dist-esm/src/models/parameters.d.ts +6 -7
  134. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  135. package/dist-esm/src/models/parameters.js +43 -44
  136. package/dist-esm/src/models/parameters.js.map +1 -1
  137. package/dist-esm/src/operations/containerApps.d.ts +29 -1
  138. package/dist-esm/src/operations/containerApps.d.ts.map +1 -1
  139. package/dist-esm/src/operations/containerApps.js +172 -0
  140. package/dist-esm/src/operations/containerApps.js.map +1 -1
  141. package/dist-esm/src/operations/index.d.ts +2 -2
  142. package/dist-esm/src/operations/index.d.ts.map +1 -1
  143. package/dist-esm/src/operations/index.js +2 -2
  144. package/dist-esm/src/operations/index.js.map +1 -1
  145. package/dist-esm/src/operations/jobs.d.ts +19 -23
  146. package/dist-esm/src/operations/jobs.d.ts.map +1 -1
  147. package/dist-esm/src/operations/jobs.js +26 -32
  148. package/dist-esm/src/operations/jobs.js.map +1 -1
  149. package/dist-esm/src/operations/jobsExecutions.d.ts +3 -3
  150. package/dist-esm/src/operations/jobsExecutions.js +3 -3
  151. package/dist-esm/src/operationsInterfaces/containerApps.d.ts +29 -1
  152. package/dist-esm/src/operationsInterfaces/containerApps.d.ts.map +1 -1
  153. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -2
  154. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  155. package/dist-esm/src/operationsInterfaces/index.js +2 -2
  156. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  157. package/dist-esm/src/operationsInterfaces/jobs.d.ts +19 -23
  158. package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -1
  159. package/dist-esm/src/operationsInterfaces/jobsExecutions.d.ts +1 -1
  160. package/package.json +2 -2
  161. package/review/arm-appcontainers.api.md +140 -5
  162. package/src/containerAppsAPIClient.ts +62 -11
  163. package/src/models/index.ts +643 -420
  164. package/src/models/mappers.ts +947 -630
  165. package/src/models/parameters.ts +47 -50
  166. package/src/operations/containerApps.ts +248 -0
  167. package/src/operations/index.ts +2 -2
  168. package/src/operations/jobs.ts +21 -39
  169. package/src/operations/jobsExecutions.ts +3 -3
  170. package/src/operationsInterfaces/containerApps.ts +59 -1
  171. package/src/operationsInterfaces/index.ts +2 -2
  172. package/src/operationsInterfaces/jobs.ts +14 -24
  173. package/src/operationsInterfaces/jobsExecutions.ts +1 -1
  174. package/types/arm-appcontainers.d.ts +288 -35
  175. package/types/tsdoc-metadata.json +1 -1
@@ -786,6 +786,8 @@ export interface Configuration {
786
786
  dapr?: Dapr;
787
787
  /** Optional. Max inactive revisions a Container App can have. */
788
788
  maxInactiveRevisions?: number;
789
+ /** Container App to be a dev Container App Service */
790
+ service?: Service;
789
791
  }
790
792
  /** Container App Ingress configuration. */
791
793
  export interface Ingress {
@@ -898,6 +900,11 @@ export interface Dapr {
898
900
  /** Enables API logging for the Dapr sidecar */
899
901
  enableApiLogging?: boolean;
900
902
  }
903
+ /** Container App to be a dev service */
904
+ export interface Service {
905
+ /** Dev ContainerApp service type */
906
+ type: string;
907
+ }
901
908
  /**
902
909
  * Container App versioned application definition.
903
910
  * Defines the desired state of an immutable revision.
@@ -906,6 +913,8 @@ export interface Dapr {
906
913
  export interface Template {
907
914
  /** User friendly suffix that is appended to the revision name */
908
915
  revisionSuffix?: string;
916
+ /** Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. */
917
+ terminationGracePeriodSeconds?: number;
909
918
  /** List of specialized containers that run before app containers. */
910
919
  initContainers?: InitContainer[];
911
920
  /** List of container definitions for the Container App. */
@@ -914,6 +923,8 @@ export interface Template {
914
923
  scale?: Scale;
915
924
  /** List of volume definitions for the Container App. */
916
925
  volumes?: Volume[];
926
+ /** List of container app services bound to the app */
927
+ serviceBinds?: ServiceBind[];
917
928
  }
918
929
  /** Container App base container definition. */
919
930
  export interface BaseContainer {
@@ -959,6 +970,8 @@ export interface VolumeMount {
959
970
  volumeName?: string;
960
971
  /** Path within the container at which the volume should be mounted.Must not contain ':'. */
961
972
  mountPath?: string;
973
+ /** Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). */
974
+ subPath?: string;
962
975
  }
963
976
  /** Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */
964
977
  export interface ContainerAppProbe {
@@ -1039,9 +1052,9 @@ export interface QueueScaleRule {
1039
1052
  /** Authentication secrets for the queue scale rule. */
1040
1053
  auth?: ScaleRuleAuth[];
1041
1054
  }
1042
- /** Auth Secrets for Container App Scale Rule */
1055
+ /** Auth Secrets for Scale Rule */
1043
1056
  export interface ScaleRuleAuth {
1044
- /** Name of the Container App secret from which to pull the auth params. */
1057
+ /** Name of the secret from which to pull the auth params. */
1045
1058
  secretRef?: string;
1046
1059
  /** Trigger Parameter that uses the secret */
1047
1060
  triggerParameter?: string;
@@ -1088,6 +1101,8 @@ export interface Volume {
1088
1101
  storageName?: string;
1089
1102
  /** List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume. */
1090
1103
  secrets?: SecretVolumeItem[];
1104
+ /** Mount options used while mounting the AzureFile. Must be a comma-separated string. */
1105
+ mountOptions?: string;
1091
1106
  }
1092
1107
  /** Secret to be added to volume. */
1093
1108
  export interface SecretVolumeItem {
@@ -1096,6 +1111,13 @@ export interface SecretVolumeItem {
1096
1111
  /** Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef. */
1097
1112
  path?: string;
1098
1113
  }
1114
+ /** Configuration to bind a ContainerApp to a dev ContainerApp Service */
1115
+ export interface ServiceBind {
1116
+ /** Resource id of the target service */
1117
+ serviceId?: string;
1118
+ /** Name of the service bind */
1119
+ name?: string;
1120
+ }
1099
1121
  /** Custom domain analysis. */
1100
1122
  export interface CustomHostnameAnalysisResult {
1101
1123
  /**
@@ -1210,149 +1232,6 @@ export interface ContainerAppSecret {
1210
1232
  */
1211
1233
  readonly keyVaultUrl?: string;
1212
1234
  }
1213
- /** Container Apps Jobs collection ARM resource. */
1214
- export interface JobsCollection {
1215
- /** Collection of resources. */
1216
- value: Job[];
1217
- /**
1218
- * Link to next page of resources.
1219
- * NOTE: This property will not be serialized. It can only be populated by the server.
1220
- */
1221
- readonly nextLink?: string;
1222
- }
1223
- /** Non versioned Container Apps Job configuration properties */
1224
- export interface JobConfiguration {
1225
- /** Collection of secrets used by a Container Apps Job */
1226
- secrets?: Secret[];
1227
- /** Trigger type of the job */
1228
- triggerType: TriggerType;
1229
- /** Maximum number of seconds a replica is allowed to run. */
1230
- replicaTimeout: number;
1231
- /** Maximum number of retries before failing the job. */
1232
- replicaRetryLimit?: number;
1233
- /** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */
1234
- manualTriggerConfig?: JobConfigurationManualTriggerConfig;
1235
- /** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */
1236
- scheduleTriggerConfig?: JobConfigurationScheduleTriggerConfig;
1237
- /** Collection of private container registry credentials used by a Container apps job */
1238
- registries?: RegistryCredentials[];
1239
- }
1240
- /** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */
1241
- export interface JobConfigurationManualTriggerConfig {
1242
- /** Minimum number of successful replica completions before overall job completion. */
1243
- replicaCompletionCount?: number;
1244
- /** Number of parallel replicas of a job that can run at a given time. */
1245
- parallelism?: number;
1246
- }
1247
- /** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */
1248
- export interface JobConfigurationScheduleTriggerConfig {
1249
- /** Minimum number of successful replica completions before overall job completion. */
1250
- replicaCompletionCount?: number;
1251
- /** Cron formatted repeating schedule ("* * * * *") of a Cron Job. */
1252
- cronExpression: string;
1253
- /** Number of parallel replicas of a job that can run at a given time. */
1254
- parallelism?: number;
1255
- }
1256
- /** Container Apps Job versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created */
1257
- export interface JobTemplate {
1258
- /** List of specialized containers that run before app containers. */
1259
- initContainers?: InitContainer[];
1260
- /** List of container definitions for the Container App. */
1261
- containers?: Container[];
1262
- /** List of volume definitions for the Container App. */
1263
- volumes?: Volume[];
1264
- }
1265
- /** Container Apps Job resource specific properties. */
1266
- export interface JobPatchProperties {
1267
- /** Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. */
1268
- identity?: ManagedServiceIdentity;
1269
- /** Resource tags. */
1270
- tags?: {
1271
- [propertyName: string]: string;
1272
- };
1273
- properties?: JobPatchPropertiesProperties;
1274
- }
1275
- export interface JobPatchPropertiesProperties {
1276
- /** Resource ID of environment. */
1277
- environmentId?: string;
1278
- /** Container Apps Job configuration properties. */
1279
- configuration?: JobConfiguration;
1280
- /** Container Apps job definition. */
1281
- template?: JobTemplate;
1282
- /** Outbound IP Addresses of a container apps job. */
1283
- outboundIpAddresses?: string[];
1284
- /** The endpoint of the eventstream of the container apps job. */
1285
- eventStreamEndpoint?: string;
1286
- }
1287
- /** Job's execution template, containing container configuration for a job's execution */
1288
- export interface JobExecutionTemplate {
1289
- /** List of container definitions for the Container Apps Job. */
1290
- containers?: JobExecutionContainer[];
1291
- /** List of specialized containers that run before job containers. */
1292
- initContainers?: JobExecutionContainer[];
1293
- }
1294
- /** Container Apps Jobs execution container definition. */
1295
- export interface JobExecutionContainer {
1296
- /** Container image tag. */
1297
- image?: string;
1298
- /** Custom container name. */
1299
- name?: string;
1300
- /** Container start command. */
1301
- command?: string[];
1302
- /** Container start command arguments. */
1303
- args?: string[];
1304
- /** Container environment variables. */
1305
- env?: EnvironmentVar[];
1306
- /** Container resource requirements. */
1307
- resources?: ContainerResources;
1308
- }
1309
- /** Container App's Job execution name. */
1310
- export interface JobExecutionBase {
1311
- /** Job execution name. */
1312
- name?: string;
1313
- /** Job execution Id. */
1314
- id?: string;
1315
- }
1316
- /** Container App executions names list. */
1317
- export interface JobExecutionNamesCollection {
1318
- /** Collection of resources. */
1319
- value: JobExecutionBase[];
1320
- }
1321
- /** Container App executions collection ARM resource. */
1322
- export interface ContainerAppJobExecutions {
1323
- /** Collection of resources. */
1324
- value: JobExecution[];
1325
- /**
1326
- * Link to next page of resources.
1327
- * NOTE: This property will not be serialized. It can only be populated by the server.
1328
- */
1329
- readonly nextLink?: string;
1330
- }
1331
- /** Container Apps Jobs execution. */
1332
- export interface JobExecution {
1333
- /** Job execution Name. */
1334
- name?: string;
1335
- /** Job execution Id. */
1336
- id?: string;
1337
- /** Job Type. */
1338
- type?: string;
1339
- /**
1340
- * Current running State of the job
1341
- * NOTE: This property will not be serialized. It can only be populated by the server.
1342
- */
1343
- readonly status?: JobExecutionRunningState;
1344
- /** Job execution start time. */
1345
- startTime?: Date;
1346
- /** Job execution start time. */
1347
- endTime?: Date;
1348
- /** Job's execution container. */
1349
- template?: JobExecutionTemplate;
1350
- }
1351
- /** Container Apps Job Secrets Collection ARM resource. */
1352
- export interface JobSecretsCollection {
1353
- /** Collection of resources. */
1354
- value: Secret[];
1355
- }
1356
1235
  /** Container App Revisions collection ARM resource. */
1357
1236
  export interface RevisionCollection {
1358
1237
  /** Collection of resources. */
@@ -1375,6 +1254,16 @@ export interface ReplicaContainer {
1375
1254
  started?: boolean;
1376
1255
  /** The container restart count */
1377
1256
  restartCount?: number;
1257
+ /**
1258
+ * Current running state of the container
1259
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1260
+ */
1261
+ readonly runningState?: ContainerAppContainerRunningState;
1262
+ /**
1263
+ * The details of container current running state
1264
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1265
+ */
1266
+ readonly runningStateDetails?: string;
1378
1267
  /**
1379
1268
  * Log Stream endpoint
1380
1269
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1539,12 +1428,12 @@ export interface VnetConfiguration {
1539
1428
  }
1540
1429
  /** Configuration of application logs */
1541
1430
  export interface AppLogsConfiguration {
1542
- /** Logs destination */
1431
+ /** Logs destination, can be 'log-analytics', 'azure-monitor' or 'none' */
1543
1432
  destination?: string;
1544
- /** Log Analytics configuration */
1433
+ /** Log Analytics configuration, must only be provided when destination is configured as 'log-analytics' */
1545
1434
  logAnalyticsConfiguration?: LogAnalyticsConfiguration;
1546
1435
  }
1547
- /** Log analytics configuration */
1436
+ /** Log Analytics configuration, must only be provided when destination is configured as 'log-analytics' */
1548
1437
  export interface LogAnalyticsConfiguration {
1549
1438
  /** Log analytics customer id */
1550
1439
  customerId?: string;
@@ -1578,6 +1467,16 @@ export interface DaprConfiguration {
1578
1467
  */
1579
1468
  readonly version?: string;
1580
1469
  }
1470
+ /** Peer authentication settings for the Managed Environment */
1471
+ export interface ManagedEnvironmentPropertiesPeerAuthentication {
1472
+ /** Mutual TLS authentication settings for the Managed Environment */
1473
+ mtls?: Mtls;
1474
+ }
1475
+ /** Configuration properties for mutual TLS authentication */
1476
+ export interface Mtls {
1477
+ /** Boolean indicating whether the mutual TLS authentication is enabled */
1478
+ enabled?: boolean;
1479
+ }
1581
1480
  /** Available operations of the service */
1582
1481
  export interface AvailableOperations {
1583
1482
  /** Collection of available operation details */
@@ -1610,59 +1509,233 @@ export interface OperationDisplay {
1610
1509
  /** Localized friendly description for the operation */
1611
1510
  description?: string;
1612
1511
  }
1613
- /** Collection of Environments */
1614
- export interface ManagedEnvironmentsCollection {
1512
+ /** Container Apps Jobs collection ARM resource. */
1513
+ export interface JobsCollection {
1615
1514
  /** Collection of resources. */
1616
- value: ManagedEnvironment[];
1515
+ value: Job[];
1617
1516
  /**
1618
1517
  * Link to next page of resources.
1619
1518
  * NOTE: This property will not be serialized. It can only be populated by the server.
1620
1519
  */
1621
1520
  readonly nextLink?: string;
1622
1521
  }
1623
- /** Certificate resource specific properties */
1624
- export interface ManagedCertificateProperties {
1625
- /**
1626
- * Provisioning state of the certificate.
1627
- * NOTE: This property will not be serialized. It can only be populated by the server.
1628
- */
1629
- readonly provisioningState?: CertificateProvisioningState;
1630
- /** Subject name of the certificate. */
1631
- subjectName?: string;
1632
- /**
1633
- * Any error occurred during the certificate provision.
1634
- * NOTE: This property will not be serialized. It can only be populated by the server.
1635
- */
1636
- readonly error?: string;
1637
- /** Selected type of domain control validation for managed certificates. */
1638
- domainControlValidation?: ManagedCertificateDomainControlValidation;
1522
+ /** Non versioned Container Apps Job configuration properties */
1523
+ export interface JobConfiguration {
1524
+ /** Collection of secrets used by a Container Apps Job */
1525
+ secrets?: Secret[];
1526
+ /** Trigger type of the job */
1527
+ triggerType: TriggerType;
1528
+ /** Maximum number of seconds a replica is allowed to run. */
1529
+ replicaTimeout: number;
1530
+ /** Maximum number of retries before failing the job. */
1531
+ replicaRetryLimit?: number;
1532
+ /** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */
1533
+ manualTriggerConfig?: JobConfigurationManualTriggerConfig;
1534
+ /** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */
1535
+ scheduleTriggerConfig?: JobConfigurationScheduleTriggerConfig;
1536
+ /** Trigger configuration of an event driven job. */
1537
+ eventTriggerConfig?: JobConfigurationEventTriggerConfig;
1538
+ /** Collection of private container registry credentials used by a Container apps job */
1539
+ registries?: RegistryCredentials[];
1540
+ }
1541
+ /** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */
1542
+ export interface JobConfigurationManualTriggerConfig {
1543
+ /** Minimum number of successful replica completions before overall job completion. */
1544
+ replicaCompletionCount?: number;
1545
+ /** Number of parallel replicas of a job that can run at a given time. */
1546
+ parallelism?: number;
1547
+ }
1548
+ /** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */
1549
+ export interface JobConfigurationScheduleTriggerConfig {
1550
+ /** Minimum number of successful replica completions before overall job completion. */
1551
+ replicaCompletionCount?: number;
1552
+ /** Cron formatted repeating schedule ("* * * * *") of a Cron Job. */
1553
+ cronExpression: string;
1554
+ /** Number of parallel replicas of a job that can run at a given time. */
1555
+ parallelism?: number;
1556
+ }
1557
+ /** Trigger configuration of an event driven job. */
1558
+ export interface JobConfigurationEventTriggerConfig {
1559
+ /** Minimum number of successful replica completions before overall job completion. */
1560
+ replicaCompletionCount?: number;
1561
+ /** Number of parallel replicas of a job that can run at a given time. */
1562
+ parallelism?: number;
1563
+ /** Scaling configurations for event driven jobs. */
1564
+ scale?: JobScale;
1565
+ }
1566
+ /** Scaling configurations for event driven jobs. */
1567
+ export interface JobScale {
1568
+ /** Interval to check each event source in seconds. Defaults to 30s */
1569
+ pollingInterval?: number;
1570
+ /** Minimum number of job executions that are created for a trigger, default 0 */
1571
+ minExecutions?: number;
1572
+ /** Maximum number of job executions that are created for a trigger, default 100. */
1573
+ maxExecutions?: number;
1574
+ /** Scaling rules. */
1575
+ rules?: JobScaleRule[];
1576
+ }
1577
+ /** Scaling rule. */
1578
+ export interface JobScaleRule {
1579
+ /** Scale Rule Name */
1580
+ name?: string;
1639
1581
  /**
1640
- * A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates.
1641
- * NOTE: This property will not be serialized. It can only be populated by the server.
1582
+ * Type of the scale rule
1583
+ * eg: azure-servicebus, redis etc.
1642
1584
  */
1643
- readonly validationToken?: string;
1585
+ type?: string;
1586
+ /** Metadata properties to describe the scale rule. */
1587
+ metadata?: Record<string, unknown>;
1588
+ /** Authentication secrets for the scale rule. */
1589
+ auth?: ScaleRuleAuth[];
1644
1590
  }
1645
- /** A managed certificate to update */
1646
- export interface ManagedCertificatePatch {
1647
- /** Application-specific metadata in the form of key-value pairs. */
1591
+ /** Container Apps Job versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created */
1592
+ export interface JobTemplate {
1593
+ /** List of specialized containers that run before app containers. */
1594
+ initContainers?: InitContainer[];
1595
+ /** List of container definitions for the Container App. */
1596
+ containers?: Container[];
1597
+ /** List of volume definitions for the Container App. */
1598
+ volumes?: Volume[];
1599
+ }
1600
+ /** Container Apps Job resource specific properties. */
1601
+ export interface JobPatchProperties {
1602
+ /** Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. */
1603
+ identity?: ManagedServiceIdentity;
1604
+ /** Resource tags. */
1648
1605
  tags?: {
1649
1606
  [propertyName: string]: string;
1650
1607
  };
1608
+ properties?: JobPatchPropertiesProperties;
1651
1609
  }
1652
- /** Collection of Managed Certificates. */
1653
- export interface ManagedCertificateCollection {
1654
- /** Collection of resources. */
1655
- value: ManagedCertificate[];
1656
- /**
1657
- * Link to next page of resources.
1658
- * NOTE: This property will not be serialized. It can only be populated by the server.
1659
- */
1660
- readonly nextLink?: string;
1661
- }
1662
- /** Collection of workloadProfileStates */
1663
- export interface WorkloadProfileStatesCollection {
1664
- /** Collection of resources. */
1665
- value: WorkloadProfileStates[];
1610
+ export interface JobPatchPropertiesProperties {
1611
+ /** Resource ID of environment. */
1612
+ environmentId?: string;
1613
+ /** Container Apps Job configuration properties. */
1614
+ configuration?: JobConfiguration;
1615
+ /** Container Apps job definition. */
1616
+ template?: JobTemplate;
1617
+ /** Outbound IP Addresses of a container apps job. */
1618
+ outboundIpAddresses?: string[];
1619
+ /** The endpoint of the eventstream of the container apps job. */
1620
+ eventStreamEndpoint?: string;
1621
+ }
1622
+ /** Job's execution template, containing container configuration for a job's execution */
1623
+ export interface JobExecutionTemplate {
1624
+ /** List of container definitions for the Container Apps Job. */
1625
+ containers?: JobExecutionContainer[];
1626
+ /** List of specialized containers that run before job containers. */
1627
+ initContainers?: JobExecutionContainer[];
1628
+ }
1629
+ /** Container Apps Jobs execution container definition. */
1630
+ export interface JobExecutionContainer {
1631
+ /** Container image tag. */
1632
+ image?: string;
1633
+ /** Custom container name. */
1634
+ name?: string;
1635
+ /** Container start command. */
1636
+ command?: string[];
1637
+ /** Container start command arguments. */
1638
+ args?: string[];
1639
+ /** Container environment variables. */
1640
+ env?: EnvironmentVar[];
1641
+ /** Container resource requirements. */
1642
+ resources?: ContainerResources;
1643
+ }
1644
+ /** Container App's Job execution name. */
1645
+ export interface JobExecutionBase {
1646
+ /** Job execution name. */
1647
+ name?: string;
1648
+ /** Job execution Id. */
1649
+ id?: string;
1650
+ }
1651
+ /** Container App executions collection ARM resource. */
1652
+ export interface ContainerAppJobExecutions {
1653
+ /** Collection of resources. */
1654
+ value: JobExecution[];
1655
+ /**
1656
+ * Link to next page of resources.
1657
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1658
+ */
1659
+ readonly nextLink?: string;
1660
+ }
1661
+ /** Container Apps Job execution. */
1662
+ export interface JobExecution {
1663
+ /** Job execution Name. */
1664
+ name?: string;
1665
+ /** Job execution Id. */
1666
+ id?: string;
1667
+ /** Job Type. */
1668
+ type?: string;
1669
+ /**
1670
+ * Current running State of the job
1671
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1672
+ */
1673
+ readonly status?: JobExecutionRunningState;
1674
+ /** Job execution start time. */
1675
+ startTime?: Date;
1676
+ /** Job execution end time. */
1677
+ endTime?: Date;
1678
+ /** Job's execution container. */
1679
+ template?: JobExecutionTemplate;
1680
+ }
1681
+ /** Container Apps Job Secrets Collection ARM resource. */
1682
+ export interface JobSecretsCollection {
1683
+ /** Collection of resources. */
1684
+ value: Secret[];
1685
+ }
1686
+ /** Collection of Environments */
1687
+ export interface ManagedEnvironmentsCollection {
1688
+ /** Collection of resources. */
1689
+ value: ManagedEnvironment[];
1690
+ /**
1691
+ * Link to next page of resources.
1692
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1693
+ */
1694
+ readonly nextLink?: string;
1695
+ }
1696
+ /** Certificate resource specific properties */
1697
+ export interface ManagedCertificateProperties {
1698
+ /**
1699
+ * Provisioning state of the certificate.
1700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1701
+ */
1702
+ readonly provisioningState?: CertificateProvisioningState;
1703
+ /** Subject name of the certificate. */
1704
+ subjectName?: string;
1705
+ /**
1706
+ * Any error occurred during the certificate provision.
1707
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1708
+ */
1709
+ readonly error?: string;
1710
+ /** Selected type of domain control validation for managed certificates. */
1711
+ domainControlValidation?: ManagedCertificateDomainControlValidation;
1712
+ /**
1713
+ * A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates.
1714
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1715
+ */
1716
+ readonly validationToken?: string;
1717
+ }
1718
+ /** A managed certificate to update */
1719
+ export interface ManagedCertificatePatch {
1720
+ /** Application-specific metadata in the form of key-value pairs. */
1721
+ tags?: {
1722
+ [propertyName: string]: string;
1723
+ };
1724
+ }
1725
+ /** Collection of Managed Certificates. */
1726
+ export interface ManagedCertificateCollection {
1727
+ /** Collection of resources. */
1728
+ value: ManagedCertificate[];
1729
+ /**
1730
+ * Link to next page of resources.
1731
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1732
+ */
1733
+ readonly nextLink?: string;
1734
+ }
1735
+ /** Collection of workloadProfileStates */
1736
+ export interface WorkloadProfileStatesCollection {
1737
+ /** Collection of resources. */
1738
+ value: WorkloadProfileStates[];
1666
1739
  /**
1667
1740
  * Link to next page of resources.
1668
1741
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1706,6 +1779,8 @@ export interface GithubActionConfiguration {
1706
1779
  azureCredentials?: AzureCredentials;
1707
1780
  /** Context path */
1708
1781
  contextPath?: string;
1782
+ /** One time Github PAT to configure github environment */
1783
+ githubPersonalAccessToken?: string;
1709
1784
  /** Image name */
1710
1785
  image?: string;
1711
1786
  /** Code or Image */
@@ -1734,9 +1809,16 @@ export interface AzureCredentials {
1734
1809
  clientSecret?: string;
1735
1810
  /** Tenant Id. */
1736
1811
  tenantId?: string;
1812
+ /** Kind of auth github does for deploying the template */
1813
+ kind?: string;
1737
1814
  /** Subscription Id. */
1738
1815
  subscriptionId?: string;
1739
1816
  }
1817
+ /** Container App executions names list. */
1818
+ export interface JobExecutionNamesCollection {
1819
+ /** Collection of resources. */
1820
+ value: JobExecutionBase[];
1821
+ }
1740
1822
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1741
1823
  export interface ProxyResource extends Resource {
1742
1824
  }
@@ -1863,6 +1945,11 @@ export interface Revision extends ProxyResource {
1863
1945
  * NOTE: This property will not be serialized. It can only be populated by the server.
1864
1946
  */
1865
1947
  readonly provisioningState?: RevisionProvisioningState;
1948
+ /**
1949
+ * Current running state of the revision
1950
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1951
+ */
1952
+ readonly runningState?: RevisionRunningState;
1866
1953
  }
1867
1954
  /** Container App Revision Replica. */
1868
1955
  export interface Replica extends ProxyResource {
@@ -1871,8 +1958,20 @@ export interface Replica extends ProxyResource {
1871
1958
  * NOTE: This property will not be serialized. It can only be populated by the server.
1872
1959
  */
1873
1960
  readonly createdTime?: Date;
1961
+ /**
1962
+ * Current running state of the replica
1963
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1964
+ */
1965
+ readonly runningState?: ContainerAppReplicaRunningState;
1966
+ /**
1967
+ * The details of replica current running state
1968
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1969
+ */
1970
+ readonly runningStateDetails?: string;
1874
1971
  /** The containers collection under a replica. */
1875
1972
  containers?: ReplicaContainer[];
1973
+ /** The init containers collection under a replica. */
1974
+ initContainers?: ReplicaContainer[];
1876
1975
  }
1877
1976
  /** Diagnostics data for a resource. */
1878
1977
  export interface Diagnostics extends ProxyResource {
@@ -2005,34 +2104,6 @@ export interface ContainerAppAuthToken extends TrackedResource {
2005
2104
  */
2006
2105
  readonly expires?: Date;
2007
2106
  }
2008
- /** Container App Job */
2009
- export interface Job extends TrackedResource {
2010
- /** Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. */
2011
- identity?: ManagedServiceIdentity;
2012
- /**
2013
- * Provisioning state of the Container Apps Job.
2014
- * NOTE: This property will not be serialized. It can only be populated by the server.
2015
- */
2016
- readonly provisioningState?: JobProvisioningState;
2017
- /** Resource ID of environment. */
2018
- environmentId?: string;
2019
- /** Workload profile name to pin for container apps job execution. */
2020
- workloadProfileName?: string;
2021
- /** Container Apps Job configuration properties. */
2022
- configuration?: JobConfiguration;
2023
- /** Container Apps job definition. */
2024
- template?: JobTemplate;
2025
- /**
2026
- * Outbound IP Addresses of a container apps job.
2027
- * NOTE: This property will not be serialized. It can only be populated by the server.
2028
- */
2029
- readonly outboundIpAddresses?: string[];
2030
- /**
2031
- * The endpoint of the eventstream of the container apps job.
2032
- * NOTE: This property will not be serialized. It can only be populated by the server.
2033
- */
2034
- readonly eventStreamEndpoint?: string;
2035
- }
2036
2107
  /** An environment for hosting container apps */
2037
2108
  export interface ManagedEnvironment extends TrackedResource {
2038
2109
  /** Kind of the Environment. */
@@ -2086,6 +2157,36 @@ export interface ManagedEnvironment extends TrackedResource {
2086
2157
  daprConfiguration?: DaprConfiguration;
2087
2158
  /** Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in the same subscription as the subnet. */
2088
2159
  infrastructureResourceGroup?: string;
2160
+ /** Peer authentication settings for the Managed Environment */
2161
+ peerAuthentication?: ManagedEnvironmentPropertiesPeerAuthentication;
2162
+ }
2163
+ /** Container App Job */
2164
+ export interface Job extends TrackedResource {
2165
+ /** Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. */
2166
+ identity?: ManagedServiceIdentity;
2167
+ /**
2168
+ * Provisioning state of the Container Apps Job.
2169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2170
+ */
2171
+ readonly provisioningState?: JobProvisioningState;
2172
+ /** Resource ID of environment. */
2173
+ environmentId?: string;
2174
+ /** Workload profile name to pin for container apps job execution. */
2175
+ workloadProfileName?: string;
2176
+ /** Container Apps Job configuration properties. */
2177
+ configuration?: JobConfiguration;
2178
+ /** Container Apps job definition. */
2179
+ template?: JobTemplate;
2180
+ /**
2181
+ * Outbound IP Addresses of a container apps job.
2182
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2183
+ */
2184
+ readonly outboundIpAddresses?: string[];
2185
+ /**
2186
+ * The endpoint of the eventstream of the container apps job.
2187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2188
+ */
2189
+ readonly eventStreamEndpoint?: string;
2089
2190
  }
2090
2191
  /** Managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment */
2091
2192
  export interface ManagedCertificate extends TrackedResource {
@@ -2117,6 +2218,14 @@ export interface ContainerAppsDeleteHeaders {
2117
2218
  export interface ContainerAppsUpdateHeaders {
2118
2219
  location?: string;
2119
2220
  }
2221
+ /** Defines headers for ContainerApps_start operation. */
2222
+ export interface ContainerAppsStartHeaders {
2223
+ location?: string;
2224
+ }
2225
+ /** Defines headers for ContainerApps_stop operation. */
2226
+ export interface ContainerAppsStopHeaders {
2227
+ location?: string;
2228
+ }
2120
2229
  /** Defines headers for Jobs_delete operation. */
2121
2230
  export interface JobsDeleteHeaders {
2122
2231
  location?: string;
@@ -2523,52 +2632,52 @@ export declare enum KnownStorageType {
2523
2632
  * **Secret**
2524
2633
  */
2525
2634
  export type StorageType = string;
2526
- /** Known values of {@link JobProvisioningState} that the service accepts. */
2527
- export declare enum KnownJobProvisioningState {
2528
- /** InProgress */
2529
- InProgress = "InProgress",
2530
- /** Succeeded */
2531
- Succeeded = "Succeeded",
2635
+ /** Known values of {@link RevisionHealthState} that the service accepts. */
2636
+ export declare enum KnownRevisionHealthState {
2637
+ /** Healthy */
2638
+ Healthy = "Healthy",
2639
+ /** Unhealthy */
2640
+ Unhealthy = "Unhealthy",
2641
+ /** None */
2642
+ None = "None"
2643
+ }
2644
+ /**
2645
+ * Defines values for RevisionHealthState. \
2646
+ * {@link KnownRevisionHealthState} can be used interchangeably with RevisionHealthState,
2647
+ * this enum contains the known values that the service supports.
2648
+ * ### Known values supported by the service
2649
+ * **Healthy** \
2650
+ * **Unhealthy** \
2651
+ * **None**
2652
+ */
2653
+ export type RevisionHealthState = string;
2654
+ /** Known values of {@link RevisionProvisioningState} that the service accepts. */
2655
+ export declare enum KnownRevisionProvisioningState {
2656
+ /** Provisioning */
2657
+ Provisioning = "Provisioning",
2658
+ /** Provisioned */
2659
+ Provisioned = "Provisioned",
2532
2660
  /** Failed */
2533
2661
  Failed = "Failed",
2534
- /** Canceled */
2535
- Canceled = "Canceled",
2536
- /** Deleting */
2537
- Deleting = "Deleting"
2662
+ /** Deprovisioning */
2663
+ Deprovisioning = "Deprovisioning",
2664
+ /** Deprovisioned */
2665
+ Deprovisioned = "Deprovisioned"
2538
2666
  }
2539
2667
  /**
2540
- * Defines values for JobProvisioningState. \
2541
- * {@link KnownJobProvisioningState} can be used interchangeably with JobProvisioningState,
2668
+ * Defines values for RevisionProvisioningState. \
2669
+ * {@link KnownRevisionProvisioningState} can be used interchangeably with RevisionProvisioningState,
2542
2670
  * this enum contains the known values that the service supports.
2543
2671
  * ### Known values supported by the service
2544
- * **InProgress** \
2545
- * **Succeeded** \
2672
+ * **Provisioning** \
2673
+ * **Provisioned** \
2546
2674
  * **Failed** \
2547
- * **Canceled** \
2548
- * **Deleting**
2675
+ * **Deprovisioning** \
2676
+ * **Deprovisioned**
2549
2677
  */
2550
- export type JobProvisioningState = string;
2551
- /** Known values of {@link TriggerType} that the service accepts. */
2552
- export declare enum KnownTriggerType {
2553
- /** Scheduled */
2554
- Scheduled = "Scheduled",
2555
- /** Event */
2556
- Event = "Event",
2557
- /** Manual */
2558
- Manual = "Manual"
2559
- }
2560
- /**
2561
- * Defines values for TriggerType. \
2562
- * {@link KnownTriggerType} can be used interchangeably with TriggerType,
2563
- * this enum contains the known values that the service supports.
2564
- * ### Known values supported by the service
2565
- * **Scheduled** \
2566
- * **Event** \
2567
- * **Manual**
2568
- */
2569
- export type TriggerType = string;
2570
- /** Known values of {@link JobExecutionRunningState} that the service accepts. */
2571
- export declare enum KnownJobExecutionRunningState {
2678
+ export type RevisionProvisioningState = string;
2679
+ /** Known values of {@link RevisionRunningState} that the service accepts. */
2680
+ export declare enum KnownRevisionRunningState {
2572
2681
  /** Running */
2573
2682
  Running = "Running",
2574
2683
  /** Processing */
@@ -2580,13 +2689,11 @@ export declare enum KnownJobExecutionRunningState {
2580
2689
  /** Failed */
2581
2690
  Failed = "Failed",
2582
2691
  /** Unknown */
2583
- Unknown = "Unknown",
2584
- /** Succeeded */
2585
- Succeeded = "Succeeded"
2692
+ Unknown = "Unknown"
2586
2693
  }
2587
2694
  /**
2588
- * Defines values for JobExecutionRunningState. \
2589
- * {@link KnownJobExecutionRunningState} can be used interchangeably with JobExecutionRunningState,
2695
+ * Defines values for RevisionRunningState. \
2696
+ * {@link KnownRevisionRunningState} can be used interchangeably with RevisionRunningState,
2590
2697
  * this enum contains the known values that the service supports.
2591
2698
  * ### Known values supported by the service
2592
2699
  * **Running** \
@@ -2594,54 +2701,47 @@ export declare enum KnownJobExecutionRunningState {
2594
2701
  * **Stopped** \
2595
2702
  * **Degraded** \
2596
2703
  * **Failed** \
2597
- * **Unknown** \
2598
- * **Succeeded**
2704
+ * **Unknown**
2599
2705
  */
2600
- export type JobExecutionRunningState = string;
2601
- /** Known values of {@link RevisionHealthState} that the service accepts. */
2602
- export declare enum KnownRevisionHealthState {
2603
- /** Healthy */
2604
- Healthy = "Healthy",
2605
- /** Unhealthy */
2606
- Unhealthy = "Unhealthy",
2607
- /** None */
2608
- None = "None"
2706
+ export type RevisionRunningState = string;
2707
+ /** Known values of {@link ContainerAppReplicaRunningState} that the service accepts. */
2708
+ export declare enum KnownContainerAppReplicaRunningState {
2709
+ /** Running */
2710
+ Running = "Running",
2711
+ /** NotRunning */
2712
+ NotRunning = "NotRunning",
2713
+ /** Unknown */
2714
+ Unknown = "Unknown"
2609
2715
  }
2610
2716
  /**
2611
- * Defines values for RevisionHealthState. \
2612
- * {@link KnownRevisionHealthState} can be used interchangeably with RevisionHealthState,
2717
+ * Defines values for ContainerAppReplicaRunningState. \
2718
+ * {@link KnownContainerAppReplicaRunningState} can be used interchangeably with ContainerAppReplicaRunningState,
2613
2719
  * this enum contains the known values that the service supports.
2614
2720
  * ### Known values supported by the service
2615
- * **Healthy** \
2616
- * **Unhealthy** \
2617
- * **None**
2721
+ * **Running** \
2722
+ * **NotRunning** \
2723
+ * **Unknown**
2618
2724
  */
2619
- export type RevisionHealthState = string;
2620
- /** Known values of {@link RevisionProvisioningState} that the service accepts. */
2621
- export declare enum KnownRevisionProvisioningState {
2622
- /** Provisioning */
2623
- Provisioning = "Provisioning",
2624
- /** Provisioned */
2625
- Provisioned = "Provisioned",
2626
- /** Failed */
2627
- Failed = "Failed",
2628
- /** Deprovisioning */
2629
- Deprovisioning = "Deprovisioning",
2630
- /** Deprovisioned */
2631
- Deprovisioned = "Deprovisioned"
2725
+ export type ContainerAppReplicaRunningState = string;
2726
+ /** Known values of {@link ContainerAppContainerRunningState} that the service accepts. */
2727
+ export declare enum KnownContainerAppContainerRunningState {
2728
+ /** Running */
2729
+ Running = "Running",
2730
+ /** Terminated */
2731
+ Terminated = "Terminated",
2732
+ /** Waiting */
2733
+ Waiting = "Waiting"
2632
2734
  }
2633
2735
  /**
2634
- * Defines values for RevisionProvisioningState. \
2635
- * {@link KnownRevisionProvisioningState} can be used interchangeably with RevisionProvisioningState,
2736
+ * Defines values for ContainerAppContainerRunningState. \
2737
+ * {@link KnownContainerAppContainerRunningState} can be used interchangeably with ContainerAppContainerRunningState,
2636
2738
  * this enum contains the known values that the service supports.
2637
2739
  * ### Known values supported by the service
2638
- * **Provisioning** \
2639
- * **Provisioned** \
2640
- * **Failed** \
2641
- * **Deprovisioning** \
2642
- * **Deprovisioned**
2740
+ * **Running** \
2741
+ * **Terminated** \
2742
+ * **Waiting**
2643
2743
  */
2644
- export type RevisionProvisioningState = string;
2744
+ export type ContainerAppContainerRunningState = string;
2645
2745
  /** Known values of {@link EnvironmentProvisioningState} that the service accepts. */
2646
2746
  export declare enum KnownEnvironmentProvisioningState {
2647
2747
  /** Succeeded */
@@ -2682,6 +2782,81 @@ export declare enum KnownEnvironmentProvisioningState {
2682
2782
  * **UpgradeFailed**
2683
2783
  */
2684
2784
  export type EnvironmentProvisioningState = string;
2785
+ /** Known values of {@link JobProvisioningState} that the service accepts. */
2786
+ export declare enum KnownJobProvisioningState {
2787
+ /** InProgress */
2788
+ InProgress = "InProgress",
2789
+ /** Succeeded */
2790
+ Succeeded = "Succeeded",
2791
+ /** Failed */
2792
+ Failed = "Failed",
2793
+ /** Canceled */
2794
+ Canceled = "Canceled",
2795
+ /** Deleting */
2796
+ Deleting = "Deleting"
2797
+ }
2798
+ /**
2799
+ * Defines values for JobProvisioningState. \
2800
+ * {@link KnownJobProvisioningState} can be used interchangeably with JobProvisioningState,
2801
+ * this enum contains the known values that the service supports.
2802
+ * ### Known values supported by the service
2803
+ * **InProgress** \
2804
+ * **Succeeded** \
2805
+ * **Failed** \
2806
+ * **Canceled** \
2807
+ * **Deleting**
2808
+ */
2809
+ export type JobProvisioningState = string;
2810
+ /** Known values of {@link TriggerType} that the service accepts. */
2811
+ export declare enum KnownTriggerType {
2812
+ /** Schedule */
2813
+ Schedule = "Schedule",
2814
+ /** Event */
2815
+ Event = "Event",
2816
+ /** Manual */
2817
+ Manual = "Manual"
2818
+ }
2819
+ /**
2820
+ * Defines values for TriggerType. \
2821
+ * {@link KnownTriggerType} can be used interchangeably with TriggerType,
2822
+ * this enum contains the known values that the service supports.
2823
+ * ### Known values supported by the service
2824
+ * **Schedule** \
2825
+ * **Event** \
2826
+ * **Manual**
2827
+ */
2828
+ export type TriggerType = string;
2829
+ /** Known values of {@link JobExecutionRunningState} that the service accepts. */
2830
+ export declare enum KnownJobExecutionRunningState {
2831
+ /** Running */
2832
+ Running = "Running",
2833
+ /** Processing */
2834
+ Processing = "Processing",
2835
+ /** Stopped */
2836
+ Stopped = "Stopped",
2837
+ /** Degraded */
2838
+ Degraded = "Degraded",
2839
+ /** Failed */
2840
+ Failed = "Failed",
2841
+ /** Unknown */
2842
+ Unknown = "Unknown",
2843
+ /** Succeeded */
2844
+ Succeeded = "Succeeded"
2845
+ }
2846
+ /**
2847
+ * Defines values for JobExecutionRunningState. \
2848
+ * {@link KnownJobExecutionRunningState} can be used interchangeably with JobExecutionRunningState,
2849
+ * this enum contains the known values that the service supports.
2850
+ * ### Known values supported by the service
2851
+ * **Running** \
2852
+ * **Processing** \
2853
+ * **Stopped** \
2854
+ * **Degraded** \
2855
+ * **Failed** \
2856
+ * **Unknown** \
2857
+ * **Succeeded**
2858
+ */
2859
+ export type JobExecutionRunningState = string;
2685
2860
  /** Known values of {@link ManagedCertificateDomainControlValidation} that the service accepts. */
2686
2861
  export declare enum KnownManagedCertificateDomainControlValidation {
2687
2862
  /** Cname */
@@ -2954,107 +3129,33 @@ export interface ContainerAppsGetAuthTokenOptionalParams extends coreClient.Oper
2954
3129
  /** Contains response data for the getAuthToken operation. */
2955
3130
  export type ContainerAppsGetAuthTokenResponse = ContainerAppAuthToken;
2956
3131
  /** Optional parameters. */
2957
- export interface ContainerAppsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2958
- }
2959
- /** Contains response data for the listBySubscriptionNext operation. */
2960
- export type ContainerAppsListBySubscriptionNextResponse = ContainerAppCollection;
2961
- /** Optional parameters. */
2962
- export interface ContainerAppsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2963
- }
2964
- /** Contains response data for the listByResourceGroupNext operation. */
2965
- export type ContainerAppsListByResourceGroupNextResponse = ContainerAppCollection;
2966
- /** Optional parameters. */
2967
- export interface JobsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2968
- }
2969
- /** Contains response data for the listBySubscription operation. */
2970
- export type JobsListBySubscriptionResponse = JobsCollection;
2971
- /** Optional parameters. */
2972
- export interface JobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2973
- }
2974
- /** Contains response data for the listByResourceGroup operation. */
2975
- export type JobsListByResourceGroupResponse = JobsCollection;
2976
- /** Optional parameters. */
2977
- export interface JobsGetOptionalParams extends coreClient.OperationOptions {
2978
- }
2979
- /** Contains response data for the get operation. */
2980
- export type JobsGetResponse = Job;
2981
- /** Optional parameters. */
2982
- export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2983
- /** Delay to wait until next poll, in milliseconds. */
2984
- updateIntervalInMs?: number;
2985
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2986
- resumeFrom?: string;
2987
- }
2988
- /** Contains response data for the createOrUpdate operation. */
2989
- export type JobsCreateOrUpdateResponse = Job;
2990
- /** Optional parameters. */
2991
- export interface JobsDeleteOptionalParams extends coreClient.OperationOptions {
2992
- /** Delay to wait until next poll, in milliseconds. */
2993
- updateIntervalInMs?: number;
2994
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2995
- resumeFrom?: string;
2996
- }
2997
- /** Optional parameters. */
2998
- export interface JobsUpdateOptionalParams extends coreClient.OperationOptions {
2999
- /** Delay to wait until next poll, in milliseconds. */
3000
- updateIntervalInMs?: number;
3001
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3002
- resumeFrom?: string;
3003
- }
3004
- /** Contains response data for the update operation. */
3005
- export type JobsUpdateResponse = Job;
3006
- /** Optional parameters. */
3007
- export interface JobsStartOptionalParams extends coreClient.OperationOptions {
3132
+ export interface ContainerAppsStartOptionalParams extends coreClient.OperationOptions {
3008
3133
  /** Delay to wait until next poll, in milliseconds. */
3009
3134
  updateIntervalInMs?: number;
3010
3135
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3011
3136
  resumeFrom?: string;
3012
3137
  }
3013
3138
  /** Contains response data for the start operation. */
3014
- export type JobsStartResponse = JobExecutionBase;
3139
+ export type ContainerAppsStartResponse = ContainerApp;
3015
3140
  /** Optional parameters. */
3016
- export interface JobsStopExecutionOptionalParams extends coreClient.OperationOptions {
3017
- /** Delay to wait until next poll, in milliseconds. */
3018
- updateIntervalInMs?: number;
3019
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3020
- resumeFrom?: string;
3021
- }
3022
- /** Optional parameters. */
3023
- export interface JobsStopMultipleExecutionsOptionalParams extends coreClient.OperationOptions {
3141
+ export interface ContainerAppsStopOptionalParams extends coreClient.OperationOptions {
3024
3142
  /** Delay to wait until next poll, in milliseconds. */
3025
3143
  updateIntervalInMs?: number;
3026
3144
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3027
3145
  resumeFrom?: string;
3028
3146
  }
3029
- /** Contains response data for the stopMultipleExecutions operation. */
3030
- export type JobsStopMultipleExecutionsResponse = ContainerAppJobExecutions;
3031
- /** Optional parameters. */
3032
- export interface JobsListSecretsOptionalParams extends coreClient.OperationOptions {
3033
- }
3034
- /** Contains response data for the listSecrets operation. */
3035
- export type JobsListSecretsResponse = JobSecretsCollection;
3147
+ /** Contains response data for the stop operation. */
3148
+ export type ContainerAppsStopResponse = ContainerApp;
3036
3149
  /** Optional parameters. */
3037
- export interface JobsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
3150
+ export interface ContainerAppsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
3038
3151
  }
3039
3152
  /** Contains response data for the listBySubscriptionNext operation. */
3040
- export type JobsListBySubscriptionNextResponse = JobsCollection;
3153
+ export type ContainerAppsListBySubscriptionNextResponse = ContainerAppCollection;
3041
3154
  /** Optional parameters. */
3042
- export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
3155
+ export interface ContainerAppsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
3043
3156
  }
3044
3157
  /** Contains response data for the listByResourceGroupNext operation. */
3045
- export type JobsListByResourceGroupNextResponse = JobsCollection;
3046
- /** Optional parameters. */
3047
- export interface JobsExecutionsListOptionalParams extends coreClient.OperationOptions {
3048
- /** The filter to apply on the operation. */
3049
- filter?: string;
3050
- }
3051
- /** Contains response data for the list operation. */
3052
- export type JobsExecutionsListResponse = ContainerAppJobExecutions;
3053
- /** Optional parameters. */
3054
- export interface JobsExecutionsListNextOptionalParams extends coreClient.OperationOptions {
3055
- }
3056
- /** Contains response data for the listNext operation. */
3057
- export type JobsExecutionsListNextResponse = ContainerAppJobExecutions;
3158
+ export type ContainerAppsListByResourceGroupNextResponse = ContainerAppCollection;
3058
3159
  /** Optional parameters. */
3059
3160
  export interface ContainerAppsRevisionsListRevisionsOptionalParams extends coreClient.OperationOptions {
3060
3161
  /** The filter to apply on the operation. */
@@ -3154,6 +3255,105 @@ export interface OperationsListNextOptionalParams extends coreClient.OperationOp
3154
3255
  /** Contains response data for the listNext operation. */
3155
3256
  export type OperationsListNextResponse = AvailableOperations;
3156
3257
  /** Optional parameters. */
3258
+ export interface JobsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
3259
+ }
3260
+ /** Contains response data for the listBySubscription operation. */
3261
+ export type JobsListBySubscriptionResponse = JobsCollection;
3262
+ /** Optional parameters. */
3263
+ export interface JobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
3264
+ }
3265
+ /** Contains response data for the listByResourceGroup operation. */
3266
+ export type JobsListByResourceGroupResponse = JobsCollection;
3267
+ /** Optional parameters. */
3268
+ export interface JobsGetOptionalParams extends coreClient.OperationOptions {
3269
+ }
3270
+ /** Contains response data for the get operation. */
3271
+ export type JobsGetResponse = Job;
3272
+ /** Optional parameters. */
3273
+ export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
3274
+ /** Delay to wait until next poll, in milliseconds. */
3275
+ updateIntervalInMs?: number;
3276
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3277
+ resumeFrom?: string;
3278
+ }
3279
+ /** Contains response data for the createOrUpdate operation. */
3280
+ export type JobsCreateOrUpdateResponse = Job;
3281
+ /** Optional parameters. */
3282
+ export interface JobsDeleteOptionalParams extends coreClient.OperationOptions {
3283
+ /** Delay to wait until next poll, in milliseconds. */
3284
+ updateIntervalInMs?: number;
3285
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3286
+ resumeFrom?: string;
3287
+ }
3288
+ /** Optional parameters. */
3289
+ export interface JobsUpdateOptionalParams extends coreClient.OperationOptions {
3290
+ /** Delay to wait until next poll, in milliseconds. */
3291
+ updateIntervalInMs?: number;
3292
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3293
+ resumeFrom?: string;
3294
+ }
3295
+ /** Contains response data for the update operation. */
3296
+ export type JobsUpdateResponse = Job;
3297
+ /** Optional parameters. */
3298
+ export interface JobsStartOptionalParams extends coreClient.OperationOptions {
3299
+ /** Properties used to start a job execution. */
3300
+ template?: JobExecutionTemplate;
3301
+ /** Delay to wait until next poll, in milliseconds. */
3302
+ updateIntervalInMs?: number;
3303
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3304
+ resumeFrom?: string;
3305
+ }
3306
+ /** Contains response data for the start operation. */
3307
+ export type JobsStartResponse = JobExecutionBase;
3308
+ /** Optional parameters. */
3309
+ export interface JobsStopExecutionOptionalParams extends coreClient.OperationOptions {
3310
+ /** Delay to wait until next poll, in milliseconds. */
3311
+ updateIntervalInMs?: number;
3312
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3313
+ resumeFrom?: string;
3314
+ }
3315
+ /** Optional parameters. */
3316
+ export interface JobsStopMultipleExecutionsOptionalParams extends coreClient.OperationOptions {
3317
+ /** Delay to wait until next poll, in milliseconds. */
3318
+ updateIntervalInMs?: number;
3319
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3320
+ resumeFrom?: string;
3321
+ }
3322
+ /** Contains response data for the stopMultipleExecutions operation. */
3323
+ export type JobsStopMultipleExecutionsResponse = ContainerAppJobExecutions;
3324
+ /** Optional parameters. */
3325
+ export interface JobsListSecretsOptionalParams extends coreClient.OperationOptions {
3326
+ }
3327
+ /** Contains response data for the listSecrets operation. */
3328
+ export type JobsListSecretsResponse = JobSecretsCollection;
3329
+ /** Optional parameters. */
3330
+ export interface JobsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
3331
+ }
3332
+ /** Contains response data for the listBySubscriptionNext operation. */
3333
+ export type JobsListBySubscriptionNextResponse = JobsCollection;
3334
+ /** Optional parameters. */
3335
+ export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
3336
+ }
3337
+ /** Contains response data for the listByResourceGroupNext operation. */
3338
+ export type JobsListByResourceGroupNextResponse = JobsCollection;
3339
+ /** Optional parameters. */
3340
+ export interface JobsExecutionsListOptionalParams extends coreClient.OperationOptions {
3341
+ /** The filter to apply on the operation. */
3342
+ filter?: string;
3343
+ }
3344
+ /** Contains response data for the list operation. */
3345
+ export type JobsExecutionsListResponse = ContainerAppJobExecutions;
3346
+ /** Optional parameters. */
3347
+ export interface JobsExecutionsListNextOptionalParams extends coreClient.OperationOptions {
3348
+ }
3349
+ /** Contains response data for the listNext operation. */
3350
+ export type JobsExecutionsListNextResponse = ContainerAppJobExecutions;
3351
+ /** Optional parameters. */
3352
+ export interface JobExecutionOptionalParams extends coreClient.OperationOptions {
3353
+ }
3354
+ /** Contains response data for the jobExecution operation. */
3355
+ export type JobExecutionResponse = JobExecution;
3356
+ /** Optional parameters. */
3157
3357
  export interface ManagedEnvironmentsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
3158
3358
  }
3159
3359
  /** Contains response data for the listBySubscription operation. */