共用方式為


ProfileInner Class

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 ProfileInner class.

Method Summary

Modifier and Type Method and Description
Map<String,String> extendedProperties()

Get the extendedProperties property: Key-Value pair representing additional properties for profiles.

static ProfileInner fromJson(JsonReader jsonReader)

Reads an instance of ProfileInner from the JsonReader.

String frontDoorId()

Get the frontDoorId property: The Id of the frontdoor.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity 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.

ProfileLogScrubbing logScrubbing()

Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

String name()

Get the name property: The name of the resource.

Integer originResponseTimeoutSeconds()

Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.

ProfileProvisioningState provisioningState()

Get the provisioningState property: Provisioning status of the profile.

ProfileResourceState resourceState()

Get the resourceState property: Resource status of the profile.

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.

SystemData systemData()

Get the systemData property: Read only system data.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ProfileInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

ProfileInner withLocation(String location)
ProfileInner withLogScrubbing(ProfileLogScrubbing logScrubbing)

Set the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

ProfileInner withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)

Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.

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.

ProfileInner 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 extendedProperties()

Get the extendedProperties property: Key-Value pair representing additional properties for profiles.

Returns:

the extendedProperties value.

fromJson

public static ProfileInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

frontDoorId

public String frontDoorId()

Get the frontDoorId property: The Id of the frontdoor.

Returns:

the frontDoorId value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ProfileInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

Returns:

the identity value.

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.

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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProfileInner.name()

Returns:

the name 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.

provisioningState

public ProfileProvisioningState provisioningState()

Get the provisioningState property: Provisioning status of the profile.

Returns:

the provisioningState value.

resourceState

public ProfileResourceState resourceState()

Get the resourceState property: Resource status of the profile.

Returns:

the resourceState value.

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.

systemData

public SystemData systemData()

Get the systemData property: Read only system data.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ProfileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProfileInner.type()

Returns:

the type value.

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:

identity - the identity value to set.

Returns:

the ProfileInner object itself.

withLocation

public ProfileInner withLocation(String location)

Overrides:

ProfileInner.withLocation(String location)

Parameters:

location

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.

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.

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.

withTags

public ProfileInner withTags(Map tags)

Overrides:

ProfileInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to