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 2025-06-01.
Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-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>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]func LookupProfile(ctx *Context, args *LookupProfileArgs, opts ...InvokeOption) (*LookupProfileResult, error)
func LookupProfileOutput(ctx *Context, args *LookupProfileOutputArgs, opts ...InvokeOption) LookupProfileResultOutput> 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)
}public static CompletableFuture<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
public static Output<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:cdn:getProfile
arguments:
# arguments dictionaryThe following arguments are supported:
- Profile
Name string - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Profile
Name string - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- profile
Name String - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- profile
Name string - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- profile_
name 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_ strname - The name of the resource group. The name is case insensitive.
- profile
Name String - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getProfile Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Extended
Properties Dictionary<string, string> - Key-Value pair representing additional properties for profiles.
- Front
Door stringId - The Id of the frontdoor.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Kind string
- Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning status of the profile.
- Resource
State string - Resource status of the profile.
- Sku
Pulumi.
Azure Native. Cdn. Outputs. Sku Response - The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
- System
Data Pulumi.Azure Native. Cdn. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Identity
Pulumi.
Azure Native. Cdn. Outputs. Managed Service Identity Response - The managed service identities assigned to this resource.
- Log
Scrubbing Pulumi.Azure Native. Cdn. Outputs. Profile Log Scrubbing Response - Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
- Origin
Response intTimeout Seconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Extended
Properties map[string]string - Key-Value pair representing additional properties for profiles.
- Front
Door stringId - The Id of the frontdoor.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Kind string
- Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning status of the profile.
- Resource
State string - Resource status of the profile.
- Sku
Sku
Response - The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- Log
Scrubbing ProfileLog Scrubbing Response - Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
- Origin
Response intTimeout Seconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- extended
Properties Map<String,String> - Key-Value pair representing additional properties for profiles.
- front
Door StringId - The Id of the frontdoor.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- kind String
- Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning status of the profile.
- resource
State String - Resource status of the profile.
- sku
Sku
Response - The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- log
Scrubbing ProfileLog Scrubbing Response - Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
- origin
Response IntegerTimeout Seconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- extended
Properties {[key: string]: string} - Key-Value pair representing additional properties for profiles.
- front
Door stringId - The Id of the frontdoor.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- kind string
- Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State string - Provisioning status of the profile.
- resource
State string - Resource status of the profile.
- sku
Sku
Response - The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- log
Scrubbing ProfileLog Scrubbing Response - Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
- origin
Response numberTimeout Seconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- extended_
properties Mapping[str, str] - Key-Value pair representing additional properties for profiles.
- front_
door_ strid - The Id of the frontdoor.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- kind str
- Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_
state str - Provisioning status of the profile.
- resource_
state str - Resource status of the profile.
- sku
Sku
Response - The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- log_
scrubbing ProfileLog Scrubbing Response - Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
- origin_
response_ inttimeout_ seconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- extended
Properties Map<String> - Key-Value pair representing additional properties for profiles.
- front
Door StringId - The Id of the frontdoor.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- kind String
- Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning status of the profile.
- resource
State 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.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity Property Map
- The managed service identities assigned to this resource.
- log
Scrubbing Property Map - Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
- origin
Response NumberTimeout Seconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
- Map<String>
- Resource tags.
Supporting Types
ManagedServiceIdentityResponse
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Cdn. Inputs. User Assigned Identity Response> - 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 string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - 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 String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - 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 string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - 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 str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - 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 String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - 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
- Scrubbing
Rules List<Pulumi.Azure Native. Cdn. Inputs. Profile Scrubbing Rules Response> - 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 []ProfileScrubbing Rules Response - 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 List<ProfileScrubbing Rules Response> - 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 ProfileScrubbing Rules Response[] - 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[ProfileScrubbing Rules Response] - 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.
- scrubbing
Rules 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
- Match
Variable string - The variable to be scrubbed from the logs.
- Selector
Match stringOperator - 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 string - The variable to be scrubbed from the logs.
- Selector
Match stringOperator - 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 String - The variable to be scrubbed from the logs.
- selector
Match StringOperator - 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 string - The variable to be scrubbed from the logs.
- selector
Match stringOperator - 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 str - The variable to be scrubbed from the logs.
- selector_
match_ stroperator - 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.
- match
Variable String - The variable to be scrubbed from the logs.
- selector
Match StringOperator - 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
