Class PhpWorkloadResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.workloads.fluent.models.PhpWorkloadResourceInner
public final class PhpWorkloadResourceInner
extends com.azure.core.management.Resource
Php workload resource.
-
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.identity()
Get the identity property: Identity for the resource.kind()
Get the kind property: Indicates which kind of php workload this resource represent e.g WordPress.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.sku()
Get the sku property: Php workloads SKU.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.withIdentity
(PhpWorkloadResourceIdentity identity) Set the identity property: Identity for the resource.withKind
(WorkloadKind kind) Set the kind property: Indicates which kind of php workload this resource represent e.g WordPress.withLocation
(String location) 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.Set the sku property: Php workloads SKU.withWebNodesProfile
(VmssNodesProfile webNodesProfile) Set the webNodesProfile property: VMSS web nodes profile.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PhpWorkloadResourceInner
public PhpWorkloadResourceInner()
-
-
Method Details
-
kind
Get the kind property: Indicates which kind of php workload this resource represent e.g WordPress.- Returns:
- the kind value.
-
withKind
Set the kind property: Indicates which kind of php workload this resource represent e.g WordPress.- Parameters:
kind
- the kind value to set.- Returns:
- the PhpWorkloadResourceInner object itself.
-
sku
Get the sku property: Php workloads SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: Php workloads SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the PhpWorkloadResourceInner object itself.
-
identity
Get the identity property: Identity for the resource. Currently not supported.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource. Currently not supported.- Parameters:
identity
- the identity value to set.- Returns:
- the PhpWorkloadResourceInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 PhpWorkloadResourceInner object itself.
-
managedResourceGroupConfiguration
Get the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.- Returns:
- the managedResourceGroupConfiguration value.
-
withManagedResourceGroupConfiguration
public PhpWorkloadResourceInner withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration) Set the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.- Parameters:
managedResourceGroupConfiguration
- the managedResourceGroupConfiguration value to set.- Returns:
- the PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner 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.
-