Class ProfileInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.cdn.fluent.models.ProfileInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ProfileInner extends com.azure.core.management.Resource
A profile is a logical grouping of endpoints that share the same settings.
  • Constructor Details

    • ProfileInner

      public ProfileInner()
      Creates an instance of ProfileInner class.
  • Method Details

    • sku

      public Sku sku()
      Get the sku property: The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
      Returns:
      the sku value.
    • withSku

      public ProfileInner withSku(Sku sku)
      Set the sku property: The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ProfileInner object itself.
    • kind

      public String kind()
      Get the kind property: Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
      Returns:
      the kind value.
    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: Managed service identity (system assigned and/or user assigned identities).
      Returns:
      the identity value.
    • withIdentity

      public ProfileInner withIdentity(ManagedServiceIdentity identity)
      Set the identity property: Managed service identity (system assigned and/or user assigned identities).
      Parameters:
      identity - the identity value to set.
      Returns:
      the ProfileInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Read only system data.
      Returns:
      the systemData value.
    • withLocation

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

      public ProfileInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • resourceState

      public ProfileResourceState resourceState()
      Get the resourceState property: Resource status of the profile.
      Returns:
      the resourceState value.
    • provisioningState

      public ProfileProvisioningState provisioningState()
      Get the provisioningState property: Provisioning status of the profile.
      Returns:
      the provisioningState value.
    • extendedProperties

      public Map<String,String> extendedProperties()
      Get the extendedProperties property: Key-Value pair representing additional properties for profiles.
      Returns:
      the extendedProperties value.
    • frontDoorId

      public String frontDoorId()
      Get the frontDoorId property: The Id of the frontdoor.
      Returns:
      the frontDoorId value.
    • originResponseTimeoutSeconds

      public Integer originResponseTimeoutSeconds()
      Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
      Returns:
      the originResponseTimeoutSeconds value.
    • withOriginResponseTimeoutSeconds

      public ProfileInner withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
      Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
      Parameters:
      originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set.
      Returns:
      the ProfileInner object itself.
    • logScrubbing

      public ProfileLogScrubbing logScrubbing()
      Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
      Returns:
      the logScrubbing value.
    • withLogScrubbing

      public ProfileInner withLogScrubbing(ProfileLogScrubbing logScrubbing)
      Set the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
      Parameters:
      logScrubbing - the logScrubbing value to set.
      Returns:
      the ProfileInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.