Class ProfileInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.cdn.fluent.models.ProfileInner
-
public final class ProfileInner extends com.azure.core.management.ResourceA profile is a logical grouping of endpoints that share the same settings.
-
-
Constructor Summary
Constructors Constructor Description ProfileInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfrontDoorId()Get the frontDoorId property: The Id of the frontdoor.ManagedServiceIdentityidentity()Get the identity property: Managed service identity.Stringkind()Get the kind property: Kind of the profile.IntegeroriginResponseTimeoutSeconds()Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.StringprovisioningState()Get the provisioningState property: Provisioning status of the profile.ProfileResourceStateresourceState()Get the resourceState property: Resource status of the profile.Skusku()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.com.azure.core.management.SystemDatasystemData()Get the systemData property: Read only system data.voidvalidate()Validates the instance.ProfileInnerwithIdentity(ManagedServiceIdentity identity)Set the identity property: Managed service identity.ProfileInnerwithLocation(String location)ProfileInnerwithOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.ProfileInnerwithSku(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.ProfileInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
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.
-
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:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ProfileInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
resourceState
public ProfileResourceState resourceState()
Get the resourceState property: Resource status of the profile.- Returns:
- the resourceState value.
-
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed service identity.- Returns:
- the identity value.
-
withIdentity
public ProfileInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity.- Parameters:
identity- the identity value to set.- Returns:
- the ProfileInner object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning status of the profile.- Returns:
- the provisioningState 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-