@azure/arm-kubernetesconfiguration-fluxconfigurations 1.0.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.
Files changed (218) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +115 -0
  4. package/dist/browser/fluxConfigurationClient.d.ts +21 -0
  5. package/dist/browser/fluxConfigurationClient.d.ts.map +1 -0
  6. package/dist/browser/fluxConfigurationClient.js +97 -0
  7. package/dist/browser/fluxConfigurationClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/dist/browser/index.js +13 -0
  11. package/dist/browser/index.js.map +1 -0
  12. package/dist/browser/lroImpl.d.ts +11 -0
  13. package/dist/browser/lroImpl.d.ts.map +1 -0
  14. package/dist/browser/lroImpl.js +21 -0
  15. package/dist/browser/lroImpl.js.map +1 -0
  16. package/dist/browser/models/index.d.ts +875 -0
  17. package/dist/browser/models/index.d.ts.map +1 -0
  18. package/dist/browser/models/index.js +98 -0
  19. package/dist/browser/models/index.js.map +1 -0
  20. package/dist/browser/models/mappers.d.ts +45 -0
  21. package/dist/browser/models/mappers.d.ts.map +1 -0
  22. package/dist/browser/models/mappers.js +1914 -0
  23. package/dist/browser/models/mappers.js.map +1 -0
  24. package/dist/browser/models/parameters.d.ts +17 -0
  25. package/dist/browser/models/parameters.d.ts.map +1 -0
  26. package/dist/browser/models/parameters.js +164 -0
  27. package/dist/browser/models/parameters.js.map +1 -0
  28. package/dist/browser/operations/fluxConfigOperationStatus.d.ts +26 -0
  29. package/dist/browser/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  30. package/dist/browser/operations/fluxConfigOperationStatus.js +71 -0
  31. package/dist/browser/operations/fluxConfigOperationStatus.js.map +1 -0
  32. package/dist/browser/operations/fluxConfigurations.d.ts +141 -0
  33. package/dist/browser/operations/fluxConfigurations.d.ts.map +1 -0
  34. package/dist/browser/operations/fluxConfigurations.js +536 -0
  35. package/dist/browser/operations/fluxConfigurations.js.map +1 -0
  36. package/dist/browser/operations/index.d.ts +3 -0
  37. package/dist/browser/operations/index.d.ts.map +1 -0
  38. package/dist/browser/operations/index.js +10 -0
  39. package/dist/browser/operations/index.js.map +1 -0
  40. package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  41. package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
  43. package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  44. package/dist/browser/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  45. package/dist/browser/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/fluxConfigurations.js +9 -0
  47. package/dist/browser/operationsInterfaces/fluxConfigurations.js.map +1 -0
  48. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  49. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/index.js +10 -0
  51. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  52. package/dist/browser/package.json +3 -0
  53. package/dist/browser/pagingHelper.d.ts +13 -0
  54. package/dist/browser/pagingHelper.d.ts.map +1 -0
  55. package/dist/browser/pagingHelper.js +32 -0
  56. package/dist/browser/pagingHelper.js.map +1 -0
  57. package/dist/commonjs/fluxConfigurationClient.d.ts +21 -0
  58. package/dist/commonjs/fluxConfigurationClient.d.ts.map +1 -0
  59. package/dist/commonjs/fluxConfigurationClient.js +102 -0
  60. package/dist/commonjs/fluxConfigurationClient.js.map +1 -0
  61. package/dist/commonjs/index.d.ts +5 -0
  62. package/dist/commonjs/index.d.ts.map +1 -0
  63. package/dist/commonjs/index.js +19 -0
  64. package/dist/commonjs/index.js.map +1 -0
  65. package/dist/commonjs/lroImpl.d.ts +11 -0
  66. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  67. package/dist/commonjs/lroImpl.js +24 -0
  68. package/dist/commonjs/lroImpl.js.map +1 -0
  69. package/dist/commonjs/models/index.d.ts +875 -0
  70. package/dist/commonjs/models/index.d.ts.map +1 -0
  71. package/dist/commonjs/models/index.js +101 -0
  72. package/dist/commonjs/models/index.js.map +1 -0
  73. package/dist/commonjs/models/mappers.d.ts +45 -0
  74. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  75. package/dist/commonjs/models/mappers.js +1917 -0
  76. package/dist/commonjs/models/mappers.js.map +1 -0
  77. package/dist/commonjs/models/parameters.d.ts +17 -0
  78. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  79. package/dist/commonjs/models/parameters.js +167 -0
  80. package/dist/commonjs/models/parameters.js.map +1 -0
  81. package/dist/commonjs/operations/fluxConfigOperationStatus.d.ts +26 -0
  82. package/dist/commonjs/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  83. package/dist/commonjs/operations/fluxConfigOperationStatus.js +76 -0
  84. package/dist/commonjs/operations/fluxConfigOperationStatus.js.map +1 -0
  85. package/dist/commonjs/operations/fluxConfigurations.d.ts +141 -0
  86. package/dist/commonjs/operations/fluxConfigurations.d.ts.map +1 -0
  87. package/dist/commonjs/operations/fluxConfigurations.js +540 -0
  88. package/dist/commonjs/operations/fluxConfigurations.js.map +1 -0
  89. package/dist/commonjs/operations/index.d.ts +3 -0
  90. package/dist/commonjs/operations/index.d.ts.map +1 -0
  91. package/dist/commonjs/operations/index.js +13 -0
  92. package/dist/commonjs/operations/index.js.map +1 -0
  93. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  94. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  95. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.js +10 -0
  96. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  97. package/dist/commonjs/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  98. package/dist/commonjs/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/fluxConfigurations.js +10 -0
  100. package/dist/commonjs/operationsInterfaces/fluxConfigurations.js.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  102. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  104. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  105. package/dist/commonjs/package.json +3 -0
  106. package/dist/commonjs/pagingHelper.d.ts +13 -0
  107. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  108. package/dist/commonjs/pagingHelper.js +36 -0
  109. package/dist/commonjs/pagingHelper.js.map +1 -0
  110. package/dist/commonjs/tsdoc-metadata.json +11 -0
  111. package/dist/esm/fluxConfigurationClient.d.ts +21 -0
  112. package/dist/esm/fluxConfigurationClient.d.ts.map +1 -0
  113. package/dist/esm/fluxConfigurationClient.js +97 -0
  114. package/dist/esm/fluxConfigurationClient.js.map +1 -0
  115. package/dist/esm/index.d.ts +5 -0
  116. package/dist/esm/index.d.ts.map +1 -0
  117. package/dist/esm/index.js +13 -0
  118. package/dist/esm/index.js.map +1 -0
  119. package/dist/esm/lroImpl.d.ts +11 -0
  120. package/dist/esm/lroImpl.d.ts.map +1 -0
  121. package/dist/esm/lroImpl.js +21 -0
  122. package/dist/esm/lroImpl.js.map +1 -0
  123. package/dist/esm/models/index.d.ts +875 -0
  124. package/dist/esm/models/index.d.ts.map +1 -0
  125. package/dist/esm/models/index.js +98 -0
  126. package/dist/esm/models/index.js.map +1 -0
  127. package/dist/esm/models/mappers.d.ts +45 -0
  128. package/dist/esm/models/mappers.d.ts.map +1 -0
  129. package/dist/esm/models/mappers.js +1914 -0
  130. package/dist/esm/models/mappers.js.map +1 -0
  131. package/dist/esm/models/parameters.d.ts +17 -0
  132. package/dist/esm/models/parameters.d.ts.map +1 -0
  133. package/dist/esm/models/parameters.js +164 -0
  134. package/dist/esm/models/parameters.js.map +1 -0
  135. package/dist/esm/operations/fluxConfigOperationStatus.d.ts +26 -0
  136. package/dist/esm/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  137. package/dist/esm/operations/fluxConfigOperationStatus.js +71 -0
  138. package/dist/esm/operations/fluxConfigOperationStatus.js.map +1 -0
  139. package/dist/esm/operations/fluxConfigurations.d.ts +141 -0
  140. package/dist/esm/operations/fluxConfigurations.d.ts.map +1 -0
  141. package/dist/esm/operations/fluxConfigurations.js +536 -0
  142. package/dist/esm/operations/fluxConfigurations.js.map +1 -0
  143. package/dist/esm/operations/index.d.ts +3 -0
  144. package/dist/esm/operations/index.d.ts.map +1 -0
  145. package/dist/esm/operations/index.js +10 -0
  146. package/dist/esm/operations/index.js.map +1 -0
  147. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  148. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  149. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
  150. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  151. package/dist/esm/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  152. package/dist/esm/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  153. package/dist/esm/operationsInterfaces/fluxConfigurations.js +9 -0
  154. package/dist/esm/operationsInterfaces/fluxConfigurations.js.map +1 -0
  155. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  156. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  157. package/dist/esm/operationsInterfaces/index.js +10 -0
  158. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  159. package/dist/esm/package.json +3 -0
  160. package/dist/esm/pagingHelper.d.ts +13 -0
  161. package/dist/esm/pagingHelper.d.ts.map +1 -0
  162. package/dist/esm/pagingHelper.js +32 -0
  163. package/dist/esm/pagingHelper.js.map +1 -0
  164. package/dist/react-native/fluxConfigurationClient.d.ts +21 -0
  165. package/dist/react-native/fluxConfigurationClient.d.ts.map +1 -0
  166. package/dist/react-native/fluxConfigurationClient.js +97 -0
  167. package/dist/react-native/fluxConfigurationClient.js.map +1 -0
  168. package/dist/react-native/index.d.ts +5 -0
  169. package/dist/react-native/index.d.ts.map +1 -0
  170. package/dist/react-native/index.js +13 -0
  171. package/dist/react-native/index.js.map +1 -0
  172. package/dist/react-native/lroImpl.d.ts +11 -0
  173. package/dist/react-native/lroImpl.d.ts.map +1 -0
  174. package/dist/react-native/lroImpl.js +21 -0
  175. package/dist/react-native/lroImpl.js.map +1 -0
  176. package/dist/react-native/models/index.d.ts +875 -0
  177. package/dist/react-native/models/index.d.ts.map +1 -0
  178. package/dist/react-native/models/index.js +98 -0
  179. package/dist/react-native/models/index.js.map +1 -0
  180. package/dist/react-native/models/mappers.d.ts +45 -0
  181. package/dist/react-native/models/mappers.d.ts.map +1 -0
  182. package/dist/react-native/models/mappers.js +1914 -0
  183. package/dist/react-native/models/mappers.js.map +1 -0
  184. package/dist/react-native/models/parameters.d.ts +17 -0
  185. package/dist/react-native/models/parameters.d.ts.map +1 -0
  186. package/dist/react-native/models/parameters.js +164 -0
  187. package/dist/react-native/models/parameters.js.map +1 -0
  188. package/dist/react-native/operations/fluxConfigOperationStatus.d.ts +26 -0
  189. package/dist/react-native/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  190. package/dist/react-native/operations/fluxConfigOperationStatus.js +71 -0
  191. package/dist/react-native/operations/fluxConfigOperationStatus.js.map +1 -0
  192. package/dist/react-native/operations/fluxConfigurations.d.ts +141 -0
  193. package/dist/react-native/operations/fluxConfigurations.d.ts.map +1 -0
  194. package/dist/react-native/operations/fluxConfigurations.js +536 -0
  195. package/dist/react-native/operations/fluxConfigurations.js.map +1 -0
  196. package/dist/react-native/operations/index.d.ts +3 -0
  197. package/dist/react-native/operations/index.d.ts.map +1 -0
  198. package/dist/react-native/operations/index.js +10 -0
  199. package/dist/react-native/operations/index.js.map +1 -0
  200. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  201. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  202. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
  203. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  204. package/dist/react-native/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  205. package/dist/react-native/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  206. package/dist/react-native/operationsInterfaces/fluxConfigurations.js +9 -0
  207. package/dist/react-native/operationsInterfaces/fluxConfigurations.js.map +1 -0
  208. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  209. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  210. package/dist/react-native/operationsInterfaces/index.js +10 -0
  211. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  212. package/dist/react-native/package.json +3 -0
  213. package/dist/react-native/pagingHelper.d.ts +13 -0
  214. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  215. package/dist/react-native/pagingHelper.js +32 -0
  216. package/dist/react-native/pagingHelper.js.map +1 -0
  217. package/package.json +133 -0
  218. package/review/arm-kubernetesconfiguration-fluxconfigurations.api.md +602 -0
