ProfileInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cdn. fluent. models. ProfileInner
- com.
- com.
- com.
public final class ProfileInner
extends Resource
A profile is a logical grouping of endpoints that share the same settings.
Constructor Summary
Constructor | Description |
---|---|
ProfileInner() |
Creates an instance of Profile |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
extendedProperties()
Get the extended |
static
Profile |
fromJson(JsonReader jsonReader)
Reads an instance of Profile |
String |
frontDoorId()
Get the front |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Managed |
identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities). |
String |
kind()
Get the kind property: Kind of the profile. |
Profile |
logScrubbing()
Get the log |
String |
name()
Get the name property: The name of the resource. |
Integer |
originResponseTimeoutSeconds()
Get the origin |
Profile |
provisioningState()
Get the provisioning |
Profile |
resourceState()
Get the resource |
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. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Profile |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities). |
Profile |
withLocation(String location) |
Profile |
withLogScrubbing(ProfileLogScrubbing logScrubbing)
Set the log |
Profile |
withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
Set the origin |
Profile |
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. |
Profile |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ProfileInner
public ProfileInner()
Creates an instance of ProfileInner class.
Method Details
extendedProperties
public Map
Get the extendedProperties property: Key-Value pair representing additional properties for profiles.
Returns:
fromJson
public static ProfileInner fromJson(JsonReader jsonReader)
Reads an instance of ProfileInner from the JsonReader.
Parameters:
Returns:
Throws:
frontDoorId
public String frontDoorId()
Get the frontDoorId property: The Id of the frontdoor.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProfileInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).
Returns:
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:
logScrubbing
public ProfileLogScrubbing logScrubbing()
Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProfileInner.name()Returns:
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:
provisioningState
public ProfileProvisioningState provisioningState()
Get the provisioningState property: Provisioning status of the profile.
Returns:
resourceState
public ProfileResourceState resourceState()
Get the resourceState property: Resource status of the profile.
Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Read only system data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProfileInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProfileInner.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public ProfileInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).
Parameters:
Returns:
withLocation
public ProfileInner withLocation(String location)
Overrides:
ProfileInner.withLocation(String location)Parameters:
withLogScrubbing
public ProfileInner withLogScrubbing(ProfileLogScrubbing logScrubbing)
Set the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withTags
public ProfileInner withTags(Map
Overrides:
ProfileInner.withTags(Map<String,String> tags)Parameters: