Class FluxConfigurationInner


  • public final class FluxConfigurationInner
    extends com.azure.core.management.ProxyResource
    The Flux Configuration object returned in Get & Put response.
    • Constructor Detail

      • FluxConfigurationInner

        public FluxConfigurationInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: 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.
        Returns:
        the systemData value.
      • scope

        public ScopeType scope()
        Get the scope property: Scope at which the operator will be installed.
        Returns:
        the scope value.
      • withScope

        public FluxConfigurationInner withScope​(ScopeType scope)
        Set the scope property: Scope at which the operator will be installed.
        Parameters:
        scope - the scope value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • namespace

        public String namespace()
        Get the namespace property: The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
        Returns:
        the namespace value.
      • withNamespace

        public FluxConfigurationInner withNamespace​(String namespace)
        Set the namespace property: The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
        Parameters:
        namespace - the namespace value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • sourceKind

        public SourceKindType sourceKind()
        Get the sourceKind property: Source Kind to pull the configuration data from.
        Returns:
        the sourceKind value.
      • withSourceKind

        public FluxConfigurationInner withSourceKind​(SourceKindType sourceKind)
        Set the sourceKind property: Source Kind to pull the configuration data from.
        Parameters:
        sourceKind - the sourceKind value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • suspend

        public Boolean suspend()
        Get the suspend property: Whether this configuration should suspend its reconciliation of its kustomizations and sources.
        Returns:
        the suspend value.
      • withSuspend

        public FluxConfigurationInner withSuspend​(Boolean suspend)
        Set the suspend property: Whether this configuration should suspend its reconciliation of its kustomizations and sources.
        Parameters:
        suspend - the suspend value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • gitRepository

        public GitRepositoryDefinition gitRepository()
        Get the gitRepository property: Parameters to reconcile to the GitRepository source kind type.
        Returns:
        the gitRepository value.
      • withGitRepository

        public FluxConfigurationInner withGitRepository​(GitRepositoryDefinition gitRepository)
        Set the gitRepository property: Parameters to reconcile to the GitRepository source kind type.
        Parameters:
        gitRepository - the gitRepository value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • bucket

        public BucketDefinition bucket()
        Get the bucket property: Parameters to reconcile to the Bucket source kind type.
        Returns:
        the bucket value.
      • withBucket

        public FluxConfigurationInner withBucket​(BucketDefinition bucket)
        Set the bucket property: Parameters to reconcile to the Bucket source kind type.
        Parameters:
        bucket - the bucket value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • kustomizations

        public Map<String,​KustomizationDefinition> kustomizations()
        Get the kustomizations property: Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.
        Returns:
        the kustomizations value.
      • withKustomizations

        public FluxConfigurationInner withKustomizations​(Map<String,​KustomizationDefinition> kustomizations)
        Set the kustomizations property: Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.
        Parameters:
        kustomizations - the kustomizations value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • configurationProtectedSettings

        public Map<String,​String> configurationProtectedSettings()
        Get the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.
        Returns:
        the configurationProtectedSettings value.
      • withConfigurationProtectedSettings

        public FluxConfigurationInner withConfigurationProtectedSettings​(Map<String,​String> configurationProtectedSettings)
        Set the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.
        Parameters:
        configurationProtectedSettings - the configurationProtectedSettings value to set.
        Returns:
        the FluxConfigurationInner object itself.
      • statuses

        public List<ObjectStatusDefinition> statuses()
        Get the statuses property: Statuses of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects provisioned by the fluxConfiguration.
        Returns:
        the statuses value.
      • repositoryPublicKey

        public String repositoryPublicKey()
        Get the repositoryPublicKey property: Public Key associated with this fluxConfiguration (either generated within the cluster or provided by the user).
        Returns:
        the repositoryPublicKey value.
      • sourceSyncedCommitId

        public String sourceSyncedCommitId()
        Get the sourceSyncedCommitId property: Branch and/or SHA of the source commit synced with the cluster.
        Returns:
        the sourceSyncedCommitId value.
      • sourceUpdatedAt

        public OffsetDateTime sourceUpdatedAt()
        Get the sourceUpdatedAt property: Datetime the fluxConfiguration synced its source on the cluster.
        Returns:
        the sourceUpdatedAt value.
      • statusUpdatedAt

        public OffsetDateTime statusUpdatedAt()
        Get the statusUpdatedAt property: Datetime the fluxConfiguration synced its status on the cluster with Azure.
        Returns:
        the statusUpdatedAt value.
      • complianceState

        public FluxComplianceState complianceState()
        Get the complianceState property: Combined status of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects.
        Returns:
        the complianceState value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Status of the creation of the fluxConfiguration.
        Returns:
        the provisioningState value.
      • errorMessage

        public String errorMessage()
        Get the errorMessage property: Error message returned to the user in the case of provisioning failure.
        Returns:
        the errorMessage value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.