@@ -0,0 +1,875 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Parameters to reconcile to the GitRepository source kind type. */
3
+ export interface GitRepositoryDefinition {
4
+ /** The URL to sync for the flux configuration git repository. */
5
+ url?: string;
6
+ /** The maximum time to attempt to reconcile the cluster git repository source with the remote. */
7
+ timeoutInSeconds?: number;
8
+ /** The interval at which to re-reconcile the cluster git repository source with the remote. */
9
+ syncIntervalInSeconds?: number;
10
+ /** The source reference for the GitRepository object. */
11
+ repositoryRef?: RepositoryRefDefinition;
12
+ /** Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH */
13
+ sshKnownHosts?: string;
14
+ /** Plaintext HTTPS username used to access private git repositories over HTTPS */
15
+ httpsUser?: string;
16
+ /** Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS */
17
+ httpsCACert?: string;
18
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
19
+ localAuthRef?: string;
20
+ /** Name of the provider used for authentication. */
21
+ provider?: ProviderType;
22
+ }
23
+ /** The source reference for the GitRepository object. */
24
+ export interface RepositoryRefDefinition {
25
+ /** The git repository branch name to checkout. */
26
+ branch?: string;
27
+ /** The git repository tag name to checkout. This takes precedence over branch. */
28
+ tag?: string;
29
+ /** The semver range used to match against git repository tags. This takes precedence over tag. */
30
+ semver?: string;
31
+ /** The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver. */
32
+ commit?: string;
33
+ }
34
+ /** Parameters to reconcile to the Bucket source kind type. */
35
+ export interface BucketDefinition {
36
+ /** The URL to sync for the flux configuration S3 bucket. */
37
+ url?: string;
38
+ /** The bucket name to sync from the url endpoint for the flux configuration. */
39
+ bucketName?: string;
40
+ /** Specify whether to use insecure communication when puling data from the S3 bucket. */
41
+ insecure?: boolean;
42
+ /** The maximum time to attempt to reconcile the cluster bucket source with the remote. */
43
+ timeoutInSeconds?: number;
44
+ /** The interval at which to re-reconcile the cluster bucket source with the remote. */
45
+ syncIntervalInSeconds?: number;
46
+ /** Plaintext access key used to securely access the S3 bucket */
47
+ accessKey?: string;
48
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
49
+ localAuthRef?: string;
50
+ }
51
+ /** Parameters to reconcile to the AzureBlob source kind type. */
52
+ export interface AzureBlobDefinition {
53
+ /** The URL to sync for the flux configuration Azure Blob storage account. */
54
+ url?: string;
55
+ /** The Azure Blob container name to sync from the url endpoint for the flux configuration. */
56
+ containerName?: string;
57
+ /** The maximum time to attempt to reconcile the cluster Azure Blob source with the remote. */
58
+ timeoutInSeconds?: number;
59
+ /** The interval at which to re-reconcile the cluster Azure Blob source with the remote. */
60
+ syncIntervalInSeconds?: number;
61
+ /** Parameters to authenticate using Service Principal. */
62
+ servicePrincipal?: ServicePrincipalDefinition;
63
+ /** The account key (shared key) to access the storage account */
64
+ accountKey?: string;
65
+ /** The Shared Access token to access the storage container */
66
+ sasToken?: string;
67
+ /** Parameters to authenticate using a Managed Identity. */
68
+ managedIdentity?: ManagedIdentityDefinition;
69
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
70
+ localAuthRef?: string;
71
+ }
72
+ /** Parameters to authenticate using Service Principal. */
73
+ export interface ServicePrincipalDefinition {
74
+ /** The client Id for authenticating a Service Principal. */
75
+ clientId?: string;
76
+ /** The tenant Id for authenticating a Service Principal */
77
+ tenantId?: string;
78
+ /** The client secret for authenticating a Service Principal */
79
+ clientSecret?: string;
80
+ /** Base64-encoded certificate used to authenticate a Service Principal */
81
+ clientCertificate?: string;
82
+ /** The password for the certificate used to authenticate a Service Principal */
83
+ clientCertificatePassword?: string;
84
+ /** Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the Client Certificate */
85
+ clientCertificateSendChain?: boolean;
86
+ }
87
+ /** Parameters to authenticate using a Managed Identity. */
88
+ export interface ManagedIdentityDefinition {
89
+ /** The client Id for authenticating a Managed Identity. */
90
+ clientId?: string;
91
+ }
92
+ /** Parameters to reconcile to the OCIRepository source kind type. */
93
+ export interface OCIRepositoryDefinition {
94
+ /** The URL to sync for the flux configuration OCI repository. */
95
+ url?: string;
96
+ /** The maximum time to attempt to reconcile the cluster OCI repository source with the remote. */
97
+ timeoutInSeconds?: number;
98
+ /** The interval at which to re-reconcile the cluster OCI repository source with the remote. */
99
+ syncIntervalInSeconds?: number;
100
+ /** The source reference for the OCIRepository object. */
101
+ repositoryRef?: OCIRepositoryRefDefinition;
102
+ /** The layer to be pulled from the OCI artifact. */
103
+ layerSelector?: LayerSelectorDefinition;
104
+ /** Verification of the authenticity of an OCI Artifact. */
105
+ verify?: VerifyDefinition;
106
+ /** Specify whether to allow connecting to a non-TLS HTTP container registry. */
107
+ insecure?: boolean;
108
+ /** Specifies whether to use Workload Identity to authenticate with the OCI repository. */
109
+ useWorkloadIdentity?: boolean;
110
+ /** The service account name to authenticate with the OCI repository. */
111
+ serviceAccountName?: string;
112
+ /** Parameters to authenticate using TLS config for OCI repository. */
113
+ tlsConfig?: TlsConfigDefinition;
114
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
115
+ localAuthRef?: string;
116
+ }
117
+ /** The source reference for the OCIRepository object. */
118
+ export interface OCIRepositoryRefDefinition {
119
+ /** The OCI repository image tag name to pull. This defaults to 'latest'. */
120
+ tag?: string;
121
+ /** The semver range used to match against OCI repository tags. This takes precedence over tag. */
122
+ semver?: string;
123
+ /** The image digest to pull from OCI repository, the value should be in the format ‘sha256:’. This takes precedence over semver. */
124
+ digest?: string;
125
+ }
126
+ /** Parameters to specify which layer to pull from the OCI artifact. By default, the first layer in the artifact is pulled. */
127
+ export interface LayerSelectorDefinition {
128
+ /** The first layer matching the specified media type will be used. */
129
+ mediaType?: string;
130
+ /** The operation to be performed on the selected layer. The default value is 'extract', but it can be set to 'copy'. */
131
+ operation?: OperationType;
132
+ }
133
+ /** Parameters to verify the authenticity of an OCI Artifact. */
134
+ export interface VerifyDefinition {
135
+ /** Verification provider name. */
136
+ provider?: string;
137
+ /** An object containing trusted public keys of trusted authors. */
138
+ verificationConfig?: {
139
+ [propertyName: string]: string;
140
+ };
141
+ /** Array defining the criteria for matching the identity while verifying an OCI artifact. */
142
+ matchOidcIdentity?: (MatchOidcIdentityDefinition | null)[];
143
+ }
144
+ /** MatchOIDCIdentity defines the criteria for matching the identity while verifying an OCI artifact. */
145
+ export interface MatchOidcIdentityDefinition {
146
+ /** The regex pattern to match against to verify the OIDC issuer. */
147
+ issuer?: string;
148
+ /** The regex pattern to match against to verify the identity subject. */
149
+ subject?: string;
150
+ }
151
+ /** Parameters to authenticate using TLS config for OCI repository. */
152
+ export interface TlsConfigDefinition {
153
+ /** Base64-encoded certificate used to authenticate a client with the OCI repository. */
154
+ clientCertificate?: string;
155
+ /** Base64-encoded private key used to authenticate a client with the OCI repository. */
156
+ privateKey?: string;
157
+ /** Base64-encoded CA certificate used to verify the server. */
158
+ caCertificate?: string;
159
+ }
160
+ /** The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster. */
161
+ export interface KustomizationDefinition {
162
+ /**
163
+ * Name of the Kustomization, matching the key in the Kustomizations object map.
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly name?: string;
167
+ /** The path in the source reference to reconcile on the cluster. */
168
+ path?: string;
169
+ /** Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies have completed their reconciliation. */
170
+ dependsOn?: string[];
171
+ /** The maximum time to attempt to reconcile the Kustomization on the cluster. */
172
+ timeoutInSeconds?: number;
173
+ /** The interval at which to re-reconcile the Kustomization on the cluster. */
174
+ syncIntervalInSeconds?: number;
175
+ /** The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation. */
176
+ retryIntervalInSeconds?: number;
177
+ /** Enable/disable garbage collections of Kubernetes objects created by this Kustomization. */
178
+ prune?: boolean;
179
+ /** Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change. */
180
+ force?: boolean;
181
+ /** Enable/disable health check for all Kubernetes objects created by this Kustomization. */
182
+ wait?: boolean;
183
+ /** Used for variable substitution for this Kustomization after kustomize build. */
184
+ postBuild?: PostBuildDefinition;
185
+ }
186
+ /** The postBuild definitions defining variable substitutions for this Kustomization after kustomize build. */
187
+ export interface PostBuildDefinition {
188
+ /** Key/value pairs holding the variables to be substituted in this Kustomization. */
189
+ substitute?: {
190
+ [propertyName: string]: string;
191
+ };
192
+ /** Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization. */
193
+ substituteFrom?: (SubstituteFromDefinition | null)[];
194
+ }
195
+ /** Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization. */
196
+ export interface SubstituteFromDefinition {
197
+ /** Define whether it is ConfigMap or Secret that holds the variables to be used in substitution. */
198
+ kind?: string;
199
+ /** Name of the ConfigMap/Secret that holds the variables to be used in substitution. */
200
+ name?: string;
201
+ /** Set to True to proceed without ConfigMap/Secret, if it is not present. */
202
+ optional?: boolean;
203
+ }
204
+ /** Statuses of objects deployed by the user-specified kustomizations from the git repository. */
205
+ export interface ObjectStatusDefinition {
206
+ /** Name of the applied object */
207
+ name?: string;
208
+ /** Namespace of the applied object */
209
+ namespace?: string;
210
+ /** Kind of the applied object */
211
+ kind?: string;
212
+ /** Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster. */
213
+ complianceState?: FluxComplianceState;
214
+ /** Object reference to the Kustomization that applied this object */
215
+ appliedBy?: ObjectReferenceDefinition;
216
+ /** List of Kubernetes object status conditions present on the cluster */
217
+ statusConditions?: ObjectStatusConditionDefinition[];
218
+ /** Additional properties that are provided from objects of the HelmRelease kind */
219
+ helmReleaseProperties?: HelmReleasePropertiesDefinition;
220
+ }
221
+ /** Object reference to a Kubernetes object on a cluster */
222
+ export interface ObjectReferenceDefinition {
223
+ /** Name of the object */
224
+ name?: string;
225
+ /** Namespace of the object */
226
+ namespace?: string;
227
+ }
228
+ /** Status condition of Kubernetes object */
229
+ export interface ObjectStatusConditionDefinition {
230
+ /** Last time this status condition has changed */
231
+ lastTransitionTime?: Date;
232
+ /** A more verbose description of the object status condition */
233
+ message?: string;
234
+ /** Reason for the specified status condition type status */
235
+ reason?: string;
236
+ /** Status of the Kubernetes object condition type */
237
+ status?: string;
238
+ /** Object status condition type for this object */
239
+ type?: string;
240
+ }
241
+ /** Properties for HelmRelease objects */
242
+ export interface HelmReleasePropertiesDefinition {
243
+ /** The revision number of the last released object change */
244
+ lastRevisionApplied?: number;
245
+ /** The reference to the HelmChart object used as the source to this HelmRelease */
246
+ helmChartRef?: ObjectReferenceDefinition;
247
+ /** Total number of times that the HelmRelease failed to install or upgrade */
248
+ failureCount?: number;
249
+ /** Number of times that the HelmRelease failed to install */
250
+ installFailureCount?: number;
251
+ /** Number of times that the HelmRelease failed to upgrade */
252
+ upgradeFailureCount?: number;
253
+ }
254
+ /** Metadata pertaining to creation and last modification of the resource. */
255
+ export interface SystemData {
256
+ /** The identity that created the resource. */
257
+ createdBy?: string;
258
+ /** The type of identity that created the resource. */
259
+ createdByType?: CreatedByType;
260
+ /** The timestamp of resource creation (UTC). */
261
+ createdAt?: Date;
262
+ /** The identity that last modified the resource. */
263
+ lastModifiedBy?: string;
264
+ /** The type of identity that last modified the resource. */
265
+ lastModifiedByType?: CreatedByType;
266
+ /** The timestamp of resource last modification (UTC) */
267
+ lastModifiedAt?: Date;
268
+ }
269
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
270
+ export interface Resource {
271
+ /**
272
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
273
+ * NOTE: This property will not be serialized. It can only be populated by the server.
274
+ */
275
+ readonly id?: string;
276
+ /**
277
+ * The name of the resource
278
+ * NOTE: This property will not be serialized. It can only be populated by the server.
279
+ */
280
+ readonly name?: string;
281
+ /**
282
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
283
+ * NOTE: This property will not be serialized. It can only be populated by the server.
284
+ */
285
+ readonly type?: string;
286
+ }
287
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
288
+ export interface ErrorResponse {
289
+ /** The error object. */
290
+ error?: ErrorDetail;
291
+ }
292
+ /** The error detail. */
293
+ export interface ErrorDetail {
294
+ /**
295
+ * The error code.
296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
+ */
298
+ readonly code?: string;
299
+ /**
300
+ * The error message.
301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
302
+ */
303
+ readonly message?: string;
304
+ /**
305
+ * The error target.
306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
+ */
308
+ readonly target?: string;
309
+ /**
310
+ * The error details.
311
+ * NOTE: This property will not be serialized. It can only be populated by the server.
312
+ */
313
+ readonly details?: ErrorDetail[];
314
+ /**
315
+ * The error additional info.
316
+ * NOTE: This property will not be serialized. It can only be populated by the server.
317
+ */
318
+ readonly additionalInfo?: ErrorAdditionalInfo[];
319
+ }
320
+ /** The resource management error additional info. */
321
+ export interface ErrorAdditionalInfo {
322
+ /**
323
+ * The additional info type.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly type?: string;
327
+ /**
328
+ * The additional info.
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly info?: Record<string, unknown>;
332
+ }
333
+ /** The Flux Configuration Patch Request object. */
334
+ export interface FluxConfigurationPatch {
335
+ /** Source Kind to pull the configuration data from. */
336
+ sourceKind?: SourceKindType;
337
+ /** Whether this configuration should suspend its reconciliation of its kustomizations and sources. */
338
+ suspend?: boolean;
339
+ /** Parameters to reconcile to the GitRepository source kind type. */
340
+ gitRepository?: GitRepositoryPatchDefinition;
341
+ /** Parameters to reconcile to the Bucket source kind type. */
342
+ bucket?: BucketPatchDefinition;
343
+ /** Parameters to reconcile to the AzureBlob source kind type. */
344
+ azureBlob?: AzureBlobPatchDefinition;
345
+ /** Parameters to reconcile to the OCIRepository source kind type. */
346
+ ociRepository?: OCIRepositoryPatchDefinition;
347
+ /** Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. */
348
+ kustomizations?: {
349
+ [propertyName: string]: KustomizationPatchDefinition | null;
350
+ };
351
+ /** Key-value pairs of protected configuration settings for the configuration */
352
+ configurationProtectedSettings?: {
353
+ [propertyName: string]: string;
354
+ };
355
+ }
356
+ /** Parameters to reconcile to the GitRepository source kind type. */
357
+ export interface GitRepositoryPatchDefinition {
358
+ /** The URL to sync for the flux configuration git repository. */
359
+ url?: string;
360
+ /** The maximum time to attempt to reconcile the cluster git repository source with the remote. */
361
+ timeoutInSeconds?: number;
362
+ /** The interval at which to re-reconcile the cluster git repository source with the remote. */
363
+ syncIntervalInSeconds?: number;
364
+ /** The source reference for the GitRepository object. */
365
+ repositoryRef?: RepositoryRefDefinition;
366
+ /** Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH */
367
+ sshKnownHosts?: string;
368
+ /** Plaintext HTTPS username used to access private git repositories over HTTPS */
369
+ httpsUser?: string;
370
+ /** Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS */
371
+ httpsCACert?: string;
372
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
373
+ localAuthRef?: string;
374
+ /** Name of the provider used for authentication. */
375
+ provider?: ProviderType;
376
+ }
377
+ /** Parameters to reconcile to the Bucket source kind type. */
378
+ export interface BucketPatchDefinition {
379
+ /** The URL to sync for the flux configuration S3 bucket. */
380
+ url?: string;
381
+ /** The bucket name to sync from the url endpoint for the flux configuration. */
382
+ bucketName?: string;
383
+ /** Specify whether to use insecure communication when puling data from the S3 bucket. */
384
+ insecure?: boolean;
385
+ /** The maximum time to attempt to reconcile the cluster bucket source with the remote. */
386
+ timeoutInSeconds?: number;
387
+ /** The interval at which to re-reconcile the cluster bucket source with the remote. */
388
+ syncIntervalInSeconds?: number;
389
+ /** Plaintext access key used to securely access the S3 bucket */
390
+ accessKey?: string;
391
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
392
+ localAuthRef?: string;
393
+ }
394
+ /** Parameters to reconcile to the AzureBlob source kind type. */
395
+ export interface AzureBlobPatchDefinition {
396
+ /** The URL to sync for the flux configuration Azure Blob storage account. */
397
+ url?: string;
398
+ /** The Azure Blob container name to sync from the url endpoint for the flux configuration. */
399
+ containerName?: string;
400
+ /** The maximum time to attempt to reconcile the cluster Azure Blob source with the remote. */
401
+ timeoutInSeconds?: number;
402
+ /** The interval at which to re-reconcile the cluster Azure Blob source with the remote. */
403
+ syncIntervalInSeconds?: number;
404
+ /** Parameters to authenticate using Service Principal. */
405
+ servicePrincipal?: ServicePrincipalPatchDefinition;
406
+ /** The account key (shared key) to access the storage account */
407
+ accountKey?: string;
408
+ /** The Shared Access token to access the storage container */
409
+ sasToken?: string;
410
+ /** Parameters to authenticate using a Managed Identity. */
411
+ managedIdentity?: ManagedIdentityPatchDefinition;
412
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
413
+ localAuthRef?: string;
414
+ }
415
+ /** Parameters to authenticate using Service Principal. */
416
+ export interface ServicePrincipalPatchDefinition {
417
+ /** The client Id for authenticating a Service Principal. */
418
+ clientId?: string;
419
+ /** The tenant Id for authenticating a Service Principal */
420
+ tenantId?: string;
421
+ /** The client secret for authenticating a Service Principal */
422
+ clientSecret?: string;
423
+ /** Base64-encoded certificate used to authenticate a Service Principal */
424
+ clientCertificate?: string;
425
+ /** The password for the certificate used to authenticate a Service Principal */
426
+ clientCertificatePassword?: string;
427
+ /** Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the Client Certificate */
428
+ clientCertificateSendChain?: boolean;
429
+ }
430
+ /** Parameters to authenticate using a Managed Identity. */
431
+ export interface ManagedIdentityPatchDefinition {
432
+ /** The client Id for authenticating a Managed Identity. */
433
+ clientId?: string;
434
+ }
435
+ /** Parameters to reconcile to the OCIRepository source kind type. */
436
+ export interface OCIRepositoryPatchDefinition {
437
+ /** The URL to sync for the flux configuration OCI repository. */
438
+ url?: string;
439
+ /** The maximum time to attempt to reconcile the cluster OCI repository source with the remote. */
440
+ timeoutInSeconds?: number;
441
+ /** The interval at which to re-reconcile the cluster OCI repository source with the remote. */
442
+ syncIntervalInSeconds?: number;
443
+ /** The source reference for the OCIRepository object. */
444
+ repositoryRef?: OCIRepositoryRefPatchDefinition;
445
+ /** The layer to be pulled from the OCI artifact. */
446
+ layerSelector?: LayerSelectorPatchDefinition;
447
+ /** Verification of the authenticity of an OCI Artifact. */
448
+ verify?: VerifyPatchDefinition;
449
+ /** Specify whether to allow connecting to a non-TLS HTTP container registry. */
450
+ insecure?: boolean;
451
+ /** Specifies whether to use Workload Identity to authenticate with the OCI repository. */
452
+ useWorkloadIdentity?: boolean;
453
+ /** The service account name to authenticate with the OCI repository. */
454
+ serviceAccountName?: string;
455
+ /** Parameters to authenticate using TLS config for OCI repository. */
456
+ tlsConfig?: TlsConfigPatchDefinition;
457
+ /** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
458
+ localAuthRef?: string;
459
+ }
460
+ /** The source reference for the OCIRepository object. */
461
+ export interface OCIRepositoryRefPatchDefinition {
462
+ /** The OCI repository image tag name to pull. This defaults to 'latest'. */
463
+ tag?: string;
464
+ /** The semver range used to match against OCI repository tags. This takes precedence over tag. */
465
+ semver?: string;
466
+ /** The image digest to pull from OCI repository, the value should be in the format ‘sha256:’. This takes precedence over semver. */
467
+ digest?: string;
468
+ }
469
+ /** Parameters to specify which layer to pull from the OCI artifact. By default, the first layer in the artifact is pulled. */
470
+ export interface LayerSelectorPatchDefinition {
471
+ /** The first layer matching the specified media type will be used. */
472
+ mediaType?: string;
473
+ /** The operation to be performed on the selected layer. The default value is 'extract', but it can be set to 'copy'. */
474
+ operation?: OperationType;
475
+ }
476
+ /** Parameters to verify the authenticity of an OCI Artifact. */
477
+ export interface VerifyPatchDefinition {
478
+ /** Verification provider name. */
479
+ provider?: string;
480
+ /** An object containing trusted public keys of trusted authors. */
481
+ verificationConfig?: {
482
+ [propertyName: string]: string;
483
+ };
484
+ /** Array defining the criteria for matching the OIDC identity while verifying an OCI artifact. */
485
+ matchOidcIdentity?: (MatchOidcIdentityPatchDefinition | null)[];
486
+ }
487
+ /** MatchOIDCIdentity defines the criteria for matching the identity while verifying an OCI artifact. */
488
+ export interface MatchOidcIdentityPatchDefinition {
489
+ /** The regex pattern to match against to verify the OIDC issuer. */
490
+ issuer?: string;
491
+ /** The regex pattern to match against to verify the identity subject. */
492
+ subject?: string;
493
+ }
494
+ /** Parameters to authenticate using TLS config for OCI repository. */
495
+ export interface TlsConfigPatchDefinition {
496
+ /** Base64-encoded certificate used to authenticate a client with the OCI repository. */
497
+ clientCertificate?: string;
498
+ /** Base64-encoded private key used to authenticate a client with the OCI repository. */
499
+ privateKey?: string;
500
+ /** Base64-encoded CA certificate used to verify the server. */
501
+ caCertificate?: string;
502
+ }
503
+ /** The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster. */
504
+ export interface KustomizationPatchDefinition {
505
+ /** The path in the source reference to reconcile on the cluster. */
506
+ path?: string;
507
+ /** Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies have completed their reconciliation. */
508
+ dependsOn?: string[];
509
+ /** The maximum time to attempt to reconcile the Kustomization on the cluster. */
510
+ timeoutInSeconds?: number;
511
+ /** The interval at which to re-reconcile the Kustomization on the cluster. */
512
+ syncIntervalInSeconds?: number;
513
+ /** The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation. */
514
+ retryIntervalInSeconds?: number;
515
+ /** Enable/disable garbage collections of Kubernetes objects created by this Kustomization. */
516
+ prune?: boolean;
517
+ /** Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change. */
518
+ force?: boolean;
519
+ /** Enable/disable health check for all Kubernetes objects created by this Kustomization. */
520
+ wait?: boolean;
521
+ /** Used for variable substitution for this Kustomization after kustomize build. */
522
+ postBuild?: PostBuildPatchDefinition;
523
+ }
524
+ /** The postBuild definitions defining variable substitutions for this Kustomization after kustomize build. */
525
+ export interface PostBuildPatchDefinition {
526
+ /** Key/value pairs holding the variables to be substituted in this Kustomization. */
527
+ substitute?: {
528
+ [propertyName: string]: string;
529
+ };
530
+ /** Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization. */
531
+ substituteFrom?: (SubstituteFromPatchDefinition | null)[];
532
+ }
533
+ /** Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization. */
534
+ export interface SubstituteFromPatchDefinition {
535
+ /** Define whether it is ConfigMap or Secret that holds the variables to be used in substitution. */
536
+ kind?: string;
537
+ /** Name of the ConfigMap/Secret that holds the variables to be used in substitution. */
538
+ name?: string;
539
+ /** Set to True to proceed without ConfigMap/Secret, if it is not present. */
540
+ optional?: boolean;
541
+ }
542
+ /** Result of the request to list Flux Configurations. It contains a list of FluxConfiguration objects and a URL link to get the next set of results. */
543
+ export interface FluxConfigurationsList {
544
+ /**
545
+ * List of Flux Configurations within a Kubernetes cluster.
546
+ * NOTE: This property will not be serialized. It can only be populated by the server.
547
+ */
548
+ readonly value?: FluxConfiguration[];
549
+ /**
550
+ * URL to get the next set of configuration objects, if any.
551
+ * NOTE: This property will not be serialized. It can only be populated by the server.
552
+ */
553
+ readonly nextLink?: string;
554
+ }
555
+ /** The current status of an async operation. */
556
+ export interface OperationStatusResult {
557
+ /** Fully qualified ID for the async operation. */
558
+ id?: string;
559
+ /** Name of the async operation. */
560
+ name?: string;
561
+ /** Operation status. */
562
+ status: string;
563
+ /** Additional information, if available. */
564
+ properties?: {
565
+ [propertyName: string]: string;
566
+ };
567
+ /**
568
+ * If present, details of the operation error.
569
+ * NOTE: This property will not be serialized. It can only be populated by the server.
570
+ */
571
+ readonly error?: ErrorDetail;
572
+ }
573
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
574
+ export interface ProxyResource extends Resource {
575
+ }
576
+ /** The Flux Configuration object returned in Get & Put response. */
577
+ export interface FluxConfiguration extends ProxyResource {
578
+ /**
579
+ * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
580
+ * NOTE: This property will not be serialized. It can only be populated by the server.
581
+ */
582
+ readonly systemData?: SystemData;
583
+ /** Scope at which the operator will be installed. */
584
+ scope?: ScopeType;
585
+ /** The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only. */
586
+ namespace?: string;
587
+ /** Source Kind to pull the configuration data from. */
588
+ sourceKind?: SourceKindType;
589
+ /** Whether this configuration should suspend its reconciliation of its kustomizations and sources. */
590
+ suspend?: boolean;
591
+ /** Parameters to reconcile to the GitRepository source kind type. */
592
+ gitRepository?: GitRepositoryDefinition;
593
+ /** Parameters to reconcile to the Bucket source kind type. */
594
+ bucket?: BucketDefinition;
595
+ /** Parameters to reconcile to the AzureBlob source kind type. */
596
+ azureBlob?: AzureBlobDefinition;
597
+ /** Parameters to reconcile to the OCIRepository source kind type. */
598
+ ociRepository?: OCIRepositoryDefinition;
599
+ /** Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. */
600
+ kustomizations?: {
601
+ [propertyName: string]: KustomizationDefinition | null;
602
+ };
603
+ /** Key-value pairs of protected configuration settings for the configuration */
604
+ configurationProtectedSettings?: {
605
+ [propertyName: string]: string;
606
+ };
607
+ /**
608
+ * Statuses of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects provisioned by the fluxConfiguration.
609
+ * NOTE: This property will not be serialized. It can only be populated by the server.
610
+ */
611
+ readonly statuses?: (ObjectStatusDefinition | null)[];
612
+ /**
613
+ * Public Key associated with this fluxConfiguration (either generated within the cluster or provided by the user).
614
+ * NOTE: This property will not be serialized. It can only be populated by the server.
615
+ */
616
+ readonly repositoryPublicKey?: string;
617
+ /**
618
+ * Branch and/or SHA of the source commit synced with the cluster.
619
+ * NOTE: This property will not be serialized. It can only be populated by the server.
620
+ */
621
+ readonly sourceSyncedCommitId?: string;
622
+ /**
623
+ * Datetime the fluxConfiguration synced its source on the cluster.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly sourceUpdatedAt?: Date;
627
+ /**
628
+ * Datetime the fluxConfiguration synced its status on the cluster with Azure.
629
+ * NOTE: This property will not be serialized. It can only be populated by the server.
630
+ */
631
+ readonly statusUpdatedAt?: Date;
632
+ /** Whether flux configuration deployment should wait for cluster to reconcile the kustomizations. */
633
+ waitForReconciliation?: boolean;
634
+ /** Maximum duration to wait for flux configuration reconciliation. E.g PT1H, PT5M, P1D */
635
+ reconciliationWaitDuration?: string;
636
+ /**
637
+ * Combined status of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects.
638
+ * NOTE: This property will not be serialized. It can only be populated by the server.
639
+ */
640
+ readonly complianceState?: FluxComplianceState;
641
+ /**
642
+ * Status of the creation of the fluxConfiguration.
643
+ * NOTE: This property will not be serialized. It can only be populated by the server.
644
+ */
645
+ readonly provisioningState?: ProvisioningState;
646
+ /**
647
+ * Error message returned to the user in the case of provisioning failure.
648
+ * NOTE: This property will not be serialized. It can only be populated by the server.
649
+ */
650
+ readonly errorMessage?: string;
651
+ }
652
+ /** Known values of {@link ScopeType} that the service accepts. */
653
+ export declare enum KnownScopeType {
654
+ /** Cluster */
655
+ Cluster = "cluster",
656
+ /** Namespace */
657
+ Namespace = "namespace"
658
+ }
659
+ /**
660
+ * Defines values for ScopeType. \
661
+ * {@link KnownScopeType} can be used interchangeably with ScopeType,
662
+ * this enum contains the known values that the service supports.
663
+ * ### Known values supported by the service
664
+ * **cluster** \
665
+ * **namespace**
666
+ */
667
+ export type ScopeType = string;
668
+ /** Known values of {@link SourceKindType} that the service accepts. */
669
+ export declare enum KnownSourceKindType {
670
+ /** GitRepository */
671
+ GitRepository = "GitRepository",
672
+ /** Bucket */
673
+ Bucket = "Bucket",
674
+ /** AzureBlob */
675
+ AzureBlob = "AzureBlob",
676
+ /** OCIRepository */
677
+ OCIRepository = "OCIRepository"
678
+ }
679
+ /**
680
+ * Defines values for SourceKindType. \
681
+ * {@link KnownSourceKindType} can be used interchangeably with SourceKindType,
682
+ * this enum contains the known values that the service supports.
683
+ * ### Known values supported by the service
684
+ * **GitRepository** \
685
+ * **Bucket** \
686
+ * **AzureBlob** \
687
+ * **OCIRepository**
688
+ */
689
+ export type SourceKindType = string;
690
+ /** Known values of {@link ProviderType} that the service accepts. */
691
+ export declare enum KnownProviderType {
692
+ /** Azure provider can be used to authenticate to Azure DevOps repositories using Managed Identity. */
693
+ Azure = "Azure",
694
+ /** GitHub provider can be used to authenticate */
695
+ GitHub = "GitHub",
696
+ /** Generic is the default provider that indicates secret-based authentication mechanism. */
697
+ Generic = "Generic"
698
+ }
699
+ /**
700
+ * Defines values for ProviderType. \
701
+ * {@link KnownProviderType} can be used interchangeably with ProviderType,
702
+ * this enum contains the known values that the service supports.
703
+ * ### Known values supported by the service
704
+ * **Azure**: Azure provider can be used to authenticate to Azure DevOps repositories using Managed Identity. \
705
+ * **GitHub**: GitHub provider can be used to authenticate \
706
+ * **Generic**: Generic is the default provider that indicates secret-based authentication mechanism.
707
+ */
708
+ export type ProviderType = string;
709
+ /** Known values of {@link OperationType} that the service accepts. */
710
+ export declare enum KnownOperationType {
711
+ /** Extract */
712
+ Extract = "extract",
713
+ /** Copy */
714
+ Copy = "copy"
715
+ }
716
+ /**
717
+ * Defines values for OperationType. \
718
+ * {@link KnownOperationType} can be used interchangeably with OperationType,
719
+ * this enum contains the known values that the service supports.
720
+ * ### Known values supported by the service
721
+ * **extract** \
722
+ * **copy**
723
+ */
724
+ export type OperationType = string;
725
+ /** Known values of {@link FluxComplianceState} that the service accepts. */
726
+ export declare enum KnownFluxComplianceState {
727
+ /** Compliant */
728
+ Compliant = "Compliant",
729
+ /** NonCompliant */
730
+ NonCompliant = "Non-Compliant",
731
+ /** Pending */
732
+ Pending = "Pending",
733
+ /** Suspended */
734
+ Suspended = "Suspended",
735
+ /** Unknown */
736
+ Unknown = "Unknown"
737
+ }
738
+ /**
739
+ * Defines values for FluxComplianceState. \
740
+ * {@link KnownFluxComplianceState} can be used interchangeably with FluxComplianceState,
741
+ * this enum contains the known values that the service supports.
742
+ * ### Known values supported by the service
743
+ * **Compliant** \
744
+ * **Non-Compliant** \
745
+ * **Pending** \
746
+ * **Suspended** \
747
+ * **Unknown**
748
+ */
749
+ export type FluxComplianceState = string;
750
+ /** Known values of {@link ProvisioningState} that the service accepts. */
751
+ export declare enum KnownProvisioningState {
752
+ /** Succeeded */
753
+ Succeeded = "Succeeded",
754
+ /** Failed */
755
+ Failed = "Failed",
756
+ /** Canceled */
757
+ Canceled = "Canceled",
758
+ /** Creating */
759
+ Creating = "Creating",
760
+ /** Updating */
761
+ Updating = "Updating",
762
+ /** Deleting */
763
+ Deleting = "Deleting"
764
+ }
765
+ /**
766
+ * Defines values for ProvisioningState. \
767
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
768
+ * this enum contains the known values that the service supports.
769
+ * ### Known values supported by the service
770
+ * **Succeeded** \
771
+ * **Failed** \
772
+ * **Canceled** \
773
+ * **Creating** \
774
+ * **Updating** \
775
+ * **Deleting**
776
+ */
777
+ export type ProvisioningState = string;
778
+ /** Known values of {@link CreatedByType} that the service accepts. */
779
+ export declare enum KnownCreatedByType {
780
+ /** User */
781
+ User = "User",
782
+ /** Application */
783
+ Application = "Application",
784
+ /** ManagedIdentity */
785
+ ManagedIdentity = "ManagedIdentity",
786
+ /** Key */
787
+ Key = "Key"
788
+ }
789
+ /**
790
+ * Defines values for CreatedByType. \
791
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
792
+ * this enum contains the known values that the service supports.
793
+ * ### Known values supported by the service
794
+ * **User** \
795
+ * **Application** \
796
+ * **ManagedIdentity** \
797
+ * **Key**
798
+ */
799
+ export type CreatedByType = string;
800
+ /** Known values of {@link KustomizationValidationType} that the service accepts. */
801
+ export declare enum KnownKustomizationValidationType {
802
+ /** None */
803
+ None = "none",
804
+ /** Client */
805
+ Client = "client",
806
+ /** Server */
807
+ Server = "server"
808
+ }
809
+ /**
810
+ * Defines values for KustomizationValidationType. \
811
+ * {@link KnownKustomizationValidationType} can be used interchangeably with KustomizationValidationType,
812
+ * this enum contains the known values that the service supports.
813
+ * ### Known values supported by the service
814
+ * **none** \
815
+ * **client** \
816
+ * **server**
817
+ */
818
+ export type KustomizationValidationType = string;
819
+ /** Optional parameters. */
820
+ export interface FluxConfigurationsGetOptionalParams extends coreClient.OperationOptions {
821
+ }
822
+ /** Contains response data for the get operation. */
823
+ export type FluxConfigurationsGetResponse = FluxConfiguration;
824
+ /** Optional parameters. */
825
+ export interface FluxConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
826
+ /** Delay to wait until next poll, in milliseconds. */
827
+ updateIntervalInMs?: number;
828
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
829
+ resumeFrom?: string;
830
+ }
831
+ /** Contains response data for the createOrUpdate operation. */
832
+ export type FluxConfigurationsCreateOrUpdateResponse = FluxConfiguration;
833
+ /** Optional parameters. */
834
+ export interface FluxConfigurationsUpdateOptionalParams extends coreClient.OperationOptions {
835
+ /** Delay to wait until next poll, in milliseconds. */
836
+ updateIntervalInMs?: number;
837
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
838
+ resumeFrom?: string;
839
+ }
840
+ /** Contains response data for the update operation. */
841
+ export type FluxConfigurationsUpdateResponse = FluxConfiguration;
842
+ /** Optional parameters. */
843
+ export interface FluxConfigurationsDeleteOptionalParams extends coreClient.OperationOptions {
844
+ /** Delete the extension resource in Azure - not the normal asynchronous delete. */
845
+ forceDelete?: boolean;
846
+ /** Delay to wait until next poll, in milliseconds. */
847
+ updateIntervalInMs?: number;
848
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
849
+ resumeFrom?: string;
850
+ }
851
+ /** Optional parameters. */
852
+ export interface FluxConfigurationsListOptionalParams extends coreClient.OperationOptions {
853
+ }
854
+ /** Contains response data for the list operation. */
855
+ export type FluxConfigurationsListResponse = FluxConfigurationsList;
856
+ /** Optional parameters. */
857
+ export interface FluxConfigurationsListNextOptionalParams extends coreClient.OperationOptions {
858
+ }
859
+ /** Contains response data for the listNext operation. */
860
+ export type FluxConfigurationsListNextResponse = FluxConfigurationsList;
861
+ /** Optional parameters. */
862
+ export interface FluxConfigOperationStatusGetOptionalParams extends coreClient.OperationOptions {
863
+ }
864
+ /** Contains response data for the get operation. */
865
+ export type FluxConfigOperationStatusGetResponse = OperationStatusResult;
866
+ /** Optional parameters. */
867
+ export interface FluxConfigurationClientOptionalParams extends coreClient.ServiceClientOptions {
868
+ /** server parameter */
869
+ $host?: string;
870
+ /** Api Version */
871
+ apiVersion?: string;
872
+ /** Overrides client endpoint. */
873
+ endpoint?: string;
874
+ }
875
+ //# sourceMappingURL=index.d.ts.map