@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.
- package/CHANGELOG.md +329 -506
- package/README.md +1 -1
- package/dist/index.js +2559 -2012
- 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/availableWorkloadProfilesGetSample.js +1 -1
- package/dist-esm/samples-dev/billingMetersGetSample.js +1 -1
- package/dist-esm/samples-dev/certificatesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/certificatesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/certificatesGetSample.js +1 -1
- package/dist-esm/samples-dev/certificatesListSample.js +1 -1
- package/dist-esm/samples-dev/certificatesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCertificatesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCertificatesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCertificatesGetSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCertificatesListSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCertificatesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsGetSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsListSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsDaprComponentsListSecretsSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsGetSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsStoragesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsStoragesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsStoragesGetSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsStoragesListSample.js +1 -1
- package/dist-esm/samples-dev/connectedEnvironmentsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsAuthConfigsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsAuthConfigsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsAuthConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsAuthConfigsListByContainerAppSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsCreateOrUpdateSample.js +12 -5
- package/dist-esm/samples-dev/containerAppsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/containerAppsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsDiagnosticsGetDetectorSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsDiagnosticsGetRevisionSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsDiagnosticsGetRootSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsDiagnosticsListDetectorsSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsDiagnosticsListRevisionsSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsGetAuthTokenSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsGetSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsListCustomHostNameAnalysisSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsListSecretsSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionReplicasGetReplicaSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionReplicasListReplicasSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionsActivateRevisionSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionsDeactivateRevisionSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionsGetRevisionSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionsListRevisionsSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsRevisionsRestartRevisionSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.js +5 -3
- package/dist-esm/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/containerAppsSourceControlsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsSourceControlsGetSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsSourceControlsListByContainerAppSample.js +1 -1
- package/dist-esm/samples-dev/containerAppsStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerAppsStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerAppsStartSample.js +39 -0
- package/dist-esm/samples-dev/containerAppsStartSample.js.map +1 -0
- package/dist-esm/samples-dev/containerAppsStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/containerAppsStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/containerAppsStopSample.js +39 -0
- package/dist-esm/samples-dev/containerAppsStopSample.js.map +1 -0
- package/dist-esm/samples-dev/containerAppsUpdateSample.js +10 -3
- package/dist-esm/samples-dev/containerAppsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/daprComponentsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/daprComponentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/daprComponentsGetSample.js +2 -2
- package/dist-esm/samples-dev/daprComponentsListSample.js +1 -1
- package/dist-esm/samples-dev/daprComponentsListSecretsSample.js +1 -1
- package/dist-esm/samples-dev/jobExecutionSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobExecutionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobExecutionSample.js +40 -0
- package/dist-esm/samples-dev/jobExecutionSample.js.map +1 -0
- package/dist-esm/samples-dev/jobsCreateOrUpdateSample.js +62 -1
- package/dist-esm/samples-dev/jobsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/jobsExecutionsListSample.js +1 -1
- package/dist-esm/samples-dev/jobsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/jobsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/jobsListSecretsSample.js +1 -1
- package/dist-esm/samples-dev/jobsStartSample.js +3 -2
- package/dist-esm/samples-dev/jobsStartSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsStopExecutionSample.js +1 -1
- package/dist-esm/samples-dev/jobsStopMultipleExecutionsSample.js +2 -9
- package/dist-esm/samples-dev/jobsStopMultipleExecutionsSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedCertificatesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedCertificatesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managedCertificatesGetSample.js +1 -1
- package/dist-esm/samples-dev/managedCertificatesListSample.js +1 -1
- package/dist-esm/samples-dev/managedCertificatesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentDiagnosticsGetDetectorSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentDiagnosticsListDetectorsSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/managedEnvironmentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsDiagnosticsGetRootSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsGetAuthTokenSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsGetSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsListWorkloadProfileStatesSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsStoragesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsStoragesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsStoragesGetSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsStoragesListSample.js +1 -1
- package/dist-esm/samples-dev/managedEnvironmentsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/namespacesCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/src/containerAppsAPIClient.d.ts +12 -4
- package/dist-esm/src/containerAppsAPIClient.d.ts.map +1 -1
- package/dist-esm/src/containerAppsAPIClient.js +41 -5
- package/dist-esm/src/containerAppsAPIClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +578 -378
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +78 -42
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +24 -15
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +937 -634
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -7
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +43 -44
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/containerApps.d.ts +29 -1
- package/dist-esm/src/operations/containerApps.d.ts.map +1 -1
- package/dist-esm/src/operations/containerApps.js +172 -0
- package/dist-esm/src/operations/containerApps.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/jobs.d.ts +19 -23
- package/dist-esm/src/operations/jobs.d.ts.map +1 -1
- package/dist-esm/src/operations/jobs.js +26 -32
- package/dist-esm/src/operations/jobs.js.map +1 -1
- package/dist-esm/src/operations/jobsExecutions.d.ts +3 -3
- package/dist-esm/src/operations/jobsExecutions.js +3 -3
- package/dist-esm/src/operationsInterfaces/containerApps.d.ts +29 -1
- package/dist-esm/src/operationsInterfaces/containerApps.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +19 -23
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobsExecutions.d.ts +1 -1
- package/package.json +2 -2
- package/review/arm-appcontainers.api.md +140 -5
- package/src/containerAppsAPIClient.ts +62 -11
- package/src/models/index.ts +643 -420
- package/src/models/mappers.ts +947 -630
- package/src/models/parameters.ts +47 -50
- package/src/operations/containerApps.ts +248 -0
- package/src/operations/index.ts +2 -2
- package/src/operations/jobs.ts +21 -39
- package/src/operations/jobsExecutions.ts +3 -3
- package/src/operationsInterfaces/containerApps.ts +59 -1
- package/src/operationsInterfaces/index.ts +2 -2
- package/src/operationsInterfaces/jobs.ts +14 -24
- package/src/operationsInterfaces/jobsExecutions.ts +1 -1
- package/types/arm-appcontainers.d.ts +288 -35
- package/types/tsdoc-metadata.json +1 -1
|
@@ -88,9 +88,9 @@ export declare type Applicability = string;
|
|
|
88
88
|
|
|
89
89
|
/** Configuration of application logs */
|
|
90
90
|
export declare interface AppLogsConfiguration {
|
|
91
|
-
/** Logs destination */
|
|
91
|
+
/** Logs destination, can be 'log-analytics', 'azure-monitor' or 'none' */
|
|
92
92
|
destination?: string;
|
|
93
|
-
/** Log Analytics configuration */
|
|
93
|
+
/** Log Analytics configuration, must only be provided when destination is configured as 'log-analytics' */
|
|
94
94
|
logAnalyticsConfiguration?: LogAnalyticsConfiguration;
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -298,6 +298,8 @@ export declare interface AzureCredentials {
|
|
|
298
298
|
clientSecret?: string;
|
|
299
299
|
/** Tenant Id. */
|
|
300
300
|
tenantId?: string;
|
|
301
|
+
/** Kind of auth github does for deploying the template */
|
|
302
|
+
kind?: string;
|
|
301
303
|
/** Subscription Id. */
|
|
302
304
|
subscriptionId?: string;
|
|
303
305
|
}
|
|
@@ -626,6 +628,8 @@ export declare interface Configuration {
|
|
|
626
628
|
dapr?: Dapr;
|
|
627
629
|
/** Optional. Max inactive revisions a Container App can have. */
|
|
628
630
|
maxInactiveRevisions?: number;
|
|
631
|
+
/** Container App to be a dev Container App Service */
|
|
632
|
+
service?: Service;
|
|
629
633
|
}
|
|
630
634
|
|
|
631
635
|
/** An environment for Kubernetes cluster specialized for web workloads by Azure App Service */
|
|
@@ -1155,6 +1159,17 @@ export declare interface ContainerAppCollection {
|
|
|
1155
1159
|
readonly nextLink?: string;
|
|
1156
1160
|
}
|
|
1157
1161
|
|
|
1162
|
+
/**
|
|
1163
|
+
* Defines values for ContainerAppContainerRunningState. \
|
|
1164
|
+
* {@link KnownContainerAppContainerRunningState} can be used interchangeably with ContainerAppContainerRunningState,
|
|
1165
|
+
* this enum contains the known values that the service supports.
|
|
1166
|
+
* ### Known values supported by the service
|
|
1167
|
+
* **Running** \
|
|
1168
|
+
* **Terminated** \
|
|
1169
|
+
* **Waiting**
|
|
1170
|
+
*/
|
|
1171
|
+
export declare type ContainerAppContainerRunningState = string;
|
|
1172
|
+
|
|
1158
1173
|
/** Container App executions collection ARM resource. */
|
|
1159
1174
|
export declare interface ContainerAppJobExecutions {
|
|
1160
1175
|
/** Collection of resources. */
|
|
@@ -1231,6 +1246,17 @@ export declare interface ContainerAppProbeTcpSocket {
|
|
|
1231
1246
|
*/
|
|
1232
1247
|
export declare type ContainerAppProvisioningState = string;
|
|
1233
1248
|
|
|
1249
|
+
/**
|
|
1250
|
+
* Defines values for ContainerAppReplicaRunningState. \
|
|
1251
|
+
* {@link KnownContainerAppReplicaRunningState} can be used interchangeably with ContainerAppReplicaRunningState,
|
|
1252
|
+
* this enum contains the known values that the service supports.
|
|
1253
|
+
* ### Known values supported by the service
|
|
1254
|
+
* **Running** \
|
|
1255
|
+
* **NotRunning** \
|
|
1256
|
+
* **Unknown**
|
|
1257
|
+
*/
|
|
1258
|
+
export declare type ContainerAppReplicaRunningState = string;
|
|
1259
|
+
|
|
1234
1260
|
/** Interface representing a ContainerApps. */
|
|
1235
1261
|
export declare interface ContainerApps {
|
|
1236
1262
|
/**
|
|
@@ -1318,6 +1344,34 @@ export declare interface ContainerApps {
|
|
|
1318
1344
|
* @param options The options parameters.
|
|
1319
1345
|
*/
|
|
1320
1346
|
getAuthToken(resourceGroupName: string, containerAppName: string, options?: ContainerAppsGetAuthTokenOptionalParams): Promise<ContainerAppsGetAuthTokenResponse>;
|
|
1347
|
+
/**
|
|
1348
|
+
* Start a container app
|
|
1349
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1350
|
+
* @param containerAppName Name of the Container App.
|
|
1351
|
+
* @param options The options parameters.
|
|
1352
|
+
*/
|
|
1353
|
+
beginStart(resourceGroupName: string, containerAppName: string, options?: ContainerAppsStartOptionalParams): Promise<SimplePollerLike<OperationState<ContainerAppsStartResponse>, ContainerAppsStartResponse>>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Start a container app
|
|
1356
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1357
|
+
* @param containerAppName Name of the Container App.
|
|
1358
|
+
* @param options The options parameters.
|
|
1359
|
+
*/
|
|
1360
|
+
beginStartAndWait(resourceGroupName: string, containerAppName: string, options?: ContainerAppsStartOptionalParams): Promise<ContainerAppsStartResponse>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Stop a container app
|
|
1363
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1364
|
+
* @param containerAppName Name of the Container App.
|
|
1365
|
+
* @param options The options parameters.
|
|
1366
|
+
*/
|
|
1367
|
+
beginStop(resourceGroupName: string, containerAppName: string, options?: ContainerAppsStopOptionalParams): Promise<SimplePollerLike<OperationState<ContainerAppsStopResponse>, ContainerAppsStopResponse>>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Stop a container app
|
|
1370
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1371
|
+
* @param containerAppName Name of the Container App.
|
|
1372
|
+
* @param options The options parameters.
|
|
1373
|
+
*/
|
|
1374
|
+
beginStopAndWait(resourceGroupName: string, containerAppName: string, options?: ContainerAppsStopOptionalParams): Promise<ContainerAppsStopResponse>;
|
|
1321
1375
|
}
|
|
1322
1376
|
|
|
1323
1377
|
export declare class ContainerAppsAPIClient extends coreClient.ServiceClient {
|
|
@@ -1333,6 +1387,14 @@ export declare class ContainerAppsAPIClient extends coreClient.ServiceClient {
|
|
|
1333
1387
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerAppsAPIClientOptionalParams);
|
|
1334
1388
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1335
1389
|
private addCustomApiVersionPolicy;
|
|
1390
|
+
/**
|
|
1391
|
+
* Get details of a single job execution
|
|
1392
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1393
|
+
* @param jobName Job Name
|
|
1394
|
+
* @param jobExecutionName Job execution name.
|
|
1395
|
+
* @param options The options parameters.
|
|
1396
|
+
*/
|
|
1397
|
+
jobExecution(resourceGroupName: string, jobName: string, jobExecutionName: string, options?: JobExecutionOptionalParams): Promise<JobExecutionResponse>;
|
|
1336
1398
|
containerAppsAuthConfigs: ContainerAppsAuthConfigs;
|
|
1337
1399
|
availableWorkloadProfiles: AvailableWorkloadProfiles;
|
|
1338
1400
|
billingMeters: BillingMeters;
|
|
@@ -1341,14 +1403,14 @@ export declare class ContainerAppsAPIClient extends coreClient.ServiceClient {
|
|
|
1341
1403
|
connectedEnvironmentsDaprComponents: ConnectedEnvironmentsDaprComponents;
|
|
1342
1404
|
connectedEnvironmentsStorages: ConnectedEnvironmentsStorages;
|
|
1343
1405
|
containerApps: ContainerApps;
|
|
1344
|
-
jobs: Jobs;
|
|
1345
|
-
jobsExecutions: JobsExecutions;
|
|
1346
1406
|
containerAppsRevisions: ContainerAppsRevisions;
|
|
1347
1407
|
containerAppsRevisionReplicas: ContainerAppsRevisionReplicas;
|
|
1348
1408
|
containerAppsDiagnostics: ContainerAppsDiagnostics;
|
|
1349
1409
|
managedEnvironmentDiagnostics: ManagedEnvironmentDiagnostics;
|
|
1350
1410
|
managedEnvironmentsDiagnostics: ManagedEnvironmentsDiagnostics;
|
|
1351
1411
|
operations: Operations;
|
|
1412
|
+
jobs: Jobs;
|
|
1413
|
+
jobsExecutions: JobsExecutions;
|
|
1352
1414
|
managedEnvironments: ManagedEnvironments;
|
|
1353
1415
|
certificates: Certificates;
|
|
1354
1416
|
managedCertificates: ManagedCertificates;
|
|
@@ -1840,6 +1902,38 @@ export declare interface ContainerAppsSourceControlsListByContainerAppOptionalPa
|
|
|
1840
1902
|
/** Contains response data for the listByContainerApp operation. */
|
|
1841
1903
|
export declare type ContainerAppsSourceControlsListByContainerAppResponse = SourceControlCollection;
|
|
1842
1904
|
|
|
1905
|
+
/** Defines headers for ContainerApps_start operation. */
|
|
1906
|
+
export declare interface ContainerAppsStartHeaders {
|
|
1907
|
+
location?: string;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
/** Optional parameters. */
|
|
1911
|
+
export declare interface ContainerAppsStartOptionalParams extends coreClient.OperationOptions {
|
|
1912
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1913
|
+
updateIntervalInMs?: number;
|
|
1914
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1915
|
+
resumeFrom?: string;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
/** Contains response data for the start operation. */
|
|
1919
|
+
export declare type ContainerAppsStartResponse = ContainerApp;
|
|
1920
|
+
|
|
1921
|
+
/** Defines headers for ContainerApps_stop operation. */
|
|
1922
|
+
export declare interface ContainerAppsStopHeaders {
|
|
1923
|
+
location?: string;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
/** Optional parameters. */
|
|
1927
|
+
export declare interface ContainerAppsStopOptionalParams extends coreClient.OperationOptions {
|
|
1928
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1929
|
+
updateIntervalInMs?: number;
|
|
1930
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1931
|
+
resumeFrom?: string;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/** Contains response data for the stop operation. */
|
|
1935
|
+
export declare type ContainerAppsStopResponse = ContainerApp;
|
|
1936
|
+
|
|
1843
1937
|
/** Defines headers for ContainerApps_update operation. */
|
|
1844
1938
|
export declare interface ContainerAppsUpdateHeaders {
|
|
1845
1939
|
location?: string;
|
|
@@ -2610,6 +2704,8 @@ export declare interface GithubActionConfiguration {
|
|
|
2610
2704
|
azureCredentials?: AzureCredentials;
|
|
2611
2705
|
/** Context path */
|
|
2612
2706
|
contextPath?: string;
|
|
2707
|
+
/** One time Github PAT to configure github environment */
|
|
2708
|
+
githubPersonalAccessToken?: string;
|
|
2613
2709
|
/** Image name */
|
|
2614
2710
|
image?: string;
|
|
2615
2711
|
/** Code or Image */
|
|
@@ -2818,10 +2914,22 @@ export declare interface JobConfiguration {
|
|
|
2818
2914
|
manualTriggerConfig?: JobConfigurationManualTriggerConfig;
|
|
2819
2915
|
/** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */
|
|
2820
2916
|
scheduleTriggerConfig?: JobConfigurationScheduleTriggerConfig;
|
|
2917
|
+
/** Trigger configuration of an event driven job. */
|
|
2918
|
+
eventTriggerConfig?: JobConfigurationEventTriggerConfig;
|
|
2821
2919
|
/** Collection of private container registry credentials used by a Container apps job */
|
|
2822
2920
|
registries?: RegistryCredentials[];
|
|
2823
2921
|
}
|
|
2824
2922
|
|
|
2923
|
+
/** Trigger configuration of an event driven job. */
|
|
2924
|
+
export declare interface JobConfigurationEventTriggerConfig {
|
|
2925
|
+
/** Minimum number of successful replica completions before overall job completion. */
|
|
2926
|
+
replicaCompletionCount?: number;
|
|
2927
|
+
/** Number of parallel replicas of a job that can run at a given time. */
|
|
2928
|
+
parallelism?: number;
|
|
2929
|
+
/** Scaling configurations for event driven jobs. */
|
|
2930
|
+
scale?: JobScale;
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2825
2933
|
/** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */
|
|
2826
2934
|
export declare interface JobConfigurationManualTriggerConfig {
|
|
2827
2935
|
/** Minimum number of successful replica completions before overall job completion. */
|
|
@@ -2840,7 +2948,7 @@ export declare interface JobConfigurationScheduleTriggerConfig {
|
|
|
2840
2948
|
parallelism?: number;
|
|
2841
2949
|
}
|
|
2842
2950
|
|
|
2843
|
-
/** Container Apps
|
|
2951
|
+
/** Container Apps Job execution. */
|
|
2844
2952
|
export declare interface JobExecution {
|
|
2845
2953
|
/** Job execution Name. */
|
|
2846
2954
|
name?: string;
|
|
@@ -2855,7 +2963,7 @@ export declare interface JobExecution {
|
|
|
2855
2963
|
readonly status?: JobExecutionRunningState;
|
|
2856
2964
|
/** Job execution start time. */
|
|
2857
2965
|
startTime?: Date;
|
|
2858
|
-
/** Job execution
|
|
2966
|
+
/** Job execution end time. */
|
|
2859
2967
|
endTime?: Date;
|
|
2860
2968
|
/** Job's execution container. */
|
|
2861
2969
|
template?: JobExecutionTemplate;
|
|
@@ -2891,6 +2999,13 @@ export declare interface JobExecutionNamesCollection {
|
|
|
2891
2999
|
value: JobExecutionBase[];
|
|
2892
3000
|
}
|
|
2893
3001
|
|
|
3002
|
+
/** Optional parameters. */
|
|
3003
|
+
export declare interface JobExecutionOptionalParams extends coreClient.OperationOptions {
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
/** Contains response data for the jobExecution operation. */
|
|
3007
|
+
export declare type JobExecutionResponse = JobExecution;
|
|
3008
|
+
|
|
2894
3009
|
/**
|
|
2895
3010
|
* Defines values for JobExecutionRunningState. \
|
|
2896
3011
|
* {@link KnownJobExecutionRunningState} can be used interchangeably with JobExecutionRunningState,
|
|
@@ -2967,14 +3082,14 @@ export declare interface Jobs {
|
|
|
2967
3082
|
/**
|
|
2968
3083
|
* Get the properties of a Container Apps Job.
|
|
2969
3084
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2970
|
-
* @param jobName Name
|
|
3085
|
+
* @param jobName Job Name
|
|
2971
3086
|
* @param options The options parameters.
|
|
2972
3087
|
*/
|
|
2973
3088
|
get(resourceGroupName: string, jobName: string, options?: JobsGetOptionalParams): Promise<JobsGetResponse>;
|
|
2974
3089
|
/**
|
|
2975
3090
|
* Create or Update a Container Apps Job.
|
|
2976
3091
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2977
|
-
* @param jobName Name
|
|
3092
|
+
* @param jobName Job Name
|
|
2978
3093
|
* @param jobEnvelope Properties used to create a container apps job
|
|
2979
3094
|
* @param options The options parameters.
|
|
2980
3095
|
*/
|
|
@@ -2982,7 +3097,7 @@ export declare interface Jobs {
|
|
|
2982
3097
|
/**
|
|
2983
3098
|
* Create or Update a Container Apps Job.
|
|
2984
3099
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2985
|
-
* @param jobName Name
|
|
3100
|
+
* @param jobName Job Name
|
|
2986
3101
|
* @param jobEnvelope Properties used to create a container apps job
|
|
2987
3102
|
* @param options The options parameters.
|
|
2988
3103
|
*/
|
|
@@ -2990,21 +3105,21 @@ export declare interface Jobs {
|
|
|
2990
3105
|
/**
|
|
2991
3106
|
* Delete a Container Apps Job.
|
|
2992
3107
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2993
|
-
* @param jobName Name
|
|
3108
|
+
* @param jobName Job Name
|
|
2994
3109
|
* @param options The options parameters.
|
|
2995
3110
|
*/
|
|
2996
3111
|
beginDelete(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
2997
3112
|
/**
|
|
2998
3113
|
* Delete a Container Apps Job.
|
|
2999
3114
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3000
|
-
* @param jobName Name
|
|
3115
|
+
* @param jobName Job Name
|
|
3001
3116
|
* @param options The options parameters.
|
|
3002
3117
|
*/
|
|
3003
3118
|
beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<void>;
|
|
3004
3119
|
/**
|
|
3005
3120
|
* Patches a Container Apps Job using JSON Merge Patch
|
|
3006
3121
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3007
|
-
* @param jobName Name
|
|
3122
|
+
* @param jobName Job Name
|
|
3008
3123
|
* @param jobEnvelope Properties used to create a container apps job
|
|
3009
3124
|
* @param options The options parameters.
|
|
3010
3125
|
*/
|
|
@@ -3012,7 +3127,7 @@ export declare interface Jobs {
|
|
|
3012
3127
|
/**
|
|
3013
3128
|
* Patches a Container Apps Job using JSON Merge Patch
|
|
3014
3129
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3015
|
-
* @param jobName Name
|
|
3130
|
+
* @param jobName Job Name
|
|
3016
3131
|
* @param jobEnvelope Properties used to create a container apps job
|
|
3017
3132
|
* @param options The options parameters.
|
|
3018
3133
|
*/
|
|
@@ -3020,23 +3135,21 @@ export declare interface Jobs {
|
|
|
3020
3135
|
/**
|
|
3021
3136
|
* Start a Container Apps Job
|
|
3022
3137
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3023
|
-
* @param jobName Name
|
|
3024
|
-
* @param template Properties used to start a job instance.
|
|
3138
|
+
* @param jobName Job Name
|
|
3025
3139
|
* @param options The options parameters.
|
|
3026
3140
|
*/
|
|
3027
|
-
beginStart(resourceGroupName: string, jobName: string,
|
|
3141
|
+
beginStart(resourceGroupName: string, jobName: string, options?: JobsStartOptionalParams): Promise<SimplePollerLike<OperationState<JobsStartResponse>, JobsStartResponse>>;
|
|
3028
3142
|
/**
|
|
3029
3143
|
* Start a Container Apps Job
|
|
3030
3144
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3031
|
-
* @param jobName Name
|
|
3032
|
-
* @param template Properties used to start a job instance.
|
|
3145
|
+
* @param jobName Job Name
|
|
3033
3146
|
* @param options The options parameters.
|
|
3034
3147
|
*/
|
|
3035
|
-
beginStartAndWait(resourceGroupName: string, jobName: string,
|
|
3148
|
+
beginStartAndWait(resourceGroupName: string, jobName: string, options?: JobsStartOptionalParams): Promise<JobsStartResponse>;
|
|
3036
3149
|
/**
|
|
3037
3150
|
* Terminates execution of a running container apps job
|
|
3038
3151
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3039
|
-
* @param jobName Name
|
|
3152
|
+
* @param jobName Job Name
|
|
3040
3153
|
* @param jobExecutionName Job execution name.
|
|
3041
3154
|
* @param options The options parameters.
|
|
3042
3155
|
*/
|
|
@@ -3044,7 +3157,7 @@ export declare interface Jobs {
|
|
|
3044
3157
|
/**
|
|
3045
3158
|
* Terminates execution of a running container apps job
|
|
3046
3159
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3047
|
-
* @param jobName Name
|
|
3160
|
+
* @param jobName Job Name
|
|
3048
3161
|
* @param jobExecutionName Job execution name.
|
|
3049
3162
|
* @param options The options parameters.
|
|
3050
3163
|
*/
|
|
@@ -3052,28 +3165,53 @@ export declare interface Jobs {
|
|
|
3052
3165
|
/**
|
|
3053
3166
|
* Terminates execution of a running container apps job
|
|
3054
3167
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3055
|
-
* @param jobName Name
|
|
3056
|
-
* @param jobExecutionName List of all job executions that should be stopped.
|
|
3168
|
+
* @param jobName Job Name
|
|
3057
3169
|
* @param options The options parameters.
|
|
3058
3170
|
*/
|
|
3059
|
-
beginStopMultipleExecutions(resourceGroupName: string, jobName: string,
|
|
3171
|
+
beginStopMultipleExecutions(resourceGroupName: string, jobName: string, options?: JobsStopMultipleExecutionsOptionalParams): Promise<SimplePollerLike<OperationState<JobsStopMultipleExecutionsResponse>, JobsStopMultipleExecutionsResponse>>;
|
|
3060
3172
|
/**
|
|
3061
3173
|
* Terminates execution of a running container apps job
|
|
3062
3174
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3063
|
-
* @param jobName Name
|
|
3064
|
-
* @param jobExecutionName List of all job executions that should be stopped.
|
|
3175
|
+
* @param jobName Job Name
|
|
3065
3176
|
* @param options The options parameters.
|
|
3066
3177
|
*/
|
|
3067
|
-
beginStopMultipleExecutionsAndWait(resourceGroupName: string, jobName: string,
|
|
3178
|
+
beginStopMultipleExecutionsAndWait(resourceGroupName: string, jobName: string, options?: JobsStopMultipleExecutionsOptionalParams): Promise<JobsStopMultipleExecutionsResponse>;
|
|
3068
3179
|
/**
|
|
3069
3180
|
* List secrets for a container apps job
|
|
3070
3181
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3071
|
-
* @param jobName Name
|
|
3182
|
+
* @param jobName Job Name
|
|
3072
3183
|
* @param options The options parameters.
|
|
3073
3184
|
*/
|
|
3074
3185
|
listSecrets(resourceGroupName: string, jobName: string, options?: JobsListSecretsOptionalParams): Promise<JobsListSecretsResponse>;
|
|
3075
3186
|
}
|
|
3076
3187
|
|
|
3188
|
+
/** Scaling configurations for event driven jobs. */
|
|
3189
|
+
export declare interface JobScale {
|
|
3190
|
+
/** Interval to check each event source in seconds. Defaults to 30s */
|
|
3191
|
+
pollingInterval?: number;
|
|
3192
|
+
/** Minimum number of job executions that are created for a trigger, default 0 */
|
|
3193
|
+
minExecutions?: number;
|
|
3194
|
+
/** Maximum number of job executions that are created for a trigger, default 100. */
|
|
3195
|
+
maxExecutions?: number;
|
|
3196
|
+
/** Scaling rules. */
|
|
3197
|
+
rules?: JobScaleRule[];
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
/** Scaling rule. */
|
|
3201
|
+
export declare interface JobScaleRule {
|
|
3202
|
+
/** Scale Rule Name */
|
|
3203
|
+
name?: string;
|
|
3204
|
+
/**
|
|
3205
|
+
* Type of the scale rule
|
|
3206
|
+
* eg: azure-servicebus, redis etc.
|
|
3207
|
+
*/
|
|
3208
|
+
type?: string;
|
|
3209
|
+
/** Metadata properties to describe the scale rule. */
|
|
3210
|
+
metadata?: Record<string, unknown>;
|
|
3211
|
+
/** Authentication secrets for the scale rule. */
|
|
3212
|
+
auth?: ScaleRuleAuth[];
|
|
3213
|
+
}
|
|
3214
|
+
|
|
3077
3215
|
/** Container Apps Jobs collection ARM resource. */
|
|
3078
3216
|
export declare interface JobsCollection {
|
|
3079
3217
|
/** Collection of resources. */
|
|
@@ -3120,7 +3258,7 @@ export declare interface JobsExecutions {
|
|
|
3120
3258
|
/**
|
|
3121
3259
|
* Get a Container Apps Job's executions
|
|
3122
3260
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3123
|
-
* @param jobName Name
|
|
3261
|
+
* @param jobName Job Name
|
|
3124
3262
|
* @param options The options parameters.
|
|
3125
3263
|
*/
|
|
3126
3264
|
list(resourceGroupName: string, jobName: string, options?: JobsExecutionsListOptionalParams): PagedAsyncIterableIterator<JobExecution>;
|
|
@@ -3191,6 +3329,8 @@ export declare interface JobsStartHeaders {
|
|
|
3191
3329
|
|
|
3192
3330
|
/** Optional parameters. */
|
|
3193
3331
|
export declare interface JobsStartOptionalParams extends coreClient.OperationOptions {
|
|
3332
|
+
/** Properties used to start a job execution. */
|
|
3333
|
+
template?: JobExecutionTemplate;
|
|
3194
3334
|
/** Delay to wait until next poll, in milliseconds. */
|
|
3195
3335
|
updateIntervalInMs?: number;
|
|
3196
3336
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
@@ -3370,6 +3510,16 @@ export declare enum KnownConnectedEnvironmentProvisioningState {
|
|
|
3370
3510
|
ScheduledForDelete = "ScheduledForDelete"
|
|
3371
3511
|
}
|
|
3372
3512
|
|
|
3513
|
+
/** Known values of {@link ContainerAppContainerRunningState} that the service accepts. */
|
|
3514
|
+
export declare enum KnownContainerAppContainerRunningState {
|
|
3515
|
+
/** Running */
|
|
3516
|
+
Running = "Running",
|
|
3517
|
+
/** Terminated */
|
|
3518
|
+
Terminated = "Terminated",
|
|
3519
|
+
/** Waiting */
|
|
3520
|
+
Waiting = "Waiting"
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3373
3523
|
/** Known values of {@link ContainerAppProvisioningState} that the service accepts. */
|
|
3374
3524
|
export declare enum KnownContainerAppProvisioningState {
|
|
3375
3525
|
/** InProgress */
|
|
@@ -3384,6 +3534,16 @@ export declare enum KnownContainerAppProvisioningState {
|
|
|
3384
3534
|
Deleting = "Deleting"
|
|
3385
3535
|
}
|
|
3386
3536
|
|
|
3537
|
+
/** Known values of {@link ContainerAppReplicaRunningState} that the service accepts. */
|
|
3538
|
+
export declare enum KnownContainerAppReplicaRunningState {
|
|
3539
|
+
/** Running */
|
|
3540
|
+
Running = "Running",
|
|
3541
|
+
/** NotRunning */
|
|
3542
|
+
NotRunning = "NotRunning",
|
|
3543
|
+
/** Unknown */
|
|
3544
|
+
Unknown = "Unknown"
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3387
3547
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
3388
3548
|
export declare enum KnownCreatedByType {
|
|
3389
3549
|
/** User */
|
|
@@ -3538,6 +3698,22 @@ export declare enum KnownRevisionProvisioningState {
|
|
|
3538
3698
|
Deprovisioned = "Deprovisioned"
|
|
3539
3699
|
}
|
|
3540
3700
|
|
|
3701
|
+
/** Known values of {@link RevisionRunningState} that the service accepts. */
|
|
3702
|
+
export declare enum KnownRevisionRunningState {
|
|
3703
|
+
/** Running */
|
|
3704
|
+
Running = "Running",
|
|
3705
|
+
/** Processing */
|
|
3706
|
+
Processing = "Processing",
|
|
3707
|
+
/** Stopped */
|
|
3708
|
+
Stopped = "Stopped",
|
|
3709
|
+
/** Degraded */
|
|
3710
|
+
Degraded = "Degraded",
|
|
3711
|
+
/** Failed */
|
|
3712
|
+
Failed = "Failed",
|
|
3713
|
+
/** Unknown */
|
|
3714
|
+
Unknown = "Unknown"
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3541
3717
|
/** Known values of {@link Scheme} that the service accepts. */
|
|
3542
3718
|
export declare enum KnownScheme {
|
|
3543
3719
|
/** Http */
|
|
@@ -3570,8 +3746,8 @@ export declare enum KnownStorageType {
|
|
|
3570
3746
|
|
|
3571
3747
|
/** Known values of {@link TriggerType} that the service accepts. */
|
|
3572
3748
|
export declare enum KnownTriggerType {
|
|
3573
|
-
/**
|
|
3574
|
-
|
|
3749
|
+
/** Schedule */
|
|
3750
|
+
Schedule = "Schedule",
|
|
3575
3751
|
/** Event */
|
|
3576
3752
|
Event = "Event",
|
|
3577
3753
|
/** Manual */
|
|
@@ -3588,7 +3764,7 @@ export declare enum KnownType {
|
|
|
3588
3764
|
Startup = "Startup"
|
|
3589
3765
|
}
|
|
3590
3766
|
|
|
3591
|
-
/** Log
|
|
3767
|
+
/** Log Analytics configuration, must only be provided when destination is configured as 'log-analytics' */
|
|
3592
3768
|
export declare interface LogAnalyticsConfiguration {
|
|
3593
3769
|
/** Log analytics customer id */
|
|
3594
3770
|
customerId?: string;
|
|
@@ -3847,6 +4023,8 @@ export declare interface ManagedEnvironment extends TrackedResource {
|
|
|
3847
4023
|
daprConfiguration?: DaprConfiguration;
|
|
3848
4024
|
/** 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. */
|
|
3849
4025
|
infrastructureResourceGroup?: string;
|
|
4026
|
+
/** Peer authentication settings for the Managed Environment */
|
|
4027
|
+
peerAuthentication?: ManagedEnvironmentPropertiesPeerAuthentication;
|
|
3850
4028
|
}
|
|
3851
4029
|
|
|
3852
4030
|
/** Interface representing a ManagedEnvironmentDiagnostics. */
|
|
@@ -3882,6 +4060,12 @@ export declare interface ManagedEnvironmentDiagnosticsListDetectorsOptionalParam
|
|
|
3882
4060
|
/** Contains response data for the listDetectors operation. */
|
|
3883
4061
|
export declare type ManagedEnvironmentDiagnosticsListDetectorsResponse = DiagnosticsCollection;
|
|
3884
4062
|
|
|
4063
|
+
/** Peer authentication settings for the Managed Environment */
|
|
4064
|
+
export declare interface ManagedEnvironmentPropertiesPeerAuthentication {
|
|
4065
|
+
/** Mutual TLS authentication settings for the Managed Environment */
|
|
4066
|
+
mtls?: Mtls;
|
|
4067
|
+
}
|
|
4068
|
+
|
|
3885
4069
|
/** Interface representing a ManagedEnvironments. */
|
|
3886
4070
|
export declare interface ManagedEnvironments {
|
|
3887
4071
|
/**
|
|
@@ -4190,6 +4374,12 @@ export declare interface ManagedServiceIdentity {
|
|
|
4190
4374
|
*/
|
|
4191
4375
|
export declare type ManagedServiceIdentityType = string;
|
|
4192
4376
|
|
|
4377
|
+
/** Configuration properties for mutual TLS authentication */
|
|
4378
|
+
export declare interface Mtls {
|
|
4379
|
+
/** Boolean indicating whether the mutual TLS authentication is enabled */
|
|
4380
|
+
enabled?: boolean;
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4193
4383
|
/** Interface representing a Namespaces. */
|
|
4194
4384
|
export declare interface Namespaces {
|
|
4195
4385
|
/**
|
|
@@ -4347,8 +4537,20 @@ export declare interface Replica extends ProxyResource {
|
|
|
4347
4537
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4348
4538
|
*/
|
|
4349
4539
|
readonly createdTime?: Date;
|
|
4540
|
+
/**
|
|
4541
|
+
* Current running state of the replica
|
|
4542
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4543
|
+
*/
|
|
4544
|
+
readonly runningState?: ContainerAppReplicaRunningState;
|
|
4545
|
+
/**
|
|
4546
|
+
* The details of replica current running state
|
|
4547
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4548
|
+
*/
|
|
4549
|
+
readonly runningStateDetails?: string;
|
|
4350
4550
|
/** The containers collection under a replica. */
|
|
4351
4551
|
containers?: ReplicaContainer[];
|
|
4552
|
+
/** The init containers collection under a replica. */
|
|
4553
|
+
initContainers?: ReplicaContainer[];
|
|
4352
4554
|
}
|
|
4353
4555
|
|
|
4354
4556
|
/** Container App Revision Replicas collection ARM resource. */
|
|
@@ -4369,6 +4571,16 @@ export declare interface ReplicaContainer {
|
|
|
4369
4571
|
started?: boolean;
|
|
4370
4572
|
/** The container restart count */
|
|
4371
4573
|
restartCount?: number;
|
|
4574
|
+
/**
|
|
4575
|
+
* Current running state of the container
|
|
4576
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4577
|
+
*/
|
|
4578
|
+
readonly runningState?: ContainerAppContainerRunningState;
|
|
4579
|
+
/**
|
|
4580
|
+
* The details of container current running state
|
|
4581
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4582
|
+
*/
|
|
4583
|
+
readonly runningStateDetails?: string;
|
|
4372
4584
|
/**
|
|
4373
4585
|
* Log Stream endpoint
|
|
4374
4586
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -4460,6 +4672,11 @@ export declare interface Revision extends ProxyResource {
|
|
|
4460
4672
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4461
4673
|
*/
|
|
4462
4674
|
readonly provisioningState?: RevisionProvisioningState;
|
|
4675
|
+
/**
|
|
4676
|
+
* Current running state of the revision
|
|
4677
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4678
|
+
*/
|
|
4679
|
+
readonly runningState?: RevisionRunningState;
|
|
4463
4680
|
}
|
|
4464
4681
|
|
|
4465
4682
|
/** Container App Revisions collection ARM resource. */
|
|
@@ -4497,6 +4714,20 @@ export declare type RevisionHealthState = string;
|
|
|
4497
4714
|
*/
|
|
4498
4715
|
export declare type RevisionProvisioningState = string;
|
|
4499
4716
|
|
|
4717
|
+
/**
|
|
4718
|
+
* Defines values for RevisionRunningState. \
|
|
4719
|
+
* {@link KnownRevisionRunningState} can be used interchangeably with RevisionRunningState,
|
|
4720
|
+
* this enum contains the known values that the service supports.
|
|
4721
|
+
* ### Known values supported by the service
|
|
4722
|
+
* **Running** \
|
|
4723
|
+
* **Processing** \
|
|
4724
|
+
* **Stopped** \
|
|
4725
|
+
* **Degraded** \
|
|
4726
|
+
* **Failed** \
|
|
4727
|
+
* **Unknown**
|
|
4728
|
+
*/
|
|
4729
|
+
export declare type RevisionRunningState = string;
|
|
4730
|
+
|
|
4500
4731
|
/** Container App scaling configurations. */
|
|
4501
4732
|
export declare interface Scale {
|
|
4502
4733
|
/** Optional. Minimum number of container replicas. */
|
|
@@ -4521,9 +4752,9 @@ export declare interface ScaleRule {
|
|
|
4521
4752
|
tcp?: TcpScaleRule;
|
|
4522
4753
|
}
|
|
4523
4754
|
|
|
4524
|
-
/** Auth Secrets for
|
|
4755
|
+
/** Auth Secrets for Scale Rule */
|
|
4525
4756
|
export declare interface ScaleRuleAuth {
|
|
4526
|
-
/** Name of the
|
|
4757
|
+
/** Name of the secret from which to pull the auth params. */
|
|
4527
4758
|
secretRef?: string;
|
|
4528
4759
|
/** Trigger Parameter that uses the secret */
|
|
4529
4760
|
triggerParameter?: string;
|
|
@@ -4565,6 +4796,20 @@ export declare interface SecretVolumeItem {
|
|
|
4565
4796
|
path?: string;
|
|
4566
4797
|
}
|
|
4567
4798
|
|
|
4799
|
+
/** Container App to be a dev service */
|
|
4800
|
+
export declare interface Service {
|
|
4801
|
+
/** Dev ContainerApp service type */
|
|
4802
|
+
type: string;
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
/** Configuration to bind a ContainerApp to a dev ContainerApp Service */
|
|
4806
|
+
export declare interface ServiceBind {
|
|
4807
|
+
/** Resource id of the target service */
|
|
4808
|
+
serviceId?: string;
|
|
4809
|
+
/** Name of the service bind */
|
|
4810
|
+
name?: string;
|
|
4811
|
+
}
|
|
4812
|
+
|
|
4568
4813
|
/** Container App SourceControl. */
|
|
4569
4814
|
export declare interface SourceControl extends ProxyResource {
|
|
4570
4815
|
/**
|
|
@@ -4652,6 +4897,8 @@ export declare interface TcpScaleRule {
|
|
|
4652
4897
|
export declare interface Template {
|
|
4653
4898
|
/** User friendly suffix that is appended to the revision name */
|
|
4654
4899
|
revisionSuffix?: string;
|
|
4900
|
+
/** 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. */
|
|
4901
|
+
terminationGracePeriodSeconds?: number;
|
|
4655
4902
|
/** List of specialized containers that run before app containers. */
|
|
4656
4903
|
initContainers?: InitContainer[];
|
|
4657
4904
|
/** List of container definitions for the Container App. */
|
|
@@ -4660,6 +4907,8 @@ export declare interface Template {
|
|
|
4660
4907
|
scale?: Scale;
|
|
4661
4908
|
/** List of volume definitions for the Container App. */
|
|
4662
4909
|
volumes?: Volume[];
|
|
4910
|
+
/** List of container app services bound to the app */
|
|
4911
|
+
serviceBinds?: ServiceBind[];
|
|
4663
4912
|
}
|
|
4664
4913
|
|
|
4665
4914
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
@@ -4689,7 +4938,7 @@ export declare interface TrafficWeight {
|
|
|
4689
4938
|
* {@link KnownTriggerType} can be used interchangeably with TriggerType,
|
|
4690
4939
|
* this enum contains the known values that the service supports.
|
|
4691
4940
|
* ### Known values supported by the service
|
|
4692
|
-
* **
|
|
4941
|
+
* **Schedule** \
|
|
4693
4942
|
* **Event** \
|
|
4694
4943
|
* **Manual**
|
|
4695
4944
|
*/
|
|
@@ -4770,6 +5019,8 @@ export declare interface Volume {
|
|
|
4770
5019
|
storageName?: string;
|
|
4771
5020
|
/** List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume. */
|
|
4772
5021
|
secrets?: SecretVolumeItem[];
|
|
5022
|
+
/** Mount options used while mounting the AzureFile. Must be a comma-separated string. */
|
|
5023
|
+
mountOptions?: string;
|
|
4773
5024
|
}
|
|
4774
5025
|
|
|
4775
5026
|
/** Volume mount for the Container App. */
|
|
@@ -4778,6 +5029,8 @@ export declare interface VolumeMount {
|
|
|
4778
5029
|
volumeName?: string;
|
|
4779
5030
|
/** Path within the container at which the volume should be mounted.Must not contain ':'. */
|
|
4780
5031
|
mountPath?: string;
|
|
5032
|
+
/** Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). */
|
|
5033
|
+
subPath?: string;
|
|
4781
5034
|
}
|
|
4782
5035
|
|
|
4783
5036
|
/** Workload profile to scope container app execution. */
|