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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the extendedProperties property: Key-Value pair representing additional properties for profiles.static ProfileInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ProfileInner from the JsonReader.Get the frontDoorId property: The Id of the frontdoor.id()Get the id property: Fully qualified resource Id for the resource.identity()Get the identity property: Managed service identity (system assigned and/or user assigned identities).kind()Get the kind property: Kind of the profile.Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.name()Get the name property: The name of the resource.Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.Get the provisioningState property: Provisioning status of the profile.Get the resourceState property: Resource status of the profile.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.com.azure.core.management.SystemDataGet the systemData property: Read only system data.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withIdentity(ManagedServiceIdentity identity) Set the identity property: Managed service identity (system assigned and/or user assigned identities).withLocation(String location) withLogScrubbing(ProfileLogScrubbing logScrubbing) Set the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds) Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.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.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ProfileInner
public ProfileInner()Creates an instance of ProfileInner class.
-
-
Method Details
-
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
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
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
Get the identity property: Managed service identity (system assigned and/or user assigned identities).- Returns:
- the identity value.
-
withIdentity
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.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
resourceState
Get the resourceState property: Resource status of the profile.- Returns:
- the resourceState value.
-
provisioningState
Get the provisioningState property: Provisioning status of the profile.- Returns:
- the provisioningState value.
-
extendedProperties
-
frontDoorId
Get the frontDoorId property: The Id of the frontdoor.- Returns:
- the frontDoorId value.
-
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
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
Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.- Returns:
- the logScrubbing value.
-
withLogScrubbing
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
Reads an instance of ProfileInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ProfileInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ProfileInner.
-