Class PhpWorkloadResourceProperties
java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.PhpWorkloadResourceProperties
PHP workload resource properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the adminUserProfile property: Admin user profile used for VM and VMSS.Get the appLocation property: The infra resources for PHP workload will be created in this location.Get the backupProfile property: Backup profile.Get the cacheProfile property: Cache profile.Get the controllerProfile property: Controller VM profile.Get the databaseProfile property: Database profile.Get the fileshareProfile property: File share profile.Get the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.Get the networkProfile property: Network profile.Get the phpProfile property: PHP profile.Get the provisioningState property: Php workload resource provisioning state.Get the searchProfile property: Search profile.Get the siteProfile property: Site profile.void
validate()
Validates the instance.Get the webNodesProfile property: VMSS web nodes profile.withAdminUserProfile
(UserProfile adminUserProfile) Set the adminUserProfile property: Admin user profile used for VM and VMSS.withAppLocation
(String appLocation) Set the appLocation property: The infra resources for PHP workload will be created in this location.withBackupProfile
(BackupProfile backupProfile) Set the backupProfile property: Backup profile.withCacheProfile
(CacheProfile cacheProfile) Set the cacheProfile property: Cache profile.withControllerProfile
(NodeProfile controllerProfile) Set the controllerProfile property: Controller VM profile.withDatabaseProfile
(DatabaseProfile databaseProfile) Set the databaseProfile property: Database profile.withFileshareProfile
(FileshareProfile fileshareProfile) Set the fileshareProfile property: File share profile.withManagedResourceGroupConfiguration
(ManagedRGConfiguration managedResourceGroupConfiguration) Set the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.withNetworkProfile
(NetworkProfile networkProfile) Set the networkProfile property: Network profile.withPhpProfile
(PhpProfile phpProfile) Set the phpProfile property: PHP profile.withSearchProfile
(SearchProfile searchProfile) Set the searchProfile property: Search profile.withSiteProfile
(SiteProfile siteProfile) Set the siteProfile property: Site profile.withWebNodesProfile
(VmssNodesProfile webNodesProfile) Set the webNodesProfile property: VMSS web nodes profile.
-
Constructor Details
-
PhpWorkloadResourceProperties
public PhpWorkloadResourceProperties()
-
-
Method Details
-
appLocation
Get the appLocation property: The infra resources for PHP workload will be created in this location.- Returns:
- the appLocation value.
-
withAppLocation
Set the appLocation property: The infra resources for PHP workload will be created in this location.- Parameters:
appLocation
- the appLocation value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
managedResourceGroupConfiguration
Get the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.- Returns:
- the managedResourceGroupConfiguration value.
-
withManagedResourceGroupConfiguration
public PhpWorkloadResourceProperties withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration) Set the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.- Parameters:
managedResourceGroupConfiguration
- the managedResourceGroupConfiguration value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
adminUserProfile
Get the adminUserProfile property: Admin user profile used for VM and VMSS.- Returns:
- the adminUserProfile value.
-
withAdminUserProfile
Set the adminUserProfile property: Admin user profile used for VM and VMSS.- Parameters:
adminUserProfile
- the adminUserProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
webNodesProfile
Get the webNodesProfile property: VMSS web nodes profile.- Returns:
- the webNodesProfile value.
-
withWebNodesProfile
Set the webNodesProfile property: VMSS web nodes profile.- Parameters:
webNodesProfile
- the webNodesProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
controllerProfile
Get the controllerProfile property: Controller VM profile.- Returns:
- the controllerProfile value.
-
withControllerProfile
Set the controllerProfile property: Controller VM profile.- Parameters:
controllerProfile
- the controllerProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
networkProfile
Get the networkProfile property: Network profile.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Network profile.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
databaseProfile
Get the databaseProfile property: Database profile.- Returns:
- the databaseProfile value.
-
withDatabaseProfile
Set the databaseProfile property: Database profile.- Parameters:
databaseProfile
- the databaseProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
siteProfile
Get the siteProfile property: Site profile.- Returns:
- the siteProfile value.
-
withSiteProfile
Set the siteProfile property: Site profile.- Parameters:
siteProfile
- the siteProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
phpProfile
Get the phpProfile property: PHP profile.- Returns:
- the phpProfile value.
-
withPhpProfile
Set the phpProfile property: PHP profile.- Parameters:
phpProfile
- the phpProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
searchProfile
Get the searchProfile property: Search profile.- Returns:
- the searchProfile value.
-
withSearchProfile
Set the searchProfile property: Search profile.- Parameters:
searchProfile
- the searchProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
cacheProfile
Get the cacheProfile property: Cache profile.- Returns:
- the cacheProfile value.
-
withCacheProfile
Set the cacheProfile property: Cache profile.- Parameters:
cacheProfile
- the cacheProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
backupProfile
Get the backupProfile property: Backup profile.- Returns:
- the backupProfile value.
-
withBackupProfile
Set the backupProfile property: Backup profile.- Parameters:
backupProfile
- the backupProfile value to set.- Returns:
- the PhpWorkloadResourceProperties object itself.
-
provisioningState
Get the provisioningState property: Php workload resource provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-