Class DeploymentProperties
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.DeploymentProperties
-
public final class DeploymentProperties extends Object
Properties of Cognitive Services account deployment.
-
-
Constructor Summary
Constructors Constructor Description DeploymentProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentModel
model()
Get the model property: Properties of Cognitive Services account deployment model.DeploymentProvisioningState
provisioningState()
Get the provisioningState property: Gets the status of the resource at the time the operation was called.DeploymentScaleSettings
scaleSettings()
Get the scaleSettings property: Properties of Cognitive Services account deployment model.void
validate()
Validates the instance.DeploymentProperties
withModel(DeploymentModel model)
Set the model property: Properties of Cognitive Services account deployment model.DeploymentProperties
withScaleSettings(DeploymentScaleSettings scaleSettings)
Set the scaleSettings property: Properties of Cognitive Services account deployment model.
-
-
-
Method Detail
-
provisioningState
public DeploymentProvisioningState provisioningState()
Get the provisioningState property: Gets the status of the resource at the time the operation was called.- Returns:
- the provisioningState value.
-
model
public DeploymentModel model()
Get the model property: Properties of Cognitive Services account deployment model.- Returns:
- the model value.
-
withModel
public DeploymentProperties withModel(DeploymentModel model)
Set the model property: Properties of Cognitive Services account deployment model.- Parameters:
model
- the model value to set.- Returns:
- the DeploymentProperties object itself.
-
scaleSettings
public DeploymentScaleSettings scaleSettings()
Get the scaleSettings property: Properties of Cognitive Services account deployment model.- Returns:
- the scaleSettings value.
-
withScaleSettings
public DeploymentProperties withScaleSettings(DeploymentScaleSettings scaleSettings)
Set the scaleSettings property: Properties of Cognitive Services account deployment model.- Parameters:
scaleSettings
- the scaleSettings value to set.- Returns:
- the DeploymentProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-