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 Details

    • PhpWorkloadResourceInner

      public PhpWorkloadResourceInner()
  • Method Details

    • kind

      public WorkloadKind kind()
      Get the kind property: Indicates which kind of php workload this resource represent e.g WordPress.
      Returns:
      the kind value.
    • withKind

      public PhpWorkloadResourceInner withKind(WorkloadKind kind)
      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

      public Sku sku()
      Get the sku property: Php workloads SKU.
      Returns:
      the sku value.
    • withSku

      public PhpWorkloadResourceInner withSku(Sku sku)
      Set the sku property: Php workloads SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the PhpWorkloadResourceInner object itself.
    • identity

      public PhpWorkloadResourceIdentity identity()
      Get the identity property: Identity for the resource. Currently not supported.
      Returns:
      the identity value.
    • withIdentity

      public PhpWorkloadResourceInner withIdentity(PhpWorkloadResourceIdentity identity)
      Set the identity property: Identity for the resource. Currently not supported.
      Parameters:
      identity - the identity value to set.
      Returns:
      the PhpWorkloadResourceInner object itself.
    • withLocation

      public PhpWorkloadResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public PhpWorkloadResourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 PhpWorkloadResourceInner 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 PhpWorkloadResourceInner object itself.
    • managedResourceGroupConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public PhpWorkloadResourceInner withBackupProfile(BackupProfile backupProfile)
      Set the backupProfile property: Backup profile.
      Parameters:
      backupProfile - the backupProfile value to set.
      Returns:
      the PhpWorkloadResourceInner 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.