@azure/arm-servicelinker 2.1.1-alpha.20241023.1 → 2.2.0-beta.1
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 +145 -10
- package/LICENSE +1 -1
- package/README.md +3 -4
- package/dist/index.js +3960 -1050
- 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/configurationNamesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationNamesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationNamesListSample.js +51 -0
- package/dist-esm/samples-dev/configurationNamesListSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorCreateDryrunSample.js +53 -0
- package/dist-esm/samples-dev/connectorCreateDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js +49 -0
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.js +39 -0
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorDeleteSample.js +39 -0
- package/dist-esm/samples-dev/connectorDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js +43 -0
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorGetDryrunSample.js +39 -0
- package/dist-esm/samples-dev/connectorGetDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorGetSample.js +39 -0
- package/dist-esm/samples-dev/connectorGetSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorListDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorListDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorListDryrunSample.js +54 -0
- package/dist-esm/samples-dev/connectorListDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorListSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorListSample.js +54 -0
- package/dist-esm/samples-dev/connectorListSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.js +53 -0
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorUpdateSample.js +51 -0
- package/dist-esm/samples-dev/connectorUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorValidateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectorValidateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectorValidateSample.js +39 -0
- package/dist-esm/samples-dev/connectorValidateSample.js.map +1 -0
- package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js +9 -67
- package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/linkerDeleteSample.js +5 -5
- package/dist-esm/samples-dev/linkerDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/linkerGetSample.js +3 -3
- package/dist-esm/samples-dev/linkerGetSample.js.map +1 -1
- package/dist-esm/samples-dev/linkerListConfigurationsSample.js +4 -4
- package/dist-esm/samples-dev/linkerListConfigurationsSample.js.map +1 -1
- package/dist-esm/samples-dev/linkerListSample.js +5 -5
- package/dist-esm/samples-dev/linkerListSample.js.map +1 -1
- package/dist-esm/samples-dev/linkerUpdateSample.js +9 -9
- package/dist-esm/samples-dev/linkerUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/linkerValidateSample.js +5 -5
- package/dist-esm/samples-dev/linkerValidateSample.js.map +1 -1
- package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersCreateDryrunSample.js +51 -0
- package/dist-esm/samples-dev/linkersCreateDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.js +37 -0
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js +41 -0
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersGetDryrunSample.js +37 -0
- package/dist-esm/samples-dev/linkersGetDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js +52 -0
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/linkersListDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersListDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersListDryrunSample.js +52 -0
- package/dist-esm/samples-dev/linkersListDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.js +51 -0
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +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 +815 -90
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +134 -18
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +47 -8
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1334 -337
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +12 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +121 -31
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/configurationNames.d.ts +34 -0
- package/dist-esm/src/operations/configurationNames.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationNames.js +139 -0
- package/dist-esm/src/operations/configurationNames.js.map +1 -0
- package/dist-esm/src/operations/connector.d.ts +223 -0
- package/dist-esm/src/operations/connector.d.ts.map +1 -0
- package/dist-esm/src/operations/connector.js +1011 -0
- package/dist-esm/src/operations/connector.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/linker.d.ts +18 -16
- package/dist-esm/src/operations/linker.d.ts.map +1 -1
- package/dist-esm/src/operations/linker.js +109 -91
- package/dist-esm/src/operations/linker.js.map +1 -1
- package/dist-esm/src/operations/linkers.d.ts +123 -0
- package/dist-esm/src/operations/linkers.d.ts.map +1 -0
- package/dist-esm/src/operations/linkers.js +535 -0
- package/dist-esm/src/operations/linkers.js.map +1 -0
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operationsInterfaces/configurationNames.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/configurationNames.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationNames.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurationNames.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connector.d.ts +176 -0
- package/dist-esm/src/operationsInterfaces/connector.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connector.js +9 -0
- package/dist-esm/src/operationsInterfaces/connector.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linker.d.ts +16 -15
- package/dist-esm/src/operationsInterfaces/linker.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkers.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/linkers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkers.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkers.js.map +1 -0
- package/dist-esm/src/serviceLinkerManagementClient.d.ts +4 -1
- package/dist-esm/src/serviceLinkerManagementClient.d.ts.map +1 -1
- package/dist-esm/src/serviceLinkerManagementClient.js +12 -9
- package/dist-esm/src/serviceLinkerManagementClient.js.map +1 -1
- package/dist-esm/test/servicelinker_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/servicelinker_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/servicelinker_operations_test.spec.js +74 -0
- package/dist-esm/test/servicelinker_operations_test.spec.js.map +1 -0
- package/package.json +30 -31
- package/review/arm-servicelinker.api.md +613 -32
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +956 -103
- package/src/models/mappers.ts +1449 -365
- package/src/models/parameters.ts +135 -32
- package/src/operations/configurationNames.ts +155 -0
- package/src/operations/connector.ts +1433 -0
- package/src/operations/index.ts +3 -0
- package/src/operations/linker.ts +180 -171
- package/src/operations/linkers.ts +702 -0
- package/src/operations/operations.ts +16 -16
- package/src/operationsInterfaces/configurationNames.ts +26 -0
- package/src/operationsInterfaces/connector.ts +349 -0
- package/src/operationsInterfaces/index.ts +3 -0
- package/src/operationsInterfaces/linker.ts +30 -29
- package/src/operationsInterfaces/linkers.ts +153 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/pagingHelper.ts +1 -1
- package/src/serviceLinkerManagementClient.ts +36 -17
- package/types/arm-servicelinker.d.ts +1150 -61
- 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 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
package/src/models/index.ts
CHANGED
|
@@ -8,81 +8,72 @@
|
|
|
8
8
|
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
|
|
11
|
+
export type DryrunParametersUnion =
|
|
12
|
+
| DryrunParameters
|
|
13
|
+
| CreateOrUpdateDryrunParameters;
|
|
14
|
+
export type DryrunPrerequisiteResultUnion =
|
|
15
|
+
| DryrunPrerequisiteResult
|
|
16
|
+
| BasicErrorDryrunPrerequisiteResult
|
|
17
|
+
| PermissionsMissingDryrunPrerequisiteResult;
|
|
11
18
|
export type TargetServiceBaseUnion =
|
|
12
19
|
| TargetServiceBase
|
|
13
20
|
| AzureResource
|
|
14
21
|
| ConfluentBootstrapServer
|
|
22
|
+
| FabricPlatform
|
|
23
|
+
| SelfHostedServer
|
|
15
24
|
| ConfluentSchemaRegistry;
|
|
16
25
|
export type AuthInfoBaseUnion =
|
|
17
26
|
| AuthInfoBase
|
|
27
|
+
| AccessKeyInfoBase
|
|
18
28
|
| SecretAuthInfo
|
|
19
29
|
| UserAssignedIdentityAuthInfo
|
|
20
30
|
| SystemAssignedIdentityAuthInfo
|
|
21
31
|
| ServicePrincipalSecretAuthInfo
|
|
22
|
-
| ServicePrincipalCertificateAuthInfo
|
|
32
|
+
| ServicePrincipalCertificateAuthInfo
|
|
33
|
+
| UserAccountAuthInfo
|
|
34
|
+
| EasyAuthMicrosoftEntraIDAuthInfo;
|
|
23
35
|
export type AzureResourcePropertiesBaseUnion =
|
|
24
36
|
| AzureResourcePropertiesBase
|
|
25
|
-
| AzureKeyVaultProperties
|
|
37
|
+
| AzureKeyVaultProperties
|
|
38
|
+
| AzureAppConfigProperties;
|
|
26
39
|
export type SecretInfoBaseUnion =
|
|
27
40
|
| SecretInfoBase
|
|
28
41
|
| ValueSecretInfo
|
|
29
42
|
| KeyVaultSecretReferenceSecretInfo
|
|
30
43
|
| KeyVaultSecretUriSecretInfo;
|
|
31
44
|
|
|
32
|
-
/** The list of
|
|
33
|
-
export interface
|
|
34
|
-
/** The link used to get the next page of
|
|
45
|
+
/** The list of dryrun. */
|
|
46
|
+
export interface DryrunList {
|
|
47
|
+
/** The link used to get the next page of dryrun list. */
|
|
35
48
|
nextLink?: string;
|
|
36
|
-
/** The list of
|
|
37
|
-
value?:
|
|
49
|
+
/** The list of dryrun. */
|
|
50
|
+
value?: DryrunResource[];
|
|
38
51
|
}
|
|
39
52
|
|
|
40
|
-
/** The
|
|
41
|
-
export interface
|
|
53
|
+
/** The parameters of the dryrun */
|
|
54
|
+
export interface DryrunParameters {
|
|
42
55
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
43
|
-
|
|
44
|
-
| "AzureResource"
|
|
45
|
-
| "ConfluentBootstrapServer"
|
|
46
|
-
| "ConfluentSchemaRegistry";
|
|
56
|
+
actionName: "createOrUpdate";
|
|
47
57
|
}
|
|
48
58
|
|
|
49
|
-
/**
|
|
50
|
-
export interface
|
|
59
|
+
/** A result of dryrun */
|
|
60
|
+
export interface DryrunPrerequisiteResult {
|
|
51
61
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
52
|
-
|
|
53
|
-
| "secret"
|
|
54
|
-
| "userAssignedIdentity"
|
|
55
|
-
| "systemAssignedIdentity"
|
|
56
|
-
| "servicePrincipalSecret"
|
|
57
|
-
| "servicePrincipalCertificate";
|
|
62
|
+
type: "basicError" | "permissionsMissing";
|
|
58
63
|
}
|
|
59
64
|
|
|
60
|
-
/** The
|
|
61
|
-
export interface
|
|
62
|
-
/**
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
|
|
68
|
-
/** The
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
73
|
-
export interface SystemData {
|
|
74
|
-
/** The identity that created the resource. */
|
|
75
|
-
createdBy?: string;
|
|
76
|
-
/** The type of identity that created the resource. */
|
|
77
|
-
createdByType?: CreatedByType;
|
|
78
|
-
/** The timestamp of resource creation (UTC). */
|
|
79
|
-
createdAt?: Date;
|
|
80
|
-
/** The identity that last modified the resource. */
|
|
81
|
-
lastModifiedBy?: string;
|
|
82
|
-
/** The type of identity that last modified the resource. */
|
|
83
|
-
lastModifiedByType?: CreatedByType;
|
|
84
|
-
/** The timestamp of resource last modification (UTC) */
|
|
85
|
-
lastModifiedAt?: Date;
|
|
65
|
+
/** The preview of the operations for creation */
|
|
66
|
+
export interface DryrunOperationPreview {
|
|
67
|
+
/** The operation name */
|
|
68
|
+
name?: string;
|
|
69
|
+
/** The operation type */
|
|
70
|
+
operationType?: DryrunPreviewOperationType;
|
|
71
|
+
/** The description of the operation */
|
|
72
|
+
description?: string;
|
|
73
|
+
/** The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format */
|
|
74
|
+
action?: string;
|
|
75
|
+
/** The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview */
|
|
76
|
+
scope?: string;
|
|
86
77
|
}
|
|
87
78
|
|
|
88
79
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
@@ -102,6 +93,27 @@ export interface Resource {
|
|
|
102
93
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
103
94
|
*/
|
|
104
95
|
readonly type?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
98
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
99
|
+
*/
|
|
100
|
+
readonly systemData?: SystemData;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
104
|
+
export interface SystemData {
|
|
105
|
+
/** The identity that created the resource. */
|
|
106
|
+
createdBy?: string;
|
|
107
|
+
/** The type of identity that created the resource. */
|
|
108
|
+
createdByType?: CreatedByType;
|
|
109
|
+
/** The timestamp of resource creation (UTC). */
|
|
110
|
+
createdAt?: Date;
|
|
111
|
+
/** The identity that last modified the resource. */
|
|
112
|
+
lastModifiedBy?: string;
|
|
113
|
+
/** The type of identity that last modified the resource. */
|
|
114
|
+
lastModifiedByType?: CreatedByType;
|
|
115
|
+
/** The timestamp of resource last modification (UTC) */
|
|
116
|
+
lastModifiedAt?: Date;
|
|
105
117
|
}
|
|
106
118
|
|
|
107
119
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
@@ -153,7 +165,186 @@ export interface ErrorAdditionalInfo {
|
|
|
153
165
|
readonly info?: Record<string, unknown>;
|
|
154
166
|
}
|
|
155
167
|
|
|
156
|
-
/**
|
|
168
|
+
/** a dryrun job to be updated. */
|
|
169
|
+
export interface DryrunPatch {
|
|
170
|
+
/** The parameters of the dryrun */
|
|
171
|
+
parameters?: DryrunParametersUnion;
|
|
172
|
+
/**
|
|
173
|
+
* the result of the dryrun
|
|
174
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
175
|
+
*/
|
|
176
|
+
readonly prerequisiteResults?: DryrunPrerequisiteResultUnion[];
|
|
177
|
+
/**
|
|
178
|
+
* the preview of the operations for creation
|
|
179
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
180
|
+
*/
|
|
181
|
+
readonly operationPreviews?: DryrunOperationPreview[];
|
|
182
|
+
/**
|
|
183
|
+
* The provisioning state.
|
|
184
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
185
|
+
*/
|
|
186
|
+
readonly provisioningState?: string;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/** The list of Linker. */
|
|
190
|
+
export interface ResourceList {
|
|
191
|
+
/** The Linker used to get the next page of Linker list. */
|
|
192
|
+
nextLink?: string;
|
|
193
|
+
/** The list of Linkers. */
|
|
194
|
+
value?: LinkerResource[];
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** The properties of the Linker. */
|
|
198
|
+
export interface LinkerProperties {
|
|
199
|
+
/** The target service properties */
|
|
200
|
+
targetService?: TargetServiceBaseUnion;
|
|
201
|
+
/** The authentication type. */
|
|
202
|
+
authInfo?: AuthInfoBaseUnion;
|
|
203
|
+
/** The application client type */
|
|
204
|
+
clientType?: ClientType;
|
|
205
|
+
/**
|
|
206
|
+
* The provisioning state.
|
|
207
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
208
|
+
*/
|
|
209
|
+
readonly provisioningState?: string;
|
|
210
|
+
/** The VNet solution. */
|
|
211
|
+
vNetSolution?: VNetSolution;
|
|
212
|
+
/** An option to store secret value in secure place */
|
|
213
|
+
secretStore?: SecretStore;
|
|
214
|
+
/** connection scope in source service. */
|
|
215
|
+
scope?: string;
|
|
216
|
+
/** The network solution. */
|
|
217
|
+
publicNetworkSolution?: PublicNetworkSolution;
|
|
218
|
+
/** The connection information consumed by applications, including secrets, connection strings. */
|
|
219
|
+
configurationInfo?: ConfigurationInfo;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/** The target service properties */
|
|
223
|
+
export interface TargetServiceBase {
|
|
224
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
225
|
+
type:
|
|
226
|
+
| "AzureResource"
|
|
227
|
+
| "ConfluentBootstrapServer"
|
|
228
|
+
| "FabricPlatform"
|
|
229
|
+
| "SelfHostedServer"
|
|
230
|
+
| "ConfluentSchemaRegistry";
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** The authentication info */
|
|
234
|
+
export interface AuthInfoBase {
|
|
235
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
236
|
+
authType:
|
|
237
|
+
| "accessKey"
|
|
238
|
+
| "secret"
|
|
239
|
+
| "userAssignedIdentity"
|
|
240
|
+
| "systemAssignedIdentity"
|
|
241
|
+
| "servicePrincipalSecret"
|
|
242
|
+
| "servicePrincipalCertificate"
|
|
243
|
+
| "userAccount"
|
|
244
|
+
| "easyAuthMicrosoftEntraID";
|
|
245
|
+
/** Optional. Indicates how to configure authentication. If optInAllAuth, service linker configures authentication such as enabling identity on source resource and granting RBAC roles. If optOutAllAuth, opt out authentication setup. Default is optInAllAuth. */
|
|
246
|
+
authMode?: AuthMode;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/** The VNet solution for linker */
|
|
250
|
+
export interface VNetSolution {
|
|
251
|
+
/** Type of VNet solution. */
|
|
252
|
+
type?: VNetSolutionType;
|
|
253
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
254
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** An option to store secret value in secure place */
|
|
258
|
+
export interface SecretStore {
|
|
259
|
+
/** The key vault id to store secret */
|
|
260
|
+
keyVaultId?: string;
|
|
261
|
+
/** The key vault secret name to store secret, only valid when storing one secret */
|
|
262
|
+
keyVaultSecretName?: string;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/** Indicates public network solution, include firewall rules */
|
|
266
|
+
export interface PublicNetworkSolution {
|
|
267
|
+
/** Indicates whether to clean up previous operation(such as firewall rules) when Linker is updating or deleting */
|
|
268
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
269
|
+
/** Optional. Indicates public network solution. If enable, enable public network access of target service with best try. Default is enable. If optOut, opt out public network access configuration. */
|
|
270
|
+
action?: ActionType;
|
|
271
|
+
/** Describe firewall rules of target service to make sure source application could connect to the target. */
|
|
272
|
+
firewallRules?: FirewallRules;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/** Target service's firewall rules. to allow connections from source service. */
|
|
276
|
+
export interface FirewallRules {
|
|
277
|
+
/** This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. */
|
|
278
|
+
ipRanges?: string[];
|
|
279
|
+
/** Allow Azure services to access the target service if true. */
|
|
280
|
+
azureServices?: AllowType;
|
|
281
|
+
/** Allow caller client IP to access the target service if true. the property is used when connecting local application to target service. */
|
|
282
|
+
callerClientIP?: AllowType;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/** The configuration information, used to generate configurations or save to applications */
|
|
286
|
+
export interface ConfigurationInfo {
|
|
287
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
288
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
289
|
+
/** Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source. */
|
|
290
|
+
action?: ActionType;
|
|
291
|
+
/** Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations */
|
|
292
|
+
customizedKeys?: { [propertyName: string]: string };
|
|
293
|
+
/** Indicates some additional properties for dapr client type */
|
|
294
|
+
daprProperties?: DaprProperties;
|
|
295
|
+
/** A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations */
|
|
296
|
+
additionalConfigurations?: { [propertyName: string]: string };
|
|
297
|
+
/** A dictionary of additional properties to be added in the end of connection string. */
|
|
298
|
+
additionalConnectionStringProperties?: { [propertyName: string]: string };
|
|
299
|
+
/** An option to store configuration into different place */
|
|
300
|
+
configurationStore?: ConfigurationStore;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/** Indicates some additional properties for dapr client type */
|
|
304
|
+
export interface DaprProperties {
|
|
305
|
+
/** The dapr component version */
|
|
306
|
+
version?: string;
|
|
307
|
+
/** The dapr component type */
|
|
308
|
+
componentType?: string;
|
|
309
|
+
/** The name of a secret store dapr to retrieve secret */
|
|
310
|
+
secretStoreComponent?: string;
|
|
311
|
+
/** Additional dapr metadata */
|
|
312
|
+
metadata?: DaprMetadata[];
|
|
313
|
+
/** The dapr component scopes */
|
|
314
|
+
scopes?: string[];
|
|
315
|
+
/**
|
|
316
|
+
* The runtime version supported by the properties
|
|
317
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
318
|
+
*/
|
|
319
|
+
readonly runtimeVersion?: string;
|
|
320
|
+
/**
|
|
321
|
+
* The direction supported by the dapr binding component
|
|
322
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
323
|
+
*/
|
|
324
|
+
readonly bindingComponentDirection?: DaprBindingComponentDirection;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** The dapr component metadata. */
|
|
328
|
+
export interface DaprMetadata {
|
|
329
|
+
/** Metadata property name. */
|
|
330
|
+
name?: string;
|
|
331
|
+
/** Metadata property value. */
|
|
332
|
+
value?: string;
|
|
333
|
+
/** The secret name where dapr could get value */
|
|
334
|
+
secretRef?: string;
|
|
335
|
+
/** The description of the metadata, returned from configuration api */
|
|
336
|
+
description?: string;
|
|
337
|
+
/** The value indicating whether the metadata is required or not */
|
|
338
|
+
required?: DaprMetadataRequired;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** An option to store configuration into different place */
|
|
342
|
+
export interface ConfigurationStore {
|
|
343
|
+
/** The app configuration id to store configuration */
|
|
344
|
+
appConfigurationId?: string;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/** A Linker to be updated. */
|
|
157
348
|
export interface LinkerPatch {
|
|
158
349
|
/** The target service properties */
|
|
159
350
|
targetService?: TargetServiceBaseUnion;
|
|
@@ -172,11 +363,15 @@ export interface LinkerPatch {
|
|
|
172
363
|
secretStore?: SecretStore;
|
|
173
364
|
/** connection scope in source service. */
|
|
174
365
|
scope?: string;
|
|
366
|
+
/** The network solution. */
|
|
367
|
+
publicNetworkSolution?: PublicNetworkSolution;
|
|
368
|
+
/** The connection information consumed by applications, including secrets, connection strings. */
|
|
369
|
+
configurationInfo?: ConfigurationInfo;
|
|
175
370
|
}
|
|
176
371
|
|
|
177
|
-
/** The validation operation result for a
|
|
372
|
+
/** The validation operation result for a Linker. */
|
|
178
373
|
export interface ValidateOperationResult {
|
|
179
|
-
/** Validated
|
|
374
|
+
/** Validated Linker id. */
|
|
180
375
|
resourceId?: string;
|
|
181
376
|
/** Validation operation status. */
|
|
182
377
|
status?: string;
|
|
@@ -188,7 +383,7 @@ export interface ValidateOperationResult {
|
|
|
188
383
|
reportStartTimeUtc?: Date;
|
|
189
384
|
/** The end time of the validation report. */
|
|
190
385
|
reportEndTimeUtc?: Date;
|
|
191
|
-
/** The resource id of the
|
|
386
|
+
/** The resource id of the Linker source application. */
|
|
192
387
|
sourceId?: string;
|
|
193
388
|
/** The resource Id of target service. */
|
|
194
389
|
targetId?: string;
|
|
@@ -198,7 +393,7 @@ export interface ValidateOperationResult {
|
|
|
198
393
|
validationDetail?: ValidationResultItem[];
|
|
199
394
|
}
|
|
200
395
|
|
|
201
|
-
/** The validation item for a
|
|
396
|
+
/** The validation item for a Linker. */
|
|
202
397
|
export interface ValidationResultItem {
|
|
203
398
|
/** The validation item name. */
|
|
204
399
|
name?: string;
|
|
@@ -213,7 +408,7 @@ export interface ValidationResultItem {
|
|
|
213
408
|
}
|
|
214
409
|
|
|
215
410
|
/** Configurations for source resource, include appSettings, connectionString and serviceBindings */
|
|
216
|
-
export interface
|
|
411
|
+
export interface ConfigurationResult {
|
|
217
412
|
/** The configuration properties for source resource. */
|
|
218
413
|
configurations?: SourceConfiguration[];
|
|
219
414
|
}
|
|
@@ -224,6 +419,15 @@ export interface SourceConfiguration {
|
|
|
224
419
|
name?: string;
|
|
225
420
|
/** The value of setting */
|
|
226
421
|
value?: string;
|
|
422
|
+
/**
|
|
423
|
+
* The type of setting
|
|
424
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
425
|
+
*/
|
|
426
|
+
readonly configType?: LinkerConfigurationType;
|
|
427
|
+
/** The identity for key vault reference, system or user-assigned managed identity ID */
|
|
428
|
+
keyVaultReferenceIdentity?: string;
|
|
429
|
+
/** Descriptive information for the configuration */
|
|
430
|
+
description?: string;
|
|
227
431
|
}
|
|
228
432
|
|
|
229
433
|
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
@@ -290,10 +494,66 @@ export interface OperationDisplay {
|
|
|
290
494
|
readonly description?: string;
|
|
291
495
|
}
|
|
292
496
|
|
|
497
|
+
/** Configuration Name list which will be set based on different target resource, client type, auth type. */
|
|
498
|
+
export interface ConfigurationNameResult {
|
|
499
|
+
/** Expected configuration names for each target service. */
|
|
500
|
+
value?: ConfigurationNameItem[];
|
|
501
|
+
/**
|
|
502
|
+
* Link to next page of resources.
|
|
503
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
504
|
+
*/
|
|
505
|
+
readonly nextLink?: string;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export interface ConfigurationNameItem {
|
|
509
|
+
/** The target service provider name and resource name. */
|
|
510
|
+
targetService?: string;
|
|
511
|
+
/** The client type for configuration names. */
|
|
512
|
+
clientType?: ClientType;
|
|
513
|
+
/** The auth type. */
|
|
514
|
+
authType?: AuthType;
|
|
515
|
+
/** Indicates where the secrets in configuration from. Used when secrets are from Keyvault. */
|
|
516
|
+
secretType?: SecretSourceType;
|
|
517
|
+
/** Deprecated, please use #/definitions/DaprConfigurationList instead */
|
|
518
|
+
daprProperties?: DaprProperties;
|
|
519
|
+
/** The configuration names to be set in compute service environment. */
|
|
520
|
+
names?: ConfigurationName[];
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/** The configuration names. */
|
|
524
|
+
export interface ConfigurationName {
|
|
525
|
+
value?: string;
|
|
526
|
+
/** Description for the configuration name. */
|
|
527
|
+
description?: string;
|
|
528
|
+
/** Represent the configuration is required or not */
|
|
529
|
+
required?: boolean;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/** Dapr configuration list supported by Service Connector */
|
|
533
|
+
export interface DaprConfigurationList {
|
|
534
|
+
/** The list of dapr configurations */
|
|
535
|
+
value?: DaprConfigurationResource[];
|
|
536
|
+
/**
|
|
537
|
+
* Link to next page of resources.
|
|
538
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
539
|
+
*/
|
|
540
|
+
readonly nextLink?: string;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/** Represent one resource of the dapr configuration list */
|
|
544
|
+
export interface DaprConfigurationResource {
|
|
545
|
+
/** Supported target resource type, extract from resource id, uppercase */
|
|
546
|
+
targetType?: string;
|
|
547
|
+
/** The authentication type. */
|
|
548
|
+
authType?: AuthType;
|
|
549
|
+
/** Indicates some additional properties for dapr client type */
|
|
550
|
+
daprProperties?: DaprProperties;
|
|
551
|
+
}
|
|
552
|
+
|
|
293
553
|
/** The azure resource properties */
|
|
294
554
|
export interface AzureResourcePropertiesBase {
|
|
295
555
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
296
|
-
type: "KeyVault";
|
|
556
|
+
type: "KeyVault" | "AppConfig";
|
|
297
557
|
}
|
|
298
558
|
|
|
299
559
|
/** The secret info */
|
|
@@ -302,6 +562,47 @@ export interface SecretInfoBase {
|
|
|
302
562
|
secretType: "rawValue" | "keyVaultSecretReference" | "keyVaultSecretUri";
|
|
303
563
|
}
|
|
304
564
|
|
|
565
|
+
/** The extra auth info required by Database AAD authentication. */
|
|
566
|
+
export interface DatabaseAadAuthInfo {
|
|
567
|
+
/** Username created in the database which is mapped to a user in AAD. */
|
|
568
|
+
userName?: string;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/** The dryrun parameters for creation or update a linker */
|
|
572
|
+
export interface CreateOrUpdateDryrunParameters
|
|
573
|
+
extends DryrunParameters,
|
|
574
|
+
LinkerProperties {
|
|
575
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
576
|
+
actionName: "createOrUpdate";
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/** The represent of basic error */
|
|
580
|
+
export interface BasicErrorDryrunPrerequisiteResult
|
|
581
|
+
extends DryrunPrerequisiteResult {
|
|
582
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
583
|
+
type: "basicError";
|
|
584
|
+
/** The error code. */
|
|
585
|
+
code?: string;
|
|
586
|
+
/** The error message. */
|
|
587
|
+
message?: string;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/** The represent of missing permissions */
|
|
591
|
+
export interface PermissionsMissingDryrunPrerequisiteResult
|
|
592
|
+
extends DryrunPrerequisiteResult {
|
|
593
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
594
|
+
type: "permissionsMissing";
|
|
595
|
+
/** The permission scope */
|
|
596
|
+
scope?: string;
|
|
597
|
+
/** The permission list */
|
|
598
|
+
permissions?: string[];
|
|
599
|
+
/** The recommended role to resolve permissions missing */
|
|
600
|
+
recommendedRole?: string;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
604
|
+
export interface ProxyResource extends Resource {}
|
|
605
|
+
|
|
305
606
|
/** The azure resource info when target service type is AzureResource */
|
|
306
607
|
export interface AzureResource extends TargetServiceBase {
|
|
307
608
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -320,6 +621,22 @@ export interface ConfluentBootstrapServer extends TargetServiceBase {
|
|
|
320
621
|
endpoint?: string;
|
|
321
622
|
}
|
|
322
623
|
|
|
624
|
+
/** The service properties when target service type is FabricPlatform */
|
|
625
|
+
export interface FabricPlatform extends TargetServiceBase {
|
|
626
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
627
|
+
type: "FabricPlatform";
|
|
628
|
+
/** The endpoint of service. */
|
|
629
|
+
endpoint?: string;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/** The service properties when target service type is SelfHostedServer */
|
|
633
|
+
export interface SelfHostedServer extends TargetServiceBase {
|
|
634
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
635
|
+
type: "SelfHostedServer";
|
|
636
|
+
/** The endpoint of service. */
|
|
637
|
+
endpoint?: string;
|
|
638
|
+
}
|
|
639
|
+
|
|
323
640
|
/** The service properties when target service type is ConfluentSchemaRegistry */
|
|
324
641
|
export interface ConfluentSchemaRegistry extends TargetServiceBase {
|
|
325
642
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -328,6 +645,14 @@ export interface ConfluentSchemaRegistry extends TargetServiceBase {
|
|
|
328
645
|
endpoint?: string;
|
|
329
646
|
}
|
|
330
647
|
|
|
648
|
+
/** The access key directly from target resource properties, which target service is Azure Resource, such as Microsoft.Storage */
|
|
649
|
+
export interface AccessKeyInfoBase extends AuthInfoBase {
|
|
650
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
651
|
+
authType: "accessKey";
|
|
652
|
+
/** Permissions of the accessKey. `Read` and `Write` are for Azure Cosmos DB and Azure App Configuration, `Listen`, `Send` and `Manage` are for Azure Event Hub and Azure Service Bus. */
|
|
653
|
+
permissions?: AccessKeyPermissions[];
|
|
654
|
+
}
|
|
655
|
+
|
|
331
656
|
/** The authentication info when authType is secret */
|
|
332
657
|
export interface SecretAuthInfo extends AuthInfoBase {
|
|
333
658
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -339,23 +664,37 @@ export interface SecretAuthInfo extends AuthInfoBase {
|
|
|
339
664
|
}
|
|
340
665
|
|
|
341
666
|
/** The authentication info when authType is userAssignedIdentity */
|
|
342
|
-
export interface UserAssignedIdentityAuthInfo
|
|
667
|
+
export interface UserAssignedIdentityAuthInfo
|
|
668
|
+
extends AuthInfoBase,
|
|
669
|
+
DatabaseAadAuthInfo {
|
|
343
670
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
344
671
|
authType: "userAssignedIdentity";
|
|
345
672
|
/** Client Id for userAssignedIdentity. */
|
|
346
673
|
clientId?: string;
|
|
347
674
|
/** Subscription id for userAssignedIdentity. */
|
|
348
675
|
subscriptionId?: string;
|
|
676
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
677
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
678
|
+
/** Optional, this value specifies the Azure role to be assigned */
|
|
679
|
+
roles?: string[];
|
|
349
680
|
}
|
|
350
681
|
|
|
351
682
|
/** The authentication info when authType is systemAssignedIdentity */
|
|
352
|
-
export interface SystemAssignedIdentityAuthInfo
|
|
683
|
+
export interface SystemAssignedIdentityAuthInfo
|
|
684
|
+
extends AuthInfoBase,
|
|
685
|
+
DatabaseAadAuthInfo {
|
|
353
686
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
354
687
|
authType: "systemAssignedIdentity";
|
|
688
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
689
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
690
|
+
/** Optional, this value specifies the Azure role to be assigned */
|
|
691
|
+
roles?: string[];
|
|
355
692
|
}
|
|
356
693
|
|
|
357
694
|
/** The authentication info when authType is servicePrincipal secret */
|
|
358
|
-
export interface ServicePrincipalSecretAuthInfo
|
|
695
|
+
export interface ServicePrincipalSecretAuthInfo
|
|
696
|
+
extends AuthInfoBase,
|
|
697
|
+
DatabaseAadAuthInfo {
|
|
359
698
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
360
699
|
authType: "servicePrincipalSecret";
|
|
361
700
|
/** ServicePrincipal application clientId for servicePrincipal auth. */
|
|
@@ -364,6 +703,10 @@ export interface ServicePrincipalSecretAuthInfo extends AuthInfoBase {
|
|
|
364
703
|
principalId: string;
|
|
365
704
|
/** Secret for servicePrincipal auth. */
|
|
366
705
|
secret: string;
|
|
706
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
707
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
708
|
+
/** Optional, this value specifies the Azure roles to be assigned. Automatically */
|
|
709
|
+
roles?: string[];
|
|
367
710
|
}
|
|
368
711
|
|
|
369
712
|
/** The authentication info when authType is servicePrincipal certificate */
|
|
@@ -376,10 +719,35 @@ export interface ServicePrincipalCertificateAuthInfo extends AuthInfoBase {
|
|
|
376
719
|
principalId: string;
|
|
377
720
|
/** ServicePrincipal certificate for servicePrincipal auth. */
|
|
378
721
|
certificate: string;
|
|
722
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
723
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
724
|
+
/** Optional, this value specifies the Azure roles to be assigned. Automatically */
|
|
725
|
+
roles?: string[];
|
|
379
726
|
}
|
|
380
727
|
|
|
381
|
-
/** The
|
|
382
|
-
export interface
|
|
728
|
+
/** The authentication info when authType is user account */
|
|
729
|
+
export interface UserAccountAuthInfo extends AuthInfoBase, DatabaseAadAuthInfo {
|
|
730
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
731
|
+
authType: "userAccount";
|
|
732
|
+
/** Principal Id for user account. */
|
|
733
|
+
principalId?: string;
|
|
734
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
735
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
736
|
+
/** Optional, this value specifies the Azure roles to be assigned. Automatically */
|
|
737
|
+
roles?: string[];
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/** The authentication info when authType is EasyAuth Microsoft Entra ID */
|
|
741
|
+
export interface EasyAuthMicrosoftEntraIDAuthInfo extends AuthInfoBase {
|
|
742
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
743
|
+
authType: "easyAuthMicrosoftEntraID";
|
|
744
|
+
/** Application clientId for EasyAuth Microsoft Entra ID. */
|
|
745
|
+
clientId?: string;
|
|
746
|
+
/** Application Secret for EasyAuth Microsoft Entra ID. */
|
|
747
|
+
secret?: string;
|
|
748
|
+
/** Indicates whether to clean up previous operation when Linker is updating or deleting */
|
|
749
|
+
deleteOrUpdateBehavior?: DeleteOrUpdateBehavior;
|
|
750
|
+
}
|
|
383
751
|
|
|
384
752
|
/** The resource properties when type is Azure Key Vault */
|
|
385
753
|
export interface AzureKeyVaultProperties extends AzureResourcePropertiesBase {
|
|
@@ -389,6 +757,14 @@ export interface AzureKeyVaultProperties extends AzureResourcePropertiesBase {
|
|
|
389
757
|
connectAsKubernetesCsiDriver?: boolean;
|
|
390
758
|
}
|
|
391
759
|
|
|
760
|
+
/** The resource properties when type is Azure App Configuration */
|
|
761
|
+
export interface AzureAppConfigProperties extends AzureResourcePropertiesBase {
|
|
762
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
763
|
+
type: "AppConfig";
|
|
764
|
+
/** True if connection enables app configuration kubernetes extension. */
|
|
765
|
+
connectWithKubernetesExtension?: boolean;
|
|
766
|
+
}
|
|
767
|
+
|
|
392
768
|
/** The secret info when type is rawValue. It's for scenarios that user input the secret. */
|
|
393
769
|
export interface ValueSecretInfo extends SecretInfoBase {
|
|
394
770
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -415,13 +791,29 @@ export interface KeyVaultSecretUriSecretInfo extends SecretInfoBase {
|
|
|
415
791
|
value?: string;
|
|
416
792
|
}
|
|
417
793
|
|
|
418
|
-
/**
|
|
419
|
-
export interface
|
|
794
|
+
/** a dryrun job resource */
|
|
795
|
+
export interface DryrunResource extends ProxyResource {
|
|
796
|
+
/** The parameters of the dryrun */
|
|
797
|
+
parameters?: DryrunParametersUnion;
|
|
420
798
|
/**
|
|
421
|
-
*
|
|
799
|
+
* the result of the dryrun
|
|
422
800
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
423
801
|
*/
|
|
424
|
-
readonly
|
|
802
|
+
readonly prerequisiteResults?: DryrunPrerequisiteResultUnion[];
|
|
803
|
+
/**
|
|
804
|
+
* the preview of the operations for creation
|
|
805
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
806
|
+
*/
|
|
807
|
+
readonly operationPreviews?: DryrunOperationPreview[];
|
|
808
|
+
/**
|
|
809
|
+
* The provisioning state.
|
|
810
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
811
|
+
*/
|
|
812
|
+
readonly provisioningState?: string;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/** Linker of source and target resource */
|
|
816
|
+
export interface LinkerResource extends ProxyResource {
|
|
425
817
|
/** The target service properties */
|
|
426
818
|
targetService?: TargetServiceBaseUnion;
|
|
427
819
|
/** The authentication type. */
|
|
@@ -439,8 +831,90 @@ export interface LinkerResource extends ProxyResource {
|
|
|
439
831
|
secretStore?: SecretStore;
|
|
440
832
|
/** connection scope in source service. */
|
|
441
833
|
scope?: string;
|
|
834
|
+
/** The network solution. */
|
|
835
|
+
publicNetworkSolution?: PublicNetworkSolution;
|
|
836
|
+
/** The connection information consumed by applications, including secrets, connection strings. */
|
|
837
|
+
configurationInfo?: ConfigurationInfo;
|
|
442
838
|
}
|
|
443
839
|
|
|
840
|
+
/** Known values of {@link DryrunActionName} that the service accepts. */
|
|
841
|
+
export enum KnownDryrunActionName {
|
|
842
|
+
/** CreateOrUpdate */
|
|
843
|
+
CreateOrUpdate = "createOrUpdate",
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Defines values for DryrunActionName. \
|
|
848
|
+
* {@link KnownDryrunActionName} can be used interchangeably with DryrunActionName,
|
|
849
|
+
* this enum contains the known values that the service supports.
|
|
850
|
+
* ### Known values supported by the service
|
|
851
|
+
* **createOrUpdate**
|
|
852
|
+
*/
|
|
853
|
+
export type DryrunActionName = string;
|
|
854
|
+
|
|
855
|
+
/** Known values of {@link DryrunPrerequisiteResultType} that the service accepts. */
|
|
856
|
+
export enum KnownDryrunPrerequisiteResultType {
|
|
857
|
+
/** BasicError */
|
|
858
|
+
BasicError = "basicError",
|
|
859
|
+
/** PermissionsMissing */
|
|
860
|
+
PermissionsMissing = "permissionsMissing",
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Defines values for DryrunPrerequisiteResultType. \
|
|
865
|
+
* {@link KnownDryrunPrerequisiteResultType} can be used interchangeably with DryrunPrerequisiteResultType,
|
|
866
|
+
* this enum contains the known values that the service supports.
|
|
867
|
+
* ### Known values supported by the service
|
|
868
|
+
* **basicError** \
|
|
869
|
+
* **permissionsMissing**
|
|
870
|
+
*/
|
|
871
|
+
export type DryrunPrerequisiteResultType = string;
|
|
872
|
+
|
|
873
|
+
/** Known values of {@link DryrunPreviewOperationType} that the service accepts. */
|
|
874
|
+
export enum KnownDryrunPreviewOperationType {
|
|
875
|
+
/** ConfigConnection */
|
|
876
|
+
ConfigConnection = "configConnection",
|
|
877
|
+
/** ConfigNetwork */
|
|
878
|
+
ConfigNetwork = "configNetwork",
|
|
879
|
+
/** ConfigAuth */
|
|
880
|
+
ConfigAuth = "configAuth",
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Defines values for DryrunPreviewOperationType. \
|
|
885
|
+
* {@link KnownDryrunPreviewOperationType} can be used interchangeably with DryrunPreviewOperationType,
|
|
886
|
+
* this enum contains the known values that the service supports.
|
|
887
|
+
* ### Known values supported by the service
|
|
888
|
+
* **configConnection** \
|
|
889
|
+
* **configNetwork** \
|
|
890
|
+
* **configAuth**
|
|
891
|
+
*/
|
|
892
|
+
export type DryrunPreviewOperationType = string;
|
|
893
|
+
|
|
894
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
895
|
+
export enum KnownCreatedByType {
|
|
896
|
+
/** User */
|
|
897
|
+
User = "User",
|
|
898
|
+
/** Application */
|
|
899
|
+
Application = "Application",
|
|
900
|
+
/** ManagedIdentity */
|
|
901
|
+
ManagedIdentity = "ManagedIdentity",
|
|
902
|
+
/** Key */
|
|
903
|
+
Key = "Key",
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Defines values for CreatedByType. \
|
|
908
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
909
|
+
* this enum contains the known values that the service supports.
|
|
910
|
+
* ### Known values supported by the service
|
|
911
|
+
* **User** \
|
|
912
|
+
* **Application** \
|
|
913
|
+
* **ManagedIdentity** \
|
|
914
|
+
* **Key**
|
|
915
|
+
*/
|
|
916
|
+
export type CreatedByType = string;
|
|
917
|
+
|
|
444
918
|
/** Known values of {@link TargetServiceType} that the service accepts. */
|
|
445
919
|
export enum KnownTargetServiceType {
|
|
446
920
|
/** AzureResource */
|
|
@@ -448,7 +922,11 @@ export enum KnownTargetServiceType {
|
|
|
448
922
|
/** ConfluentBootstrapServer */
|
|
449
923
|
ConfluentBootstrapServer = "ConfluentBootstrapServer",
|
|
450
924
|
/** ConfluentSchemaRegistry */
|
|
451
|
-
ConfluentSchemaRegistry = "ConfluentSchemaRegistry"
|
|
925
|
+
ConfluentSchemaRegistry = "ConfluentSchemaRegistry",
|
|
926
|
+
/** SelfHostedServer */
|
|
927
|
+
SelfHostedServer = "SelfHostedServer",
|
|
928
|
+
/** FabricPlatform */
|
|
929
|
+
FabricPlatform = "FabricPlatform",
|
|
452
930
|
}
|
|
453
931
|
|
|
454
932
|
/**
|
|
@@ -458,7 +936,9 @@ export enum KnownTargetServiceType {
|
|
|
458
936
|
* ### Known values supported by the service
|
|
459
937
|
* **AzureResource** \
|
|
460
938
|
* **ConfluentBootstrapServer** \
|
|
461
|
-
* **ConfluentSchemaRegistry**
|
|
939
|
+
* **ConfluentSchemaRegistry** \
|
|
940
|
+
* **SelfHostedServer** \
|
|
941
|
+
* **FabricPlatform**
|
|
462
942
|
*/
|
|
463
943
|
export type TargetServiceType = string;
|
|
464
944
|
|
|
@@ -473,7 +953,13 @@ export enum KnownAuthType {
|
|
|
473
953
|
/** ServicePrincipalCertificate */
|
|
474
954
|
ServicePrincipalCertificate = "servicePrincipalCertificate",
|
|
475
955
|
/** Secret */
|
|
476
|
-
Secret = "secret"
|
|
956
|
+
Secret = "secret",
|
|
957
|
+
/** AccessKey */
|
|
958
|
+
AccessKey = "accessKey",
|
|
959
|
+
/** UserAccount */
|
|
960
|
+
UserAccount = "userAccount",
|
|
961
|
+
/** EasyAuthMicrosoftEntraID */
|
|
962
|
+
EasyAuthMicrosoftEntraID = "easyAuthMicrosoftEntraID",
|
|
477
963
|
}
|
|
478
964
|
|
|
479
965
|
/**
|
|
@@ -485,10 +971,31 @@ export enum KnownAuthType {
|
|
|
485
971
|
* **userAssignedIdentity** \
|
|
486
972
|
* **servicePrincipalSecret** \
|
|
487
973
|
* **servicePrincipalCertificate** \
|
|
488
|
-
* **secret**
|
|
974
|
+
* **secret** \
|
|
975
|
+
* **accessKey** \
|
|
976
|
+
* **userAccount** \
|
|
977
|
+
* **easyAuthMicrosoftEntraID**
|
|
489
978
|
*/
|
|
490
979
|
export type AuthType = string;
|
|
491
980
|
|
|
981
|
+
/** Known values of {@link AuthMode} that the service accepts. */
|
|
982
|
+
export enum KnownAuthMode {
|
|
983
|
+
/** Default authentication configuration according to the authentication type. */
|
|
984
|
+
OptInAllAuth = "optInAllAuth",
|
|
985
|
+
/** Skip all authentication configuration such as enabling managed identity and granting RBAC roles */
|
|
986
|
+
OptOutAllAuth = "optOutAllAuth",
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Defines values for AuthMode. \
|
|
991
|
+
* {@link KnownAuthMode} can be used interchangeably with AuthMode,
|
|
992
|
+
* this enum contains the known values that the service supports.
|
|
993
|
+
* ### Known values supported by the service
|
|
994
|
+
* **optInAllAuth**: Default authentication configuration according to the authentication type. \
|
|
995
|
+
* **optOutAllAuth**: Skip all authentication configuration such as enabling managed identity and granting RBAC roles
|
|
996
|
+
*/
|
|
997
|
+
export type AuthMode = string;
|
|
998
|
+
|
|
492
999
|
/** Known values of {@link ClientType} that the service accepts. */
|
|
493
1000
|
export enum KnownClientType {
|
|
494
1001
|
/** None */
|
|
@@ -510,7 +1017,13 @@ export enum KnownClientType {
|
|
|
510
1017
|
/** Nodejs */
|
|
511
1018
|
Nodejs = "nodejs",
|
|
512
1019
|
/** SpringBoot */
|
|
513
|
-
SpringBoot = "springBoot"
|
|
1020
|
+
SpringBoot = "springBoot",
|
|
1021
|
+
/** KafkaSpringBoot */
|
|
1022
|
+
KafkaSpringBoot = "kafka-springBoot",
|
|
1023
|
+
/** JmsSpringBoot */
|
|
1024
|
+
JmsSpringBoot = "jms-springBoot",
|
|
1025
|
+
/** Dapr */
|
|
1026
|
+
Dapr = "dapr",
|
|
514
1027
|
}
|
|
515
1028
|
|
|
516
1029
|
/**
|
|
@@ -527,7 +1040,10 @@ export enum KnownClientType {
|
|
|
527
1040
|
* **ruby** \
|
|
528
1041
|
* **django** \
|
|
529
1042
|
* **nodejs** \
|
|
530
|
-
* **springBoot**
|
|
1043
|
+
* **springBoot** \
|
|
1044
|
+
* **kafka-springBoot** \
|
|
1045
|
+
* **jms-springBoot** \
|
|
1046
|
+
* **dapr**
|
|
531
1047
|
*/
|
|
532
1048
|
export type ClientType = string;
|
|
533
1049
|
|
|
@@ -536,7 +1052,7 @@ export enum KnownVNetSolutionType {
|
|
|
536
1052
|
/** ServiceEndpoint */
|
|
537
1053
|
ServiceEndpoint = "serviceEndpoint",
|
|
538
1054
|
/** PrivateLink */
|
|
539
|
-
PrivateLink = "privateLink"
|
|
1055
|
+
PrivateLink = "privateLink",
|
|
540
1056
|
}
|
|
541
1057
|
|
|
542
1058
|
/**
|
|
@@ -549,29 +1065,98 @@ export enum KnownVNetSolutionType {
|
|
|
549
1065
|
*/
|
|
550
1066
|
export type VNetSolutionType = string;
|
|
551
1067
|
|
|
552
|
-
/** Known values of {@link
|
|
553
|
-
export enum
|
|
554
|
-
/**
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
|
|
558
|
-
/** ManagedIdentity */
|
|
559
|
-
ManagedIdentity = "ManagedIdentity",
|
|
560
|
-
/** Key */
|
|
561
|
-
Key = "Key"
|
|
1068
|
+
/** Known values of {@link DeleteOrUpdateBehavior} that the service accepts. */
|
|
1069
|
+
export enum KnownDeleteOrUpdateBehavior {
|
|
1070
|
+
/** Default */
|
|
1071
|
+
Default = "Default",
|
|
1072
|
+
/** ForcedCleanup */
|
|
1073
|
+
ForcedCleanup = "ForcedCleanup",
|
|
562
1074
|
}
|
|
563
1075
|
|
|
564
1076
|
/**
|
|
565
|
-
* Defines values for
|
|
566
|
-
* {@link
|
|
1077
|
+
* Defines values for DeleteOrUpdateBehavior. \
|
|
1078
|
+
* {@link KnownDeleteOrUpdateBehavior} can be used interchangeably with DeleteOrUpdateBehavior,
|
|
567
1079
|
* this enum contains the known values that the service supports.
|
|
568
1080
|
* ### Known values supported by the service
|
|
569
|
-
* **
|
|
570
|
-
* **
|
|
571
|
-
* **ManagedIdentity** \
|
|
572
|
-
* **Key**
|
|
1081
|
+
* **Default** \
|
|
1082
|
+
* **ForcedCleanup**
|
|
573
1083
|
*/
|
|
574
|
-
export type
|
|
1084
|
+
export type DeleteOrUpdateBehavior = string;
|
|
1085
|
+
|
|
1086
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
1087
|
+
export enum KnownActionType {
|
|
1088
|
+
/** Internal */
|
|
1089
|
+
Internal = "Internal",
|
|
1090
|
+
/** Enable */
|
|
1091
|
+
Enable = "enable",
|
|
1092
|
+
/** OptOut */
|
|
1093
|
+
OptOut = "optOut",
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Defines values for ActionType. \
|
|
1098
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
1099
|
+
* this enum contains the known values that the service supports.
|
|
1100
|
+
* ### Known values supported by the service
|
|
1101
|
+
* **Internal** \
|
|
1102
|
+
* **enable** \
|
|
1103
|
+
* **optOut**
|
|
1104
|
+
*/
|
|
1105
|
+
export type ActionType = string;
|
|
1106
|
+
|
|
1107
|
+
/** Known values of {@link AllowType} that the service accepts. */
|
|
1108
|
+
export enum KnownAllowType {
|
|
1109
|
+
/** True */
|
|
1110
|
+
True = "true",
|
|
1111
|
+
/** False */
|
|
1112
|
+
False = "false",
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Defines values for AllowType. \
|
|
1117
|
+
* {@link KnownAllowType} can be used interchangeably with AllowType,
|
|
1118
|
+
* this enum contains the known values that the service supports.
|
|
1119
|
+
* ### Known values supported by the service
|
|
1120
|
+
* **true** \
|
|
1121
|
+
* **false**
|
|
1122
|
+
*/
|
|
1123
|
+
export type AllowType = string;
|
|
1124
|
+
|
|
1125
|
+
/** Known values of {@link DaprMetadataRequired} that the service accepts. */
|
|
1126
|
+
export enum KnownDaprMetadataRequired {
|
|
1127
|
+
/** True */
|
|
1128
|
+
True = "true",
|
|
1129
|
+
/** False */
|
|
1130
|
+
False = "false",
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Defines values for DaprMetadataRequired. \
|
|
1135
|
+
* {@link KnownDaprMetadataRequired} can be used interchangeably with DaprMetadataRequired,
|
|
1136
|
+
* this enum contains the known values that the service supports.
|
|
1137
|
+
* ### Known values supported by the service
|
|
1138
|
+
* **true** \
|
|
1139
|
+
* **false**
|
|
1140
|
+
*/
|
|
1141
|
+
export type DaprMetadataRequired = string;
|
|
1142
|
+
|
|
1143
|
+
/** Known values of {@link DaprBindingComponentDirection} that the service accepts. */
|
|
1144
|
+
export enum KnownDaprBindingComponentDirection {
|
|
1145
|
+
/** Input */
|
|
1146
|
+
Input = "input",
|
|
1147
|
+
/** Output */
|
|
1148
|
+
Output = "output",
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Defines values for DaprBindingComponentDirection. \
|
|
1153
|
+
* {@link KnownDaprBindingComponentDirection} can be used interchangeably with DaprBindingComponentDirection,
|
|
1154
|
+
* this enum contains the known values that the service supports.
|
|
1155
|
+
* ### Known values supported by the service
|
|
1156
|
+
* **input** \
|
|
1157
|
+
* **output**
|
|
1158
|
+
*/
|
|
1159
|
+
export type DaprBindingComponentDirection = string;
|
|
575
1160
|
|
|
576
1161
|
/** Known values of {@link ValidationResultStatus} that the service accepts. */
|
|
577
1162
|
export enum KnownValidationResultStatus {
|
|
@@ -580,7 +1165,7 @@ export enum KnownValidationResultStatus {
|
|
|
580
1165
|
/** Failure */
|
|
581
1166
|
Failure = "failure",
|
|
582
1167
|
/** Warning */
|
|
583
|
-
Warning = "warning"
|
|
1168
|
+
Warning = "warning",
|
|
584
1169
|
}
|
|
585
1170
|
|
|
586
1171
|
/**
|
|
@@ -594,6 +1179,24 @@ export enum KnownValidationResultStatus {
|
|
|
594
1179
|
*/
|
|
595
1180
|
export type ValidationResultStatus = string;
|
|
596
1181
|
|
|
1182
|
+
/** Known values of {@link LinkerConfigurationType} that the service accepts. */
|
|
1183
|
+
export enum KnownLinkerConfigurationType {
|
|
1184
|
+
/** Default */
|
|
1185
|
+
Default = "Default",
|
|
1186
|
+
/** KeyVaultSecret */
|
|
1187
|
+
KeyVaultSecret = "KeyVaultSecret",
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Defines values for LinkerConfigurationType. \
|
|
1192
|
+
* {@link KnownLinkerConfigurationType} can be used interchangeably with LinkerConfigurationType,
|
|
1193
|
+
* this enum contains the known values that the service supports.
|
|
1194
|
+
* ### Known values supported by the service
|
|
1195
|
+
* **Default** \
|
|
1196
|
+
* **KeyVaultSecret**
|
|
1197
|
+
*/
|
|
1198
|
+
export type LinkerConfigurationType = string;
|
|
1199
|
+
|
|
597
1200
|
/** Known values of {@link Origin} that the service accepts. */
|
|
598
1201
|
export enum KnownOrigin {
|
|
599
1202
|
/** User */
|
|
@@ -601,7 +1204,7 @@ export enum KnownOrigin {
|
|
|
601
1204
|
/** System */
|
|
602
1205
|
System = "system",
|
|
603
1206
|
/** UserSystem */
|
|
604
|
-
UserSystem = "user,system"
|
|
1207
|
+
UserSystem = "user,system",
|
|
605
1208
|
}
|
|
606
1209
|
|
|
607
1210
|
/**
|
|
@@ -615,25 +1218,30 @@ export enum KnownOrigin {
|
|
|
615
1218
|
*/
|
|
616
1219
|
export type Origin = string;
|
|
617
1220
|
|
|
618
|
-
/** Known values of {@link
|
|
619
|
-
export enum
|
|
620
|
-
/**
|
|
621
|
-
|
|
1221
|
+
/** Known values of {@link SecretSourceType} that the service accepts. */
|
|
1222
|
+
export enum KnownSecretSourceType {
|
|
1223
|
+
/** RawValue */
|
|
1224
|
+
RawValue = "rawValue",
|
|
1225
|
+
/** KeyVaultSecret */
|
|
1226
|
+
KeyVaultSecret = "keyVaultSecret",
|
|
622
1227
|
}
|
|
623
1228
|
|
|
624
1229
|
/**
|
|
625
|
-
* Defines values for
|
|
626
|
-
* {@link
|
|
1230
|
+
* Defines values for SecretSourceType. \
|
|
1231
|
+
* {@link KnownSecretSourceType} can be used interchangeably with SecretSourceType,
|
|
627
1232
|
* this enum contains the known values that the service supports.
|
|
628
1233
|
* ### Known values supported by the service
|
|
629
|
-
* **
|
|
1234
|
+
* **rawValue** \
|
|
1235
|
+
* **keyVaultSecret**
|
|
630
1236
|
*/
|
|
631
|
-
export type
|
|
1237
|
+
export type SecretSourceType = string;
|
|
632
1238
|
|
|
633
1239
|
/** Known values of {@link AzureResourceType} that the service accepts. */
|
|
634
1240
|
export enum KnownAzureResourceType {
|
|
635
1241
|
/** KeyVault */
|
|
636
|
-
KeyVault = "KeyVault"
|
|
1242
|
+
KeyVault = "KeyVault",
|
|
1243
|
+
/** AppConfig */
|
|
1244
|
+
AppConfig = "AppConfig",
|
|
637
1245
|
}
|
|
638
1246
|
|
|
639
1247
|
/**
|
|
@@ -641,7 +1249,8 @@ export enum KnownAzureResourceType {
|
|
|
641
1249
|
* {@link KnownAzureResourceType} can be used interchangeably with AzureResourceType,
|
|
642
1250
|
* this enum contains the known values that the service supports.
|
|
643
1251
|
* ### Known values supported by the service
|
|
644
|
-
* **KeyVault**
|
|
1252
|
+
* **KeyVault** \
|
|
1253
|
+
* **AppConfig**
|
|
645
1254
|
*/
|
|
646
1255
|
export type AzureResourceType = string;
|
|
647
1256
|
|
|
@@ -652,7 +1261,7 @@ export enum KnownSecretType {
|
|
|
652
1261
|
/** KeyVaultSecretUri */
|
|
653
1262
|
KeyVaultSecretUri = "keyVaultSecretUri",
|
|
654
1263
|
/** KeyVaultSecretReference */
|
|
655
|
-
KeyVaultSecretReference = "keyVaultSecretReference"
|
|
1264
|
+
KeyVaultSecretReference = "keyVaultSecretReference",
|
|
656
1265
|
}
|
|
657
1266
|
|
|
658
1267
|
/**
|
|
@@ -666,11 +1275,163 @@ export enum KnownSecretType {
|
|
|
666
1275
|
*/
|
|
667
1276
|
export type SecretType = string;
|
|
668
1277
|
|
|
1278
|
+
/** Known values of {@link AccessKeyPermissions} that the service accepts. */
|
|
1279
|
+
export enum KnownAccessKeyPermissions {
|
|
1280
|
+
/** Read */
|
|
1281
|
+
Read = "Read",
|
|
1282
|
+
/** Write */
|
|
1283
|
+
Write = "Write",
|
|
1284
|
+
/** Listen */
|
|
1285
|
+
Listen = "Listen",
|
|
1286
|
+
/** Send */
|
|
1287
|
+
Send = "Send",
|
|
1288
|
+
/** Manage */
|
|
1289
|
+
Manage = "Manage",
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Defines values for AccessKeyPermissions. \
|
|
1294
|
+
* {@link KnownAccessKeyPermissions} can be used interchangeably with AccessKeyPermissions,
|
|
1295
|
+
* this enum contains the known values that the service supports.
|
|
1296
|
+
* ### Known values supported by the service
|
|
1297
|
+
* **Read** \
|
|
1298
|
+
* **Write** \
|
|
1299
|
+
* **Listen** \
|
|
1300
|
+
* **Send** \
|
|
1301
|
+
* **Manage**
|
|
1302
|
+
*/
|
|
1303
|
+
export type AccessKeyPermissions = string;
|
|
1304
|
+
|
|
1305
|
+
/** Optional parameters. */
|
|
1306
|
+
export interface ConnectorListDryrunOptionalParams
|
|
1307
|
+
extends coreClient.OperationOptions {}
|
|
1308
|
+
|
|
1309
|
+
/** Contains response data for the listDryrun operation. */
|
|
1310
|
+
export type ConnectorListDryrunResponse = DryrunList;
|
|
1311
|
+
|
|
1312
|
+
/** Optional parameters. */
|
|
1313
|
+
export interface ConnectorGetDryrunOptionalParams
|
|
1314
|
+
extends coreClient.OperationOptions {}
|
|
1315
|
+
|
|
1316
|
+
/** Contains response data for the getDryrun operation. */
|
|
1317
|
+
export type ConnectorGetDryrunResponse = DryrunResource;
|
|
1318
|
+
|
|
1319
|
+
/** Optional parameters. */
|
|
1320
|
+
export interface ConnectorCreateDryrunOptionalParams
|
|
1321
|
+
extends coreClient.OperationOptions {
|
|
1322
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1323
|
+
updateIntervalInMs?: number;
|
|
1324
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1325
|
+
resumeFrom?: string;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
/** Contains response data for the createDryrun operation. */
|
|
1329
|
+
export type ConnectorCreateDryrunResponse = DryrunResource;
|
|
1330
|
+
|
|
1331
|
+
/** Optional parameters. */
|
|
1332
|
+
export interface ConnectorUpdateDryrunOptionalParams
|
|
1333
|
+
extends coreClient.OperationOptions {
|
|
1334
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1335
|
+
updateIntervalInMs?: number;
|
|
1336
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1337
|
+
resumeFrom?: string;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/** Contains response data for the updateDryrun operation. */
|
|
1341
|
+
export type ConnectorUpdateDryrunResponse = DryrunResource;
|
|
1342
|
+
|
|
1343
|
+
/** Optional parameters. */
|
|
1344
|
+
export interface ConnectorDeleteDryrunOptionalParams
|
|
1345
|
+
extends coreClient.OperationOptions {}
|
|
1346
|
+
|
|
1347
|
+
/** Optional parameters. */
|
|
1348
|
+
export interface ConnectorListOptionalParams
|
|
1349
|
+
extends coreClient.OperationOptions {}
|
|
1350
|
+
|
|
1351
|
+
/** Contains response data for the list operation. */
|
|
1352
|
+
export type ConnectorListResponse = ResourceList;
|
|
1353
|
+
|
|
1354
|
+
/** Optional parameters. */
|
|
1355
|
+
export interface ConnectorGetOptionalParams
|
|
1356
|
+
extends coreClient.OperationOptions {}
|
|
1357
|
+
|
|
1358
|
+
/** Contains response data for the get operation. */
|
|
1359
|
+
export type ConnectorGetResponse = LinkerResource;
|
|
1360
|
+
|
|
1361
|
+
/** Optional parameters. */
|
|
1362
|
+
export interface ConnectorCreateOrUpdateOptionalParams
|
|
1363
|
+
extends coreClient.OperationOptions {
|
|
1364
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1365
|
+
updateIntervalInMs?: number;
|
|
1366
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1367
|
+
resumeFrom?: string;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1371
|
+
export type ConnectorCreateOrUpdateResponse = LinkerResource;
|
|
1372
|
+
|
|
1373
|
+
/** Optional parameters. */
|
|
1374
|
+
export interface ConnectorDeleteOptionalParams
|
|
1375
|
+
extends coreClient.OperationOptions {
|
|
1376
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1377
|
+
updateIntervalInMs?: number;
|
|
1378
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1379
|
+
resumeFrom?: string;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/** Optional parameters. */
|
|
1383
|
+
export interface ConnectorUpdateOptionalParams
|
|
1384
|
+
extends coreClient.OperationOptions {
|
|
1385
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1386
|
+
updateIntervalInMs?: number;
|
|
1387
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1388
|
+
resumeFrom?: string;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
/** Contains response data for the update operation. */
|
|
1392
|
+
export type ConnectorUpdateResponse = LinkerResource;
|
|
1393
|
+
|
|
1394
|
+
/** Optional parameters. */
|
|
1395
|
+
export interface ConnectorValidateOptionalParams
|
|
1396
|
+
extends coreClient.OperationOptions {
|
|
1397
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1398
|
+
updateIntervalInMs?: number;
|
|
1399
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1400
|
+
resumeFrom?: string;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
/** Contains response data for the validate operation. */
|
|
1404
|
+
export type ConnectorValidateResponse = ValidateOperationResult;
|
|
1405
|
+
|
|
1406
|
+
/** Optional parameters. */
|
|
1407
|
+
export interface ConnectorGenerateConfigurationsOptionalParams
|
|
1408
|
+
extends coreClient.OperationOptions {
|
|
1409
|
+
/** Connection Info, including format, secret store, etc */
|
|
1410
|
+
parameters?: ConfigurationInfo;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/** Contains response data for the generateConfigurations operation. */
|
|
1414
|
+
export type ConnectorGenerateConfigurationsResponse = ConfigurationResult;
|
|
1415
|
+
|
|
1416
|
+
/** Optional parameters. */
|
|
1417
|
+
export interface ConnectorListDryrunNextOptionalParams
|
|
1418
|
+
extends coreClient.OperationOptions {}
|
|
1419
|
+
|
|
1420
|
+
/** Contains response data for the listDryrunNext operation. */
|
|
1421
|
+
export type ConnectorListDryrunNextResponse = DryrunList;
|
|
1422
|
+
|
|
1423
|
+
/** Optional parameters. */
|
|
1424
|
+
export interface ConnectorListNextOptionalParams
|
|
1425
|
+
extends coreClient.OperationOptions {}
|
|
1426
|
+
|
|
1427
|
+
/** Contains response data for the listNext operation. */
|
|
1428
|
+
export type ConnectorListNextResponse = ResourceList;
|
|
1429
|
+
|
|
669
1430
|
/** Optional parameters. */
|
|
670
1431
|
export interface LinkerListOptionalParams extends coreClient.OperationOptions {}
|
|
671
1432
|
|
|
672
1433
|
/** Contains response data for the list operation. */
|
|
673
|
-
export type LinkerListResponse =
|
|
1434
|
+
export type LinkerListResponse = ResourceList;
|
|
674
1435
|
|
|
675
1436
|
/** Optional parameters. */
|
|
676
1437
|
export interface LinkerGetOptionalParams extends coreClient.OperationOptions {}
|
|
@@ -728,14 +1489,87 @@ export interface LinkerListConfigurationsOptionalParams
|
|
|
728
1489
|
extends coreClient.OperationOptions {}
|
|
729
1490
|
|
|
730
1491
|
/** Contains response data for the listConfigurations operation. */
|
|
731
|
-
export type LinkerListConfigurationsResponse =
|
|
1492
|
+
export type LinkerListConfigurationsResponse = ConfigurationResult;
|
|
732
1493
|
|
|
733
1494
|
/** Optional parameters. */
|
|
734
1495
|
export interface LinkerListNextOptionalParams
|
|
735
1496
|
extends coreClient.OperationOptions {}
|
|
736
1497
|
|
|
737
1498
|
/** Contains response data for the listNext operation. */
|
|
738
|
-
export type LinkerListNextResponse =
|
|
1499
|
+
export type LinkerListNextResponse = ResourceList;
|
|
1500
|
+
|
|
1501
|
+
/** Optional parameters. */
|
|
1502
|
+
export interface LinkersListDryrunOptionalParams
|
|
1503
|
+
extends coreClient.OperationOptions {}
|
|
1504
|
+
|
|
1505
|
+
/** Contains response data for the listDryrun operation. */
|
|
1506
|
+
export type LinkersListDryrunResponse = DryrunList;
|
|
1507
|
+
|
|
1508
|
+
/** Optional parameters. */
|
|
1509
|
+
export interface LinkersGetDryrunOptionalParams
|
|
1510
|
+
extends coreClient.OperationOptions {}
|
|
1511
|
+
|
|
1512
|
+
/** Contains response data for the getDryrun operation. */
|
|
1513
|
+
export type LinkersGetDryrunResponse = DryrunResource;
|
|
1514
|
+
|
|
1515
|
+
/** Optional parameters. */
|
|
1516
|
+
export interface LinkersCreateDryrunOptionalParams
|
|
1517
|
+
extends coreClient.OperationOptions {
|
|
1518
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1519
|
+
updateIntervalInMs?: number;
|
|
1520
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1521
|
+
resumeFrom?: string;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
/** Contains response data for the createDryrun operation. */
|
|
1525
|
+
export type LinkersCreateDryrunResponse = DryrunResource;
|
|
1526
|
+
|
|
1527
|
+
/** Optional parameters. */
|
|
1528
|
+
export interface LinkersUpdateDryrunOptionalParams
|
|
1529
|
+
extends coreClient.OperationOptions {
|
|
1530
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1531
|
+
updateIntervalInMs?: number;
|
|
1532
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1533
|
+
resumeFrom?: string;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** Contains response data for the updateDryrun operation. */
|
|
1537
|
+
export type LinkersUpdateDryrunResponse = DryrunResource;
|
|
1538
|
+
|
|
1539
|
+
/** Optional parameters. */
|
|
1540
|
+
export interface LinkersDeleteDryrunOptionalParams
|
|
1541
|
+
extends coreClient.OperationOptions {}
|
|
1542
|
+
|
|
1543
|
+
/** Optional parameters. */
|
|
1544
|
+
export interface LinkersGenerateConfigurationsOptionalParams
|
|
1545
|
+
extends coreClient.OperationOptions {
|
|
1546
|
+
/** Connection Info, including format, secret store, etc */
|
|
1547
|
+
parameters?: ConfigurationInfo;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
/** Contains response data for the generateConfigurations operation. */
|
|
1551
|
+
export type LinkersGenerateConfigurationsResponse = ConfigurationResult;
|
|
1552
|
+
|
|
1553
|
+
/** Optional parameters. */
|
|
1554
|
+
export interface LinkersListDaprConfigurationsOptionalParams
|
|
1555
|
+
extends coreClient.OperationOptions {}
|
|
1556
|
+
|
|
1557
|
+
/** Contains response data for the listDaprConfigurations operation. */
|
|
1558
|
+
export type LinkersListDaprConfigurationsResponse = DaprConfigurationList;
|
|
1559
|
+
|
|
1560
|
+
/** Optional parameters. */
|
|
1561
|
+
export interface LinkersListDryrunNextOptionalParams
|
|
1562
|
+
extends coreClient.OperationOptions {}
|
|
1563
|
+
|
|
1564
|
+
/** Contains response data for the listDryrunNext operation. */
|
|
1565
|
+
export type LinkersListDryrunNextResponse = DryrunList;
|
|
1566
|
+
|
|
1567
|
+
/** Optional parameters. */
|
|
1568
|
+
export interface LinkersListDaprConfigurationsNextOptionalParams
|
|
1569
|
+
extends coreClient.OperationOptions {}
|
|
1570
|
+
|
|
1571
|
+
/** Contains response data for the listDaprConfigurationsNext operation. */
|
|
1572
|
+
export type LinkersListDaprConfigurationsNextResponse = DaprConfigurationList;
|
|
739
1573
|
|
|
740
1574
|
/** Optional parameters. */
|
|
741
1575
|
export interface OperationsListOptionalParams
|
|
@@ -751,6 +1585,25 @@ export interface OperationsListNextOptionalParams
|
|
|
751
1585
|
/** Contains response data for the listNext operation. */
|
|
752
1586
|
export type OperationsListNextResponse = OperationListResult;
|
|
753
1587
|
|
|
1588
|
+
/** Optional parameters. */
|
|
1589
|
+
export interface ConfigurationNamesListOptionalParams
|
|
1590
|
+
extends coreClient.OperationOptions {
|
|
1591
|
+
/** OData filter options. */
|
|
1592
|
+
filter?: string;
|
|
1593
|
+
/** OData skipToken option for pagination. */
|
|
1594
|
+
skipToken?: string;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/** Contains response data for the list operation. */
|
|
1598
|
+
export type ConfigurationNamesListResponse = ConfigurationNameResult;
|
|
1599
|
+
|
|
1600
|
+
/** Optional parameters. */
|
|
1601
|
+
export interface ConfigurationNamesListNextOptionalParams
|
|
1602
|
+
extends coreClient.OperationOptions {}
|
|
1603
|
+
|
|
1604
|
+
/** Contains response data for the listNext operation. */
|
|
1605
|
+
export type ConfigurationNamesListNextResponse = ConfigurationNameResult;
|
|
1606
|
+
|
|
754
1607
|
/** Optional parameters. */
|
|
755
1608
|
export interface ServiceLinkerManagementClientOptionalParams
|
|
756
1609
|
extends coreClient.ServiceClientOptions {
|