Class AttachedDatabaseConfigurationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.kusto.fluent.models.AttachedDatabaseConfigurationInner
public final class AttachedDatabaseConfigurationInner
extends com.azure.core.management.ProxyResource
Class representing an attached database configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the attachedDatabaseNames property: The list of databases from the clusterResourceId which are currently attached to the cluster.Get the clusterResourceId property: The resource id of the cluster where the databases you would like to attach reside.Get the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.Get the databaseNameOverride property: Overrides the original database name.Get the databaseNamePrefix property: Adds a prefix to the attached databases name.Get the defaultPrincipalsModificationKind property: The default principals modification kind.location()
Get the location property: Resource location.Get the provisioningState property: The provisioned state of the resource.Get the tableLevelSharingProperties property: Table level sharing specifications.void
validate()
Validates the instance.withClusterResourceId
(String clusterResourceId) Set the clusterResourceId property: The resource id of the cluster where the databases you would like to attach reside.withDatabaseName
(String databaseName) Set the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.withDatabaseNameOverride
(String databaseNameOverride) Set the databaseNameOverride property: Overrides the original database name.withDatabaseNamePrefix
(String databaseNamePrefix) Set the databaseNamePrefix property: Adds a prefix to the attached databases name.withDefaultPrincipalsModificationKind
(DefaultPrincipalsModificationKind defaultPrincipalsModificationKind) Set the defaultPrincipalsModificationKind property: The default principals modification kind.withLocation
(String location) Set the location property: Resource location.withTableLevelSharingProperties
(TableLevelSharingProperties tableLevelSharingProperties) Set the tableLevelSharingProperties property: Table level sharing specifications.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AttachedDatabaseConfigurationInner
public AttachedDatabaseConfigurationInner()
-
-
Method Details
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
provisioningState
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
databaseName
Get the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: The name of the database which you would like to attach, use * if you want to follow all current and future databases.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
clusterResourceId
Get the clusterResourceId property: The resource id of the cluster where the databases you would like to attach reside.- Returns:
- the clusterResourceId value.
-
withClusterResourceId
Set the clusterResourceId property: The resource id of the cluster where the databases you would like to attach reside.- Parameters:
clusterResourceId
- the clusterResourceId value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
attachedDatabaseNames
Get the attachedDatabaseNames property: The list of databases from the clusterResourceId which are currently attached to the cluster.- Returns:
- the attachedDatabaseNames value.
-
defaultPrincipalsModificationKind
Get the defaultPrincipalsModificationKind property: The default principals modification kind.- Returns:
- the defaultPrincipalsModificationKind value.
-
withDefaultPrincipalsModificationKind
public AttachedDatabaseConfigurationInner withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind defaultPrincipalsModificationKind) Set the defaultPrincipalsModificationKind property: The default principals modification kind.- Parameters:
defaultPrincipalsModificationKind
- the defaultPrincipalsModificationKind value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
tableLevelSharingProperties
Get the tableLevelSharingProperties property: Table level sharing specifications.- Returns:
- the tableLevelSharingProperties value.
-
withTableLevelSharingProperties
public AttachedDatabaseConfigurationInner withTableLevelSharingProperties(TableLevelSharingProperties tableLevelSharingProperties) Set the tableLevelSharingProperties property: Table level sharing specifications.- Parameters:
tableLevelSharingProperties
- the tableLevelSharingProperties value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
databaseNameOverride
Get the databaseNameOverride property: Overrides the original database name. Relevant only when attaching to a specific database.- Returns:
- the databaseNameOverride value.
-
withDatabaseNameOverride
Set the databaseNameOverride property: Overrides the original database name. Relevant only when attaching to a specific database.- Parameters:
databaseNameOverride
- the databaseNameOverride value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
databaseNamePrefix
Get the databaseNamePrefix property: Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster.- Returns:
- the databaseNamePrefix value.
-
withDatabaseNamePrefix
Set the databaseNamePrefix property: Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster.- Parameters:
databaseNamePrefix
- the databaseNamePrefix value to set.- Returns:
- the AttachedDatabaseConfigurationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-