共用方式為


ArmCdnModelFactory.ProfileData Method

Definition

Initializes a new instance of ProfileData.

public static Azure.ResourceManager.Cdn.ProfileData ProfileData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Cdn.Models.CdnSkuName? skuName = default, string kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Cdn.Models.ProfileResourceState? resourceState = default, Azure.ResourceManager.Cdn.Models.ProfileProvisioningState? provisioningState = default, System.Collections.Generic.IReadOnlyDictionary<string,string> extendedProperties = default, Guid? frontDoorId = default, int? originResponseTimeoutSeconds = default, Azure.ResourceManager.Cdn.Models.ProfileLogScrubbing logScrubbing = default);
static member ProfileData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.Cdn.Models.CdnSkuName> * string * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.Cdn.Models.ProfileResourceState> * Nullable<Azure.ResourceManager.Cdn.Models.ProfileProvisioningState> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<Guid> * Nullable<int> * Azure.ResourceManager.Cdn.Models.ProfileLogScrubbing -> Azure.ResourceManager.Cdn.ProfileData
Public Shared Function ProfileData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional skuName As Nullable(Of CdnSkuName) = Nothing, Optional kind As String = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional resourceState As Nullable(Of ProfileResourceState) = Nothing, Optional provisioningState As Nullable(Of ProfileProvisioningState) = Nothing, Optional extendedProperties As IReadOnlyDictionary(Of String, String) = Nothing, Optional frontDoorId As Nullable(Of Guid) = Nothing, Optional originResponseTimeoutSeconds As Nullable(Of Integer) = Nothing, Optional logScrubbing As ProfileLogScrubbing = Nothing) As ProfileData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

skuName
Nullable<CdnSkuName>

The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.

kind
String

Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.

identity
ManagedServiceIdentity

Managed service identity (system assigned and/or user assigned identities).

resourceState
Nullable<ProfileResourceState>

Resource status of the profile.

provisioningState
Nullable<ProfileProvisioningState>

Provisioning status of the profile.

extendedProperties
IReadOnlyDictionary<String,String>

Key-Value pair representing additional properties for profiles.

frontDoorId
Nullable<Guid>

The Id of the frontdoor.

originResponseTimeoutSeconds
Nullable<Int32>

Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.

logScrubbing
ProfileLogScrubbing

Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

Returns

A new ProfileData instance for mocking.

Applies to