@azure/arm-managedapplications 2.1.1-alpha.20230823.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +182 -8
- package/LICENSE +1 -1
- package/dist/index.js +2905 -1060
- 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/applicationDefinitionsCreateOrUpdateByIdSample.js +14 -8
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.js +14 -8
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.js +13 -6
- package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.js +13 -6
- package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.js +11 -4
- package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsGetSample.js +11 -4
- package/dist-esm/samples-dev/applicationDefinitionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.js +12 -5
- package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.js +57 -0
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.js +41 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.js +41 -0
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.js +15 -9
- package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +14 -7
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsDeleteByIdSample.js +12 -6
- package/dist-esm/samples-dev/applicationsDeleteByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.js +12 -5
- package/dist-esm/samples-dev/applicationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsGetByIdSample.js +12 -6
- package/dist-esm/samples-dev/applicationsGetByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +11 -4
- package/dist-esm/samples-dev/applicationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.js +38 -0
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationsListByResourceGroupSample.js +14 -7
- package/dist-esm/samples-dev/applicationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsListBySubscriptionSample.js +13 -6
- package/dist-esm/samples-dev/applicationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsListTokensSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationsListTokensSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationsListTokensSample.js +42 -0
- package/dist-esm/samples-dev/applicationsListTokensSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.js +38 -0
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.d.ts +2 -0
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.js +49 -0
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.js.map +1 -0
- package/dist-esm/samples-dev/applicationsUpdateByIdSample.js +15 -9
- package/dist-esm/samples-dev/applicationsUpdateByIdSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsUpdateSample.js +15 -8
- package/dist-esm/samples-dev/applicationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/jitRequestsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/jitRequestsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jitRequestsDeleteSample.js +38 -0
- package/dist-esm/samples-dev/jitRequestsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/jitRequestsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/jitRequestsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jitRequestsGetSample.js +38 -0
- package/dist-esm/samples-dev/jitRequestsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.js +37 -0
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.js +36 -0
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/jitRequestsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/jitRequestsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jitRequestsUpdateSample.js +39 -0
- package/dist-esm/samples-dev/jitRequestsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/listOperationsSample.js +10 -4
- package/dist-esm/samples-dev/listOperationsSample.js.map +1 -1
- package/dist-esm/src/applicationClient.d.ts +4 -2
- package/dist-esm/src/applicationClient.d.ts.map +1 -1
- package/dist-esm/src/applicationClient.js +17 -13
- package/dist-esm/src/applicationClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +865 -88
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +148 -6
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +33 -4
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1146 -112
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +8 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +59 -16
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/applicationDefinitions.d.ts +31 -28
- package/dist-esm/src/operations/applicationDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/applicationDefinitions.js +190 -197
- package/dist-esm/src/operations/applicationDefinitions.js.map +1 -1
- package/dist-esm/src/operations/applications.d.ts +78 -20
- package/dist-esm/src/operations/applications.d.ts.map +1 -1
- package/dist-esm/src/operations/applications.js +407 -55
- package/dist-esm/src/operations/applications.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/jitRequests.d.ts +63 -0
- package/dist-esm/src/operations/jitRequests.d.ts.map +1 -0
- package/dist-esm/src/operations/jitRequests.js +260 -0
- package/dist-esm/src/operations/jitRequests.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/applicationDefinitions.d.ts +19 -29
- package/dist-esm/src/operationsInterfaces/applicationDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/applications.d.ts +76 -18
- package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jitRequests.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/jitRequests.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jitRequests.js +9 -0
- package/dist-esm/src/operationsInterfaces/jitRequests.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/managedapplications_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/managedapplications_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/managedapplications_operations_test.spec.js +76 -0
- package/dist-esm/test/managedapplications_operations_test.spec.js.map +1 -0
- package/package.json +10 -9
- package/review/arm-managedapplications.api.md +536 -53
- package/src/applicationClient.ts +37 -8
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +952 -96
- package/src/models/mappers.ts +1273 -173
- package/src/models/parameters.ts +71 -17
- package/src/operations/applicationDefinitions.ts +218 -300
- package/src/operations/applications.ts +561 -80
- package/src/operations/index.ts +1 -0
- package/src/operations/jitRequests.ts +366 -0
- package/src/operationsInterfaces/applicationDefinitions.ts +35 -55
- package/src/operationsInterfaces/applications.ts +130 -20
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/jitRequests.ts +110 -0
- package/src/pagingHelper.ts +4 -4
- package/tsconfig.json +0 -8
- package/types/arm-managedapplications.d.ts +1080 -118
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Defines values for ActionType. \
|
|
9
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
10
|
+
* this enum contains the known values that the service supports.
|
|
11
|
+
* ### Known values supported by the service
|
|
12
|
+
* **Internal**
|
|
13
|
+
*/
|
|
14
|
+
export declare type ActionType = string;
|
|
15
|
+
|
|
16
|
+
/** The array of plan. */
|
|
17
|
+
export declare interface AllowedUpgradePlansResult {
|
|
18
|
+
/** The array of plans. */
|
|
19
|
+
value?: Plan[];
|
|
20
|
+
}
|
|
6
21
|
|
|
7
22
|
/** Information about managed application. */
|
|
8
23
|
export declare interface Application extends GenericResource {
|
|
@@ -10,8 +25,10 @@ export declare interface Application extends GenericResource {
|
|
|
10
25
|
plan?: Plan;
|
|
11
26
|
/** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */
|
|
12
27
|
kind: string;
|
|
28
|
+
/** The identity of the resource. */
|
|
29
|
+
identity?: Identity;
|
|
13
30
|
/** The managed resource group Id. */
|
|
14
|
-
managedResourceGroupId
|
|
31
|
+
managedResourceGroupId?: string;
|
|
15
32
|
/** The fully qualified path of managed application definition Id. */
|
|
16
33
|
applicationDefinitionId?: string;
|
|
17
34
|
/** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */
|
|
@@ -26,25 +43,98 @@ export declare interface Application extends GenericResource {
|
|
|
26
43
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
27
44
|
*/
|
|
28
45
|
readonly provisioningState?: ProvisioningState;
|
|
46
|
+
/**
|
|
47
|
+
* The managed application billing details.
|
|
48
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
49
|
+
*/
|
|
50
|
+
readonly billingDetails?: ApplicationBillingDetailsDefinition;
|
|
51
|
+
/** The managed application Jit access policy. */
|
|
52
|
+
jitAccessPolicy?: ApplicationJitAccessPolicy;
|
|
53
|
+
/**
|
|
54
|
+
* The publisher tenant Id.
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
|
+
*/
|
|
57
|
+
readonly publisherTenantId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The read-only authorizations property that is retrieved from the application package.
|
|
60
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
|
+
*/
|
|
62
|
+
readonly authorizations?: ApplicationAuthorization[];
|
|
63
|
+
/**
|
|
64
|
+
* The managed application management mode.
|
|
65
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
66
|
+
*/
|
|
67
|
+
readonly managementMode?: ApplicationManagementMode;
|
|
68
|
+
/**
|
|
69
|
+
* The read-only customer support property that is retrieved from the application package.
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
71
|
+
*/
|
|
72
|
+
readonly customerSupport?: ApplicationPackageContact;
|
|
73
|
+
/**
|
|
74
|
+
* The read-only support URLs property that is retrieved from the application package.
|
|
75
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
76
|
+
*/
|
|
77
|
+
readonly supportUrls?: ApplicationPackageSupportUrls;
|
|
78
|
+
/**
|
|
79
|
+
* The collection of managed application artifacts.
|
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
81
|
+
*/
|
|
82
|
+
readonly artifacts?: ApplicationArtifact[];
|
|
83
|
+
/**
|
|
84
|
+
* The client entity that created the JIT request.
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
86
|
+
*/
|
|
87
|
+
readonly createdBy?: ApplicationClientDetails;
|
|
88
|
+
/**
|
|
89
|
+
* The client entity that last updated the JIT request.
|
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
91
|
+
*/
|
|
92
|
+
readonly updatedBy?: ApplicationClientDetails;
|
|
29
93
|
}
|
|
30
94
|
|
|
31
95
|
/** Managed application artifact. */
|
|
32
96
|
export declare interface ApplicationArtifact {
|
|
33
97
|
/** The managed application artifact name. */
|
|
34
|
-
name
|
|
98
|
+
name: ApplicationArtifactName;
|
|
35
99
|
/** The managed application artifact blob uri. */
|
|
36
|
-
uri
|
|
100
|
+
uri: string;
|
|
37
101
|
/** The managed application artifact type. */
|
|
38
|
-
type
|
|
102
|
+
type: ApplicationArtifactType;
|
|
39
103
|
}
|
|
40
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Defines values for ApplicationArtifactName. \
|
|
107
|
+
* {@link KnownApplicationArtifactName} can be used interchangeably with ApplicationArtifactName,
|
|
108
|
+
* this enum contains the known values that the service supports.
|
|
109
|
+
* ### Known values supported by the service
|
|
110
|
+
* **NotSpecified** \
|
|
111
|
+
* **ViewDefinition** \
|
|
112
|
+
* **Authorizations** \
|
|
113
|
+
* **CustomRoleDefinition**
|
|
114
|
+
*/
|
|
115
|
+
export declare type ApplicationArtifactName = string;
|
|
116
|
+
|
|
41
117
|
/** Defines values for ApplicationArtifactType. */
|
|
42
|
-
export declare type ApplicationArtifactType = "Template" | "Custom";
|
|
118
|
+
export declare type ApplicationArtifactType = "NotSpecified" | "Template" | "Custom";
|
|
119
|
+
|
|
120
|
+
/** The managed application provider authorization. */
|
|
121
|
+
export declare interface ApplicationAuthorization {
|
|
122
|
+
/** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */
|
|
123
|
+
principalId: string;
|
|
124
|
+
/** The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. */
|
|
125
|
+
roleDefinitionId: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/** Managed application billing details definition. */
|
|
129
|
+
export declare interface ApplicationBillingDetailsDefinition {
|
|
130
|
+
/** The managed application resource usage Id. */
|
|
131
|
+
resourceUsageId?: string;
|
|
132
|
+
}
|
|
43
133
|
|
|
44
134
|
export declare class ApplicationClient extends coreClient.ServiceClient {
|
|
45
135
|
$host: string;
|
|
46
136
|
apiVersion: string;
|
|
47
|
-
subscriptionId
|
|
137
|
+
subscriptionId?: string;
|
|
48
138
|
/**
|
|
49
139
|
* Initializes a new instance of the ApplicationClient class.
|
|
50
140
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -52,6 +142,7 @@ export declare class ApplicationClient extends coreClient.ServiceClient {
|
|
|
52
142
|
* @param options The parameter options
|
|
53
143
|
*/
|
|
54
144
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationClientOptionalParams);
|
|
145
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ApplicationClientOptionalParams);
|
|
55
146
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
56
147
|
private addCustomApiVersionPolicy;
|
|
57
148
|
/**
|
|
@@ -74,6 +165,17 @@ export declare class ApplicationClient extends coreClient.ServiceClient {
|
|
|
74
165
|
private _listOperationsNext;
|
|
75
166
|
applications: Applications;
|
|
76
167
|
applicationDefinitions: ApplicationDefinitions;
|
|
168
|
+
jitRequests: JitRequests;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/** The application client details to track the entity creating/updating the managed app resource. */
|
|
172
|
+
export declare interface ApplicationClientDetails {
|
|
173
|
+
/** The client Oid. */
|
|
174
|
+
oid?: string;
|
|
175
|
+
/** The client Puid */
|
|
176
|
+
puid?: string;
|
|
177
|
+
/** The client application Id. */
|
|
178
|
+
applicationId?: string;
|
|
77
179
|
}
|
|
78
180
|
|
|
79
181
|
/** Optional parameters. */
|
|
@@ -93,21 +195,55 @@ export declare interface ApplicationDefinition extends GenericResource {
|
|
|
93
195
|
/** The managed application definition display name. */
|
|
94
196
|
displayName?: string;
|
|
95
197
|
/** A value indicating whether the package is enabled or not. */
|
|
96
|
-
isEnabled?:
|
|
198
|
+
isEnabled?: boolean;
|
|
97
199
|
/** The managed application provider authorizations. */
|
|
98
|
-
authorizations
|
|
200
|
+
authorizations?: ApplicationAuthorization[];
|
|
99
201
|
/** The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. */
|
|
100
|
-
artifacts?:
|
|
202
|
+
artifacts?: ApplicationDefinitionArtifact[];
|
|
101
203
|
/** The managed application definition description. */
|
|
102
204
|
description?: string;
|
|
103
205
|
/** The managed application definition package file Uri. Use this element */
|
|
104
206
|
packageFileUri?: string;
|
|
207
|
+
/** The storage account id for bring your own storage scenario. */
|
|
208
|
+
storageAccountId?: string;
|
|
105
209
|
/** The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. */
|
|
106
210
|
mainTemplate?: Record<string, unknown>;
|
|
107
211
|
/** The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. */
|
|
108
212
|
createUiDefinition?: Record<string, unknown>;
|
|
213
|
+
/** The managed application notification policy. */
|
|
214
|
+
notificationPolicy?: ApplicationNotificationPolicy;
|
|
215
|
+
/** The managed application locking policy. */
|
|
216
|
+
lockingPolicy?: ApplicationPackageLockingPolicyDefinition;
|
|
217
|
+
/** The managed application deployment policy. */
|
|
218
|
+
deploymentPolicy?: ApplicationDeploymentPolicy;
|
|
219
|
+
/** The managed application management policy that determines publisher's access to the managed resource group. */
|
|
220
|
+
managementPolicy?: ApplicationManagementPolicy;
|
|
221
|
+
/** The managed application provider policies. */
|
|
222
|
+
policies?: ApplicationPolicy[];
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/** Application definition artifact. */
|
|
226
|
+
export declare interface ApplicationDefinitionArtifact {
|
|
227
|
+
/** The managed application definition artifact name. */
|
|
228
|
+
name: ApplicationDefinitionArtifactName;
|
|
229
|
+
/** The managed application definition artifact blob uri. */
|
|
230
|
+
uri: string;
|
|
231
|
+
/** The managed application definition artifact type. */
|
|
232
|
+
type: ApplicationArtifactType;
|
|
109
233
|
}
|
|
110
234
|
|
|
235
|
+
/**
|
|
236
|
+
* Defines values for ApplicationDefinitionArtifactName. \
|
|
237
|
+
* {@link KnownApplicationDefinitionArtifactName} can be used interchangeably with ApplicationDefinitionArtifactName,
|
|
238
|
+
* this enum contains the known values that the service supports.
|
|
239
|
+
* ### Known values supported by the service
|
|
240
|
+
* **NotSpecified** \
|
|
241
|
+
* **ApplicationResourceTemplate** \
|
|
242
|
+
* **CreateUiDefinition** \
|
|
243
|
+
* **MainTemplateParameters**
|
|
244
|
+
*/
|
|
245
|
+
export declare type ApplicationDefinitionArtifactName = string;
|
|
246
|
+
|
|
111
247
|
/** List of managed application definitions. */
|
|
112
248
|
export declare interface ApplicationDefinitionListResult {
|
|
113
249
|
/** The array of managed application definitions. */
|
|
@@ -116,6 +252,14 @@ export declare interface ApplicationDefinitionListResult {
|
|
|
116
252
|
nextLink?: string;
|
|
117
253
|
}
|
|
118
254
|
|
|
255
|
+
/** Information about an application definition request. */
|
|
256
|
+
export declare interface ApplicationDefinitionPatchable {
|
|
257
|
+
/** Application definition tags */
|
|
258
|
+
tags?: {
|
|
259
|
+
[propertyName: string]: string;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
119
263
|
/** Interface representing a ApplicationDefinitions. */
|
|
120
264
|
export declare interface ApplicationDefinitions {
|
|
121
265
|
/**
|
|
@@ -125,42 +269,40 @@ export declare interface ApplicationDefinitions {
|
|
|
125
269
|
*/
|
|
126
270
|
listByResourceGroup(resourceGroupName: string, options?: ApplicationDefinitionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ApplicationDefinition>;
|
|
127
271
|
/**
|
|
128
|
-
*
|
|
129
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
130
|
-
* @param applicationDefinitionName The name of the managed application definition.
|
|
272
|
+
* Lists all the application definitions within a subscription.
|
|
131
273
|
* @param options The options parameters.
|
|
132
274
|
*/
|
|
133
|
-
|
|
275
|
+
listBySubscription(options?: ApplicationDefinitionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ApplicationDefinition>;
|
|
134
276
|
/**
|
|
135
|
-
*
|
|
277
|
+
* Gets the managed application definition.
|
|
136
278
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
137
|
-
* @param applicationDefinitionName The name of the managed application definition
|
|
279
|
+
* @param applicationDefinitionName The name of the managed application definition.
|
|
138
280
|
* @param options The options parameters.
|
|
139
281
|
*/
|
|
140
|
-
|
|
282
|
+
get(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsGetOptionalParams): Promise<ApplicationDefinitionsGetResponse>;
|
|
141
283
|
/**
|
|
142
284
|
* Deletes the managed application definition.
|
|
143
285
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
144
|
-
* @param applicationDefinitionName The name of the managed application definition
|
|
286
|
+
* @param applicationDefinitionName The name of the managed application definition.
|
|
145
287
|
* @param options The options parameters.
|
|
146
288
|
*/
|
|
147
|
-
|
|
289
|
+
delete(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteOptionalParams): Promise<void>;
|
|
148
290
|
/**
|
|
149
|
-
* Creates a
|
|
291
|
+
* Creates or updates a managed application definition.
|
|
150
292
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
151
293
|
* @param applicationDefinitionName The name of the managed application definition.
|
|
152
294
|
* @param parameters Parameters supplied to the create or update an managed application definition.
|
|
153
295
|
* @param options The options parameters.
|
|
154
296
|
*/
|
|
155
|
-
|
|
297
|
+
createOrUpdate(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateOptionalParams): Promise<ApplicationDefinitionsCreateOrUpdateResponse>;
|
|
156
298
|
/**
|
|
157
|
-
*
|
|
299
|
+
* Updates the managed application definition.
|
|
158
300
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
159
301
|
* @param applicationDefinitionName The name of the managed application definition.
|
|
160
|
-
* @param parameters Parameters supplied to the
|
|
302
|
+
* @param parameters Parameters supplied to the update a managed application definition.
|
|
161
303
|
* @param options The options parameters.
|
|
162
304
|
*/
|
|
163
|
-
|
|
305
|
+
update(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinitionPatchable, options?: ApplicationDefinitionsUpdateOptionalParams): Promise<ApplicationDefinitionsUpdateResponse>;
|
|
164
306
|
/**
|
|
165
307
|
* Gets the managed application definition.
|
|
166
308
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -174,38 +316,27 @@ export declare interface ApplicationDefinitions {
|
|
|
174
316
|
* @param applicationDefinitionName The name of the managed application definition.
|
|
175
317
|
* @param options The options parameters.
|
|
176
318
|
*/
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Deletes the managed application definition.
|
|
180
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
181
|
-
* @param applicationDefinitionName The name of the managed application definition.
|
|
182
|
-
* @param options The options parameters.
|
|
183
|
-
*/
|
|
184
|
-
beginDeleteByIdAndWait(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams): Promise<void>;
|
|
319
|
+
deleteById(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams): Promise<void>;
|
|
185
320
|
/**
|
|
186
|
-
* Creates a
|
|
321
|
+
* Creates or updates a managed application definition.
|
|
187
322
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
188
323
|
* @param applicationDefinitionName The name of the managed application definition.
|
|
189
324
|
* @param parameters Parameters supplied to the create or update a managed application definition.
|
|
190
325
|
* @param options The options parameters.
|
|
191
326
|
*/
|
|
192
|
-
|
|
327
|
+
createOrUpdateById(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse>;
|
|
193
328
|
/**
|
|
194
|
-
*
|
|
329
|
+
* Updates the managed application definition.
|
|
195
330
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
196
331
|
* @param applicationDefinitionName The name of the managed application definition.
|
|
197
|
-
* @param parameters Parameters supplied to the
|
|
332
|
+
* @param parameters Parameters supplied to the update a managed application definition.
|
|
198
333
|
* @param options The options parameters.
|
|
199
334
|
*/
|
|
200
|
-
|
|
335
|
+
updateById(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinitionPatchable, options?: ApplicationDefinitionsUpdateByIdOptionalParams): Promise<ApplicationDefinitionsUpdateByIdResponse>;
|
|
201
336
|
}
|
|
202
337
|
|
|
203
338
|
/** Optional parameters. */
|
|
204
339
|
export declare interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams extends coreClient.OperationOptions {
|
|
205
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
206
|
-
updateIntervalInMs?: number;
|
|
207
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
208
|
-
resumeFrom?: string;
|
|
209
340
|
}
|
|
210
341
|
|
|
211
342
|
/** Contains response data for the createOrUpdateById operation. */
|
|
@@ -213,10 +344,6 @@ export declare type ApplicationDefinitionsCreateOrUpdateByIdResponse = Applicati
|
|
|
213
344
|
|
|
214
345
|
/** Optional parameters. */
|
|
215
346
|
export declare interface ApplicationDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
216
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
217
|
-
updateIntervalInMs?: number;
|
|
218
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
219
|
-
resumeFrom?: string;
|
|
220
347
|
}
|
|
221
348
|
|
|
222
349
|
/** Contains response data for the createOrUpdate operation. */
|
|
@@ -224,18 +351,10 @@ export declare type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDe
|
|
|
224
351
|
|
|
225
352
|
/** Optional parameters. */
|
|
226
353
|
export declare interface ApplicationDefinitionsDeleteByIdOptionalParams extends coreClient.OperationOptions {
|
|
227
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
228
|
-
updateIntervalInMs?: number;
|
|
229
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
230
|
-
resumeFrom?: string;
|
|
231
354
|
}
|
|
232
355
|
|
|
233
356
|
/** Optional parameters. */
|
|
234
357
|
export declare interface ApplicationDefinitionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
235
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
236
|
-
updateIntervalInMs?: number;
|
|
237
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
238
|
-
resumeFrom?: string;
|
|
239
358
|
}
|
|
240
359
|
|
|
241
360
|
/** Optional parameters. */
|
|
@@ -266,6 +385,52 @@ export declare interface ApplicationDefinitionsListByResourceGroupOptionalParams
|
|
|
266
385
|
/** Contains response data for the listByResourceGroup operation. */
|
|
267
386
|
export declare type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult;
|
|
268
387
|
|
|
388
|
+
/** Optional parameters. */
|
|
389
|
+
export declare interface ApplicationDefinitionsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
393
|
+
export declare type ApplicationDefinitionsListBySubscriptionNextResponse = ApplicationDefinitionListResult;
|
|
394
|
+
|
|
395
|
+
/** Optional parameters. */
|
|
396
|
+
export declare interface ApplicationDefinitionsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/** Contains response data for the listBySubscription operation. */
|
|
400
|
+
export declare type ApplicationDefinitionsListBySubscriptionResponse = ApplicationDefinitionListResult;
|
|
401
|
+
|
|
402
|
+
/** Optional parameters. */
|
|
403
|
+
export declare interface ApplicationDefinitionsUpdateByIdOptionalParams extends coreClient.OperationOptions {
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/** Contains response data for the updateById operation. */
|
|
407
|
+
export declare type ApplicationDefinitionsUpdateByIdResponse = ApplicationDefinition;
|
|
408
|
+
|
|
409
|
+
/** Optional parameters. */
|
|
410
|
+
export declare interface ApplicationDefinitionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/** Contains response data for the update operation. */
|
|
414
|
+
export declare type ApplicationDefinitionsUpdateResponse = ApplicationDefinition;
|
|
415
|
+
|
|
416
|
+
/** Managed application deployment policy. */
|
|
417
|
+
export declare interface ApplicationDeploymentPolicy {
|
|
418
|
+
/** The managed application deployment mode. */
|
|
419
|
+
deploymentMode: DeploymentMode;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/** Managed application Jit access policy. */
|
|
423
|
+
export declare interface ApplicationJitAccessPolicy {
|
|
424
|
+
/** Whether the JIT access is enabled. */
|
|
425
|
+
jitAccessEnabled: boolean;
|
|
426
|
+
/** JIT approval mode. */
|
|
427
|
+
jitApprovalMode?: JitApprovalMode;
|
|
428
|
+
/** The JIT approvers */
|
|
429
|
+
jitApprovers?: JitApproverDefinition[];
|
|
430
|
+
/** The maximum duration JIT access is granted. This is an ISO8601 time period value. */
|
|
431
|
+
maximumJitAccessDuration?: string;
|
|
432
|
+
}
|
|
433
|
+
|
|
269
434
|
/** List of managed applications. */
|
|
270
435
|
export declare interface ApplicationListResult {
|
|
271
436
|
/** The array of managed applications. */
|
|
@@ -277,12 +442,69 @@ export declare interface ApplicationListResult {
|
|
|
277
442
|
/** Defines values for ApplicationLockLevel. */
|
|
278
443
|
export declare type ApplicationLockLevel = "CanNotDelete" | "ReadOnly" | "None";
|
|
279
444
|
|
|
445
|
+
/**
|
|
446
|
+
* Defines values for ApplicationManagementMode. \
|
|
447
|
+
* {@link KnownApplicationManagementMode} can be used interchangeably with ApplicationManagementMode,
|
|
448
|
+
* this enum contains the known values that the service supports.
|
|
449
|
+
* ### Known values supported by the service
|
|
450
|
+
* **NotSpecified** \
|
|
451
|
+
* **Unmanaged** \
|
|
452
|
+
* **Managed**
|
|
453
|
+
*/
|
|
454
|
+
export declare type ApplicationManagementMode = string;
|
|
455
|
+
|
|
456
|
+
/** Managed application management policy. */
|
|
457
|
+
export declare interface ApplicationManagementPolicy {
|
|
458
|
+
/** The managed application management mode. */
|
|
459
|
+
mode?: ApplicationManagementMode;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/** Managed application notification endpoint. */
|
|
463
|
+
export declare interface ApplicationNotificationEndpoint {
|
|
464
|
+
/** The managed application notification endpoint uri. */
|
|
465
|
+
uri: string;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/** Managed application notification policy. */
|
|
469
|
+
export declare interface ApplicationNotificationPolicy {
|
|
470
|
+
/** The managed application notification endpoint. */
|
|
471
|
+
notificationEndpoints: ApplicationNotificationEndpoint[];
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/** The application package contact information. */
|
|
475
|
+
export declare interface ApplicationPackageContact {
|
|
476
|
+
/** The contact name. */
|
|
477
|
+
contactName?: string;
|
|
478
|
+
/** The contact email. */
|
|
479
|
+
email: string;
|
|
480
|
+
/** The contact phone number. */
|
|
481
|
+
phone: string;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/** Managed application locking policy. */
|
|
485
|
+
export declare interface ApplicationPackageLockingPolicyDefinition {
|
|
486
|
+
/** The deny assignment excluded actions. */
|
|
487
|
+
allowedActions?: string[];
|
|
488
|
+
/** The deny assignment excluded data actions. */
|
|
489
|
+
allowedDataActions?: string[];
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/** The appliance package support URLs. */
|
|
493
|
+
export declare interface ApplicationPackageSupportUrls {
|
|
494
|
+
/** The public azure support URL. */
|
|
495
|
+
publicAzure?: string;
|
|
496
|
+
/** The government cloud support URL. */
|
|
497
|
+
governmentCloud?: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
280
500
|
/** Information about managed application. */
|
|
281
501
|
export declare interface ApplicationPatchable extends GenericResource {
|
|
282
502
|
/** The plan information. */
|
|
283
503
|
plan?: PlanPatchable;
|
|
284
504
|
/** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */
|
|
285
505
|
kind?: string;
|
|
506
|
+
/** The identity of the resource. */
|
|
507
|
+
identity?: Identity;
|
|
286
508
|
/** The managed resource group Id. */
|
|
287
509
|
managedResourceGroupId?: string;
|
|
288
510
|
/** The fully qualified path of managed application definition Id. */
|
|
@@ -299,26 +521,75 @@ export declare interface ApplicationPatchable extends GenericResource {
|
|
|
299
521
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
300
522
|
*/
|
|
301
523
|
readonly provisioningState?: ProvisioningState;
|
|
524
|
+
/**
|
|
525
|
+
* The managed application billing details.
|
|
526
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
527
|
+
*/
|
|
528
|
+
readonly billingDetails?: ApplicationBillingDetailsDefinition;
|
|
529
|
+
/** The managed application Jit access policy. */
|
|
530
|
+
jitAccessPolicy?: ApplicationJitAccessPolicy;
|
|
531
|
+
/**
|
|
532
|
+
* The publisher tenant Id.
|
|
533
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
534
|
+
*/
|
|
535
|
+
readonly publisherTenantId?: string;
|
|
536
|
+
/**
|
|
537
|
+
* The read-only authorizations property that is retrieved from the application package.
|
|
538
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
539
|
+
*/
|
|
540
|
+
readonly authorizations?: ApplicationAuthorization[];
|
|
541
|
+
/**
|
|
542
|
+
* The managed application management mode.
|
|
543
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
544
|
+
*/
|
|
545
|
+
readonly managementMode?: ApplicationManagementMode;
|
|
546
|
+
/**
|
|
547
|
+
* The read-only customer support property that is retrieved from the application package.
|
|
548
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
549
|
+
*/
|
|
550
|
+
readonly customerSupport?: ApplicationPackageContact;
|
|
551
|
+
/**
|
|
552
|
+
* The read-only support URLs property that is retrieved from the application package.
|
|
553
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
554
|
+
*/
|
|
555
|
+
readonly supportUrls?: ApplicationPackageSupportUrls;
|
|
556
|
+
/**
|
|
557
|
+
* The collection of managed application artifacts.
|
|
558
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
559
|
+
*/
|
|
560
|
+
readonly artifacts?: ApplicationArtifact[];
|
|
561
|
+
/**
|
|
562
|
+
* The client entity that created the JIT request.
|
|
563
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
564
|
+
*/
|
|
565
|
+
readonly createdBy?: ApplicationClientDetails;
|
|
566
|
+
/**
|
|
567
|
+
* The client entity that last updated the JIT request.
|
|
568
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
569
|
+
*/
|
|
570
|
+
readonly updatedBy?: ApplicationClientDetails;
|
|
302
571
|
}
|
|
303
572
|
|
|
304
|
-
/**
|
|
305
|
-
export declare interface
|
|
306
|
-
/** The
|
|
307
|
-
|
|
308
|
-
/** The
|
|
309
|
-
|
|
573
|
+
/** Managed application policy. */
|
|
574
|
+
export declare interface ApplicationPolicy {
|
|
575
|
+
/** The policy name */
|
|
576
|
+
name?: string;
|
|
577
|
+
/** The policy definition Id. */
|
|
578
|
+
policyDefinitionId?: string;
|
|
579
|
+
/** The policy parameters. */
|
|
580
|
+
parameters?: string;
|
|
310
581
|
}
|
|
311
582
|
|
|
312
583
|
/** Interface representing a Applications. */
|
|
313
584
|
export declare interface Applications {
|
|
314
585
|
/**
|
|
315
|
-
*
|
|
586
|
+
* Lists all the applications within a resource group.
|
|
316
587
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
317
588
|
* @param options The options parameters.
|
|
318
589
|
*/
|
|
319
590
|
listByResourceGroup(resourceGroupName: string, options?: ApplicationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Application>;
|
|
320
591
|
/**
|
|
321
|
-
*
|
|
592
|
+
* Lists all the applications within a subscription.
|
|
322
593
|
* @param options The options parameters.
|
|
323
594
|
*/
|
|
324
595
|
listBySubscription(options?: ApplicationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Application>;
|
|
@@ -335,7 +606,7 @@ export declare interface Applications {
|
|
|
335
606
|
* @param applicationName The name of the managed application.
|
|
336
607
|
* @param options The options parameters.
|
|
337
608
|
*/
|
|
338
|
-
beginDelete(resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<
|
|
609
|
+
beginDelete(resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
339
610
|
/**
|
|
340
611
|
* Deletes the managed application.
|
|
341
612
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -344,15 +615,15 @@ export declare interface Applications {
|
|
|
344
615
|
*/
|
|
345
616
|
beginDeleteAndWait(resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<void>;
|
|
346
617
|
/**
|
|
347
|
-
* Creates a
|
|
618
|
+
* Creates or updates a managed application.
|
|
348
619
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
349
620
|
* @param applicationName The name of the managed application.
|
|
350
621
|
* @param parameters Parameters supplied to the create or update a managed application.
|
|
351
622
|
* @param options The options parameters.
|
|
352
623
|
*/
|
|
353
|
-
beginCreateOrUpdate(resourceGroupName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<
|
|
624
|
+
beginCreateOrUpdate(resourceGroupName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsCreateOrUpdateResponse>, ApplicationsCreateOrUpdateResponse>>;
|
|
354
625
|
/**
|
|
355
|
-
* Creates a
|
|
626
|
+
* Creates or updates a managed application.
|
|
356
627
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
357
628
|
* @param applicationName The name of the managed application.
|
|
358
629
|
* @param parameters Parameters supplied to the create or update a managed application.
|
|
@@ -360,13 +631,19 @@ export declare interface Applications {
|
|
|
360
631
|
*/
|
|
361
632
|
beginCreateOrUpdateAndWait(resourceGroupName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<ApplicationsCreateOrUpdateResponse>;
|
|
362
633
|
/**
|
|
363
|
-
* Updates an existing managed application.
|
|
364
|
-
* the
|
|
634
|
+
* Updates an existing managed application.
|
|
635
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
636
|
+
* @param applicationName The name of the managed application.
|
|
637
|
+
* @param options The options parameters.
|
|
638
|
+
*/
|
|
639
|
+
beginUpdate(resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsUpdateResponse>, ApplicationsUpdateResponse>>;
|
|
640
|
+
/**
|
|
641
|
+
* Updates an existing managed application.
|
|
365
642
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
366
643
|
* @param applicationName The name of the managed application.
|
|
367
644
|
* @param options The options parameters.
|
|
368
645
|
*/
|
|
369
|
-
|
|
646
|
+
beginUpdateAndWait(resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams): Promise<ApplicationsUpdateResponse>;
|
|
370
647
|
/**
|
|
371
648
|
* Gets the managed application.
|
|
372
649
|
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
@@ -382,7 +659,7 @@ export declare interface Applications {
|
|
|
382
659
|
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
383
660
|
* @param options The options parameters.
|
|
384
661
|
*/
|
|
385
|
-
beginDeleteById(applicationId: string, options?: ApplicationsDeleteByIdOptionalParams): Promise<
|
|
662
|
+
beginDeleteById(applicationId: string, options?: ApplicationsDeleteByIdOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
386
663
|
/**
|
|
387
664
|
* Deletes the managed application.
|
|
388
665
|
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
@@ -392,16 +669,16 @@ export declare interface Applications {
|
|
|
392
669
|
*/
|
|
393
670
|
beginDeleteByIdAndWait(applicationId: string, options?: ApplicationsDeleteByIdOptionalParams): Promise<void>;
|
|
394
671
|
/**
|
|
395
|
-
* Creates a
|
|
672
|
+
* Creates or updates a managed application.
|
|
396
673
|
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
397
674
|
* application name and the managed application resource type. Use the format,
|
|
398
675
|
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
399
676
|
* @param parameters Parameters supplied to the create or update a managed application.
|
|
400
677
|
* @param options The options parameters.
|
|
401
678
|
*/
|
|
402
|
-
beginCreateOrUpdateById(applicationId: string, parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams): Promise<
|
|
679
|
+
beginCreateOrUpdateById(applicationId: string, parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsCreateOrUpdateByIdResponse>, ApplicationsCreateOrUpdateByIdResponse>>;
|
|
403
680
|
/**
|
|
404
|
-
* Creates a
|
|
681
|
+
* Creates or updates a managed application.
|
|
405
682
|
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
406
683
|
* application name and the managed application resource type. Use the format,
|
|
407
684
|
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
@@ -410,14 +687,66 @@ export declare interface Applications {
|
|
|
410
687
|
*/
|
|
411
688
|
beginCreateOrUpdateByIdAndWait(applicationId: string, parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams): Promise<ApplicationsCreateOrUpdateByIdResponse>;
|
|
412
689
|
/**
|
|
413
|
-
* Updates an existing managed application.
|
|
414
|
-
* the
|
|
690
|
+
* Updates an existing managed application.
|
|
691
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
692
|
+
* application name and the managed application resource type. Use the format,
|
|
693
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
694
|
+
* @param options The options parameters.
|
|
695
|
+
*/
|
|
696
|
+
beginUpdateById(applicationId: string, options?: ApplicationsUpdateByIdOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsUpdateByIdResponse>, ApplicationsUpdateByIdResponse>>;
|
|
697
|
+
/**
|
|
698
|
+
* Updates an existing managed application.
|
|
415
699
|
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
416
700
|
* application name and the managed application resource type. Use the format,
|
|
417
701
|
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
418
702
|
* @param options The options parameters.
|
|
419
703
|
*/
|
|
420
|
-
|
|
704
|
+
beginUpdateByIdAndWait(applicationId: string, options?: ApplicationsUpdateByIdOptionalParams): Promise<ApplicationsUpdateByIdResponse>;
|
|
705
|
+
/**
|
|
706
|
+
* Refresh Permissions for application.
|
|
707
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
708
|
+
* @param applicationName The name of the managed application.
|
|
709
|
+
* @param options The options parameters.
|
|
710
|
+
*/
|
|
711
|
+
beginRefreshPermissions(resourceGroupName: string, applicationName: string, options?: ApplicationsRefreshPermissionsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
712
|
+
/**
|
|
713
|
+
* Refresh Permissions for application.
|
|
714
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
715
|
+
* @param applicationName The name of the managed application.
|
|
716
|
+
* @param options The options parameters.
|
|
717
|
+
*/
|
|
718
|
+
beginRefreshPermissionsAndWait(resourceGroupName: string, applicationName: string, options?: ApplicationsRefreshPermissionsOptionalParams): Promise<void>;
|
|
719
|
+
/**
|
|
720
|
+
* List allowed upgrade plans for application.
|
|
721
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
722
|
+
* @param applicationName The name of the managed application.
|
|
723
|
+
* @param options The options parameters.
|
|
724
|
+
*/
|
|
725
|
+
listAllowedUpgradePlans(resourceGroupName: string, applicationName: string, options?: ApplicationsListAllowedUpgradePlansOptionalParams): Promise<ApplicationsListAllowedUpgradePlansResponse>;
|
|
726
|
+
/**
|
|
727
|
+
* Update access for application.
|
|
728
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
729
|
+
* @param applicationName The name of the managed application.
|
|
730
|
+
* @param parameters Request body parameters to list tokens.
|
|
731
|
+
* @param options The options parameters.
|
|
732
|
+
*/
|
|
733
|
+
beginUpdateAccess(resourceGroupName: string, applicationName: string, parameters: UpdateAccessDefinition, options?: ApplicationsUpdateAccessOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
734
|
+
/**
|
|
735
|
+
* Update access for application.
|
|
736
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
737
|
+
* @param applicationName The name of the managed application.
|
|
738
|
+
* @param parameters Request body parameters to list tokens.
|
|
739
|
+
* @param options The options parameters.
|
|
740
|
+
*/
|
|
741
|
+
beginUpdateAccessAndWait(resourceGroupName: string, applicationName: string, parameters: UpdateAccessDefinition, options?: ApplicationsUpdateAccessOptionalParams): Promise<void>;
|
|
742
|
+
/**
|
|
743
|
+
* List tokens for application.
|
|
744
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
745
|
+
* @param applicationName The name of the managed application.
|
|
746
|
+
* @param parameters Request body parameters to list tokens.
|
|
747
|
+
* @param options The options parameters.
|
|
748
|
+
*/
|
|
749
|
+
listTokens(resourceGroupName: string, applicationName: string, parameters: ListTokenRequest, options?: ApplicationsListTokensOptionalParams): Promise<ApplicationsListTokensResponse>;
|
|
421
750
|
}
|
|
422
751
|
|
|
423
752
|
/** Optional parameters. */
|
|
@@ -472,6 +801,13 @@ export declare interface ApplicationsGetOptionalParams extends coreClient.Operat
|
|
|
472
801
|
/** Contains response data for the get operation. */
|
|
473
802
|
export declare type ApplicationsGetResponse = Application;
|
|
474
803
|
|
|
804
|
+
/** Optional parameters. */
|
|
805
|
+
export declare interface ApplicationsListAllowedUpgradePlansOptionalParams extends coreClient.OperationOptions {
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/** Contains response data for the listAllowedUpgradePlans operation. */
|
|
809
|
+
export declare type ApplicationsListAllowedUpgradePlansResponse = AllowedUpgradePlansResult;
|
|
810
|
+
|
|
475
811
|
/** Optional parameters. */
|
|
476
812
|
export declare interface ApplicationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
477
813
|
}
|
|
@@ -500,32 +836,125 @@ export declare interface ApplicationsListBySubscriptionOptionalParams extends co
|
|
|
500
836
|
/** Contains response data for the listBySubscription operation. */
|
|
501
837
|
export declare type ApplicationsListBySubscriptionResponse = ApplicationListResult;
|
|
502
838
|
|
|
839
|
+
/** Optional parameters. */
|
|
840
|
+
export declare interface ApplicationsListTokensOptionalParams extends coreClient.OperationOptions {
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/** Contains response data for the listTokens operation. */
|
|
844
|
+
export declare type ApplicationsListTokensResponse = ManagedIdentityTokenResult;
|
|
845
|
+
|
|
846
|
+
/** Optional parameters. */
|
|
847
|
+
export declare interface ApplicationsRefreshPermissionsOptionalParams extends coreClient.OperationOptions {
|
|
848
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
849
|
+
updateIntervalInMs?: number;
|
|
850
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
851
|
+
resumeFrom?: string;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/** Optional parameters. */
|
|
855
|
+
export declare interface ApplicationsUpdateAccessOptionalParams extends coreClient.OperationOptions {
|
|
856
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
857
|
+
updateIntervalInMs?: number;
|
|
858
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
859
|
+
resumeFrom?: string;
|
|
860
|
+
}
|
|
861
|
+
|
|
503
862
|
/** Optional parameters. */
|
|
504
863
|
export declare interface ApplicationsUpdateByIdOptionalParams extends coreClient.OperationOptions {
|
|
505
864
|
/** Parameters supplied to update an existing managed application. */
|
|
506
|
-
parameters?:
|
|
865
|
+
parameters?: ApplicationPatchable;
|
|
866
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
867
|
+
updateIntervalInMs?: number;
|
|
868
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
869
|
+
resumeFrom?: string;
|
|
507
870
|
}
|
|
508
871
|
|
|
509
872
|
/** Contains response data for the updateById operation. */
|
|
510
|
-
export declare type ApplicationsUpdateByIdResponse =
|
|
873
|
+
export declare type ApplicationsUpdateByIdResponse = ApplicationPatchable;
|
|
511
874
|
|
|
512
875
|
/** Optional parameters. */
|
|
513
876
|
export declare interface ApplicationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
514
877
|
/** Parameters supplied to update an existing managed application. */
|
|
515
878
|
parameters?: ApplicationPatchable;
|
|
879
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
880
|
+
updateIntervalInMs?: number;
|
|
881
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
882
|
+
resumeFrom?: string;
|
|
516
883
|
}
|
|
517
884
|
|
|
518
885
|
/** Contains response data for the update operation. */
|
|
519
|
-
export declare type ApplicationsUpdateResponse =
|
|
886
|
+
export declare type ApplicationsUpdateResponse = ApplicationPatchable;
|
|
520
887
|
|
|
521
|
-
/**
|
|
888
|
+
/**
|
|
889
|
+
* Defines values for CreatedByType. \
|
|
890
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
891
|
+
* this enum contains the known values that the service supports.
|
|
892
|
+
* ### Known values supported by the service
|
|
893
|
+
* **User** \
|
|
894
|
+
* **Application** \
|
|
895
|
+
* **ManagedIdentity** \
|
|
896
|
+
* **Key**
|
|
897
|
+
*/
|
|
898
|
+
export declare type CreatedByType = string;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Defines values for DeploymentMode. \
|
|
902
|
+
* {@link KnownDeploymentMode} can be used interchangeably with DeploymentMode,
|
|
903
|
+
* this enum contains the known values that the service supports.
|
|
904
|
+
* ### Known values supported by the service
|
|
905
|
+
* **NotSpecified** \
|
|
906
|
+
* **Incremental** \
|
|
907
|
+
* **Complete**
|
|
908
|
+
*/
|
|
909
|
+
export declare type DeploymentMode = string;
|
|
910
|
+
|
|
911
|
+
/** The resource management error additional info. */
|
|
912
|
+
export declare interface ErrorAdditionalInfo {
|
|
913
|
+
/**
|
|
914
|
+
* The additional info type.
|
|
915
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
916
|
+
*/
|
|
917
|
+
readonly type?: string;
|
|
918
|
+
/**
|
|
919
|
+
* The additional info.
|
|
920
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
921
|
+
*/
|
|
922
|
+
readonly info?: Record<string, unknown>;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/** The error detail. */
|
|
926
|
+
export declare interface ErrorDetail {
|
|
927
|
+
/**
|
|
928
|
+
* The error code.
|
|
929
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
930
|
+
*/
|
|
931
|
+
readonly code?: string;
|
|
932
|
+
/**
|
|
933
|
+
* The error message.
|
|
934
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
935
|
+
*/
|
|
936
|
+
readonly message?: string;
|
|
937
|
+
/**
|
|
938
|
+
* The error target.
|
|
939
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
940
|
+
*/
|
|
941
|
+
readonly target?: string;
|
|
942
|
+
/**
|
|
943
|
+
* The error details.
|
|
944
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
945
|
+
*/
|
|
946
|
+
readonly details?: ErrorDetail[];
|
|
947
|
+
/**
|
|
948
|
+
* The error additional info.
|
|
949
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
950
|
+
*/
|
|
951
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
522
955
|
export declare interface ErrorResponse {
|
|
523
|
-
/**
|
|
524
|
-
|
|
525
|
-
/** Error code. */
|
|
526
|
-
errorCode?: string;
|
|
527
|
-
/** Error message indicating why the operation failed. */
|
|
528
|
-
errorMessage?: string;
|
|
956
|
+
/** The error object. */
|
|
957
|
+
error?: ErrorDetail;
|
|
529
958
|
}
|
|
530
959
|
|
|
531
960
|
/** Resource information. */
|
|
@@ -534,16 +963,14 @@ export declare interface GenericResource extends Resource {
|
|
|
534
963
|
managedBy?: string;
|
|
535
964
|
/** The SKU of the resource. */
|
|
536
965
|
sku?: Sku;
|
|
537
|
-
/** The identity of the resource. */
|
|
538
|
-
identity?: Identity;
|
|
539
966
|
}
|
|
540
967
|
|
|
541
968
|
/**
|
|
542
|
-
* Given
|
|
543
|
-
* continuation token that can be used to begin paging from
|
|
969
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
970
|
+
* returns a continuation token that can be used to begin paging from
|
|
544
971
|
* that point later.
|
|
545
|
-
* @param page
|
|
546
|
-
* @returns The continuation token that can be passed into byPage().
|
|
972
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
973
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
547
974
|
*/
|
|
548
975
|
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
549
976
|
|
|
@@ -560,21 +987,376 @@ export declare interface Identity {
|
|
|
560
987
|
*/
|
|
561
988
|
readonly tenantId?: string;
|
|
562
989
|
/** The identity type. */
|
|
563
|
-
type?:
|
|
990
|
+
type?: ResourceIdentityType;
|
|
991
|
+
/** The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
|
|
992
|
+
userAssignedIdentities?: {
|
|
993
|
+
[propertyName: string]: UserAssignedResourceIdentity;
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* Defines values for JitApprovalMode. \
|
|
999
|
+
* {@link KnownJitApprovalMode} can be used interchangeably with JitApprovalMode,
|
|
1000
|
+
* this enum contains the known values that the service supports.
|
|
1001
|
+
* ### Known values supported by the service
|
|
1002
|
+
* **NotSpecified** \
|
|
1003
|
+
* **AutoApprove** \
|
|
1004
|
+
* **ManualApprove**
|
|
1005
|
+
*/
|
|
1006
|
+
export declare type JitApprovalMode = string;
|
|
1007
|
+
|
|
1008
|
+
/** JIT approver definition. */
|
|
1009
|
+
export declare interface JitApproverDefinition {
|
|
1010
|
+
/** The approver service principal Id. */
|
|
1011
|
+
id: string;
|
|
1012
|
+
/** The approver type. */
|
|
1013
|
+
type?: JitApproverType;
|
|
1014
|
+
/** The approver display name. */
|
|
1015
|
+
displayName?: string;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Defines values for JitApproverType. \
|
|
1020
|
+
* {@link KnownJitApproverType} can be used interchangeably with JitApproverType,
|
|
1021
|
+
* this enum contains the known values that the service supports.
|
|
1022
|
+
* ### Known values supported by the service
|
|
1023
|
+
* **user** \
|
|
1024
|
+
* **group**
|
|
1025
|
+
*/
|
|
1026
|
+
export declare type JitApproverType = string;
|
|
1027
|
+
|
|
1028
|
+
/** The JIT authorization policies. */
|
|
1029
|
+
export declare interface JitAuthorizationPolicies {
|
|
1030
|
+
/** The the principal id that will be granted JIT access. */
|
|
1031
|
+
principalId: string;
|
|
1032
|
+
/** The role definition id that will be granted to the Principal. */
|
|
1033
|
+
roleDefinitionId: string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/** Information about JIT request definition. */
|
|
1037
|
+
export declare interface JitRequestDefinition extends Resource {
|
|
1038
|
+
/** The parent application id. */
|
|
1039
|
+
applicationResourceId?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* The publisher tenant id.
|
|
1042
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1043
|
+
*/
|
|
1044
|
+
readonly publisherTenantId?: string;
|
|
1045
|
+
/** The JIT authorization policies. */
|
|
1046
|
+
jitAuthorizationPolicies?: JitAuthorizationPolicies[];
|
|
1047
|
+
/** The JIT request properties. */
|
|
1048
|
+
jitSchedulingPolicy?: JitSchedulingPolicy;
|
|
1049
|
+
/**
|
|
1050
|
+
* The JIT request provisioning state.
|
|
1051
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1052
|
+
*/
|
|
1053
|
+
readonly provisioningState?: ProvisioningState;
|
|
1054
|
+
/**
|
|
1055
|
+
* The JIT request state.
|
|
1056
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1057
|
+
*/
|
|
1058
|
+
readonly jitRequestState?: JitRequestState;
|
|
1059
|
+
/**
|
|
1060
|
+
* The client entity that created the JIT request.
|
|
1061
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1062
|
+
*/
|
|
1063
|
+
readonly createdBy?: ApplicationClientDetails;
|
|
1064
|
+
/**
|
|
1065
|
+
* The client entity that last updated the JIT request.
|
|
1066
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1067
|
+
*/
|
|
1068
|
+
readonly updatedBy?: ApplicationClientDetails;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/** List of JIT requests. */
|
|
1072
|
+
export declare interface JitRequestDefinitionListResult {
|
|
1073
|
+
/** The array of Jit request definition. */
|
|
1074
|
+
value?: JitRequestDefinition[];
|
|
1075
|
+
/** The URL to use for getting the next set of results. */
|
|
1076
|
+
nextLink?: string;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/** The JIT request metadata. */
|
|
1080
|
+
export declare interface JitRequestMetadata {
|
|
1081
|
+
/** The origin request id. */
|
|
1082
|
+
originRequestId?: string;
|
|
1083
|
+
/** The requestor id. */
|
|
1084
|
+
requestorId?: string;
|
|
1085
|
+
/** The publisher's tenant name. */
|
|
1086
|
+
tenantDisplayName?: string;
|
|
1087
|
+
/** The subject display name. */
|
|
1088
|
+
subjectDisplayName?: string;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/** Information about JIT request. */
|
|
1092
|
+
export declare interface JitRequestPatchable {
|
|
1093
|
+
/** Jit request tags */
|
|
1094
|
+
tags?: {
|
|
1095
|
+
[propertyName: string]: string;
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/** Interface representing a JitRequests. */
|
|
1100
|
+
export declare interface JitRequests {
|
|
1101
|
+
/**
|
|
1102
|
+
* Gets the JIT request.
|
|
1103
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1104
|
+
* @param jitRequestName The name of the JIT request.
|
|
1105
|
+
* @param options The options parameters.
|
|
1106
|
+
*/
|
|
1107
|
+
get(resourceGroupName: string, jitRequestName: string, options?: JitRequestsGetOptionalParams): Promise<JitRequestsGetResponse>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Creates or updates the JIT request.
|
|
1110
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1111
|
+
* @param jitRequestName The name of the JIT request.
|
|
1112
|
+
* @param parameters Parameters supplied to the update JIT request.
|
|
1113
|
+
* @param options The options parameters.
|
|
1114
|
+
*/
|
|
1115
|
+
beginCreateOrUpdate(resourceGroupName: string, jitRequestName: string, parameters: JitRequestDefinition, options?: JitRequestsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JitRequestsCreateOrUpdateResponse>, JitRequestsCreateOrUpdateResponse>>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Creates or updates the JIT request.
|
|
1118
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1119
|
+
* @param jitRequestName The name of the JIT request.
|
|
1120
|
+
* @param parameters Parameters supplied to the update JIT request.
|
|
1121
|
+
* @param options The options parameters.
|
|
1122
|
+
*/
|
|
1123
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, jitRequestName: string, parameters: JitRequestDefinition, options?: JitRequestsCreateOrUpdateOptionalParams): Promise<JitRequestsCreateOrUpdateResponse>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Updates the JIT request.
|
|
1126
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1127
|
+
* @param jitRequestName The name of the JIT request.
|
|
1128
|
+
* @param parameters Parameters supplied to the update JIT request.
|
|
1129
|
+
* @param options The options parameters.
|
|
1130
|
+
*/
|
|
1131
|
+
update(resourceGroupName: string, jitRequestName: string, parameters: JitRequestPatchable, options?: JitRequestsUpdateOptionalParams): Promise<JitRequestsUpdateResponse>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Deletes the JIT request.
|
|
1134
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1135
|
+
* @param jitRequestName The name of the JIT request.
|
|
1136
|
+
* @param options The options parameters.
|
|
1137
|
+
*/
|
|
1138
|
+
delete(resourceGroupName: string, jitRequestName: string, options?: JitRequestsDeleteOptionalParams): Promise<void>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Lists all JIT requests within the subscription.
|
|
1141
|
+
* @param options The options parameters.
|
|
1142
|
+
*/
|
|
1143
|
+
listBySubscription(options?: JitRequestsListBySubscriptionOptionalParams): Promise<JitRequestsListBySubscriptionResponse>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Lists all JIT requests within the resource group.
|
|
1146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1147
|
+
* @param options The options parameters.
|
|
1148
|
+
*/
|
|
1149
|
+
listByResourceGroup(resourceGroupName: string, options?: JitRequestsListByResourceGroupOptionalParams): Promise<JitRequestsListByResourceGroupResponse>;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/** Optional parameters. */
|
|
1153
|
+
export declare interface JitRequestsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1154
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1155
|
+
updateIntervalInMs?: number;
|
|
1156
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1157
|
+
resumeFrom?: string;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1161
|
+
export declare type JitRequestsCreateOrUpdateResponse = JitRequestDefinition;
|
|
1162
|
+
|
|
1163
|
+
/** Optional parameters. */
|
|
1164
|
+
export declare interface JitRequestsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/** Optional parameters. */
|
|
1168
|
+
export declare interface JitRequestsGetOptionalParams extends coreClient.OperationOptions {
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/** Contains response data for the get operation. */
|
|
1172
|
+
export declare type JitRequestsGetResponse = JitRequestDefinition;
|
|
1173
|
+
|
|
1174
|
+
/** Optional parameters. */
|
|
1175
|
+
export declare interface JitRequestsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1179
|
+
export declare type JitRequestsListByResourceGroupResponse = JitRequestDefinitionListResult;
|
|
1180
|
+
|
|
1181
|
+
/** Optional parameters. */
|
|
1182
|
+
export declare interface JitRequestsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1186
|
+
export declare type JitRequestsListBySubscriptionResponse = JitRequestDefinitionListResult;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Defines values for JitRequestState. \
|
|
1190
|
+
* {@link KnownJitRequestState} can be used interchangeably with JitRequestState,
|
|
1191
|
+
* this enum contains the known values that the service supports.
|
|
1192
|
+
* ### Known values supported by the service
|
|
1193
|
+
* **NotSpecified** \
|
|
1194
|
+
* **Pending** \
|
|
1195
|
+
* **Approved** \
|
|
1196
|
+
* **Denied** \
|
|
1197
|
+
* **Failed** \
|
|
1198
|
+
* **Canceled** \
|
|
1199
|
+
* **Expired** \
|
|
1200
|
+
* **Timeout**
|
|
1201
|
+
*/
|
|
1202
|
+
export declare type JitRequestState = string;
|
|
1203
|
+
|
|
1204
|
+
/** Optional parameters. */
|
|
1205
|
+
export declare interface JitRequestsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/** Contains response data for the update operation. */
|
|
1209
|
+
export declare type JitRequestsUpdateResponse = JitRequestDefinition;
|
|
1210
|
+
|
|
1211
|
+
/** The JIT scheduling policies. */
|
|
1212
|
+
export declare interface JitSchedulingPolicy {
|
|
1213
|
+
/** The type of JIT schedule. */
|
|
1214
|
+
type: JitSchedulingType;
|
|
1215
|
+
/** The required duration of the JIT request. */
|
|
1216
|
+
duration: string;
|
|
1217
|
+
/** The start time of the request. */
|
|
1218
|
+
startTime: Date;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Defines values for JitSchedulingType. \
|
|
1223
|
+
* {@link KnownJitSchedulingType} can be used interchangeably with JitSchedulingType,
|
|
1224
|
+
* this enum contains the known values that the service supports.
|
|
1225
|
+
* ### Known values supported by the service
|
|
1226
|
+
* **NotSpecified** \
|
|
1227
|
+
* **Once** \
|
|
1228
|
+
* **Recurring**
|
|
1229
|
+
*/
|
|
1230
|
+
export declare type JitSchedulingType = string;
|
|
1231
|
+
|
|
1232
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
1233
|
+
export declare enum KnownActionType {
|
|
1234
|
+
/** Internal */
|
|
1235
|
+
Internal = "Internal"
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/** Known values of {@link ApplicationArtifactName} that the service accepts. */
|
|
1239
|
+
export declare enum KnownApplicationArtifactName {
|
|
1240
|
+
/** NotSpecified */
|
|
1241
|
+
NotSpecified = "NotSpecified",
|
|
1242
|
+
/** ViewDefinition */
|
|
1243
|
+
ViewDefinition = "ViewDefinition",
|
|
1244
|
+
/** Authorizations */
|
|
1245
|
+
Authorizations = "Authorizations",
|
|
1246
|
+
/** CustomRoleDefinition */
|
|
1247
|
+
CustomRoleDefinition = "CustomRoleDefinition"
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
/** Known values of {@link ApplicationDefinitionArtifactName} that the service accepts. */
|
|
1251
|
+
export declare enum KnownApplicationDefinitionArtifactName {
|
|
1252
|
+
/** NotSpecified */
|
|
1253
|
+
NotSpecified = "NotSpecified",
|
|
1254
|
+
/** ApplicationResourceTemplate */
|
|
1255
|
+
ApplicationResourceTemplate = "ApplicationResourceTemplate",
|
|
1256
|
+
/** CreateUiDefinition */
|
|
1257
|
+
CreateUiDefinition = "CreateUiDefinition",
|
|
1258
|
+
/** MainTemplateParameters */
|
|
1259
|
+
MainTemplateParameters = "MainTemplateParameters"
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/** Known values of {@link ApplicationManagementMode} that the service accepts. */
|
|
1263
|
+
export declare enum KnownApplicationManagementMode {
|
|
1264
|
+
/** NotSpecified */
|
|
1265
|
+
NotSpecified = "NotSpecified",
|
|
1266
|
+
/** Unmanaged */
|
|
1267
|
+
Unmanaged = "Unmanaged",
|
|
1268
|
+
/** Managed */
|
|
1269
|
+
Managed = "Managed"
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1273
|
+
export declare enum KnownCreatedByType {
|
|
1274
|
+
/** User */
|
|
1275
|
+
User = "User",
|
|
1276
|
+
/** Application */
|
|
1277
|
+
Application = "Application",
|
|
1278
|
+
/** ManagedIdentity */
|
|
1279
|
+
ManagedIdentity = "ManagedIdentity",
|
|
1280
|
+
/** Key */
|
|
1281
|
+
Key = "Key"
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/** Known values of {@link DeploymentMode} that the service accepts. */
|
|
1285
|
+
export declare enum KnownDeploymentMode {
|
|
1286
|
+
/** NotSpecified */
|
|
1287
|
+
NotSpecified = "NotSpecified",
|
|
1288
|
+
/** Incremental */
|
|
1289
|
+
Incremental = "Incremental",
|
|
1290
|
+
/** Complete */
|
|
1291
|
+
Complete = "Complete"
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/** Known values of {@link JitApprovalMode} that the service accepts. */
|
|
1295
|
+
export declare enum KnownJitApprovalMode {
|
|
1296
|
+
/** NotSpecified */
|
|
1297
|
+
NotSpecified = "NotSpecified",
|
|
1298
|
+
/** AutoApprove */
|
|
1299
|
+
AutoApprove = "AutoApprove",
|
|
1300
|
+
/** ManualApprove */
|
|
1301
|
+
ManualApprove = "ManualApprove"
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/** Known values of {@link JitApproverType} that the service accepts. */
|
|
1305
|
+
export declare enum KnownJitApproverType {
|
|
1306
|
+
/** User */
|
|
1307
|
+
User = "user",
|
|
1308
|
+
/** Group */
|
|
1309
|
+
Group = "group"
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/** Known values of {@link JitRequestState} that the service accepts. */
|
|
1313
|
+
export declare enum KnownJitRequestState {
|
|
1314
|
+
/** NotSpecified */
|
|
1315
|
+
NotSpecified = "NotSpecified",
|
|
1316
|
+
/** Pending */
|
|
1317
|
+
Pending = "Pending",
|
|
1318
|
+
/** Approved */
|
|
1319
|
+
Approved = "Approved",
|
|
1320
|
+
/** Denied */
|
|
1321
|
+
Denied = "Denied",
|
|
1322
|
+
/** Failed */
|
|
1323
|
+
Failed = "Failed",
|
|
1324
|
+
/** Canceled */
|
|
1325
|
+
Canceled = "Canceled",
|
|
1326
|
+
/** Expired */
|
|
1327
|
+
Expired = "Expired",
|
|
1328
|
+
/** Timeout */
|
|
1329
|
+
Timeout = "Timeout"
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
/** Known values of {@link JitSchedulingType} that the service accepts. */
|
|
1333
|
+
export declare enum KnownJitSchedulingType {
|
|
1334
|
+
/** NotSpecified */
|
|
1335
|
+
NotSpecified = "NotSpecified",
|
|
1336
|
+
/** Once */
|
|
1337
|
+
Once = "Once",
|
|
1338
|
+
/** Recurring */
|
|
1339
|
+
Recurring = "Recurring"
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
1343
|
+
export declare enum KnownOrigin {
|
|
1344
|
+
/** User */
|
|
1345
|
+
User = "user",
|
|
1346
|
+
/** System */
|
|
1347
|
+
System = "system",
|
|
1348
|
+
/** UserSystem */
|
|
1349
|
+
UserSystem = "user,system"
|
|
564
1350
|
}
|
|
565
1351
|
|
|
566
1352
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
567
1353
|
export declare enum KnownProvisioningState {
|
|
1354
|
+
/** NotSpecified */
|
|
1355
|
+
NotSpecified = "NotSpecified",
|
|
568
1356
|
/** Accepted */
|
|
569
1357
|
Accepted = "Accepted",
|
|
570
1358
|
/** Running */
|
|
571
1359
|
Running = "Running",
|
|
572
|
-
/** Ready */
|
|
573
|
-
Ready = "Ready",
|
|
574
|
-
/** Creating */
|
|
575
|
-
Creating = "Creating",
|
|
576
|
-
/** Created */
|
|
577
|
-
Created = "Created",
|
|
578
1360
|
/** Deleting */
|
|
579
1361
|
Deleting = "Deleting",
|
|
580
1362
|
/** Deleted */
|
|
@@ -589,6 +1371,32 @@ export declare enum KnownProvisioningState {
|
|
|
589
1371
|
Updating = "Updating"
|
|
590
1372
|
}
|
|
591
1373
|
|
|
1374
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
1375
|
+
export declare enum KnownStatus {
|
|
1376
|
+
/** NotSpecified */
|
|
1377
|
+
NotSpecified = "NotSpecified",
|
|
1378
|
+
/** Elevate */
|
|
1379
|
+
Elevate = "Elevate",
|
|
1380
|
+
/** Remove */
|
|
1381
|
+
Remove = "Remove"
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
/** Known values of {@link Substatus} that the service accepts. */
|
|
1385
|
+
export declare enum KnownSubstatus {
|
|
1386
|
+
/** NotSpecified */
|
|
1387
|
+
NotSpecified = "NotSpecified",
|
|
1388
|
+
/** Approved */
|
|
1389
|
+
Approved = "Approved",
|
|
1390
|
+
/** Denied */
|
|
1391
|
+
Denied = "Denied",
|
|
1392
|
+
/** Failed */
|
|
1393
|
+
Failed = "Failed",
|
|
1394
|
+
/** Expired */
|
|
1395
|
+
Expired = "Expired",
|
|
1396
|
+
/** Timeout */
|
|
1397
|
+
Timeout = "Timeout"
|
|
1398
|
+
}
|
|
1399
|
+
|
|
592
1400
|
/** Optional parameters. */
|
|
593
1401
|
export declare interface ListOperationsNextOptionalParams extends coreClient.OperationOptions {
|
|
594
1402
|
}
|
|
@@ -603,32 +1411,113 @@ export declare interface ListOperationsOptionalParams extends coreClient.Operati
|
|
|
603
1411
|
/** Contains response data for the listOperations operation. */
|
|
604
1412
|
export declare type ListOperationsResponse = OperationListResult;
|
|
605
1413
|
|
|
606
|
-
/**
|
|
1414
|
+
/** List token request body. */
|
|
1415
|
+
export declare interface ListTokenRequest {
|
|
1416
|
+
/** The authorization audience. */
|
|
1417
|
+
authorizationAudience?: string;
|
|
1418
|
+
/** The user assigned identities. */
|
|
1419
|
+
userAssignedIdentities?: string[];
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
/** The managed identity token for the managed app resource. */
|
|
1423
|
+
export declare interface ManagedIdentityToken {
|
|
1424
|
+
/** The requested access token. */
|
|
1425
|
+
accessToken?: string;
|
|
1426
|
+
/** The number of seconds the access token will be valid. */
|
|
1427
|
+
expiresIn?: string;
|
|
1428
|
+
/** The timespan when the access token expires. This is represented as the number of seconds from epoch. */
|
|
1429
|
+
expiresOn?: string;
|
|
1430
|
+
/** The timespan when the access token takes effect. This is represented as the number of seconds from epoch. */
|
|
1431
|
+
notBefore?: string;
|
|
1432
|
+
/** The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request. */
|
|
1433
|
+
authorizationAudience?: string;
|
|
1434
|
+
/** The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID. */
|
|
1435
|
+
resourceId?: string;
|
|
1436
|
+
/** The type of the token. */
|
|
1437
|
+
tokenType?: string;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
/** The array of managed identity tokens. */
|
|
1441
|
+
export declare interface ManagedIdentityTokenResult {
|
|
1442
|
+
/** The array of managed identity tokens. */
|
|
1443
|
+
value?: ManagedIdentityToken[];
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
607
1447
|
export declare interface Operation {
|
|
608
|
-
/**
|
|
609
|
-
|
|
610
|
-
|
|
1448
|
+
/**
|
|
1449
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
1450
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1451
|
+
*/
|
|
1452
|
+
readonly name?: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
1455
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1456
|
+
*/
|
|
1457
|
+
readonly isDataAction?: boolean;
|
|
1458
|
+
/** Localized display information for this particular operation. */
|
|
611
1459
|
display?: OperationDisplay;
|
|
1460
|
+
/**
|
|
1461
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
1462
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1463
|
+
*/
|
|
1464
|
+
readonly origin?: Origin;
|
|
1465
|
+
/**
|
|
1466
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
1467
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1468
|
+
*/
|
|
1469
|
+
readonly actionType?: ActionType;
|
|
612
1470
|
}
|
|
613
1471
|
|
|
614
|
-
/**
|
|
1472
|
+
/** Localized display information for this particular operation. */
|
|
615
1473
|
export declare interface OperationDisplay {
|
|
616
|
-
/**
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
1474
|
+
/**
|
|
1475
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
1476
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1477
|
+
*/
|
|
1478
|
+
readonly provider?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
1481
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1482
|
+
*/
|
|
1483
|
+
readonly resource?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
1486
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1487
|
+
*/
|
|
1488
|
+
readonly operation?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
1491
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1492
|
+
*/
|
|
1493
|
+
readonly description?: string;
|
|
622
1494
|
}
|
|
623
1495
|
|
|
624
|
-
/**
|
|
1496
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
625
1497
|
export declare interface OperationListResult {
|
|
626
|
-
/**
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
1498
|
+
/**
|
|
1499
|
+
* List of operations supported by the resource provider
|
|
1500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1501
|
+
*/
|
|
1502
|
+
readonly value?: Operation[];
|
|
1503
|
+
/**
|
|
1504
|
+
* URL to get the next set of operation list results (if there are any).
|
|
1505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1506
|
+
*/
|
|
1507
|
+
readonly nextLink?: string;
|
|
630
1508
|
}
|
|
631
1509
|
|
|
1510
|
+
/**
|
|
1511
|
+
* Defines values for Origin. \
|
|
1512
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
1513
|
+
* this enum contains the known values that the service supports.
|
|
1514
|
+
* ### Known values supported by the service
|
|
1515
|
+
* **user** \
|
|
1516
|
+
* **system** \
|
|
1517
|
+
* **user,system**
|
|
1518
|
+
*/
|
|
1519
|
+
export declare type Origin = string;
|
|
1520
|
+
|
|
632
1521
|
/** Plan for the managed application. */
|
|
633
1522
|
export declare interface Plan {
|
|
634
1523
|
/** The plan name. */
|
|
@@ -662,11 +1551,9 @@ export declare interface PlanPatchable {
|
|
|
662
1551
|
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
663
1552
|
* this enum contains the known values that the service supports.
|
|
664
1553
|
* ### Known values supported by the service
|
|
1554
|
+
* **NotSpecified** \
|
|
665
1555
|
* **Accepted** \
|
|
666
1556
|
* **Running** \
|
|
667
|
-
* **Ready** \
|
|
668
|
-
* **Creating** \
|
|
669
|
-
* **Created** \
|
|
670
1557
|
* **Deleting** \
|
|
671
1558
|
* **Deleted** \
|
|
672
1559
|
* **Canceled** \
|
|
@@ -699,8 +1586,16 @@ export declare interface Resource {
|
|
|
699
1586
|
tags?: {
|
|
700
1587
|
[propertyName: string]: string;
|
|
701
1588
|
};
|
|
1589
|
+
/**
|
|
1590
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1591
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1592
|
+
*/
|
|
1593
|
+
readonly systemData?: SystemData;
|
|
702
1594
|
}
|
|
703
1595
|
|
|
1596
|
+
/** Defines values for ResourceIdentityType. */
|
|
1597
|
+
export declare type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
|
|
1598
|
+
|
|
704
1599
|
/** SKU for the resource. */
|
|
705
1600
|
export declare interface Sku {
|
|
706
1601
|
/** The SKU name. */
|
|
@@ -717,4 +1612,71 @@ export declare interface Sku {
|
|
|
717
1612
|
capacity?: number;
|
|
718
1613
|
}
|
|
719
1614
|
|
|
1615
|
+
/**
|
|
1616
|
+
* Defines values for Status. \
|
|
1617
|
+
* {@link KnownStatus} can be used interchangeably with Status,
|
|
1618
|
+
* this enum contains the known values that the service supports.
|
|
1619
|
+
* ### Known values supported by the service
|
|
1620
|
+
* **NotSpecified** \
|
|
1621
|
+
* **Elevate** \
|
|
1622
|
+
* **Remove**
|
|
1623
|
+
*/
|
|
1624
|
+
export declare type Status = string;
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* Defines values for Substatus. \
|
|
1628
|
+
* {@link KnownSubstatus} can be used interchangeably with Substatus,
|
|
1629
|
+
* this enum contains the known values that the service supports.
|
|
1630
|
+
* ### Known values supported by the service
|
|
1631
|
+
* **NotSpecified** \
|
|
1632
|
+
* **Approved** \
|
|
1633
|
+
* **Denied** \
|
|
1634
|
+
* **Failed** \
|
|
1635
|
+
* **Expired** \
|
|
1636
|
+
* **Timeout**
|
|
1637
|
+
*/
|
|
1638
|
+
export declare type Substatus = string;
|
|
1639
|
+
|
|
1640
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1641
|
+
export declare interface SystemData {
|
|
1642
|
+
/** The identity that created the resource. */
|
|
1643
|
+
createdBy?: string;
|
|
1644
|
+
/** The type of identity that created the resource. */
|
|
1645
|
+
createdByType?: CreatedByType;
|
|
1646
|
+
/** The timestamp of resource creation (UTC). */
|
|
1647
|
+
createdAt?: Date;
|
|
1648
|
+
/** The identity that last modified the resource. */
|
|
1649
|
+
lastModifiedBy?: string;
|
|
1650
|
+
/** The type of identity that last modified the resource. */
|
|
1651
|
+
lastModifiedByType?: CreatedByType;
|
|
1652
|
+
/** The timestamp of resource last modification (UTC) */
|
|
1653
|
+
lastModifiedAt?: Date;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
/** Update access request definition. */
|
|
1657
|
+
export declare interface UpdateAccessDefinition {
|
|
1658
|
+
/** The approver name. */
|
|
1659
|
+
approver?: string;
|
|
1660
|
+
/** The JIT request metadata. */
|
|
1661
|
+
metadata: JitRequestMetadata;
|
|
1662
|
+
/** The JIT status. */
|
|
1663
|
+
status: Status;
|
|
1664
|
+
/** The JIT status. */
|
|
1665
|
+
subStatus: Substatus;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
/** Represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity */
|
|
1669
|
+
export declare interface UserAssignedResourceIdentity {
|
|
1670
|
+
/**
|
|
1671
|
+
* The principal id of user assigned identity.
|
|
1672
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1673
|
+
*/
|
|
1674
|
+
readonly principalId?: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* The tenant id of user assigned identity.
|
|
1677
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1678
|
+
*/
|
|
1679
|
+
readonly tenantId?: string;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
720
1682
|
export { }
|