1. Packages
  2. Azure Native
  3. API Docs
  4. cdn
  5. getProfile
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.cdn.getProfile

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

Uses Azure REST API version 2024-09-01.

Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]. See the version guide for details.

Using getProfile

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProfile(args: GetProfileArgs, opts?: InvokeOptions): Promise<GetProfileResult>
function getProfileOutput(args: GetProfileOutputArgs, opts?: InvokeOptions): Output<GetProfileResult>
Copy
def get_profile(profile_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetProfileResult
def get_profile_output(profile_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetProfileResult]
Copy
func LookupProfile(ctx *Context, args *LookupProfileArgs, opts ...InvokeOption) (*LookupProfileResult, error)
func LookupProfileOutput(ctx *Context, args *LookupProfileOutputArgs, opts ...InvokeOption) LookupProfileResultOutput
Copy

> Note: This function is named LookupProfile in the Go SDK.

public static class GetProfile 
{
    public static Task<GetProfileResult> InvokeAsync(GetProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetProfileResult> Invoke(GetProfileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
public static Output<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:cdn:getProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProfileName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
ProfileName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
profileName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Resource group within the Azure subscription.
profileName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
profile_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Resource group within the Azure subscription.
profileName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Resource group within the Azure subscription.

getProfile Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
ExtendedProperties Dictionary<string, string>
Key-Value pair representing additional properties for profiles.
FrontDoorId string
The Id of the frontdoor.
Id string
Resource ID.
Kind string
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
Location string
Resource location.
Name string
Resource name.
ProvisioningState string
Provisioning status of the profile.
ResourceState string
Resource status of the profile.
Sku Pulumi.AzureNative.Cdn.Outputs.SkuResponse
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
SystemData Pulumi.AzureNative.Cdn.Outputs.SystemDataResponse
Read only system data
Type string
Resource type.
Identity Pulumi.AzureNative.Cdn.Outputs.ManagedServiceIdentityResponse
Managed service identity (system assigned and/or user assigned identities).
LogScrubbing Pulumi.AzureNative.Cdn.Outputs.ProfileLogScrubbingResponse
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
OriginResponseTimeoutSeconds int
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
Tags Dictionary<string, string>
Resource tags.
AzureApiVersion string
The Azure API version of the resource.
ExtendedProperties map[string]string
Key-Value pair representing additional properties for profiles.
FrontDoorId string
The Id of the frontdoor.
Id string
Resource ID.
Kind string
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
Location string
Resource location.
Name string
Resource name.
ProvisioningState string
Provisioning status of the profile.
ResourceState string
Resource status of the profile.
Sku SkuResponse
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
SystemData SystemDataResponse
Read only system data
Type string
Resource type.
Identity ManagedServiceIdentityResponse
Managed service identity (system assigned and/or user assigned identities).
LogScrubbing ProfileLogScrubbingResponse
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
OriginResponseTimeoutSeconds int
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
Tags map[string]string
Resource tags.
azureApiVersion String
The Azure API version of the resource.
extendedProperties Map<String,String>
Key-Value pair representing additional properties for profiles.
frontDoorId String
The Id of the frontdoor.
id String
Resource ID.
kind String
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
location String
Resource location.
name String
Resource name.
provisioningState String
Provisioning status of the profile.
resourceState String
Resource status of the profile.
sku SkuResponse
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
systemData SystemDataResponse
Read only system data
type String
Resource type.
identity ManagedServiceIdentityResponse
Managed service identity (system assigned and/or user assigned identities).
logScrubbing ProfileLogScrubbingResponse
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
originResponseTimeoutSeconds Integer
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
tags Map<String,String>
Resource tags.
azureApiVersion string
The Azure API version of the resource.
extendedProperties {[key: string]: string}
Key-Value pair representing additional properties for profiles.
frontDoorId string
The Id of the frontdoor.
id string
Resource ID.
kind string
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
location string
Resource location.
name string
Resource name.
provisioningState string
Provisioning status of the profile.
resourceState string
Resource status of the profile.
sku SkuResponse
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
systemData SystemDataResponse
Read only system data
type string
Resource type.
identity ManagedServiceIdentityResponse
Managed service identity (system assigned and/or user assigned identities).
logScrubbing ProfileLogScrubbingResponse
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
originResponseTimeoutSeconds number
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
tags {[key: string]: string}
Resource tags.
azure_api_version str
The Azure API version of the resource.
extended_properties Mapping[str, str]
Key-Value pair representing additional properties for profiles.
front_door_id str
The Id of the frontdoor.
id str
Resource ID.
kind str
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
location str
Resource location.
name str
Resource name.
provisioning_state str
Provisioning status of the profile.
resource_state str
Resource status of the profile.
sku SkuResponse
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
system_data SystemDataResponse
Read only system data
type str
Resource type.
identity ManagedServiceIdentityResponse
Managed service identity (system assigned and/or user assigned identities).
log_scrubbing ProfileLogScrubbingResponse
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
origin_response_timeout_seconds int
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
tags Mapping[str, str]
Resource tags.
azureApiVersion String
The Azure API version of the resource.
extendedProperties Map<String>
Key-Value pair representing additional properties for profiles.
frontDoorId String
The Id of the frontdoor.
id String
Resource ID.
kind String
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
location String
Resource location.
name String
Resource name.
provisioningState String
Provisioning status of the profile.
resourceState String
Resource status of the profile.
sku Property Map
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
systemData Property Map
Read only system data
type String
Resource type.
identity Property Map
Managed service identity (system assigned and/or user assigned identities).
logScrubbing Property Map
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
originResponseTimeoutSeconds Number
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
tags Map<String>
Resource tags.

Supporting Types

ManagedServiceIdentityResponse

PrincipalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Cdn.Inputs.UserAssignedIdentityResponse>
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
PrincipalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities map[string]UserAssignedIdentityResponse
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
principalId This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities Map<String,UserAssignedIdentityResponse>
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
principalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
principal_id This property is required. str
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. str
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
principalId This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities Map<Property Map>
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

ProfileLogScrubbingResponse

ScrubbingRules List<Pulumi.AzureNative.Cdn.Inputs.ProfileScrubbingRulesResponse>
List of log scrubbing rules applied to the Azure Front Door profile logs.
State string
State of the log scrubbing config. Default value is Enabled.
ScrubbingRules []ProfileScrubbingRulesResponse
List of log scrubbing rules applied to the Azure Front Door profile logs.
State string
State of the log scrubbing config. Default value is Enabled.
scrubbingRules List<ProfileScrubbingRulesResponse>
List of log scrubbing rules applied to the Azure Front Door profile logs.
state String
State of the log scrubbing config. Default value is Enabled.
scrubbingRules ProfileScrubbingRulesResponse[]
List of log scrubbing rules applied to the Azure Front Door profile logs.
state string
State of the log scrubbing config. Default value is Enabled.
scrubbing_rules Sequence[ProfileScrubbingRulesResponse]
List of log scrubbing rules applied to the Azure Front Door profile logs.
state str
State of the log scrubbing config. Default value is Enabled.
scrubbingRules List<Property Map>
List of log scrubbing rules applied to the Azure Front Door profile logs.
state String
State of the log scrubbing config. Default value is Enabled.

ProfileScrubbingRulesResponse

MatchVariable This property is required. string
The variable to be scrubbed from the logs.
SelectorMatchOperator This property is required. string
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
Selector string
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
State string
Defines the state of a log scrubbing rule. Default value is enabled.
MatchVariable This property is required. string
The variable to be scrubbed from the logs.
SelectorMatchOperator This property is required. string
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
Selector string
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
State string
Defines the state of a log scrubbing rule. Default value is enabled.
matchVariable This property is required. String
The variable to be scrubbed from the logs.
selectorMatchOperator This property is required. String
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
selector String
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
state String
Defines the state of a log scrubbing rule. Default value is enabled.
matchVariable This property is required. string
The variable to be scrubbed from the logs.
selectorMatchOperator This property is required. string
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
selector string
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
state string
Defines the state of a log scrubbing rule. Default value is enabled.
match_variable This property is required. str
The variable to be scrubbed from the logs.
selector_match_operator This property is required. str
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
selector str
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
state str
Defines the state of a log scrubbing rule. Default value is enabled.
matchVariable This property is required. String
The variable to be scrubbed from the logs.
selectorMatchOperator This property is required. String
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
selector String
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
state String
Defines the state of a log scrubbing rule. Default value is enabled.

SkuResponse

Name string
Name of the pricing tier.
Name string
Name of the pricing tier.
name String
Name of the pricing tier.
name string
Name of the pricing tier.
name str
Name of the pricing tier.
name String
Name of the pricing tier.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC)
CreatedBy string
An identifier for the identity that created the resource
CreatedByType string
The type of identity that created the resource
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
An identifier for the identity that last modified the resource
LastModifiedByType string
The type of identity that last modified the resource
CreatedAt string
The timestamp of resource creation (UTC)
CreatedBy string
An identifier for the identity that created the resource
CreatedByType string
The type of identity that created the resource
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
An identifier for the identity that last modified the resource
LastModifiedByType string
The type of identity that last modified the resource
createdAt String
The timestamp of resource creation (UTC)
createdBy String
An identifier for the identity that created the resource
createdByType String
The type of identity that created the resource
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
An identifier for the identity that last modified the resource
lastModifiedByType String
The type of identity that last modified the resource
createdAt string
The timestamp of resource creation (UTC)
createdBy string
An identifier for the identity that created the resource
createdByType string
The type of identity that created the resource
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
An identifier for the identity that last modified the resource
lastModifiedByType string
The type of identity that last modified the resource
created_at str
The timestamp of resource creation (UTC)
created_by str
An identifier for the identity that created the resource
created_by_type str
The type of identity that created the resource
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
An identifier for the identity that last modified the resource
last_modified_by_type str
The type of identity that last modified the resource
createdAt String
The timestamp of resource creation (UTC)
createdBy String
An identifier for the identity that created the resource
createdByType String
The type of identity that created the resource
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
An identifier for the identity that last modified the resource
lastModifiedByType String
The type of identity that last modified the resource

UserAssignedIdentityResponse

ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.
clientId This property is required. string
The client ID of the assigned identity.
principalId This property is required. string
The principal ID of the assigned identity.
client_id This property is required. str
The client ID of the assigned identity.
principal_id This property is required. str
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi