@@ -11,6 +11,43 @@ import * as msRest from "@azure/ms-rest-js";
1111
1212export { BaseResource , CloudError } ;
1313
14+ /**
15+ * Top level metadata
16+ * https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
17+ */
18+ export interface SystemData {
19+ /**
20+ * A string identifier for the identity that created the resource
21+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
22+ */
23+ readonly createdBy ?: string ;
24+ /**
25+ * The type of identity that created the resource: user, application, managedIdentity, key
26+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
27+ */
28+ readonly createdByType ?: string ;
29+ /**
30+ * The timestamp of resource creation (UTC)
31+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
32+ */
33+ readonly createdAt ?: Date ;
34+ /**
35+ * A string identifier for the identity that last modified the resource
36+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
37+ */
38+ readonly lastModifiedBy ?: string ;
39+ /**
40+ * The type of identity that last modified the resource: user, application, managedIdentity, key
41+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
42+ */
43+ readonly lastModifiedByType ?: string ;
44+ /**
45+ * The timestamp of resource last modification (UTC)
46+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
47+ */
48+ readonly lastModifiedAt ?: Date ;
49+ }
50+
1451/**
1552 * The Resource model definition.
1653 */
@@ -30,6 +67,11 @@ export interface Resource extends BaseResource {
3067 * **NOTE: This property will not be serialized. It can only be populated by the server.**
3168 */
3269 readonly type ?: string ;
70+ /**
71+ * Top level metadata
72+ * https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
73+ */
74+ systemData ?: SystemData ;
3375}
3476
3577/**
@@ -54,19 +96,12 @@ export interface Result {
5496export interface ErrorDefinition {
5597 /**
5698 * Service specific error code which serves as the substatus for the HTTP error code.
57- * **NOTE: This property will not be serialized. It can only be populated by the server.**
5899 */
59- readonly code ? : string ;
100+ code : string ;
60101 /**
61102 * Description of the error.
62- * **NOTE: This property will not be serialized. It can only be populated by the server.**
63- */
64- readonly message ?: string ;
65- /**
66- * Internal error details.
67- * **NOTE: This property will not be serialized. It can only be populated by the server.**
68103 */
69- readonly details ?: ErrorDefinition [ ] ;
104+ message : string ;
70105}
71106
72107/**
@@ -88,7 +123,7 @@ export interface ComplianceStatus {
88123 * 'Noncompliant', 'Installed', 'Failed'
89124 * **NOTE: This property will not be serialized. It can only be populated by the server.**
90125 */
91- readonly complianceState ?: ComplianceState ;
126+ readonly complianceState ?: ComplianceStateType ;
92127 /**
93128 * Datetime the configuration was last applied.
94129 */
@@ -100,7 +135,7 @@ export interface ComplianceStatus {
100135 /**
101136 * Level of the message. Possible values include: 'Error', 'Warning', 'Information'
102137 */
103- messageLevel ?: MessageLevel ;
138+ messageLevel ?: MessageLevelType ;
104139}
105140
106141/**
@@ -118,7 +153,7 @@ export interface HelmOperatorProperties {
118153}
119154
120155/**
121- * The SourceControl Configuration object.
156+ * The SourceControl Configuration object returned in Get & Put response .
122157 */
123158export interface SourceControlConfiguration extends ProxyResource {
124159 /**
@@ -142,22 +177,30 @@ export interface SourceControlConfiguration extends ProxyResource {
142177 * Any Parameters for the Operator instance in string format.
143178 */
144179 operatorParams ?: string ;
180+ /**
181+ * Name-value pairs of protected configuration settings for the configuration
182+ */
183+ configurationProtectedSettings ?: { [ propertyName : string ] : string } ;
145184 /**
146185 * Scope at which the operator will be installed. Possible values include: 'cluster',
147186 * 'namespace'. Default value: 'cluster'.
148187 */
149- operatorScope ?: OperatorScope ;
188+ operatorScope ?: OperatorScopeType ;
150189 /**
151190 * Public Key associated with this SourceControl configuration (either generated within the
152191 * cluster or provided by the user).
153192 * **NOTE: This property will not be serialized. It can only be populated by the server.**
154193 */
155194 readonly repositoryPublicKey ?: string ;
156195 /**
157- * Option to enable Helm Operator for this git configuration. Possible values include: 'true',
158- * 'false'
196+ * Base64-encoded known_hosts contents containing public SSH keys required to access private Git
197+ * instances
159198 */
160- enableHelmOperator ?: EnableHelmOperator ;
199+ sshKnownHostsContents ?: string ;
200+ /**
201+ * Option to enable Helm Operator for this git configuration.
202+ */
203+ enableHelmOperator ?: boolean ;
161204 /**
162205 * Properties for Helm operator.
163206 */
@@ -167,7 +210,7 @@ export interface SourceControlConfiguration extends ProxyResource {
167210 * 'Deleting', 'Running', 'Succeeded', 'Failed'
168211 * **NOTE: This property will not be serialized. It can only be populated by the server.**
169212 */
170- readonly provisioningState ?: ProvisioningState ;
213+ readonly provisioningState ?: ProvisioningStateType ;
171214 /**
172215 * Compliance Status of the Configuration
173216 * **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -246,20 +289,20 @@ export interface ResourceProviderOperationList extends Array<ResourceProviderOpe
246289}
247290
248291/**
249- * Defines values for ComplianceState .
292+ * Defines values for ComplianceStateType .
250293 * Possible values include: 'Pending', 'Compliant', 'Noncompliant', 'Installed', 'Failed'
251294 * @readonly
252295 * @enum {string}
253296 */
254- export type ComplianceState = 'Pending' | 'Compliant' | 'Noncompliant' | 'Installed' | 'Failed' ;
297+ export type ComplianceStateType = 'Pending' | 'Compliant' | 'Noncompliant' | 'Installed' | 'Failed' ;
255298
256299/**
257- * Defines values for MessageLevel .
300+ * Defines values for MessageLevelType .
258301 * Possible values include: 'Error', 'Warning', 'Information'
259302 * @readonly
260303 * @enum {string}
261304 */
262- export type MessageLevel = 'Error' | 'Warning' | 'Information' ;
305+ export type MessageLevelType = 'Error' | 'Warning' | 'Information' ;
263306
264307/**
265308 * Defines values for OperatorType.
@@ -270,28 +313,20 @@ export type MessageLevel = 'Error' | 'Warning' | 'Information';
270313export type OperatorType = 'Flux' ;
271314
272315/**
273- * Defines values for OperatorScope .
316+ * Defines values for OperatorScopeType .
274317 * Possible values include: 'cluster', 'namespace'
275318 * @readonly
276319 * @enum {string}
277320 */
278- export type OperatorScope = 'cluster' | 'namespace' ;
279-
280- /**
281- * Defines values for EnableHelmOperator.
282- * Possible values include: 'true', 'false'
283- * @readonly
284- * @enum {string}
285- */
286- export type EnableHelmOperator = 'true' | 'false' ;
321+ export type OperatorScopeType = 'cluster' | 'namespace' ;
287322
288323/**
289- * Defines values for ProvisioningState .
324+ * Defines values for ProvisioningStateType .
290325 * Possible values include: 'Accepted', 'Deleting', 'Running', 'Succeeded', 'Failed'
291326 * @readonly
292327 * @enum {string}
293328 */
294- export type ProvisioningState = 'Accepted' | 'Deleting' | 'Running' | 'Succeeded' | 'Failed' ;
329+ export type ProvisioningStateType = 'Accepted' | 'Deleting' | 'Running' | 'Succeeded' | 'Failed' ;
295330
296331/**
297332 * Defines values for ClusterRp.
0 commit comments