Class PhpWorkloadResourceProperties

java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.PhpWorkloadResourceProperties

public final class PhpWorkloadResourceProperties extends Object
PHP workload resource properties.
  • Constructor Details

    • PhpWorkloadResourceProperties

      public PhpWorkloadResourceProperties()
  • Method Details

    • appLocation

      public String appLocation()
      Get the appLocation property: The infra resources for PHP workload will be created in this location.
      Returns:
      the appLocation value.
    • withAppLocation

      public PhpWorkloadResourceProperties withAppLocation(String appLocation)
      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

      public ManagedRGConfiguration 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

      public UserProfile adminUserProfile()
      Get the adminUserProfile property: Admin user profile used for VM and VMSS.
      Returns:
      the adminUserProfile value.
    • withAdminUserProfile

      public PhpWorkloadResourceProperties withAdminUserProfile(UserProfile adminUserProfile)
      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

      public VmssNodesProfile webNodesProfile()
      Get the webNodesProfile property: VMSS web nodes profile.
      Returns:
      the webNodesProfile value.
    • withWebNodesProfile

      public PhpWorkloadResourceProperties withWebNodesProfile(VmssNodesProfile webNodesProfile)
      Set the webNodesProfile property: VMSS web nodes profile.
      Parameters:
      webNodesProfile - the webNodesProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • controllerProfile

      public NodeProfile controllerProfile()
      Get the controllerProfile property: Controller VM profile.
      Returns:
      the controllerProfile value.
    • withControllerProfile

      public PhpWorkloadResourceProperties withControllerProfile(NodeProfile controllerProfile)
      Set the controllerProfile property: Controller VM profile.
      Parameters:
      controllerProfile - the controllerProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: Network profile.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public PhpWorkloadResourceProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: Network profile.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • databaseProfile

      public DatabaseProfile databaseProfile()
      Get the databaseProfile property: Database profile.
      Returns:
      the databaseProfile value.
    • withDatabaseProfile

      public PhpWorkloadResourceProperties withDatabaseProfile(DatabaseProfile databaseProfile)
      Set the databaseProfile property: Database profile.
      Parameters:
      databaseProfile - the databaseProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • siteProfile

      public SiteProfile siteProfile()
      Get the siteProfile property: Site profile.
      Returns:
      the siteProfile value.
    • withSiteProfile

      public PhpWorkloadResourceProperties withSiteProfile(SiteProfile siteProfile)
      Set the siteProfile property: Site profile.
      Parameters:
      siteProfile - the siteProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • fileshareProfile

      public FileshareProfile fileshareProfile()
      Get the fileshareProfile property: File share profile.
      Returns:
      the fileshareProfile value.
    • withFileshareProfile

      public PhpWorkloadResourceProperties withFileshareProfile(FileshareProfile fileshareProfile)
      Set the fileshareProfile property: File share profile.
      Parameters:
      fileshareProfile - the fileshareProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • phpProfile

      public PhpProfile phpProfile()
      Get the phpProfile property: PHP profile.
      Returns:
      the phpProfile value.
    • withPhpProfile

      public PhpWorkloadResourceProperties withPhpProfile(PhpProfile phpProfile)
      Set the phpProfile property: PHP profile.
      Parameters:
      phpProfile - the phpProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • searchProfile

      public SearchProfile searchProfile()
      Get the searchProfile property: Search profile.
      Returns:
      the searchProfile value.
    • withSearchProfile

      public PhpWorkloadResourceProperties withSearchProfile(SearchProfile searchProfile)
      Set the searchProfile property: Search profile.
      Parameters:
      searchProfile - the searchProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • cacheProfile

      public CacheProfile cacheProfile()
      Get the cacheProfile property: Cache profile.
      Returns:
      the cacheProfile value.
    • withCacheProfile

      public PhpWorkloadResourceProperties withCacheProfile(CacheProfile cacheProfile)
      Set the cacheProfile property: Cache profile.
      Parameters:
      cacheProfile - the cacheProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • backupProfile

      public BackupProfile backupProfile()
      Get the backupProfile property: Backup profile.
      Returns:
      the backupProfile value.
    • withBackupProfile

      public PhpWorkloadResourceProperties withBackupProfile(BackupProfile backupProfile)
      Set the backupProfile property: Backup profile.
      Parameters:
      backupProfile - the backupProfile value to set.
      Returns:
      the PhpWorkloadResourceProperties object itself.
    • provisioningState

      public PhpWorkloadProvisioningState 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.