Class DataControllerProperties
java.lang.Object
com.azure.resourcemanager.azurearcdata.models.DataControllerProperties
The data controller properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DataControllerProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the basicLoginInformation property: Username and password for basic login authentication.Get the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.Get the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.Get the infrastructure property: The infrastructure the data controller is running on.k8SRaw()
Get the k8SRaw property: The raw kubernetes information.Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster.Get the logAnalyticsWorkspaceConfig property: Log analytics workspace id and primary key.Get the onPremiseProperty property: Properties from the Kubernetes data controller.Get the provisioningState property: The provisioningState property.Get the uploadServicePrincipal property: Service principal for uploading billing, metrics and logs.Get the uploadWatermark property: Properties on upload watermark.void
validate()
Validates the instance.withBasicLoginInformation
(BasicLoginInformation basicLoginInformation) Set the basicLoginInformation property: Username and password for basic login authentication.withClusterId
(String clusterId) Set the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.withExtensionId
(String extensionId) Set the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.withInfrastructure
(Infrastructure infrastructure) Set the infrastructure property: The infrastructure the data controller is running on.withK8SRaw
(Object k8SRaw) Set the k8SRaw property: The raw kubernetes information.withLastUploadedDate
(OffsetDateTime lastUploadedDate) Set the lastUploadedDate property: Last uploaded date from Kubernetes cluster.withLogAnalyticsWorkspaceConfig
(LogAnalyticsWorkspaceConfig logAnalyticsWorkspaceConfig) Set the logAnalyticsWorkspaceConfig property: Log analytics workspace id and primary key.withOnPremiseProperty
(OnPremiseProperty onPremiseProperty) Set the onPremiseProperty property: Properties from the Kubernetes data controller.withUploadServicePrincipal
(UploadServicePrincipal uploadServicePrincipal) Set the uploadServicePrincipal property: Service principal for uploading billing, metrics and logs.withUploadWatermark
(UploadWatermark uploadWatermark) Set the uploadWatermark property: Properties on upload watermark.
-
Constructor Details
-
DataControllerProperties
public DataControllerProperties()Creates an instance of DataControllerProperties class.
-
-
Method Details
-
infrastructure
Get the infrastructure property: The infrastructure the data controller is running on.- Returns:
- the infrastructure value.
-
withInfrastructure
Set the infrastructure property: The infrastructure the data controller is running on.- Parameters:
infrastructure
- the infrastructure value to set.- Returns:
- the DataControllerProperties object itself.
-
onPremiseProperty
Get the onPremiseProperty property: Properties from the Kubernetes data controller.- Returns:
- the onPremiseProperty value.
-
withOnPremiseProperty
Set the onPremiseProperty property: Properties from the Kubernetes data controller.- Parameters:
onPremiseProperty
- the onPremiseProperty value to set.- Returns:
- the DataControllerProperties object itself.
-
k8SRaw
Get the k8SRaw property: The raw kubernetes information.- Returns:
- the k8SRaw value.
-
withK8SRaw
Set the k8SRaw property: The raw kubernetes information.- Parameters:
k8SRaw
- the k8SRaw value to set.- Returns:
- the DataControllerProperties object itself.
-
uploadWatermark
Get the uploadWatermark property: Properties on upload watermark. Mostly timestamp for each upload data type.- Returns:
- the uploadWatermark value.
-
withUploadWatermark
Set the uploadWatermark property: Properties on upload watermark. Mostly timestamp for each upload data type.- Parameters:
uploadWatermark
- the uploadWatermark value to set.- Returns:
- the DataControllerProperties object itself.
-
lastUploadedDate
Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.- Returns:
- the lastUploadedDate value.
-
withLastUploadedDate
Set the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.- Parameters:
lastUploadedDate
- the lastUploadedDate value to set.- Returns:
- the DataControllerProperties object itself.
-
basicLoginInformation
Get the basicLoginInformation property: Username and password for basic login authentication.- Returns:
- the basicLoginInformation value.
-
withBasicLoginInformation
public DataControllerProperties withBasicLoginInformation(BasicLoginInformation basicLoginInformation) Set the basicLoginInformation property: Username and password for basic login authentication.- Parameters:
basicLoginInformation
- the basicLoginInformation value to set.- Returns:
- the DataControllerProperties object itself.
-
logAnalyticsWorkspaceConfig
Get the logAnalyticsWorkspaceConfig property: Log analytics workspace id and primary key.- Returns:
- the logAnalyticsWorkspaceConfig value.
-
withLogAnalyticsWorkspaceConfig
public DataControllerProperties withLogAnalyticsWorkspaceConfig(LogAnalyticsWorkspaceConfig logAnalyticsWorkspaceConfig) Set the logAnalyticsWorkspaceConfig property: Log analytics workspace id and primary key.- Parameters:
logAnalyticsWorkspaceConfig
- the logAnalyticsWorkspaceConfig value to set.- Returns:
- the DataControllerProperties object itself.
-
uploadServicePrincipal
Get the uploadServicePrincipal property: Service principal for uploading billing, metrics and logs.- Returns:
- the uploadServicePrincipal value.
-
withUploadServicePrincipal
public DataControllerProperties withUploadServicePrincipal(UploadServicePrincipal uploadServicePrincipal) Set the uploadServicePrincipal property: Service principal for uploading billing, metrics and logs.- Parameters:
uploadServicePrincipal
- the uploadServicePrincipal value to set.- Returns:
- the DataControllerProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
clusterId
Get the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.- Returns:
- the clusterId value.
-
withClusterId
Set the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.- Parameters:
clusterId
- the clusterId value to set.- Returns:
- the DataControllerProperties object itself.
-
extensionId
Get the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.- Returns:
- the extensionId value.
-
withExtensionId
Set the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.- Parameters:
extensionId
- the extensionId value to set.- Returns:
- the DataControllerProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-