@azure/arm-hybridkubernetes 2.1.1-alpha.20250327.1 → 3.0.0-alpha.20250328.3
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 +52 -8
- package/LICENSE +1 -1
- package/README.md +6 -7
- package/dist/browser/connectedKubernetesClient.d.ts +5 -4
- package/dist/browser/connectedKubernetesClient.d.ts.map +1 -1
- package/dist/browser/connectedKubernetesClient.js +16 -19
- package/dist/browser/connectedKubernetesClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +7 -12
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +11 -15
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +282 -57
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +36 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +12 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +631 -221
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +1 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +31 -31
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/connectedClusterOperations.d.ts +12 -12
- package/dist/browser/operations/connectedClusterOperations.d.ts.map +1 -1
- package/dist/browser/operations/connectedClusterOperations.js +80 -82
- package/dist/browser/operations/connectedClusterOperations.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +9 -10
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/connectedClusterOperations.d.ts +10 -10
- package/dist/browser/operationsInterfaces/connectedClusterOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/connectedClusterOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts +4 -4
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +4 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/connectedKubernetesClient.d.ts +5 -4
- package/dist/commonjs/connectedKubernetesClient.d.ts.map +1 -1
- package/dist/commonjs/connectedKubernetesClient.js +16 -19
- package/dist/commonjs/connectedKubernetesClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +7 -12
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +12 -17
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +282 -57
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +37 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +12 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +632 -222
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +1 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +30 -30
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/connectedClusterOperations.d.ts +12 -12
- package/dist/commonjs/operations/connectedClusterOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/connectedClusterOperations.js +78 -80
- package/dist/commonjs/operations/connectedClusterOperations.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +9 -10
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedClusterOperations.d.ts +10 -10
- package/dist/commonjs/operationsInterfaces/connectedClusterOperations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedClusterOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts +4 -4
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +4 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/connectedKubernetesClient.d.ts +5 -4
- package/dist/esm/connectedKubernetesClient.d.ts.map +1 -1
- package/dist/esm/connectedKubernetesClient.js +16 -19
- package/dist/esm/connectedKubernetesClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +7 -12
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +11 -15
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +282 -57
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +36 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +12 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +631 -221
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +1 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +31 -31
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/connectedClusterOperations.d.ts +12 -12
- package/dist/esm/operations/connectedClusterOperations.d.ts.map +1 -1
- package/dist/esm/operations/connectedClusterOperations.js +80 -82
- package/dist/esm/operations/connectedClusterOperations.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +4 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +9 -10
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/connectedClusterOperations.d.ts +10 -10
- package/dist/esm/operationsInterfaces/connectedClusterOperations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/connectedClusterOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts +4 -4
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +4 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/connectedKubernetesClient.d.ts +5 -4
- package/dist/react-native/connectedKubernetesClient.d.ts.map +1 -1
- package/dist/react-native/connectedKubernetesClient.js +16 -19
- package/dist/react-native/connectedKubernetesClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +7 -12
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +11 -15
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +282 -57
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +36 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +12 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +631 -221
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +1 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +31 -31
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/connectedClusterOperations.d.ts +12 -12
- package/dist/react-native/operations/connectedClusterOperations.d.ts.map +1 -1
- package/dist/react-native/operations/connectedClusterOperations.js +80 -82
- package/dist/react-native/operations/connectedClusterOperations.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +4 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +9 -10
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedClusterOperations.d.ts +10 -10
- package/dist/react-native/operationsInterfaces/connectedClusterOperations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedClusterOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts +4 -4
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +4 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +34 -33
- package/review/arm-hybridkubernetes.api.md +156 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
|
1
|
+
import type * as coreClient from "@azure/core-client";
|
|
2
2
|
/** Identity for the connected cluster. */
|
|
3
3
|
export interface ConnectedClusterIdentity {
|
|
4
4
|
/**
|
|
@@ -14,6 +14,186 @@ export interface ConnectedClusterIdentity {
|
|
|
14
14
|
/** The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster. */
|
|
15
15
|
type: ResourceIdentityType;
|
|
16
16
|
}
|
|
17
|
+
/** Properties of the connected cluster. */
|
|
18
|
+
export interface ConnectedClusterProperties {
|
|
19
|
+
/** Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. */
|
|
20
|
+
agentPublicKeyCertificate: string;
|
|
21
|
+
/**
|
|
22
|
+
* The Kubernetes version of the connected cluster resource
|
|
23
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
24
|
+
*/
|
|
25
|
+
readonly kubernetesVersion?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Number of nodes present in the connected cluster resource
|
|
28
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
29
|
+
*/
|
|
30
|
+
readonly totalNodeCount?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Number of CPU cores present in the connected cluster resource
|
|
33
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
34
|
+
*/
|
|
35
|
+
readonly totalCoreCount?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Version of the agent running on the connected cluster resource
|
|
38
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
39
|
+
*/
|
|
40
|
+
readonly agentVersion?: string;
|
|
41
|
+
/** Provisioning state of the connected cluster resource. */
|
|
42
|
+
provisioningState?: ProvisioningState;
|
|
43
|
+
/** The Kubernetes distribution running on this connected cluster. */
|
|
44
|
+
distribution?: string;
|
|
45
|
+
/** The Kubernetes distribution version on this connected cluster. */
|
|
46
|
+
distributionVersion?: string;
|
|
47
|
+
/** The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. */
|
|
48
|
+
infrastructure?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Connected cluster offering
|
|
51
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
52
|
+
*/
|
|
53
|
+
readonly offering?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Expiration time of the managed identity certificate
|
|
56
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
57
|
+
*/
|
|
58
|
+
readonly managedIdentityCertificateExpirationTime?: Date;
|
|
59
|
+
/**
|
|
60
|
+
* Time representing the last instance when heart beat was received from the cluster
|
|
61
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
|
+
*/
|
|
63
|
+
readonly lastConnectivityTime?: Date;
|
|
64
|
+
/**
|
|
65
|
+
* Represents the connectivity status of the connected cluster.
|
|
66
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
67
|
+
*/
|
|
68
|
+
readonly connectivityStatus?: ConnectivityStatus;
|
|
69
|
+
/** Property which describes the state of private link on a connected cluster resource. */
|
|
70
|
+
privateLinkState?: PrivateLinkState;
|
|
71
|
+
/** This is populated only if privateLinkState is enabled. The resource id of the private link scope this connected cluster is assigned to, if any. */
|
|
72
|
+
privateLinkScopeResourceId?: string;
|
|
73
|
+
/** Indicates whether Azure Hybrid Benefit is opted in */
|
|
74
|
+
azureHybridBenefit?: AzureHybridBenefit;
|
|
75
|
+
/** AAD profile for the connected cluster. */
|
|
76
|
+
aadProfile?: AadProfile;
|
|
77
|
+
/** Arc agentry configuration for the provisioned cluster. */
|
|
78
|
+
arcAgentProfile?: ArcAgentProfile;
|
|
79
|
+
/** Security profile for the connected cluster. */
|
|
80
|
+
securityProfile?: SecurityProfile;
|
|
81
|
+
/** Open ID Connect (OIDC) Issuer Profile for the connected cluster. */
|
|
82
|
+
oidcIssuerProfile?: OidcIssuerProfile;
|
|
83
|
+
/** Details of the gateway used by the Arc router for connectivity. */
|
|
84
|
+
gateway?: Gateway;
|
|
85
|
+
/** Configuration settings for customizing the behavior of the connected cluster. */
|
|
86
|
+
arcAgentryConfigurations?: ArcAgentryConfigurations[];
|
|
87
|
+
/**
|
|
88
|
+
* More properties related to the Connected Cluster
|
|
89
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
90
|
+
*/
|
|
91
|
+
readonly miscellaneousProperties?: {
|
|
92
|
+
[propertyName: string]: string;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/** AAD Profile specifies attributes for Azure Active Directory integration. */
|
|
96
|
+
export interface AadProfile {
|
|
97
|
+
/** Whether to enable Azure RBAC for Kubernetes authorization. */
|
|
98
|
+
enableAzureRbac?: boolean;
|
|
99
|
+
/** The list of AAD group object IDs that will have admin role of the cluster. */
|
|
100
|
+
adminGroupObjectIDs?: string[];
|
|
101
|
+
/** The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. */
|
|
102
|
+
tenantID?: string;
|
|
103
|
+
}
|
|
104
|
+
/** Defines the Arc Agent properties for the clusters. */
|
|
105
|
+
export interface ArcAgentProfile {
|
|
106
|
+
/** Version of the Arc agents to be installed on the cluster resource */
|
|
107
|
+
desiredAgentVersion?: string;
|
|
108
|
+
/** Indicates whether the Arc agents on the be upgraded automatically to the latest version. Defaults to Enabled. */
|
|
109
|
+
agentAutoUpgrade?: AutoUpgradeOptions;
|
|
110
|
+
/** List of system extensions that are installed on the cluster resource. */
|
|
111
|
+
systemComponents?: SystemComponent[];
|
|
112
|
+
/** List of arc agentry and system components errors on the cluster resource. */
|
|
113
|
+
agentErrors?: AgentError[];
|
|
114
|
+
/**
|
|
115
|
+
* Represents the current state of the Arc agentry and its dependent components.
|
|
116
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
117
|
+
*/
|
|
118
|
+
readonly agentState?: string;
|
|
119
|
+
}
|
|
120
|
+
/** System extensions and its current versions installed on the cluster resource. */
|
|
121
|
+
export interface SystemComponent {
|
|
122
|
+
/** Type of the system extension */
|
|
123
|
+
type?: string;
|
|
124
|
+
/** Version of the system extension to be installed on the cluster resource. */
|
|
125
|
+
userSpecifiedVersion?: string;
|
|
126
|
+
/** Major Version of the system extension that is currently installed on the cluster resource. */
|
|
127
|
+
majorVersion?: number;
|
|
128
|
+
/**
|
|
129
|
+
* Version of the system extension that is currently installed on the cluster resource.
|
|
130
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
131
|
+
*/
|
|
132
|
+
readonly currentVersion?: string;
|
|
133
|
+
}
|
|
134
|
+
/** Agent Errors if any during agent or system component upgrade. */
|
|
135
|
+
export interface AgentError {
|
|
136
|
+
/**
|
|
137
|
+
* Agent error message.
|
|
138
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
139
|
+
*/
|
|
140
|
+
readonly message?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Severity of the error message.
|
|
143
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
144
|
+
*/
|
|
145
|
+
readonly severity?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Agent component where error message occured.
|
|
148
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
149
|
+
*/
|
|
150
|
+
readonly component?: string;
|
|
151
|
+
/**
|
|
152
|
+
* The timestamp of error occured (UTC).
|
|
153
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
154
|
+
*/
|
|
155
|
+
readonly time?: Date;
|
|
156
|
+
}
|
|
157
|
+
/** Security Profile specifies attributes for cluster security features. */
|
|
158
|
+
export interface SecurityProfile {
|
|
159
|
+
/** The workload identity feature webhook. */
|
|
160
|
+
workloadIdentity?: SecurityProfileWorkloadIdentity;
|
|
161
|
+
}
|
|
162
|
+
/** The workload identity feature webhook. */
|
|
163
|
+
export interface SecurityProfileWorkloadIdentity {
|
|
164
|
+
/** Whether to enable or disable the workload identity Webhook */
|
|
165
|
+
enabled?: boolean;
|
|
166
|
+
}
|
|
167
|
+
/** OIDC Issuer Profile specifies attributes for workload identity integration. */
|
|
168
|
+
export interface OidcIssuerProfile {
|
|
169
|
+
/** Whether to enable oidc issuer for workload identity integration. */
|
|
170
|
+
enabled?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* The issuer url for hybrid clusters connected to Arc used for the workload identity feature.
|
|
173
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
174
|
+
*/
|
|
175
|
+
readonly issuerUrl?: string;
|
|
176
|
+
/** The issuer url for public cloud clusters - AKS, EKS, GKE - used for the workload identity feature. */
|
|
177
|
+
selfHostedIssuerUrl?: string;
|
|
178
|
+
}
|
|
179
|
+
export interface Gateway {
|
|
180
|
+
/** Indicates whether the gateway for arc router connectivity is enabled. */
|
|
181
|
+
enabled?: boolean;
|
|
182
|
+
/** The resource ID of the gateway used for the Arc router feature. */
|
|
183
|
+
resourceId?: string;
|
|
184
|
+
}
|
|
185
|
+
export interface ArcAgentryConfigurations {
|
|
186
|
+
/** Specifies the name of the feature for the configuration setting. */
|
|
187
|
+
feature?: string;
|
|
188
|
+
/** The configuration settings for the feature that do not contain any sensitive or secret information. */
|
|
189
|
+
settings?: {
|
|
190
|
+
[propertyName: string]: string;
|
|
191
|
+
};
|
|
192
|
+
/** The configuration settings for the feature that contain any sensitive or secret information. */
|
|
193
|
+
protectedSettings?: {
|
|
194
|
+
[propertyName: string]: string;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
17
197
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
18
198
|
export interface SystemData {
|
|
19
199
|
/** The identity that created the resource. */
|
|
@@ -100,7 +280,16 @@ export interface ConnectedClusterPatch {
|
|
|
100
280
|
[propertyName: string]: string;
|
|
101
281
|
};
|
|
102
282
|
/** Describes the connected cluster resource properties that can be updated during PATCH operation. */
|
|
103
|
-
properties?:
|
|
283
|
+
properties?: ConnectedClusterPatchProperties;
|
|
284
|
+
}
|
|
285
|
+
/** Properties which can be patched on the connected cluster resource. */
|
|
286
|
+
export interface ConnectedClusterPatchProperties {
|
|
287
|
+
/** Represents the distribution of the connected cluster */
|
|
288
|
+
distribution?: string;
|
|
289
|
+
/** Represents the Kubernetes distribution version on this connected cluster. */
|
|
290
|
+
distributionVersion?: string;
|
|
291
|
+
/** Indicates whether Azure Hybrid Benefit is opted in */
|
|
292
|
+
azureHybridBenefit?: AzureHybridBenefit;
|
|
104
293
|
}
|
|
105
294
|
export interface ListClusterUserCredentialProperties {
|
|
106
295
|
/** The mode of client authentication. */
|
|
@@ -143,6 +332,16 @@ export interface HybridConnectionConfig {
|
|
|
143
332
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
144
333
|
*/
|
|
145
334
|
readonly token?: string;
|
|
335
|
+
/**
|
|
336
|
+
* TenantID of the relay
|
|
337
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
338
|
+
*/
|
|
339
|
+
readonly relayTid?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Type of relay
|
|
342
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
343
|
+
*/
|
|
344
|
+
readonly relayType?: string;
|
|
146
345
|
}
|
|
147
346
|
/** The credential result response. */
|
|
148
347
|
export interface CredentialResult {
|
|
@@ -161,7 +360,7 @@ export interface CredentialResult {
|
|
|
161
360
|
export interface ConnectedClusterList {
|
|
162
361
|
/** The list of connected clusters */
|
|
163
362
|
value?: ConnectedCluster[];
|
|
164
|
-
/** The link to fetch the next page of connected
|
|
363
|
+
/** The link to fetch the next page of connected clusters */
|
|
165
364
|
nextLink?: string;
|
|
166
365
|
}
|
|
167
366
|
/** The paginated list of connected cluster API operations. */
|
|
@@ -189,7 +388,7 @@ export interface Operation {
|
|
|
189
388
|
}
|
|
190
389
|
/** The object that represents the operation. */
|
|
191
390
|
export interface OperationDisplay {
|
|
192
|
-
/** Service provider: Microsoft.
|
|
391
|
+
/** Service provider: Microsoft.Kubernetes */
|
|
193
392
|
provider?: string;
|
|
194
393
|
/** Connected Cluster Resource on which the operation is performed */
|
|
195
394
|
resource?: string;
|
|
@@ -211,60 +410,32 @@ export interface TrackedResource extends Resource {
|
|
|
211
410
|
export interface ConnectedCluster extends TrackedResource {
|
|
212
411
|
/** The identity of the connected cluster. */
|
|
213
412
|
identity: ConnectedClusterIdentity;
|
|
413
|
+
/** The kind of connected cluster. */
|
|
414
|
+
kind?: ConnectedClusterKind;
|
|
415
|
+
/** Describes the connected cluster resource properties. */
|
|
416
|
+
properties: ConnectedClusterProperties;
|
|
214
417
|
/**
|
|
215
418
|
* Metadata pertaining to creation and last modification of the resource
|
|
216
419
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
217
420
|
*/
|
|
218
421
|
readonly systemData?: SystemData;
|
|
219
|
-
/** Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. */
|
|
220
|
-
agentPublicKeyCertificate: string;
|
|
221
|
-
/**
|
|
222
|
-
* The Kubernetes version of the connected cluster resource
|
|
223
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
224
|
-
*/
|
|
225
|
-
readonly kubernetesVersion?: string;
|
|
226
|
-
/**
|
|
227
|
-
* Number of nodes present in the connected cluster resource
|
|
228
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
229
|
-
*/
|
|
230
|
-
readonly totalNodeCount?: number;
|
|
231
|
-
/**
|
|
232
|
-
* Number of CPU cores present in the connected cluster resource
|
|
233
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
234
|
-
*/
|
|
235
|
-
readonly totalCoreCount?: number;
|
|
236
|
-
/**
|
|
237
|
-
* Version of the agent running on the connected cluster resource
|
|
238
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
239
|
-
*/
|
|
240
|
-
readonly agentVersion?: string;
|
|
241
|
-
/** Provisioning state of the connected cluster resource. */
|
|
242
|
-
provisioningState?: ProvisioningState;
|
|
243
|
-
/** The Kubernetes distribution running on this connected cluster. */
|
|
244
|
-
distribution?: string;
|
|
245
|
-
/** The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. */
|
|
246
|
-
infrastructure?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Connected cluster offering
|
|
249
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
250
|
-
*/
|
|
251
|
-
readonly offering?: string;
|
|
252
|
-
/**
|
|
253
|
-
* Expiration time of the managed identity certificate
|
|
254
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
255
|
-
*/
|
|
256
|
-
readonly managedIdentityCertificateExpirationTime?: Date;
|
|
257
|
-
/**
|
|
258
|
-
* Time representing the last instance when heart beat was received from the cluster
|
|
259
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
260
|
-
*/
|
|
261
|
-
readonly lastConnectivityTime?: Date;
|
|
262
|
-
/**
|
|
263
|
-
* Represents the connectivity status of the connected cluster.
|
|
264
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
265
|
-
*/
|
|
266
|
-
readonly connectivityStatus?: ConnectivityStatus;
|
|
267
422
|
}
|
|
423
|
+
/** Known values of {@link ConnectedClusterKind} that the service accepts. */
|
|
424
|
+
export declare enum KnownConnectedClusterKind {
|
|
425
|
+
/** ProvisionedCluster */
|
|
426
|
+
ProvisionedCluster = "ProvisionedCluster",
|
|
427
|
+
/** AWS */
|
|
428
|
+
AWS = "AWS"
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Defines values for ConnectedClusterKind. \
|
|
432
|
+
* {@link KnownConnectedClusterKind} can be used interchangeably with ConnectedClusterKind,
|
|
433
|
+
* this enum contains the known values that the service supports.
|
|
434
|
+
* ### Known values supported by the service
|
|
435
|
+
* **ProvisionedCluster** \
|
|
436
|
+
* **AWS**
|
|
437
|
+
*/
|
|
438
|
+
export type ConnectedClusterKind = string;
|
|
268
439
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
269
440
|
export declare enum KnownProvisioningState {
|
|
270
441
|
/** Succeeded */
|
|
@@ -305,7 +476,9 @@ export declare enum KnownConnectivityStatus {
|
|
|
305
476
|
/** Offline */
|
|
306
477
|
Offline = "Offline",
|
|
307
478
|
/** Expired */
|
|
308
|
-
Expired = "Expired"
|
|
479
|
+
Expired = "Expired",
|
|
480
|
+
/** AgentNotInstalled */
|
|
481
|
+
AgentNotInstalled = "AgentNotInstalled"
|
|
309
482
|
}
|
|
310
483
|
/**
|
|
311
484
|
* Defines values for ConnectivityStatus. \
|
|
@@ -315,9 +488,61 @@ export declare enum KnownConnectivityStatus {
|
|
|
315
488
|
* **Connecting** \
|
|
316
489
|
* **Connected** \
|
|
317
490
|
* **Offline** \
|
|
318
|
-
* **Expired**
|
|
491
|
+
* **Expired** \
|
|
492
|
+
* **AgentNotInstalled**
|
|
319
493
|
*/
|
|
320
494
|
export type ConnectivityStatus = string;
|
|
495
|
+
/** Known values of {@link PrivateLinkState} that the service accepts. */
|
|
496
|
+
export declare enum KnownPrivateLinkState {
|
|
497
|
+
/** Enabled */
|
|
498
|
+
Enabled = "Enabled",
|
|
499
|
+
/** Disabled */
|
|
500
|
+
Disabled = "Disabled"
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* Defines values for PrivateLinkState. \
|
|
504
|
+
* {@link KnownPrivateLinkState} can be used interchangeably with PrivateLinkState,
|
|
505
|
+
* this enum contains the known values that the service supports.
|
|
506
|
+
* ### Known values supported by the service
|
|
507
|
+
* **Enabled** \
|
|
508
|
+
* **Disabled**
|
|
509
|
+
*/
|
|
510
|
+
export type PrivateLinkState = string;
|
|
511
|
+
/** Known values of {@link AzureHybridBenefit} that the service accepts. */
|
|
512
|
+
export declare enum KnownAzureHybridBenefit {
|
|
513
|
+
/** True */
|
|
514
|
+
True = "True",
|
|
515
|
+
/** False */
|
|
516
|
+
False = "False",
|
|
517
|
+
/** NotApplicable */
|
|
518
|
+
NotApplicable = "NotApplicable"
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Defines values for AzureHybridBenefit. \
|
|
522
|
+
* {@link KnownAzureHybridBenefit} can be used interchangeably with AzureHybridBenefit,
|
|
523
|
+
* this enum contains the known values that the service supports.
|
|
524
|
+
* ### Known values supported by the service
|
|
525
|
+
* **True** \
|
|
526
|
+
* **False** \
|
|
527
|
+
* **NotApplicable**
|
|
528
|
+
*/
|
|
529
|
+
export type AzureHybridBenefit = string;
|
|
530
|
+
/** Known values of {@link AutoUpgradeOptions} that the service accepts. */
|
|
531
|
+
export declare enum KnownAutoUpgradeOptions {
|
|
532
|
+
/** Enabled */
|
|
533
|
+
Enabled = "Enabled",
|
|
534
|
+
/** Disabled */
|
|
535
|
+
Disabled = "Disabled"
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* Defines values for AutoUpgradeOptions. \
|
|
539
|
+
* {@link KnownAutoUpgradeOptions} can be used interchangeably with AutoUpgradeOptions,
|
|
540
|
+
* this enum contains the known values that the service supports.
|
|
541
|
+
* ### Known values supported by the service
|
|
542
|
+
* **Enabled** \
|
|
543
|
+
* **Disabled**
|
|
544
|
+
*/
|
|
545
|
+
export type AutoUpgradeOptions = string;
|
|
321
546
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
322
547
|
export declare enum KnownCreatedByType {
|
|
323
548
|
/** User */
|
|
@@ -381,14 +606,14 @@ export type AuthenticationMethod = string;
|
|
|
381
606
|
/** Defines values for ResourceIdentityType. */
|
|
382
607
|
export type ResourceIdentityType = "None" | "SystemAssigned";
|
|
383
608
|
/** Optional parameters. */
|
|
384
|
-
export interface
|
|
609
|
+
export interface ConnectedClusterCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
|
|
385
610
|
/** Delay to wait until next poll, in milliseconds. */
|
|
386
611
|
updateIntervalInMs?: number;
|
|
387
612
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
388
613
|
resumeFrom?: string;
|
|
389
614
|
}
|
|
390
|
-
/** Contains response data for the
|
|
391
|
-
export type
|
|
615
|
+
/** Contains response data for the createOrReplace operation. */
|
|
616
|
+
export type ConnectedClusterCreateOrReplaceResponse = ConnectedCluster;
|
|
392
617
|
/** Optional parameters. */
|
|
393
618
|
export interface ConnectedClusterUpdateOptionalParams extends coreClient.OperationOptions {
|
|
394
619
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEtD,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,iMAAiM;IACjM,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,2CAA2C;AAC3C,MAAM,WAAW,0BAA0B;IACzC,wHAAwH;IACxH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC;;;OAGG;IACH,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AAC3B,MAAM,WAAW,iDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,oEAAoE;AACpE,MAAM,MAAM,2CAA2C,GAAG,oBAAoB,CAAC;AAE/E,2BAA2B;AAC3B,MAAM,WAAW,gDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,mEAAmE;AACnE,MAAM,MAAM,0CAA0C,GAAG,oBAAoB,CAAC;AAE9E,2BAA2B;AAC3B,MAAM,WAAW,qDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,wEAAwE;AACxE,MAAM,MAAM,+CAA+C,GAAG,oBAAoB,CAAC;AAEnF,2BAA2B;AAC3B,MAAM,WAAW,oDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,uEAAuE;AACvE,MAAM,MAAM,8CAA8C,GAAG,oBAAoB,CAAC;AAElF,2BAA2B;AAC3B,MAAM,WAAW,2BAA4B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEnF,oDAAoD;AACpD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC;AAElD,2BAA2B;AAC3B,MAAM,WAAW,+BAAgC,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEvF,wDAAwD;AACxD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;AAEtD,2BAA2B;AAC3B,MAAM,WAAW,uCAAwC,SAAQ,UAAU,CAAC,oBAAoB;IAC9F,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -7,7 +7,15 @@
|
|
|
7
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.KnownAuthenticationMethod = exports.KnownLastModifiedByType = exports.KnownCreatedByType = exports.KnownConnectivityStatus = exports.KnownProvisioningState = void 0;
|
|
10
|
+
exports.KnownAuthenticationMethod = exports.KnownLastModifiedByType = exports.KnownCreatedByType = exports.KnownAutoUpgradeOptions = exports.KnownAzureHybridBenefit = exports.KnownPrivateLinkState = exports.KnownConnectivityStatus = exports.KnownProvisioningState = exports.KnownConnectedClusterKind = void 0;
|
|
11
|
+
/** Known values of {@link ConnectedClusterKind} that the service accepts. */
|
|
12
|
+
var KnownConnectedClusterKind;
|
|
13
|
+
(function (KnownConnectedClusterKind) {
|
|
14
|
+
/** ProvisionedCluster */
|
|
15
|
+
KnownConnectedClusterKind["ProvisionedCluster"] = "ProvisionedCluster";
|
|
16
|
+
/** AWS */
|
|
17
|
+
KnownConnectedClusterKind["AWS"] = "AWS";
|
|
18
|
+
})(KnownConnectedClusterKind || (exports.KnownConnectedClusterKind = KnownConnectedClusterKind = {}));
|
|
11
19
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
12
20
|
var KnownProvisioningState;
|
|
13
21
|
(function (KnownProvisioningState) {
|
|
@@ -37,7 +45,35 @@ var KnownConnectivityStatus;
|
|
|
37
45
|
KnownConnectivityStatus["Offline"] = "Offline";
|
|
38
46
|
/** Expired */
|
|
39
47
|
KnownConnectivityStatus["Expired"] = "Expired";
|
|
48
|
+
/** AgentNotInstalled */
|
|
49
|
+
KnownConnectivityStatus["AgentNotInstalled"] = "AgentNotInstalled";
|
|
40
50
|
})(KnownConnectivityStatus || (exports.KnownConnectivityStatus = KnownConnectivityStatus = {}));
|
|
51
|
+
/** Known values of {@link PrivateLinkState} that the service accepts. */
|
|
52
|
+
var KnownPrivateLinkState;
|
|
53
|
+
(function (KnownPrivateLinkState) {
|
|
54
|
+
/** Enabled */
|
|
55
|
+
KnownPrivateLinkState["Enabled"] = "Enabled";
|
|
56
|
+
/** Disabled */
|
|
57
|
+
KnownPrivateLinkState["Disabled"] = "Disabled";
|
|
58
|
+
})(KnownPrivateLinkState || (exports.KnownPrivateLinkState = KnownPrivateLinkState = {}));
|
|
59
|
+
/** Known values of {@link AzureHybridBenefit} that the service accepts. */
|
|
60
|
+
var KnownAzureHybridBenefit;
|
|
61
|
+
(function (KnownAzureHybridBenefit) {
|
|
62
|
+
/** True */
|
|
63
|
+
KnownAzureHybridBenefit["True"] = "True";
|
|
64
|
+
/** False */
|
|
65
|
+
KnownAzureHybridBenefit["False"] = "False";
|
|
66
|
+
/** NotApplicable */
|
|
67
|
+
KnownAzureHybridBenefit["NotApplicable"] = "NotApplicable";
|
|
68
|
+
})(KnownAzureHybridBenefit || (exports.KnownAzureHybridBenefit = KnownAzureHybridBenefit = {}));
|
|
69
|
+
/** Known values of {@link AutoUpgradeOptions} that the service accepts. */
|
|
70
|
+
var KnownAutoUpgradeOptions;
|
|
71
|
+
(function (KnownAutoUpgradeOptions) {
|
|
72
|
+
/** Enabled */
|
|
73
|
+
KnownAutoUpgradeOptions["Enabled"] = "Enabled";
|
|
74
|
+
/** Disabled */
|
|
75
|
+
KnownAutoUpgradeOptions["Disabled"] = "Disabled";
|
|
76
|
+
})(KnownAutoUpgradeOptions || (exports.KnownAutoUpgradeOptions = KnownAutoUpgradeOptions = {}));
|
|
41
77
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
42
78
|
var KnownCreatedByType;
|
|
43
79
|
(function (KnownCreatedByType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA2RH,0EAA0E;AAC1E,IAAY,sBAeX;AAfD,WAAY,sBAAsB;IAChC,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;IACjB,eAAe;IACf,+CAAqB,CAAA;IACrB,mBAAmB;IACnB,uDAA6B,CAAA;IAC7B,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;AACvB,CAAC,EAfW,sBAAsB,sCAAtB,sBAAsB,QAejC;AAiBD,2EAA2E;AAC3E,IAAY,uBASX;AATD,WAAY,uBAAuB;IACjC,iBAAiB;IACjB,oDAAyB,CAAA;IACzB,gBAAgB;IAChB,kDAAuB,CAAA;IACvB,cAAc;IACd,8CAAmB,CAAA;IACnB,cAAc;IACd,8CAAmB,CAAA;AACrB,CAAC,EATW,uBAAuB,uCAAvB,uBAAuB,QASlC;AAcD,sEAAsE;AACtE,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,kCAAlB,kBAAkB,QAS7B;AAcD,2EAA2E;AAC3E,IAAY,uBASX;AATD,WAAY,uBAAuB;IACjC,WAAW;IACX,wCAAa,CAAA;IACb,kBAAkB;IAClB,sDAA2B,CAAA;IAC3B,sBAAsB;IACtB,8DAAmC,CAAA;IACnC,UAAU;IACV,sCAAW,CAAA;AACb,CAAC,EATW,uBAAuB,uCAAvB,uBAAuB,QASlC;AAcD,6EAA6E;AAC7E,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,YAAY;IACZ,4CAAe,CAAA;IACf,UAAU;IACV,wCAAW,CAAA;AACb,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Identity for the connected cluster. */\nexport interface ConnectedClusterIdentity {\n /**\n * The principal id of connected cluster identity. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster. */\n type: ResourceIdentityType;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: LastModifiedByType;\n /** The timestamp of resource modification (UTC). */\n lastModifiedAt?: Date;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Object containing updates for patch operations. */\nexport interface ConnectedClusterPatch {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Describes the connected cluster resource properties that can be updated during PATCH operation. */\n properties?: Record<string, unknown>;\n}\n\nexport interface ListClusterUserCredentialProperties {\n /** The mode of client authentication. */\n authenticationMethod: AuthenticationMethod;\n /** Boolean value to indicate whether the request is for client side proxy or not */\n clientProxy: boolean;\n}\n\n/** The list of credential result response. */\nexport interface CredentialResults {\n /**\n * Contains the REP (rendezvous endpoint) and “Sender” access token.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionConfig?: HybridConnectionConfig;\n /**\n * Base64-encoded Kubernetes configuration file.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubeconfigs?: CredentialResult[];\n}\n\n/** Contains the REP (rendezvous endpoint) and “Sender” access token. */\nexport interface HybridConnectionConfig {\n /**\n * Timestamp when this token will be expired.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly expirationTime?: number;\n /**\n * Name of the connection\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionName?: string;\n /**\n * Name of the relay.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly relay?: string;\n /**\n * Sender access token\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly token?: string;\n}\n\n/** The credential result response. */\nexport interface CredentialResult {\n /**\n * The name of the credential.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Base64-encoded Kubernetes configuration file.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Uint8Array;\n}\n\n/** The paginated list of connected Clusters */\nexport interface ConnectedClusterList {\n /** The list of connected clusters */\n value?: ConnectedCluster[];\n /** The link to fetch the next page of connected cluster */\n nextLink?: string;\n}\n\n/** The paginated list of connected cluster API operations. */\nexport interface OperationList {\n /**\n * The list of connected cluster API operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /** The link to fetch the next page of connected cluster API operations. */\n nextLink?: string;\n}\n\n/** The Connected cluster API operation */\nexport interface Operation {\n /**\n * Operation name: {Microsoft.Kubernetes}/{resource}/{operation}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The object that represents the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.connectedClusters */\n provider?: string;\n /** Connected Cluster Resource on which the operation is performed */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Represents a connected cluster. */\nexport interface ConnectedCluster extends TrackedResource {\n /** The identity of the connected cluster. */\n identity: ConnectedClusterIdentity;\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. */\n agentPublicKeyCertificate: string;\n /**\n * The Kubernetes version of the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubernetesVersion?: string;\n /**\n * Number of nodes present in the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly totalNodeCount?: number;\n /**\n * Number of CPU cores present in the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly totalCoreCount?: number;\n /**\n * Version of the agent running on the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly agentVersion?: string;\n /** Provisioning state of the connected cluster resource. */\n provisioningState?: ProvisioningState;\n /** The Kubernetes distribution running on this connected cluster. */\n distribution?: string;\n /** The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. */\n infrastructure?: string;\n /**\n * Connected cluster offering\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly offering?: string;\n /**\n * Expiration time of the managed identity certificate\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly managedIdentityCertificateExpirationTime?: Date;\n /**\n * Time representing the last instance when heart beat was received from the cluster\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly lastConnectivityTime?: Date;\n /**\n * Represents the connectivity status of the connected cluster.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly connectivityStatus?: ConnectivityStatus;\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Provisioning */\n Provisioning = \"Provisioning\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Accepted */\n Accepted = \"Accepted\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Provisioning** \\\n * **Updating** \\\n * **Deleting** \\\n * **Accepted**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link ConnectivityStatus} that the service accepts. */\nexport enum KnownConnectivityStatus {\n /** Connecting */\n Connecting = \"Connecting\",\n /** Connected */\n Connected = \"Connected\",\n /** Offline */\n Offline = \"Offline\",\n /** Expired */\n Expired = \"Expired\"\n}\n\n/**\n * Defines values for ConnectivityStatus. \\\n * {@link KnownConnectivityStatus} can be used interchangeably with ConnectivityStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Connecting** \\\n * **Connected** \\\n * **Offline** \\\n * **Expired**\n */\nexport type ConnectivityStatus = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link LastModifiedByType} that the service accepts. */\nexport enum KnownLastModifiedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for LastModifiedByType. \\\n * {@link KnownLastModifiedByType} can be used interchangeably with LastModifiedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type LastModifiedByType = string;\n\n/** Known values of {@link AuthenticationMethod} that the service accepts. */\nexport enum KnownAuthenticationMethod {\n /** Token */\n Token = \"Token\",\n /** AAD */\n AAD = \"AAD\"\n}\n\n/**\n * Defines values for AuthenticationMethod. \\\n * {@link KnownAuthenticationMethod} can be used interchangeably with AuthenticationMethod,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Token** \\\n * **AAD**\n */\nexport type AuthenticationMethod = string;\n/** Defines values for ResourceIdentityType. */\nexport type ResourceIdentityType = \"None\" | \"SystemAssigned\";\n\n/** Optional parameters. */\nexport interface ConnectedClusterCreateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type ConnectedClusterCreateResponse = ConnectedCluster;\n\n/** Optional parameters. */\nexport interface ConnectedClusterUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ConnectedClusterUpdateResponse = ConnectedCluster;\n\n/** Optional parameters. */\nexport interface ConnectedClusterGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ConnectedClusterGetResponse = ConnectedCluster;\n\n/** Optional parameters. */\nexport interface ConnectedClusterDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ConnectedClusterListClusterUserCredentialOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listClusterUserCredential operation. */\nexport type ConnectedClusterListClusterUserCredentialResponse = CredentialResults;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ConnectedClusterListByResourceGroupResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type ConnectedClusterListBySubscriptionResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ConnectedClusterListByResourceGroupNextResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type ConnectedClusterListBySubscriptionNextResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface OperationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type OperationsGetResponse = OperationList;\n\n/** Optional parameters. */\nexport interface OperationsGetNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNext operation. */\nexport type OperationsGetNextResponse = OperationList;\n\n/** Optional parameters. */\nexport interface ConnectedKubernetesClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA2bH,6EAA6E;AAC7E,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,yBAAyB;IACzB,sEAAyC,CAAA;IACzC,UAAU;IACV,wCAAW,CAAA;AACb,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC;AAYD,0EAA0E;AAC1E,IAAY,sBAeX;AAfD,WAAY,sBAAsB;IAChC,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;IACjB,eAAe;IACf,+CAAqB,CAAA;IACrB,mBAAmB;IACnB,uDAA6B,CAAA;IAC7B,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;AACvB,CAAC,EAfW,sBAAsB,sCAAtB,sBAAsB,QAejC;AAiBD,2EAA2E;AAC3E,IAAY,uBAWX;AAXD,WAAY,uBAAuB;IACjC,iBAAiB;IACjB,oDAAyB,CAAA;IACzB,gBAAgB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,4CAAe,CAAA;IACf,UAAU;IACV,wCAAW,CAAA;AACb,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type * as coreClient from \"@azure/core-client\";\n\n/** Identity for the connected cluster. */\nexport interface ConnectedClusterIdentity {\n /**\n * The principal id of connected cluster identity. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster. */\n type: ResourceIdentityType;\n}\n\n/** Properties of the connected cluster. */\nexport interface ConnectedClusterProperties {\n /** Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. */\n agentPublicKeyCertificate: string;\n /**\n * The Kubernetes version of the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubernetesVersion?: string;\n /**\n * Number of nodes present in the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly totalNodeCount?: number;\n /**\n * Number of CPU cores present in the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly totalCoreCount?: number;\n /**\n * Version of the agent running on the connected cluster resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly agentVersion?: string;\n /** Provisioning state of the connected cluster resource. */\n provisioningState?: ProvisioningState;\n /** The Kubernetes distribution running on this connected cluster. */\n distribution?: string;\n /** The Kubernetes distribution version on this connected cluster. */\n distributionVersion?: string;\n /** The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. */\n infrastructure?: string;\n /**\n * Connected cluster offering\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly offering?: string;\n /**\n * Expiration time of the managed identity certificate\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly managedIdentityCertificateExpirationTime?: Date;\n /**\n * Time representing the last instance when heart beat was received from the cluster\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly lastConnectivityTime?: Date;\n /**\n * Represents the connectivity status of the connected cluster.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly connectivityStatus?: ConnectivityStatus;\n /** Property which describes the state of private link on a connected cluster resource. */\n privateLinkState?: PrivateLinkState;\n /** This is populated only if privateLinkState is enabled. The resource id of the private link scope this connected cluster is assigned to, if any. */\n privateLinkScopeResourceId?: string;\n /** Indicates whether Azure Hybrid Benefit is opted in */\n azureHybridBenefit?: AzureHybridBenefit;\n /** AAD profile for the connected cluster. */\n aadProfile?: AadProfile;\n /** Arc agentry configuration for the provisioned cluster. */\n arcAgentProfile?: ArcAgentProfile;\n /** Security profile for the connected cluster. */\n securityProfile?: SecurityProfile;\n /** Open ID Connect (OIDC) Issuer Profile for the connected cluster. */\n oidcIssuerProfile?: OidcIssuerProfile;\n /** Details of the gateway used by the Arc router for connectivity. */\n gateway?: Gateway;\n /** Configuration settings for customizing the behavior of the connected cluster. */\n arcAgentryConfigurations?: ArcAgentryConfigurations[];\n /**\n * More properties related to the Connected Cluster\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly miscellaneousProperties?: { [propertyName: string]: string };\n}\n\n/** AAD Profile specifies attributes for Azure Active Directory integration. */\nexport interface AadProfile {\n /** Whether to enable Azure RBAC for Kubernetes authorization. */\n enableAzureRbac?: boolean;\n /** The list of AAD group object IDs that will have admin role of the cluster. */\n adminGroupObjectIDs?: string[];\n /** The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. */\n tenantID?: string;\n}\n\n/** Defines the Arc Agent properties for the clusters. */\nexport interface ArcAgentProfile {\n /** Version of the Arc agents to be installed on the cluster resource */\n desiredAgentVersion?: string;\n /** Indicates whether the Arc agents on the be upgraded automatically to the latest version. Defaults to Enabled. */\n agentAutoUpgrade?: AutoUpgradeOptions;\n /** List of system extensions that are installed on the cluster resource. */\n systemComponents?: SystemComponent[];\n /** List of arc agentry and system components errors on the cluster resource. */\n agentErrors?: AgentError[];\n /**\n * Represents the current state of the Arc agentry and its dependent components.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly agentState?: string;\n}\n\n/** System extensions and its current versions installed on the cluster resource. */\nexport interface SystemComponent {\n /** Type of the system extension */\n type?: string;\n /** Version of the system extension to be installed on the cluster resource. */\n userSpecifiedVersion?: string;\n /** Major Version of the system extension that is currently installed on the cluster resource. */\n majorVersion?: number;\n /**\n * Version of the system extension that is currently installed on the cluster resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentVersion?: string;\n}\n\n/** Agent Errors if any during agent or system component upgrade. */\nexport interface AgentError {\n /**\n * Agent error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * Severity of the error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly severity?: string;\n /**\n * Agent component where error message occured.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly component?: string;\n /**\n * The timestamp of error occured (UTC).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly time?: Date;\n}\n\n/** Security Profile specifies attributes for cluster security features. */\nexport interface SecurityProfile {\n /** The workload identity feature webhook. */\n workloadIdentity?: SecurityProfileWorkloadIdentity;\n}\n\n/** The workload identity feature webhook. */\nexport interface SecurityProfileWorkloadIdentity {\n /** Whether to enable or disable the workload identity Webhook */\n enabled?: boolean;\n}\n\n/** OIDC Issuer Profile specifies attributes for workload identity integration. */\nexport interface OidcIssuerProfile {\n /** Whether to enable oidc issuer for workload identity integration. */\n enabled?: boolean;\n /**\n * The issuer url for hybrid clusters connected to Arc used for the workload identity feature.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly issuerUrl?: string;\n /** The issuer url for public cloud clusters - AKS, EKS, GKE - used for the workload identity feature. */\n selfHostedIssuerUrl?: string;\n}\n\nexport interface Gateway {\n /** Indicates whether the gateway for arc router connectivity is enabled. */\n enabled?: boolean;\n /** The resource ID of the gateway used for the Arc router feature. */\n resourceId?: string;\n}\n\nexport interface ArcAgentryConfigurations {\n /** Specifies the name of the feature for the configuration setting. */\n feature?: string;\n /** The configuration settings for the feature that do not contain any sensitive or secret information. */\n settings?: { [propertyName: string]: string };\n /** The configuration settings for the feature that contain any sensitive or secret information. */\n protectedSettings?: { [propertyName: string]: string };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: LastModifiedByType;\n /** The timestamp of resource modification (UTC). */\n lastModifiedAt?: Date;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Object containing updates for patch operations. */\nexport interface ConnectedClusterPatch {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Describes the connected cluster resource properties that can be updated during PATCH operation. */\n properties?: ConnectedClusterPatchProperties;\n}\n\n/** Properties which can be patched on the connected cluster resource. */\nexport interface ConnectedClusterPatchProperties {\n /** Represents the distribution of the connected cluster */\n distribution?: string;\n /** Represents the Kubernetes distribution version on this connected cluster. */\n distributionVersion?: string;\n /** Indicates whether Azure Hybrid Benefit is opted in */\n azureHybridBenefit?: AzureHybridBenefit;\n}\n\nexport interface ListClusterUserCredentialProperties {\n /** The mode of client authentication. */\n authenticationMethod: AuthenticationMethod;\n /** Boolean value to indicate whether the request is for client side proxy or not */\n clientProxy: boolean;\n}\n\n/** The list of credential result response. */\nexport interface CredentialResults {\n /**\n * Contains the REP (rendezvous endpoint) and “Sender” access token.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionConfig?: HybridConnectionConfig;\n /**\n * Base64-encoded Kubernetes configuration file.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubeconfigs?: CredentialResult[];\n}\n\n/** Contains the REP (rendezvous endpoint) and “Sender” access token. */\nexport interface HybridConnectionConfig {\n /**\n * Timestamp when this token will be expired.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly expirationTime?: number;\n /**\n * Name of the connection\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionName?: string;\n /**\n * Name of the relay.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly relay?: string;\n /**\n * Sender access token\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly token?: string;\n /**\n * TenantID of the relay\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly relayTid?: string;\n /**\n * Type of relay\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly relayType?: string;\n}\n\n/** The credential result response. */\nexport interface CredentialResult {\n /**\n * The name of the credential.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Base64-encoded Kubernetes configuration file.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Uint8Array;\n}\n\n/** The paginated list of connected Clusters */\nexport interface ConnectedClusterList {\n /** The list of connected clusters */\n value?: ConnectedCluster[];\n /** The link to fetch the next page of connected clusters */\n nextLink?: string;\n}\n\n/** The paginated list of connected cluster API operations. */\nexport interface OperationList {\n /**\n * The list of connected cluster API operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /** The link to fetch the next page of connected cluster API operations. */\n nextLink?: string;\n}\n\n/** The Connected cluster API operation */\nexport interface Operation {\n /**\n * Operation name: {Microsoft.Kubernetes}/{resource}/{operation}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The object that represents the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Kubernetes */\n provider?: string;\n /** Connected Cluster Resource on which the operation is performed */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Represents a connected cluster. */\nexport interface ConnectedCluster extends TrackedResource {\n /** The identity of the connected cluster. */\n identity: ConnectedClusterIdentity;\n /** The kind of connected cluster. */\n kind?: ConnectedClusterKind;\n /** Describes the connected cluster resource properties. */\n properties: ConnectedClusterProperties;\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Known values of {@link ConnectedClusterKind} that the service accepts. */\nexport enum KnownConnectedClusterKind {\n /** ProvisionedCluster */\n ProvisionedCluster = \"ProvisionedCluster\",\n /** AWS */\n AWS = \"AWS\",\n}\n\n/**\n * Defines values for ConnectedClusterKind. \\\n * {@link KnownConnectedClusterKind} can be used interchangeably with ConnectedClusterKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ProvisionedCluster** \\\n * **AWS**\n */\nexport type ConnectedClusterKind = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Provisioning */\n Provisioning = \"Provisioning\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Accepted */\n Accepted = \"Accepted\",\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Provisioning** \\\n * **Updating** \\\n * **Deleting** \\\n * **Accepted**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link ConnectivityStatus} that the service accepts. */\nexport enum KnownConnectivityStatus {\n /** Connecting */\n Connecting = \"Connecting\",\n /** Connected */\n Connected = \"Connected\",\n /** Offline */\n Offline = \"Offline\",\n /** Expired */\n Expired = \"Expired\",\n /** AgentNotInstalled */\n AgentNotInstalled = \"AgentNotInstalled\",\n}\n\n/**\n * Defines values for ConnectivityStatus. \\\n * {@link KnownConnectivityStatus} can be used interchangeably with ConnectivityStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Connecting** \\\n * **Connected** \\\n * **Offline** \\\n * **Expired** \\\n * **AgentNotInstalled**\n */\nexport type ConnectivityStatus = string;\n\n/** Known values of {@link PrivateLinkState} that the service accepts. */\nexport enum KnownPrivateLinkState {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Defines values for PrivateLinkState. \\\n * {@link KnownPrivateLinkState} can be used interchangeably with PrivateLinkState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type PrivateLinkState = string;\n\n/** Known values of {@link AzureHybridBenefit} that the service accepts. */\nexport enum KnownAzureHybridBenefit {\n /** True */\n True = \"True\",\n /** False */\n False = \"False\",\n /** NotApplicable */\n NotApplicable = \"NotApplicable\",\n}\n\n/**\n * Defines values for AzureHybridBenefit. \\\n * {@link KnownAzureHybridBenefit} can be used interchangeably with AzureHybridBenefit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **True** \\\n * **False** \\\n * **NotApplicable**\n */\nexport type AzureHybridBenefit = string;\n\n/** Known values of {@link AutoUpgradeOptions} that the service accepts. */\nexport enum KnownAutoUpgradeOptions {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Defines values for AutoUpgradeOptions. \\\n * {@link KnownAutoUpgradeOptions} can be used interchangeably with AutoUpgradeOptions,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type AutoUpgradeOptions = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link LastModifiedByType} that the service accepts. */\nexport enum KnownLastModifiedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * Defines values for LastModifiedByType. \\\n * {@link KnownLastModifiedByType} can be used interchangeably with LastModifiedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type LastModifiedByType = string;\n\n/** Known values of {@link AuthenticationMethod} that the service accepts. */\nexport enum KnownAuthenticationMethod {\n /** Token */\n Token = \"Token\",\n /** AAD */\n AAD = \"AAD\",\n}\n\n/**\n * Defines values for AuthenticationMethod. \\\n * {@link KnownAuthenticationMethod} can be used interchangeably with AuthenticationMethod,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Token** \\\n * **AAD**\n */\nexport type AuthenticationMethod = string;\n/** Defines values for ResourceIdentityType. */\nexport type ResourceIdentityType = \"None\" | \"SystemAssigned\";\n\n/** Optional parameters. */\nexport interface ConnectedClusterCreateOrReplaceOptionalParams extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrReplace operation. */\nexport type ConnectedClusterCreateOrReplaceResponse = ConnectedCluster;\n\n/** Optional parameters. */\nexport interface ConnectedClusterUpdateOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ConnectedClusterUpdateResponse = ConnectedCluster;\n\n/** Optional parameters. */\nexport interface ConnectedClusterGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ConnectedClusterGetResponse = ConnectedCluster;\n\n/** Optional parameters. */\nexport interface ConnectedClusterDeleteOptionalParams extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ConnectedClusterListClusterUserCredentialOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listClusterUserCredential operation. */\nexport type ConnectedClusterListClusterUserCredentialResponse = CredentialResults;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ConnectedClusterListByResourceGroupResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type ConnectedClusterListBySubscriptionResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ConnectedClusterListByResourceGroupNextResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface ConnectedClusterListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type ConnectedClusterListBySubscriptionNextResponse = ConnectedClusterList;\n\n/** Optional parameters. */\nexport interface OperationsGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type OperationsGetResponse = OperationList;\n\n/** Optional parameters. */\nexport interface OperationsGetNextOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNext operation. */\nexport type OperationsGetNextResponse = OperationList;\n\n/** Optional parameters. */\nexport interface ConnectedKubernetesClientOptionalParams extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|