@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
package/src/models/index.ts
CHANGED
|
@@ -8,30 +8,191 @@
|
|
|
8
8
|
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
|
|
11
|
-
/**
|
|
11
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
12
12
|
export interface OperationListResult {
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
/**
|
|
14
|
+
* List of operations supported by the resource provider
|
|
15
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
16
|
+
*/
|
|
17
|
+
readonly value?: Operation[];
|
|
18
|
+
/**
|
|
19
|
+
* URL to get the next set of operation list results (if there are any).
|
|
20
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
21
|
+
*/
|
|
22
|
+
readonly nextLink?: string;
|
|
17
23
|
}
|
|
18
24
|
|
|
19
|
-
/**
|
|
25
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
20
26
|
export interface Operation {
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
/**
|
|
28
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
29
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
30
|
+
*/
|
|
31
|
+
readonly name?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
34
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
35
|
+
*/
|
|
36
|
+
readonly isDataAction?: boolean;
|
|
37
|
+
/** Localized display information for this particular operation. */
|
|
24
38
|
display?: OperationDisplay;
|
|
39
|
+
/**
|
|
40
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
41
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
42
|
+
*/
|
|
43
|
+
readonly origin?: Origin;
|
|
44
|
+
/**
|
|
45
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
46
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
47
|
+
*/
|
|
48
|
+
readonly actionType?: ActionType;
|
|
25
49
|
}
|
|
26
50
|
|
|
27
|
-
/**
|
|
51
|
+
/** Localized display information for this particular operation. */
|
|
28
52
|
export interface OperationDisplay {
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
53
|
+
/**
|
|
54
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
|
+
*/
|
|
57
|
+
readonly provider?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
60
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
|
+
*/
|
|
62
|
+
readonly resource?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
65
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
66
|
+
*/
|
|
67
|
+
readonly operation?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
71
|
+
*/
|
|
72
|
+
readonly description?: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
76
|
+
export interface ErrorResponse {
|
|
77
|
+
/** The error object. */
|
|
78
|
+
error?: ErrorDetail;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** The error detail. */
|
|
82
|
+
export interface ErrorDetail {
|
|
83
|
+
/**
|
|
84
|
+
* The error code.
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
86
|
+
*/
|
|
87
|
+
readonly code?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The error message.
|
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
91
|
+
*/
|
|
92
|
+
readonly message?: string;
|
|
93
|
+
/**
|
|
94
|
+
* The error target.
|
|
95
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
96
|
+
*/
|
|
97
|
+
readonly target?: string;
|
|
98
|
+
/**
|
|
99
|
+
* The error details.
|
|
100
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
101
|
+
*/
|
|
102
|
+
readonly details?: ErrorDetail[];
|
|
103
|
+
/**
|
|
104
|
+
* The error additional info.
|
|
105
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
106
|
+
*/
|
|
107
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/** The resource management error additional info. */
|
|
111
|
+
export interface ErrorAdditionalInfo {
|
|
112
|
+
/**
|
|
113
|
+
* The additional info type.
|
|
114
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
115
|
+
*/
|
|
116
|
+
readonly type?: string;
|
|
117
|
+
/**
|
|
118
|
+
* The additional info.
|
|
119
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
120
|
+
*/
|
|
121
|
+
readonly info?: Record<string, unknown>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** Managed application billing details definition. */
|
|
125
|
+
export interface ApplicationBillingDetailsDefinition {
|
|
126
|
+
/** The managed application resource usage Id. */
|
|
127
|
+
resourceUsageId?: string;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** Managed application Jit access policy. */
|
|
131
|
+
export interface ApplicationJitAccessPolicy {
|
|
132
|
+
/** Whether the JIT access is enabled. */
|
|
133
|
+
jitAccessEnabled: boolean;
|
|
134
|
+
/** JIT approval mode. */
|
|
135
|
+
jitApprovalMode?: JitApprovalMode;
|
|
136
|
+
/** The JIT approvers */
|
|
137
|
+
jitApprovers?: JitApproverDefinition[];
|
|
138
|
+
/** The maximum duration JIT access is granted. This is an ISO8601 time period value. */
|
|
139
|
+
maximumJitAccessDuration?: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/** JIT approver definition. */
|
|
143
|
+
export interface JitApproverDefinition {
|
|
144
|
+
/** The approver service principal Id. */
|
|
145
|
+
id: string;
|
|
146
|
+
/** The approver type. */
|
|
147
|
+
type?: JitApproverType;
|
|
148
|
+
/** The approver display name. */
|
|
149
|
+
displayName?: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/** The managed application provider authorization. */
|
|
153
|
+
export interface ApplicationAuthorization {
|
|
154
|
+
/** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */
|
|
155
|
+
principalId: string;
|
|
156
|
+
/** 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. */
|
|
157
|
+
roleDefinitionId: string;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** The application package contact information. */
|
|
161
|
+
export interface ApplicationPackageContact {
|
|
162
|
+
/** The contact name. */
|
|
163
|
+
contactName?: string;
|
|
164
|
+
/** The contact email. */
|
|
165
|
+
email: string;
|
|
166
|
+
/** The contact phone number. */
|
|
167
|
+
phone: string;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/** The appliance package support URLs. */
|
|
171
|
+
export interface ApplicationPackageSupportUrls {
|
|
172
|
+
/** The public azure support URL. */
|
|
173
|
+
publicAzure?: string;
|
|
174
|
+
/** The government cloud support URL. */
|
|
175
|
+
governmentCloud?: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** Managed application artifact. */
|
|
179
|
+
export interface ApplicationArtifact {
|
|
180
|
+
/** The managed application artifact name. */
|
|
181
|
+
name: ApplicationArtifactName;
|
|
182
|
+
/** The managed application artifact blob uri. */
|
|
183
|
+
uri: string;
|
|
184
|
+
/** The managed application artifact type. */
|
|
185
|
+
type: ApplicationArtifactType;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** The application client details to track the entity creating/updating the managed app resource. */
|
|
189
|
+
export interface ApplicationClientDetails {
|
|
190
|
+
/** The client Oid. */
|
|
191
|
+
oid?: string;
|
|
192
|
+
/** The client Puid */
|
|
193
|
+
puid?: string;
|
|
194
|
+
/** The client application Id. */
|
|
195
|
+
applicationId?: string;
|
|
35
196
|
}
|
|
36
197
|
|
|
37
198
|
/** Plan for the managed application. */
|
|
@@ -48,6 +209,40 @@ export interface Plan {
|
|
|
48
209
|
version: string;
|
|
49
210
|
}
|
|
50
211
|
|
|
212
|
+
/** Identity for the resource. */
|
|
213
|
+
export interface Identity {
|
|
214
|
+
/**
|
|
215
|
+
* The principal ID of resource identity.
|
|
216
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
217
|
+
*/
|
|
218
|
+
readonly principalId?: string;
|
|
219
|
+
/**
|
|
220
|
+
* The tenant ID of resource.
|
|
221
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
222
|
+
*/
|
|
223
|
+
readonly tenantId?: string;
|
|
224
|
+
/** The identity type. */
|
|
225
|
+
type?: ResourceIdentityType;
|
|
226
|
+
/** 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}'. */
|
|
227
|
+
userAssignedIdentities?: {
|
|
228
|
+
[propertyName: string]: UserAssignedResourceIdentity;
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/** Represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity */
|
|
233
|
+
export interface UserAssignedResourceIdentity {
|
|
234
|
+
/**
|
|
235
|
+
* The principal id of user assigned identity.
|
|
236
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
237
|
+
*/
|
|
238
|
+
readonly principalId?: string;
|
|
239
|
+
/**
|
|
240
|
+
* The tenant id of user assigned identity.
|
|
241
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
242
|
+
*/
|
|
243
|
+
readonly tenantId?: string;
|
|
244
|
+
}
|
|
245
|
+
|
|
51
246
|
/** SKU for the resource. */
|
|
52
247
|
export interface Sku {
|
|
53
248
|
/** The SKU name. */
|
|
@@ -64,22 +259,6 @@ export interface Sku {
|
|
|
64
259
|
capacity?: number;
|
|
65
260
|
}
|
|
66
261
|
|
|
67
|
-
/** Identity for the resource. */
|
|
68
|
-
export interface Identity {
|
|
69
|
-
/**
|
|
70
|
-
* The principal ID of resource identity.
|
|
71
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
72
|
-
*/
|
|
73
|
-
readonly principalId?: string;
|
|
74
|
-
/**
|
|
75
|
-
* The tenant ID of resource.
|
|
76
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
77
|
-
*/
|
|
78
|
-
readonly tenantId?: string;
|
|
79
|
-
/** The identity type. */
|
|
80
|
-
type?: "SystemAssigned";
|
|
81
|
-
}
|
|
82
|
-
|
|
83
262
|
/** Resource information. */
|
|
84
263
|
export interface Resource {
|
|
85
264
|
/**
|
|
@@ -101,16 +280,27 @@ export interface Resource {
|
|
|
101
280
|
location?: string;
|
|
102
281
|
/** Resource tags */
|
|
103
282
|
tags?: { [propertyName: string]: string };
|
|
283
|
+
/**
|
|
284
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
285
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
286
|
+
*/
|
|
287
|
+
readonly systemData?: SystemData;
|
|
104
288
|
}
|
|
105
289
|
|
|
106
|
-
/**
|
|
107
|
-
export interface
|
|
108
|
-
/**
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
|
|
290
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
291
|
+
export interface SystemData {
|
|
292
|
+
/** The identity that created the resource. */
|
|
293
|
+
createdBy?: string;
|
|
294
|
+
/** The type of identity that created the resource. */
|
|
295
|
+
createdByType?: CreatedByType;
|
|
296
|
+
/** The timestamp of resource creation (UTC). */
|
|
297
|
+
createdAt?: Date;
|
|
298
|
+
/** The identity that last modified the resource. */
|
|
299
|
+
lastModifiedBy?: string;
|
|
300
|
+
/** The type of identity that last modified the resource. */
|
|
301
|
+
lastModifiedByType?: CreatedByType;
|
|
302
|
+
/** The timestamp of resource last modification (UTC) */
|
|
303
|
+
lastModifiedAt?: Date;
|
|
114
304
|
}
|
|
115
305
|
|
|
116
306
|
/** Plan for the managed application. */
|
|
@@ -127,22 +317,62 @@ export interface PlanPatchable {
|
|
|
127
317
|
version?: string;
|
|
128
318
|
}
|
|
129
319
|
|
|
130
|
-
/**
|
|
131
|
-
export interface
|
|
132
|
-
/** The
|
|
133
|
-
|
|
134
|
-
/** The
|
|
135
|
-
|
|
320
|
+
/** Application definition artifact. */
|
|
321
|
+
export interface ApplicationDefinitionArtifact {
|
|
322
|
+
/** The managed application definition artifact name. */
|
|
323
|
+
name: ApplicationDefinitionArtifactName;
|
|
324
|
+
/** The managed application definition artifact blob uri. */
|
|
325
|
+
uri: string;
|
|
326
|
+
/** The managed application definition artifact type. */
|
|
327
|
+
type: ApplicationArtifactType;
|
|
136
328
|
}
|
|
137
329
|
|
|
138
|
-
/** Managed application
|
|
139
|
-
export interface
|
|
140
|
-
/** The managed application
|
|
330
|
+
/** Managed application notification policy. */
|
|
331
|
+
export interface ApplicationNotificationPolicy {
|
|
332
|
+
/** The managed application notification endpoint. */
|
|
333
|
+
notificationEndpoints: ApplicationNotificationEndpoint[];
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** Managed application notification endpoint. */
|
|
337
|
+
export interface ApplicationNotificationEndpoint {
|
|
338
|
+
/** The managed application notification endpoint uri. */
|
|
339
|
+
uri: string;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** Managed application locking policy. */
|
|
343
|
+
export interface ApplicationPackageLockingPolicyDefinition {
|
|
344
|
+
/** The deny assignment excluded actions. */
|
|
345
|
+
allowedActions?: string[];
|
|
346
|
+
/** The deny assignment excluded data actions. */
|
|
347
|
+
allowedDataActions?: string[];
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/** Managed application deployment policy. */
|
|
351
|
+
export interface ApplicationDeploymentPolicy {
|
|
352
|
+
/** The managed application deployment mode. */
|
|
353
|
+
deploymentMode: DeploymentMode;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** Managed application management policy. */
|
|
357
|
+
export interface ApplicationManagementPolicy {
|
|
358
|
+
/** The managed application management mode. */
|
|
359
|
+
mode?: ApplicationManagementMode;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/** Managed application policy. */
|
|
363
|
+
export interface ApplicationPolicy {
|
|
364
|
+
/** The policy name */
|
|
141
365
|
name?: string;
|
|
142
|
-
/** The
|
|
143
|
-
|
|
144
|
-
/** The
|
|
145
|
-
|
|
366
|
+
/** The policy definition Id. */
|
|
367
|
+
policyDefinitionId?: string;
|
|
368
|
+
/** The policy parameters. */
|
|
369
|
+
parameters?: string;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/** Information about an application definition request. */
|
|
373
|
+
export interface ApplicationDefinitionPatchable {
|
|
374
|
+
/** Application definition tags */
|
|
375
|
+
tags?: { [propertyName: string]: string };
|
|
146
376
|
}
|
|
147
377
|
|
|
148
378
|
/** List of managed application definitions. */
|
|
@@ -161,14 +391,141 @@ export interface ApplicationListResult {
|
|
|
161
391
|
nextLink?: string;
|
|
162
392
|
}
|
|
163
393
|
|
|
394
|
+
/** The JIT authorization policies. */
|
|
395
|
+
export interface JitAuthorizationPolicies {
|
|
396
|
+
/** The the principal id that will be granted JIT access. */
|
|
397
|
+
principalId: string;
|
|
398
|
+
/** The role definition id that will be granted to the Principal. */
|
|
399
|
+
roleDefinitionId: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/** The JIT scheduling policies. */
|
|
403
|
+
export interface JitSchedulingPolicy {
|
|
404
|
+
/** The type of JIT schedule. */
|
|
405
|
+
type: JitSchedulingType;
|
|
406
|
+
/** The required duration of the JIT request. */
|
|
407
|
+
duration: string;
|
|
408
|
+
/** The start time of the request. */
|
|
409
|
+
startTime: Date;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/** Information about JIT request. */
|
|
413
|
+
export interface JitRequestPatchable {
|
|
414
|
+
/** Jit request tags */
|
|
415
|
+
tags?: { [propertyName: string]: string };
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/** List of JIT requests. */
|
|
419
|
+
export interface JitRequestDefinitionListResult {
|
|
420
|
+
/** The array of Jit request definition. */
|
|
421
|
+
value?: JitRequestDefinition[];
|
|
422
|
+
/** The URL to use for getting the next set of results. */
|
|
423
|
+
nextLink?: string;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/** The array of plan. */
|
|
427
|
+
export interface AllowedUpgradePlansResult {
|
|
428
|
+
/** The array of plans. */
|
|
429
|
+
value?: Plan[];
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** Update access request definition. */
|
|
433
|
+
export interface UpdateAccessDefinition {
|
|
434
|
+
/** The approver name. */
|
|
435
|
+
approver?: string;
|
|
436
|
+
/** The JIT request metadata. */
|
|
437
|
+
metadata: JitRequestMetadata;
|
|
438
|
+
/** The JIT status. */
|
|
439
|
+
status: Status;
|
|
440
|
+
/** The JIT status. */
|
|
441
|
+
subStatus: Substatus;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/** The JIT request metadata. */
|
|
445
|
+
export interface JitRequestMetadata {
|
|
446
|
+
/** The origin request id. */
|
|
447
|
+
originRequestId?: string;
|
|
448
|
+
/** The requestor id. */
|
|
449
|
+
requestorId?: string;
|
|
450
|
+
/** The publisher's tenant name. */
|
|
451
|
+
tenantDisplayName?: string;
|
|
452
|
+
/** The subject display name. */
|
|
453
|
+
subjectDisplayName?: string;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/** List token request body. */
|
|
457
|
+
export interface ListTokenRequest {
|
|
458
|
+
/** The authorization audience. */
|
|
459
|
+
authorizationAudience?: string;
|
|
460
|
+
/** The user assigned identities. */
|
|
461
|
+
userAssignedIdentities?: string[];
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/** The array of managed identity tokens. */
|
|
465
|
+
export interface ManagedIdentityTokenResult {
|
|
466
|
+
/** The array of managed identity tokens. */
|
|
467
|
+
value?: ManagedIdentityToken[];
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/** The managed identity token for the managed app resource. */
|
|
471
|
+
export interface ManagedIdentityToken {
|
|
472
|
+
/** The requested access token. */
|
|
473
|
+
accessToken?: string;
|
|
474
|
+
/** The number of seconds the access token will be valid. */
|
|
475
|
+
expiresIn?: string;
|
|
476
|
+
/** The timespan when the access token expires. This is represented as the number of seconds from epoch. */
|
|
477
|
+
expiresOn?: string;
|
|
478
|
+
/** The timespan when the access token takes effect. This is represented as the number of seconds from epoch. */
|
|
479
|
+
notBefore?: string;
|
|
480
|
+
/** The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request. */
|
|
481
|
+
authorizationAudience?: string;
|
|
482
|
+
/** The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID. */
|
|
483
|
+
resourceId?: string;
|
|
484
|
+
/** The type of the token. */
|
|
485
|
+
tokenType?: string;
|
|
486
|
+
}
|
|
487
|
+
|
|
164
488
|
/** Resource information. */
|
|
165
489
|
export interface GenericResource extends Resource {
|
|
166
490
|
/** ID of the resource that manages this resource. */
|
|
167
491
|
managedBy?: string;
|
|
168
492
|
/** The SKU of the resource. */
|
|
169
493
|
sku?: Sku;
|
|
170
|
-
|
|
171
|
-
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/** Information about JIT request definition. */
|
|
497
|
+
export interface JitRequestDefinition extends Resource {
|
|
498
|
+
/** The parent application id. */
|
|
499
|
+
applicationResourceId?: string;
|
|
500
|
+
/**
|
|
501
|
+
* The publisher tenant id.
|
|
502
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
503
|
+
*/
|
|
504
|
+
readonly publisherTenantId?: string;
|
|
505
|
+
/** The JIT authorization policies. */
|
|
506
|
+
jitAuthorizationPolicies?: JitAuthorizationPolicies[];
|
|
507
|
+
/** The JIT request properties. */
|
|
508
|
+
jitSchedulingPolicy?: JitSchedulingPolicy;
|
|
509
|
+
/**
|
|
510
|
+
* The JIT request provisioning state.
|
|
511
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
512
|
+
*/
|
|
513
|
+
readonly provisioningState?: ProvisioningState;
|
|
514
|
+
/**
|
|
515
|
+
* The JIT request state.
|
|
516
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
517
|
+
*/
|
|
518
|
+
readonly jitRequestState?: JitRequestState;
|
|
519
|
+
/**
|
|
520
|
+
* The client entity that created the JIT request.
|
|
521
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
522
|
+
*/
|
|
523
|
+
readonly createdBy?: ApplicationClientDetails;
|
|
524
|
+
/**
|
|
525
|
+
* The client entity that last updated the JIT request.
|
|
526
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
527
|
+
*/
|
|
528
|
+
readonly updatedBy?: ApplicationClientDetails;
|
|
172
529
|
}
|
|
173
530
|
|
|
174
531
|
/** Information about managed application. */
|
|
@@ -177,8 +534,10 @@ export interface Application extends GenericResource {
|
|
|
177
534
|
plan?: Plan;
|
|
178
535
|
/** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */
|
|
179
536
|
kind: string;
|
|
537
|
+
/** The identity of the resource. */
|
|
538
|
+
identity?: Identity;
|
|
180
539
|
/** The managed resource group Id. */
|
|
181
|
-
managedResourceGroupId
|
|
540
|
+
managedResourceGroupId?: string;
|
|
182
541
|
/** The fully qualified path of managed application definition Id. */
|
|
183
542
|
applicationDefinitionId?: string;
|
|
184
543
|
/** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */
|
|
@@ -193,6 +552,53 @@ export interface Application extends GenericResource {
|
|
|
193
552
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
194
553
|
*/
|
|
195
554
|
readonly provisioningState?: ProvisioningState;
|
|
555
|
+
/**
|
|
556
|
+
* The managed application billing details.
|
|
557
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
558
|
+
*/
|
|
559
|
+
readonly billingDetails?: ApplicationBillingDetailsDefinition;
|
|
560
|
+
/** The managed application Jit access policy. */
|
|
561
|
+
jitAccessPolicy?: ApplicationJitAccessPolicy;
|
|
562
|
+
/**
|
|
563
|
+
* The publisher tenant Id.
|
|
564
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
565
|
+
*/
|
|
566
|
+
readonly publisherTenantId?: string;
|
|
567
|
+
/**
|
|
568
|
+
* The read-only authorizations property that is retrieved from the application package.
|
|
569
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
570
|
+
*/
|
|
571
|
+
readonly authorizations?: ApplicationAuthorization[];
|
|
572
|
+
/**
|
|
573
|
+
* The managed application management mode.
|
|
574
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
575
|
+
*/
|
|
576
|
+
readonly managementMode?: ApplicationManagementMode;
|
|
577
|
+
/**
|
|
578
|
+
* The read-only customer support property that is retrieved from the application package.
|
|
579
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
580
|
+
*/
|
|
581
|
+
readonly customerSupport?: ApplicationPackageContact;
|
|
582
|
+
/**
|
|
583
|
+
* The read-only support URLs property that is retrieved from the application package.
|
|
584
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
585
|
+
*/
|
|
586
|
+
readonly supportUrls?: ApplicationPackageSupportUrls;
|
|
587
|
+
/**
|
|
588
|
+
* The collection of managed application artifacts.
|
|
589
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
590
|
+
*/
|
|
591
|
+
readonly artifacts?: ApplicationArtifact[];
|
|
592
|
+
/**
|
|
593
|
+
* The client entity that created the JIT request.
|
|
594
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
595
|
+
*/
|
|
596
|
+
readonly createdBy?: ApplicationClientDetails;
|
|
597
|
+
/**
|
|
598
|
+
* The client entity that last updated the JIT request.
|
|
599
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
600
|
+
*/
|
|
601
|
+
readonly updatedBy?: ApplicationClientDetails;
|
|
196
602
|
}
|
|
197
603
|
|
|
198
604
|
/** Information about managed application. */
|
|
@@ -201,6 +607,8 @@ export interface ApplicationPatchable extends GenericResource {
|
|
|
201
607
|
plan?: PlanPatchable;
|
|
202
608
|
/** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */
|
|
203
609
|
kind?: string;
|
|
610
|
+
/** The identity of the resource. */
|
|
611
|
+
identity?: Identity;
|
|
204
612
|
/** The managed resource group Id. */
|
|
205
613
|
managedResourceGroupId?: string;
|
|
206
614
|
/** The fully qualified path of managed application definition Id. */
|
|
@@ -217,6 +625,53 @@ export interface ApplicationPatchable extends GenericResource {
|
|
|
217
625
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
218
626
|
*/
|
|
219
627
|
readonly provisioningState?: ProvisioningState;
|
|
628
|
+
/**
|
|
629
|
+
* The managed application billing details.
|
|
630
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
631
|
+
*/
|
|
632
|
+
readonly billingDetails?: ApplicationBillingDetailsDefinition;
|
|
633
|
+
/** The managed application Jit access policy. */
|
|
634
|
+
jitAccessPolicy?: ApplicationJitAccessPolicy;
|
|
635
|
+
/**
|
|
636
|
+
* The publisher tenant Id.
|
|
637
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
638
|
+
*/
|
|
639
|
+
readonly publisherTenantId?: string;
|
|
640
|
+
/**
|
|
641
|
+
* The read-only authorizations property that is retrieved from the application package.
|
|
642
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
643
|
+
*/
|
|
644
|
+
readonly authorizations?: ApplicationAuthorization[];
|
|
645
|
+
/**
|
|
646
|
+
* The managed application management mode.
|
|
647
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
648
|
+
*/
|
|
649
|
+
readonly managementMode?: ApplicationManagementMode;
|
|
650
|
+
/**
|
|
651
|
+
* The read-only customer support property that is retrieved from the application package.
|
|
652
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
653
|
+
*/
|
|
654
|
+
readonly customerSupport?: ApplicationPackageContact;
|
|
655
|
+
/**
|
|
656
|
+
* The read-only support URLs property that is retrieved from the application package.
|
|
657
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
658
|
+
*/
|
|
659
|
+
readonly supportUrls?: ApplicationPackageSupportUrls;
|
|
660
|
+
/**
|
|
661
|
+
* The collection of managed application artifacts.
|
|
662
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
663
|
+
*/
|
|
664
|
+
readonly artifacts?: ApplicationArtifact[];
|
|
665
|
+
/**
|
|
666
|
+
* The client entity that created the JIT request.
|
|
667
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
668
|
+
*/
|
|
669
|
+
readonly createdBy?: ApplicationClientDetails;
|
|
670
|
+
/**
|
|
671
|
+
* The client entity that last updated the JIT request.
|
|
672
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
673
|
+
*/
|
|
674
|
+
readonly updatedBy?: ApplicationClientDetails;
|
|
220
675
|
}
|
|
221
676
|
|
|
222
677
|
/** Information about managed application definition. */
|
|
@@ -226,33 +681,77 @@ export interface ApplicationDefinition extends GenericResource {
|
|
|
226
681
|
/** The managed application definition display name. */
|
|
227
682
|
displayName?: string;
|
|
228
683
|
/** A value indicating whether the package is enabled or not. */
|
|
229
|
-
isEnabled?:
|
|
684
|
+
isEnabled?: boolean;
|
|
230
685
|
/** The managed application provider authorizations. */
|
|
231
|
-
authorizations
|
|
686
|
+
authorizations?: ApplicationAuthorization[];
|
|
232
687
|
/** 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. */
|
|
233
|
-
artifacts?:
|
|
688
|
+
artifacts?: ApplicationDefinitionArtifact[];
|
|
234
689
|
/** The managed application definition description. */
|
|
235
690
|
description?: string;
|
|
236
691
|
/** The managed application definition package file Uri. Use this element */
|
|
237
692
|
packageFileUri?: string;
|
|
693
|
+
/** The storage account id for bring your own storage scenario. */
|
|
694
|
+
storageAccountId?: string;
|
|
238
695
|
/** The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. */
|
|
239
696
|
mainTemplate?: Record<string, unknown>;
|
|
240
697
|
/** The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. */
|
|
241
698
|
createUiDefinition?: Record<string, unknown>;
|
|
699
|
+
/** The managed application notification policy. */
|
|
700
|
+
notificationPolicy?: ApplicationNotificationPolicy;
|
|
701
|
+
/** The managed application locking policy. */
|
|
702
|
+
lockingPolicy?: ApplicationPackageLockingPolicyDefinition;
|
|
703
|
+
/** The managed application deployment policy. */
|
|
704
|
+
deploymentPolicy?: ApplicationDeploymentPolicy;
|
|
705
|
+
/** The managed application management policy that determines publisher's access to the managed resource group. */
|
|
706
|
+
managementPolicy?: ApplicationManagementPolicy;
|
|
707
|
+
/** The managed application provider policies. */
|
|
708
|
+
policies?: ApplicationPolicy[];
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
712
|
+
export enum KnownOrigin {
|
|
713
|
+
/** User */
|
|
714
|
+
User = "user",
|
|
715
|
+
/** System */
|
|
716
|
+
System = "system",
|
|
717
|
+
/** UserSystem */
|
|
718
|
+
UserSystem = "user,system"
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Defines values for Origin. \
|
|
723
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
724
|
+
* this enum contains the known values that the service supports.
|
|
725
|
+
* ### Known values supported by the service
|
|
726
|
+
* **user** \
|
|
727
|
+
* **system** \
|
|
728
|
+
* **user,system**
|
|
729
|
+
*/
|
|
730
|
+
export type Origin = string;
|
|
731
|
+
|
|
732
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
733
|
+
export enum KnownActionType {
|
|
734
|
+
/** Internal */
|
|
735
|
+
Internal = "Internal"
|
|
242
736
|
}
|
|
243
737
|
|
|
738
|
+
/**
|
|
739
|
+
* Defines values for ActionType. \
|
|
740
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
741
|
+
* this enum contains the known values that the service supports.
|
|
742
|
+
* ### Known values supported by the service
|
|
743
|
+
* **Internal**
|
|
744
|
+
*/
|
|
745
|
+
export type ActionType = string;
|
|
746
|
+
|
|
244
747
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
245
748
|
export enum KnownProvisioningState {
|
|
749
|
+
/** NotSpecified */
|
|
750
|
+
NotSpecified = "NotSpecified",
|
|
246
751
|
/** Accepted */
|
|
247
752
|
Accepted = "Accepted",
|
|
248
753
|
/** Running */
|
|
249
754
|
Running = "Running",
|
|
250
|
-
/** Ready */
|
|
251
|
-
Ready = "Ready",
|
|
252
|
-
/** Creating */
|
|
253
|
-
Creating = "Creating",
|
|
254
|
-
/** Created */
|
|
255
|
-
Created = "Created",
|
|
256
755
|
/** Deleting */
|
|
257
756
|
Deleting = "Deleting",
|
|
258
757
|
/** Deleted */
|
|
@@ -272,11 +771,9 @@ export enum KnownProvisioningState {
|
|
|
272
771
|
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
273
772
|
* this enum contains the known values that the service supports.
|
|
274
773
|
* ### Known values supported by the service
|
|
774
|
+
* **NotSpecified** \
|
|
275
775
|
* **Accepted** \
|
|
276
776
|
* **Running** \
|
|
277
|
-
* **Ready** \
|
|
278
|
-
* **Creating** \
|
|
279
|
-
* **Created** \
|
|
280
777
|
* **Deleting** \
|
|
281
778
|
* **Deleted** \
|
|
282
779
|
* **Canceled** \
|
|
@@ -285,10 +782,277 @@ export enum KnownProvisioningState {
|
|
|
285
782
|
* **Updating**
|
|
286
783
|
*/
|
|
287
784
|
export type ProvisioningState = string;
|
|
785
|
+
|
|
786
|
+
/** Known values of {@link JitApprovalMode} that the service accepts. */
|
|
787
|
+
export enum KnownJitApprovalMode {
|
|
788
|
+
/** NotSpecified */
|
|
789
|
+
NotSpecified = "NotSpecified",
|
|
790
|
+
/** AutoApprove */
|
|
791
|
+
AutoApprove = "AutoApprove",
|
|
792
|
+
/** ManualApprove */
|
|
793
|
+
ManualApprove = "ManualApprove"
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Defines values for JitApprovalMode. \
|
|
798
|
+
* {@link KnownJitApprovalMode} can be used interchangeably with JitApprovalMode,
|
|
799
|
+
* this enum contains the known values that the service supports.
|
|
800
|
+
* ### Known values supported by the service
|
|
801
|
+
* **NotSpecified** \
|
|
802
|
+
* **AutoApprove** \
|
|
803
|
+
* **ManualApprove**
|
|
804
|
+
*/
|
|
805
|
+
export type JitApprovalMode = string;
|
|
806
|
+
|
|
807
|
+
/** Known values of {@link JitApproverType} that the service accepts. */
|
|
808
|
+
export enum KnownJitApproverType {
|
|
809
|
+
/** User */
|
|
810
|
+
User = "user",
|
|
811
|
+
/** Group */
|
|
812
|
+
Group = "group"
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Defines values for JitApproverType. \
|
|
817
|
+
* {@link KnownJitApproverType} can be used interchangeably with JitApproverType,
|
|
818
|
+
* this enum contains the known values that the service supports.
|
|
819
|
+
* ### Known values supported by the service
|
|
820
|
+
* **user** \
|
|
821
|
+
* **group**
|
|
822
|
+
*/
|
|
823
|
+
export type JitApproverType = string;
|
|
824
|
+
|
|
825
|
+
/** Known values of {@link ApplicationManagementMode} that the service accepts. */
|
|
826
|
+
export enum KnownApplicationManagementMode {
|
|
827
|
+
/** NotSpecified */
|
|
828
|
+
NotSpecified = "NotSpecified",
|
|
829
|
+
/** Unmanaged */
|
|
830
|
+
Unmanaged = "Unmanaged",
|
|
831
|
+
/** Managed */
|
|
832
|
+
Managed = "Managed"
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Defines values for ApplicationManagementMode. \
|
|
837
|
+
* {@link KnownApplicationManagementMode} can be used interchangeably with ApplicationManagementMode,
|
|
838
|
+
* this enum contains the known values that the service supports.
|
|
839
|
+
* ### Known values supported by the service
|
|
840
|
+
* **NotSpecified** \
|
|
841
|
+
* **Unmanaged** \
|
|
842
|
+
* **Managed**
|
|
843
|
+
*/
|
|
844
|
+
export type ApplicationManagementMode = string;
|
|
845
|
+
|
|
846
|
+
/** Known values of {@link ApplicationArtifactName} that the service accepts. */
|
|
847
|
+
export enum KnownApplicationArtifactName {
|
|
848
|
+
/** NotSpecified */
|
|
849
|
+
NotSpecified = "NotSpecified",
|
|
850
|
+
/** ViewDefinition */
|
|
851
|
+
ViewDefinition = "ViewDefinition",
|
|
852
|
+
/** Authorizations */
|
|
853
|
+
Authorizations = "Authorizations",
|
|
854
|
+
/** CustomRoleDefinition */
|
|
855
|
+
CustomRoleDefinition = "CustomRoleDefinition"
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Defines values for ApplicationArtifactName. \
|
|
860
|
+
* {@link KnownApplicationArtifactName} can be used interchangeably with ApplicationArtifactName,
|
|
861
|
+
* this enum contains the known values that the service supports.
|
|
862
|
+
* ### Known values supported by the service
|
|
863
|
+
* **NotSpecified** \
|
|
864
|
+
* **ViewDefinition** \
|
|
865
|
+
* **Authorizations** \
|
|
866
|
+
* **CustomRoleDefinition**
|
|
867
|
+
*/
|
|
868
|
+
export type ApplicationArtifactName = string;
|
|
869
|
+
|
|
870
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
871
|
+
export enum KnownCreatedByType {
|
|
872
|
+
/** User */
|
|
873
|
+
User = "User",
|
|
874
|
+
/** Application */
|
|
875
|
+
Application = "Application",
|
|
876
|
+
/** ManagedIdentity */
|
|
877
|
+
ManagedIdentity = "ManagedIdentity",
|
|
878
|
+
/** Key */
|
|
879
|
+
Key = "Key"
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Defines values for CreatedByType. \
|
|
884
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
885
|
+
* this enum contains the known values that the service supports.
|
|
886
|
+
* ### Known values supported by the service
|
|
887
|
+
* **User** \
|
|
888
|
+
* **Application** \
|
|
889
|
+
* **ManagedIdentity** \
|
|
890
|
+
* **Key**
|
|
891
|
+
*/
|
|
892
|
+
export type CreatedByType = string;
|
|
893
|
+
|
|
894
|
+
/** Known values of {@link ApplicationDefinitionArtifactName} that the service accepts. */
|
|
895
|
+
export enum KnownApplicationDefinitionArtifactName {
|
|
896
|
+
/** NotSpecified */
|
|
897
|
+
NotSpecified = "NotSpecified",
|
|
898
|
+
/** ApplicationResourceTemplate */
|
|
899
|
+
ApplicationResourceTemplate = "ApplicationResourceTemplate",
|
|
900
|
+
/** CreateUiDefinition */
|
|
901
|
+
CreateUiDefinition = "CreateUiDefinition",
|
|
902
|
+
/** MainTemplateParameters */
|
|
903
|
+
MainTemplateParameters = "MainTemplateParameters"
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Defines values for ApplicationDefinitionArtifactName. \
|
|
908
|
+
* {@link KnownApplicationDefinitionArtifactName} can be used interchangeably with ApplicationDefinitionArtifactName,
|
|
909
|
+
* this enum contains the known values that the service supports.
|
|
910
|
+
* ### Known values supported by the service
|
|
911
|
+
* **NotSpecified** \
|
|
912
|
+
* **ApplicationResourceTemplate** \
|
|
913
|
+
* **CreateUiDefinition** \
|
|
914
|
+
* **MainTemplateParameters**
|
|
915
|
+
*/
|
|
916
|
+
export type ApplicationDefinitionArtifactName = string;
|
|
917
|
+
|
|
918
|
+
/** Known values of {@link DeploymentMode} that the service accepts. */
|
|
919
|
+
export enum KnownDeploymentMode {
|
|
920
|
+
/** NotSpecified */
|
|
921
|
+
NotSpecified = "NotSpecified",
|
|
922
|
+
/** Incremental */
|
|
923
|
+
Incremental = "Incremental",
|
|
924
|
+
/** Complete */
|
|
925
|
+
Complete = "Complete"
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Defines values for DeploymentMode. \
|
|
930
|
+
* {@link KnownDeploymentMode} can be used interchangeably with DeploymentMode,
|
|
931
|
+
* this enum contains the known values that the service supports.
|
|
932
|
+
* ### Known values supported by the service
|
|
933
|
+
* **NotSpecified** \
|
|
934
|
+
* **Incremental** \
|
|
935
|
+
* **Complete**
|
|
936
|
+
*/
|
|
937
|
+
export type DeploymentMode = string;
|
|
938
|
+
|
|
939
|
+
/** Known values of {@link JitSchedulingType} that the service accepts. */
|
|
940
|
+
export enum KnownJitSchedulingType {
|
|
941
|
+
/** NotSpecified */
|
|
942
|
+
NotSpecified = "NotSpecified",
|
|
943
|
+
/** Once */
|
|
944
|
+
Once = "Once",
|
|
945
|
+
/** Recurring */
|
|
946
|
+
Recurring = "Recurring"
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Defines values for JitSchedulingType. \
|
|
951
|
+
* {@link KnownJitSchedulingType} can be used interchangeably with JitSchedulingType,
|
|
952
|
+
* this enum contains the known values that the service supports.
|
|
953
|
+
* ### Known values supported by the service
|
|
954
|
+
* **NotSpecified** \
|
|
955
|
+
* **Once** \
|
|
956
|
+
* **Recurring**
|
|
957
|
+
*/
|
|
958
|
+
export type JitSchedulingType = string;
|
|
959
|
+
|
|
960
|
+
/** Known values of {@link JitRequestState} that the service accepts. */
|
|
961
|
+
export enum KnownJitRequestState {
|
|
962
|
+
/** NotSpecified */
|
|
963
|
+
NotSpecified = "NotSpecified",
|
|
964
|
+
/** Pending */
|
|
965
|
+
Pending = "Pending",
|
|
966
|
+
/** Approved */
|
|
967
|
+
Approved = "Approved",
|
|
968
|
+
/** Denied */
|
|
969
|
+
Denied = "Denied",
|
|
970
|
+
/** Failed */
|
|
971
|
+
Failed = "Failed",
|
|
972
|
+
/** Canceled */
|
|
973
|
+
Canceled = "Canceled",
|
|
974
|
+
/** Expired */
|
|
975
|
+
Expired = "Expired",
|
|
976
|
+
/** Timeout */
|
|
977
|
+
Timeout = "Timeout"
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Defines values for JitRequestState. \
|
|
982
|
+
* {@link KnownJitRequestState} can be used interchangeably with JitRequestState,
|
|
983
|
+
* this enum contains the known values that the service supports.
|
|
984
|
+
* ### Known values supported by the service
|
|
985
|
+
* **NotSpecified** \
|
|
986
|
+
* **Pending** \
|
|
987
|
+
* **Approved** \
|
|
988
|
+
* **Denied** \
|
|
989
|
+
* **Failed** \
|
|
990
|
+
* **Canceled** \
|
|
991
|
+
* **Expired** \
|
|
992
|
+
* **Timeout**
|
|
993
|
+
*/
|
|
994
|
+
export type JitRequestState = string;
|
|
995
|
+
|
|
996
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
997
|
+
export enum KnownStatus {
|
|
998
|
+
/** NotSpecified */
|
|
999
|
+
NotSpecified = "NotSpecified",
|
|
1000
|
+
/** Elevate */
|
|
1001
|
+
Elevate = "Elevate",
|
|
1002
|
+
/** Remove */
|
|
1003
|
+
Remove = "Remove"
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Defines values for Status. \
|
|
1008
|
+
* {@link KnownStatus} can be used interchangeably with Status,
|
|
1009
|
+
* this enum contains the known values that the service supports.
|
|
1010
|
+
* ### Known values supported by the service
|
|
1011
|
+
* **NotSpecified** \
|
|
1012
|
+
* **Elevate** \
|
|
1013
|
+
* **Remove**
|
|
1014
|
+
*/
|
|
1015
|
+
export type Status = string;
|
|
1016
|
+
|
|
1017
|
+
/** Known values of {@link Substatus} that the service accepts. */
|
|
1018
|
+
export enum KnownSubstatus {
|
|
1019
|
+
/** NotSpecified */
|
|
1020
|
+
NotSpecified = "NotSpecified",
|
|
1021
|
+
/** Approved */
|
|
1022
|
+
Approved = "Approved",
|
|
1023
|
+
/** Denied */
|
|
1024
|
+
Denied = "Denied",
|
|
1025
|
+
/** Failed */
|
|
1026
|
+
Failed = "Failed",
|
|
1027
|
+
/** Expired */
|
|
1028
|
+
Expired = "Expired",
|
|
1029
|
+
/** Timeout */
|
|
1030
|
+
Timeout = "Timeout"
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Defines values for Substatus. \
|
|
1035
|
+
* {@link KnownSubstatus} can be used interchangeably with Substatus,
|
|
1036
|
+
* this enum contains the known values that the service supports.
|
|
1037
|
+
* ### Known values supported by the service
|
|
1038
|
+
* **NotSpecified** \
|
|
1039
|
+
* **Approved** \
|
|
1040
|
+
* **Denied** \
|
|
1041
|
+
* **Failed** \
|
|
1042
|
+
* **Expired** \
|
|
1043
|
+
* **Timeout**
|
|
1044
|
+
*/
|
|
1045
|
+
export type Substatus = string;
|
|
1046
|
+
/** Defines values for ApplicationArtifactType. */
|
|
1047
|
+
export type ApplicationArtifactType = "NotSpecified" | "Template" | "Custom";
|
|
1048
|
+
/** Defines values for ResourceIdentityType. */
|
|
1049
|
+
export type ResourceIdentityType =
|
|
1050
|
+
| "SystemAssigned"
|
|
1051
|
+
| "UserAssigned"
|
|
1052
|
+
| "SystemAssigned, UserAssigned"
|
|
1053
|
+
| "None";
|
|
288
1054
|
/** Defines values for ApplicationLockLevel. */
|
|
289
1055
|
export type ApplicationLockLevel = "CanNotDelete" | "ReadOnly" | "None";
|
|
290
|
-
/** Defines values for ApplicationArtifactType. */
|
|
291
|
-
export type ApplicationArtifactType = "Template" | "Custom";
|
|
292
1056
|
|
|
293
1057
|
/** Optional parameters. */
|
|
294
1058
|
export interface ListOperationsOptionalParams
|
|
@@ -337,10 +1101,14 @@ export interface ApplicationsUpdateOptionalParams
|
|
|
337
1101
|
extends coreClient.OperationOptions {
|
|
338
1102
|
/** Parameters supplied to update an existing managed application. */
|
|
339
1103
|
parameters?: ApplicationPatchable;
|
|
1104
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1105
|
+
updateIntervalInMs?: number;
|
|
1106
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1107
|
+
resumeFrom?: string;
|
|
340
1108
|
}
|
|
341
1109
|
|
|
342
1110
|
/** Contains response data for the update operation. */
|
|
343
|
-
export type ApplicationsUpdateResponse =
|
|
1111
|
+
export type ApplicationsUpdateResponse = ApplicationPatchable;
|
|
344
1112
|
|
|
345
1113
|
/** Optional parameters. */
|
|
346
1114
|
export interface ApplicationsListByResourceGroupOptionalParams
|
|
@@ -388,11 +1156,47 @@ export type ApplicationsCreateOrUpdateByIdResponse = Application;
|
|
|
388
1156
|
export interface ApplicationsUpdateByIdOptionalParams
|
|
389
1157
|
extends coreClient.OperationOptions {
|
|
390
1158
|
/** Parameters supplied to update an existing managed application. */
|
|
391
|
-
parameters?:
|
|
1159
|
+
parameters?: ApplicationPatchable;
|
|
1160
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1161
|
+
updateIntervalInMs?: number;
|
|
1162
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1163
|
+
resumeFrom?: string;
|
|
392
1164
|
}
|
|
393
1165
|
|
|
394
1166
|
/** Contains response data for the updateById operation. */
|
|
395
|
-
export type ApplicationsUpdateByIdResponse =
|
|
1167
|
+
export type ApplicationsUpdateByIdResponse = ApplicationPatchable;
|
|
1168
|
+
|
|
1169
|
+
/** Optional parameters. */
|
|
1170
|
+
export interface ApplicationsRefreshPermissionsOptionalParams
|
|
1171
|
+
extends coreClient.OperationOptions {
|
|
1172
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1173
|
+
updateIntervalInMs?: number;
|
|
1174
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1175
|
+
resumeFrom?: string;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/** Optional parameters. */
|
|
1179
|
+
export interface ApplicationsListAllowedUpgradePlansOptionalParams
|
|
1180
|
+
extends coreClient.OperationOptions {}
|
|
1181
|
+
|
|
1182
|
+
/** Contains response data for the listAllowedUpgradePlans operation. */
|
|
1183
|
+
export type ApplicationsListAllowedUpgradePlansResponse = AllowedUpgradePlansResult;
|
|
1184
|
+
|
|
1185
|
+
/** Optional parameters. */
|
|
1186
|
+
export interface ApplicationsUpdateAccessOptionalParams
|
|
1187
|
+
extends coreClient.OperationOptions {
|
|
1188
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1189
|
+
updateIntervalInMs?: number;
|
|
1190
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1191
|
+
resumeFrom?: string;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/** Optional parameters. */
|
|
1195
|
+
export interface ApplicationsListTokensOptionalParams
|
|
1196
|
+
extends coreClient.OperationOptions {}
|
|
1197
|
+
|
|
1198
|
+
/** Contains response data for the listTokens operation. */
|
|
1199
|
+
export type ApplicationsListTokensResponse = ManagedIdentityTokenResult;
|
|
396
1200
|
|
|
397
1201
|
/** Optional parameters. */
|
|
398
1202
|
export interface ApplicationsListByResourceGroupNextOptionalParams
|
|
@@ -417,25 +1221,22 @@ export type ApplicationDefinitionsGetResponse = ApplicationDefinition;
|
|
|
417
1221
|
|
|
418
1222
|
/** Optional parameters. */
|
|
419
1223
|
export interface ApplicationDefinitionsDeleteOptionalParams
|
|
420
|
-
extends coreClient.OperationOptions {
|
|
421
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
422
|
-
updateIntervalInMs?: number;
|
|
423
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
424
|
-
resumeFrom?: string;
|
|
425
|
-
}
|
|
1224
|
+
extends coreClient.OperationOptions {}
|
|
426
1225
|
|
|
427
1226
|
/** Optional parameters. */
|
|
428
1227
|
export interface ApplicationDefinitionsCreateOrUpdateOptionalParams
|
|
429
|
-
extends coreClient.OperationOptions {
|
|
430
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
431
|
-
updateIntervalInMs?: number;
|
|
432
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
433
|
-
resumeFrom?: string;
|
|
434
|
-
}
|
|
1228
|
+
extends coreClient.OperationOptions {}
|
|
435
1229
|
|
|
436
1230
|
/** Contains response data for the createOrUpdate operation. */
|
|
437
1231
|
export type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDefinition;
|
|
438
1232
|
|
|
1233
|
+
/** Optional parameters. */
|
|
1234
|
+
export interface ApplicationDefinitionsUpdateOptionalParams
|
|
1235
|
+
extends coreClient.OperationOptions {}
|
|
1236
|
+
|
|
1237
|
+
/** Contains response data for the update operation. */
|
|
1238
|
+
export type ApplicationDefinitionsUpdateResponse = ApplicationDefinition;
|
|
1239
|
+
|
|
439
1240
|
/** Optional parameters. */
|
|
440
1241
|
export interface ApplicationDefinitionsListByResourceGroupOptionalParams
|
|
441
1242
|
extends coreClient.OperationOptions {}
|
|
@@ -443,6 +1244,13 @@ export interface ApplicationDefinitionsListByResourceGroupOptionalParams
|
|
|
443
1244
|
/** Contains response data for the listByResourceGroup operation. */
|
|
444
1245
|
export type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult;
|
|
445
1246
|
|
|
1247
|
+
/** Optional parameters. */
|
|
1248
|
+
export interface ApplicationDefinitionsListBySubscriptionOptionalParams
|
|
1249
|
+
extends coreClient.OperationOptions {}
|
|
1250
|
+
|
|
1251
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1252
|
+
export type ApplicationDefinitionsListBySubscriptionResponse = ApplicationDefinitionListResult;
|
|
1253
|
+
|
|
446
1254
|
/** Optional parameters. */
|
|
447
1255
|
export interface ApplicationDefinitionsGetByIdOptionalParams
|
|
448
1256
|
extends coreClient.OperationOptions {}
|
|
@@ -452,15 +1260,45 @@ export type ApplicationDefinitionsGetByIdResponse = ApplicationDefinition;
|
|
|
452
1260
|
|
|
453
1261
|
/** Optional parameters. */
|
|
454
1262
|
export interface ApplicationDefinitionsDeleteByIdOptionalParams
|
|
455
|
-
extends coreClient.OperationOptions {
|
|
456
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
457
|
-
updateIntervalInMs?: number;
|
|
458
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
459
|
-
resumeFrom?: string;
|
|
460
|
-
}
|
|
1263
|
+
extends coreClient.OperationOptions {}
|
|
461
1264
|
|
|
462
1265
|
/** Optional parameters. */
|
|
463
1266
|
export interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams
|
|
1267
|
+
extends coreClient.OperationOptions {}
|
|
1268
|
+
|
|
1269
|
+
/** Contains response data for the createOrUpdateById operation. */
|
|
1270
|
+
export type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefinition;
|
|
1271
|
+
|
|
1272
|
+
/** Optional parameters. */
|
|
1273
|
+
export interface ApplicationDefinitionsUpdateByIdOptionalParams
|
|
1274
|
+
extends coreClient.OperationOptions {}
|
|
1275
|
+
|
|
1276
|
+
/** Contains response data for the updateById operation. */
|
|
1277
|
+
export type ApplicationDefinitionsUpdateByIdResponse = ApplicationDefinition;
|
|
1278
|
+
|
|
1279
|
+
/** Optional parameters. */
|
|
1280
|
+
export interface ApplicationDefinitionsListByResourceGroupNextOptionalParams
|
|
1281
|
+
extends coreClient.OperationOptions {}
|
|
1282
|
+
|
|
1283
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1284
|
+
export type ApplicationDefinitionsListByResourceGroupNextResponse = ApplicationDefinitionListResult;
|
|
1285
|
+
|
|
1286
|
+
/** Optional parameters. */
|
|
1287
|
+
export interface ApplicationDefinitionsListBySubscriptionNextOptionalParams
|
|
1288
|
+
extends coreClient.OperationOptions {}
|
|
1289
|
+
|
|
1290
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1291
|
+
export type ApplicationDefinitionsListBySubscriptionNextResponse = ApplicationDefinitionListResult;
|
|
1292
|
+
|
|
1293
|
+
/** Optional parameters. */
|
|
1294
|
+
export interface JitRequestsGetOptionalParams
|
|
1295
|
+
extends coreClient.OperationOptions {}
|
|
1296
|
+
|
|
1297
|
+
/** Contains response data for the get operation. */
|
|
1298
|
+
export type JitRequestsGetResponse = JitRequestDefinition;
|
|
1299
|
+
|
|
1300
|
+
/** Optional parameters. */
|
|
1301
|
+
export interface JitRequestsCreateOrUpdateOptionalParams
|
|
464
1302
|
extends coreClient.OperationOptions {
|
|
465
1303
|
/** Delay to wait until next poll, in milliseconds. */
|
|
466
1304
|
updateIntervalInMs?: number;
|
|
@@ -468,15 +1306,33 @@ export interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams
|
|
|
468
1306
|
resumeFrom?: string;
|
|
469
1307
|
}
|
|
470
1308
|
|
|
471
|
-
/** Contains response data for the
|
|
472
|
-
export type
|
|
1309
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1310
|
+
export type JitRequestsCreateOrUpdateResponse = JitRequestDefinition;
|
|
473
1311
|
|
|
474
1312
|
/** Optional parameters. */
|
|
475
|
-
export interface
|
|
1313
|
+
export interface JitRequestsUpdateOptionalParams
|
|
476
1314
|
extends coreClient.OperationOptions {}
|
|
477
1315
|
|
|
478
|
-
/** Contains response data for the
|
|
479
|
-
export type
|
|
1316
|
+
/** Contains response data for the update operation. */
|
|
1317
|
+
export type JitRequestsUpdateResponse = JitRequestDefinition;
|
|
1318
|
+
|
|
1319
|
+
/** Optional parameters. */
|
|
1320
|
+
export interface JitRequestsDeleteOptionalParams
|
|
1321
|
+
extends coreClient.OperationOptions {}
|
|
1322
|
+
|
|
1323
|
+
/** Optional parameters. */
|
|
1324
|
+
export interface JitRequestsListBySubscriptionOptionalParams
|
|
1325
|
+
extends coreClient.OperationOptions {}
|
|
1326
|
+
|
|
1327
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1328
|
+
export type JitRequestsListBySubscriptionResponse = JitRequestDefinitionListResult;
|
|
1329
|
+
|
|
1330
|
+
/** Optional parameters. */
|
|
1331
|
+
export interface JitRequestsListByResourceGroupOptionalParams
|
|
1332
|
+
extends coreClient.OperationOptions {}
|
|
1333
|
+
|
|
1334
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1335
|
+
export type JitRequestsListByResourceGroupResponse = JitRequestDefinitionListResult;
|
|
480
1336
|
|
|
481
1337
|
/** Optional parameters. */
|
|
482
1338
|
export interface ApplicationClientOptionalParams
|