Class DataCenterResourcePropertiesArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.documentdb.inputs.DataCenterResourcePropertiesArgs.Builder
-
- Enclosing class:
- DataCenterResourcePropertiesArgs
public static final class DataCenterResourcePropertiesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DataCenterResourcePropertiesArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DataCenterResourcePropertiesArgs defaults)
-
-
Method Detail
-
authenticationMethodLdapProperties
public DataCenterResourcePropertiesArgs.Builder authenticationMethodLdapProperties(@Nullable com.pulumi.core.Output<AuthenticationMethodLdapPropertiesArgs> authenticationMethodLdapProperties)
- Parameters:
authenticationMethodLdapProperties
- Ldap authentication method properties. This feature is in preview.- Returns:
- builder
-
authenticationMethodLdapProperties
public DataCenterResourcePropertiesArgs.Builder authenticationMethodLdapProperties(AuthenticationMethodLdapPropertiesArgs authenticationMethodLdapProperties)
- Parameters:
authenticationMethodLdapProperties
- Ldap authentication method properties. This feature is in preview.- Returns:
- builder
-
availabilityZone
public DataCenterResourcePropertiesArgs.Builder availabilityZone(@Nullable com.pulumi.core.Output<java.lang.Boolean> availabilityZone)
- Parameters:
availabilityZone
- If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines.- Returns:
- builder
-
availabilityZone
public DataCenterResourcePropertiesArgs.Builder availabilityZone(java.lang.Boolean availabilityZone)
- Parameters:
availabilityZone
- If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines.- Returns:
- builder
-
backupStorageCustomerKeyUri
public DataCenterResourcePropertiesArgs.Builder backupStorageCustomerKeyUri(@Nullable com.pulumi.core.Output<java.lang.String> backupStorageCustomerKeyUri)
- Parameters:
backupStorageCustomerKeyUri
- Indicates the Key Uri of the customer key to use for encryption of the backup storage account.- Returns:
- builder
-
backupStorageCustomerKeyUri
public DataCenterResourcePropertiesArgs.Builder backupStorageCustomerKeyUri(java.lang.String backupStorageCustomerKeyUri)
- Parameters:
backupStorageCustomerKeyUri
- Indicates the Key Uri of the customer key to use for encryption of the backup storage account.- Returns:
- builder
-
base64EncodedCassandraYamlFragment
public DataCenterResourcePropertiesArgs.Builder base64EncodedCassandraYamlFragment(@Nullable com.pulumi.core.Output<java.lang.String> base64EncodedCassandraYamlFragment)
- Parameters:
base64EncodedCassandraYamlFragment
- A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.- Returns:
- builder
-
base64EncodedCassandraYamlFragment
public DataCenterResourcePropertiesArgs.Builder base64EncodedCassandraYamlFragment(java.lang.String base64EncodedCassandraYamlFragment)
- Parameters:
base64EncodedCassandraYamlFragment
- A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.- Returns:
- builder
-
dataCenterLocation
public DataCenterResourcePropertiesArgs.Builder dataCenterLocation(@Nullable com.pulumi.core.Output<java.lang.String> dataCenterLocation)
- Parameters:
dataCenterLocation
- The region this data center should be created in.- Returns:
- builder
-
dataCenterLocation
public DataCenterResourcePropertiesArgs.Builder dataCenterLocation(java.lang.String dataCenterLocation)
- Parameters:
dataCenterLocation
- The region this data center should be created in.- Returns:
- builder
-
deallocated
public DataCenterResourcePropertiesArgs.Builder deallocated(@Nullable com.pulumi.core.Output<java.lang.Boolean> deallocated)
- Parameters:
deallocated
- Whether the data center has been deallocated.- Returns:
- builder
-
deallocated
public DataCenterResourcePropertiesArgs.Builder deallocated(java.lang.Boolean deallocated)
- Parameters:
deallocated
- Whether the data center has been deallocated.- Returns:
- builder
-
delegatedSubnetId
public DataCenterResourcePropertiesArgs.Builder delegatedSubnetId(@Nullable com.pulumi.core.Output<java.lang.String> delegatedSubnetId)
- Parameters:
delegatedSubnetId
- Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'.- Returns:
- builder
-
delegatedSubnetId
public DataCenterResourcePropertiesArgs.Builder delegatedSubnetId(java.lang.String delegatedSubnetId)
- Parameters:
delegatedSubnetId
- Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'.- Returns:
- builder
-
diskCapacity
public DataCenterResourcePropertiesArgs.Builder diskCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> diskCapacity)
- Parameters:
diskCapacity
- Number of disks attached to each node. Default is 4.- Returns:
- builder
-
diskCapacity
public DataCenterResourcePropertiesArgs.Builder diskCapacity(java.lang.Integer diskCapacity)
- Parameters:
diskCapacity
- Number of disks attached to each node. Default is 4.- Returns:
- builder
-
diskSku
public DataCenterResourcePropertiesArgs.Builder diskSku(@Nullable com.pulumi.core.Output<java.lang.String> diskSku)
- Parameters:
diskSku
- Disk SKU used for data centers. Default value is P30.- Returns:
- builder
-
diskSku
public DataCenterResourcePropertiesArgs.Builder diskSku(java.lang.String diskSku)
- Parameters:
diskSku
- Disk SKU used for data centers. Default value is P30.- Returns:
- builder
-
managedDiskCustomerKeyUri
public DataCenterResourcePropertiesArgs.Builder managedDiskCustomerKeyUri(@Nullable com.pulumi.core.Output<java.lang.String> managedDiskCustomerKeyUri)
- Parameters:
managedDiskCustomerKeyUri
- Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key.- Returns:
- builder
-
managedDiskCustomerKeyUri
public DataCenterResourcePropertiesArgs.Builder managedDiskCustomerKeyUri(java.lang.String managedDiskCustomerKeyUri)
- Parameters:
managedDiskCustomerKeyUri
- Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key.- Returns:
- builder
-
nodeCount
public DataCenterResourcePropertiesArgs.Builder nodeCount(@Nullable com.pulumi.core.Output<java.lang.Integer> nodeCount)
- Parameters:
nodeCount
- The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.- Returns:
- builder
-
nodeCount
public DataCenterResourcePropertiesArgs.Builder nodeCount(java.lang.Integer nodeCount)
- Parameters:
nodeCount
- The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.- Returns:
- builder
-
provisionError
public DataCenterResourcePropertiesArgs.Builder provisionError(@Nullable com.pulumi.core.Output<CassandraErrorArgs> provisionError)
- Parameters:
provisionError
- Error related to resource provisioning.- Returns:
- builder
-
provisionError
public DataCenterResourcePropertiesArgs.Builder provisionError(CassandraErrorArgs provisionError)
- Parameters:
provisionError
- Error related to resource provisioning.- Returns:
- builder
-
provisioningState
public DataCenterResourcePropertiesArgs.Builder provisioningState(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,ManagedCassandraProvisioningState>> provisioningState)
- Parameters:
provisioningState
- The status of the resource at the time the operation was called.- Returns:
- builder
-
provisioningState
public DataCenterResourcePropertiesArgs.Builder provisioningState(com.pulumi.core.Either<java.lang.String,ManagedCassandraProvisioningState> provisioningState)
- Parameters:
provisioningState
- The status of the resource at the time the operation was called.- Returns:
- builder
-
provisioningState
public DataCenterResourcePropertiesArgs.Builder provisioningState(java.lang.String provisioningState)
- Parameters:
provisioningState
- The status of the resource at the time the operation was called.- Returns:
- builder
-
provisioningState
public DataCenterResourcePropertiesArgs.Builder provisioningState(ManagedCassandraProvisioningState provisioningState)
- Parameters:
provisioningState
- The status of the resource at the time the operation was called.- Returns:
- builder
-
sku
public DataCenterResourcePropertiesArgs.Builder sku(@Nullable com.pulumi.core.Output<java.lang.String> sku)
- Parameters:
sku
- Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2- Returns:
- builder
-
sku
public DataCenterResourcePropertiesArgs.Builder sku(java.lang.String sku)
- Parameters:
sku
- Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2- Returns:
- builder
-
build
public DataCenterResourcePropertiesArgs build()
-
-