Class CloudServiceNetworkProfileArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.compute.inputs.CloudServiceNetworkProfileArgs.Builder
-
- Enclosing class:
- CloudServiceNetworkProfileArgs
public static final class CloudServiceNetworkProfileArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CloudServiceNetworkProfileArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CloudServiceNetworkProfileArgs defaults)
-
-
Method Detail
-
loadBalancerConfigurations
public CloudServiceNetworkProfileArgs.Builder loadBalancerConfigurations(@Nullable com.pulumi.core.Output<java.util.List<LoadBalancerConfigurationArgs>> loadBalancerConfigurations)
- Parameters:
loadBalancerConfigurations
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.- Returns:
- builder
-
loadBalancerConfigurations
public CloudServiceNetworkProfileArgs.Builder loadBalancerConfigurations(java.util.List<LoadBalancerConfigurationArgs> loadBalancerConfigurations)
- Parameters:
loadBalancerConfigurations
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.- Returns:
- builder
-
loadBalancerConfigurations
public CloudServiceNetworkProfileArgs.Builder loadBalancerConfigurations(LoadBalancerConfigurationArgs... loadBalancerConfigurations)
- Parameters:
loadBalancerConfigurations
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.- Returns:
- builder
-
slotType
public CloudServiceNetworkProfileArgs.Builder slotType(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,CloudServiceSlotType>> slotType)
- Parameters:
slotType
- Slot type for the cloud service. Possible values are <br /><br />**Production**<br /><br />**Staging**<br /><br /> If not specified, the default value is Production.- Returns:
- builder
-
slotType
public CloudServiceNetworkProfileArgs.Builder slotType(com.pulumi.core.Either<java.lang.String,CloudServiceSlotType> slotType)
- Parameters:
slotType
- Slot type for the cloud service. Possible values are <br /><br />**Production**<br /><br />**Staging**<br /><br /> If not specified, the default value is Production.- Returns:
- builder
-
slotType
public CloudServiceNetworkProfileArgs.Builder slotType(java.lang.String slotType)
- Parameters:
slotType
- Slot type for the cloud service. Possible values are <br /><br />**Production**<br /><br />**Staging**<br /><br /> If not specified, the default value is Production.- Returns:
- builder
-
slotType
public CloudServiceNetworkProfileArgs.Builder slotType(CloudServiceSlotType slotType)
- Parameters:
slotType
- Slot type for the cloud service. Possible values are <br /><br />**Production**<br /><br />**Staging**<br /><br /> If not specified, the default value is Production.- Returns:
- builder
-
swappableCloudService
public CloudServiceNetworkProfileArgs.Builder swappableCloudService(@Nullable com.pulumi.core.Output<SubResourceArgs> swappableCloudService)
- Parameters:
swappableCloudService
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.- Returns:
- builder
-
swappableCloudService
public CloudServiceNetworkProfileArgs.Builder swappableCloudService(SubResourceArgs swappableCloudService)
- Parameters:
swappableCloudService
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.- Returns:
- builder
-
build
public CloudServiceNetworkProfileArgs build()
-
-