Class CloudServicePropertiesArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.compute.inputs.CloudServicePropertiesArgs.Builder
-
- Enclosing class:
- CloudServicePropertiesArgs
public static final class CloudServicePropertiesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CloudServicePropertiesArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CloudServicePropertiesArgs defaults)
-
-
Method Detail
-
allowModelOverride
public CloudServicePropertiesArgs.Builder allowModelOverride(@Nullable com.pulumi.core.Output<java.lang.Boolean> allowModelOverride)
- Parameters:
allowModelOverride
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is `false`.- Returns:
- builder
-
allowModelOverride
public CloudServicePropertiesArgs.Builder allowModelOverride(java.lang.Boolean allowModelOverride)
- Parameters:
allowModelOverride
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is `false`.- Returns:
- builder
-
configuration
public CloudServicePropertiesArgs.Builder configuration(@Nullable com.pulumi.core.Output<java.lang.String> configuration)
- Parameters:
configuration
- Specifies the XML service configuration (.cscfg) for the cloud service.- Returns:
- builder
-
configuration
public CloudServicePropertiesArgs.Builder configuration(java.lang.String configuration)
- Parameters:
configuration
- Specifies the XML service configuration (.cscfg) for the cloud service.- Returns:
- builder
-
configurationUrl
public CloudServicePropertiesArgs.Builder configurationUrl(@Nullable com.pulumi.core.Output<java.lang.String> configurationUrl)
- Parameters:
configurationUrl
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.- Returns:
- builder
-
configurationUrl
public CloudServicePropertiesArgs.Builder configurationUrl(java.lang.String configurationUrl)
- Parameters:
configurationUrl
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.- Returns:
- builder
-
extensionProfile
public CloudServicePropertiesArgs.Builder extensionProfile(@Nullable com.pulumi.core.Output<CloudServiceExtensionProfileArgs> extensionProfile)
- Parameters:
extensionProfile
- Describes a cloud service extension profile.- Returns:
- builder
-
extensionProfile
public CloudServicePropertiesArgs.Builder extensionProfile(CloudServiceExtensionProfileArgs extensionProfile)
- Parameters:
extensionProfile
- Describes a cloud service extension profile.- Returns:
- builder
-
networkProfile
public CloudServicePropertiesArgs.Builder networkProfile(@Nullable com.pulumi.core.Output<CloudServiceNetworkProfileArgs> networkProfile)
- Parameters:
networkProfile
- Network Profile for the cloud service.- Returns:
- builder
-
networkProfile
public CloudServicePropertiesArgs.Builder networkProfile(CloudServiceNetworkProfileArgs networkProfile)
- Parameters:
networkProfile
- Network Profile for the cloud service.- Returns:
- builder
-
osProfile
public CloudServicePropertiesArgs.Builder osProfile(@Nullable com.pulumi.core.Output<CloudServiceOsProfileArgs> osProfile)
- Parameters:
osProfile
- Describes the OS profile for the cloud service.- Returns:
- builder
-
osProfile
public CloudServicePropertiesArgs.Builder osProfile(CloudServiceOsProfileArgs osProfile)
- Parameters:
osProfile
- Describes the OS profile for the cloud service.- Returns:
- builder
-
packageUrl
public CloudServicePropertiesArgs.Builder packageUrl(@Nullable com.pulumi.core.Output<java.lang.String> packageUrl)
- Parameters:
packageUrl
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.- Returns:
- builder
-
packageUrl
public CloudServicePropertiesArgs.Builder packageUrl(java.lang.String packageUrl)
- Parameters:
packageUrl
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.- Returns:
- builder
-
roleProfile
public CloudServicePropertiesArgs.Builder roleProfile(@Nullable com.pulumi.core.Output<CloudServiceRoleProfileArgs> roleProfile)
- Parameters:
roleProfile
- Describes the role profile for the cloud service.- Returns:
- builder
-
roleProfile
public CloudServicePropertiesArgs.Builder roleProfile(CloudServiceRoleProfileArgs roleProfile)
- Parameters:
roleProfile
- Describes the role profile for the cloud service.- Returns:
- builder
-
startCloudService
public CloudServicePropertiesArgs.Builder startCloudService(@Nullable com.pulumi.core.Output<java.lang.Boolean> startCloudService)
- Parameters:
startCloudService
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.- Returns:
- builder
-
startCloudService
public CloudServicePropertiesArgs.Builder startCloudService(java.lang.Boolean startCloudService)
- Parameters:
startCloudService
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.- Returns:
- builder
-
upgradeMode
public CloudServicePropertiesArgs.Builder upgradeMode(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,CloudServiceUpgradeMode>> upgradeMode)
- Parameters:
upgradeMode
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />**Auto**<br /><br />**Manual** <br /><br />**Simultaneous**<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.- Returns:
- builder
-
upgradeMode
public CloudServicePropertiesArgs.Builder upgradeMode(com.pulumi.core.Either<java.lang.String,CloudServiceUpgradeMode> upgradeMode)
- Parameters:
upgradeMode
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />**Auto**<br /><br />**Manual** <br /><br />**Simultaneous**<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.- Returns:
- builder
-
upgradeMode
public CloudServicePropertiesArgs.Builder upgradeMode(java.lang.String upgradeMode)
- Parameters:
upgradeMode
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />**Auto**<br /><br />**Manual** <br /><br />**Simultaneous**<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.- Returns:
- builder
-
upgradeMode
public CloudServicePropertiesArgs.Builder upgradeMode(CloudServiceUpgradeMode upgradeMode)
- Parameters:
upgradeMode
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />**Auto**<br /><br />**Manual** <br /><br />**Simultaneous**<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.- Returns:
- builder
-
build
public CloudServicePropertiesArgs build()
-
-