azure-native.cdn.getProfile
Explore with Pulumi AI
Gets a CDN profile with the specified profile name under the specified subscription and resource group. API Version: 2020-09-01.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:cdn:getProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Profile
Name string Name of the CDN profile which is unique within the resource group.
- Resource
Group stringName Name of the Resource group within the Azure subscription.
- Profile
Name string Name of the CDN profile which is unique within the resource group.
- Resource
Group stringName Name of the Resource group within the Azure subscription.
- profile
Name String Name of the CDN profile which is unique within the resource group.
- resource
Group StringName Name of the Resource group within the Azure subscription.
- profile
Name string Name of the CDN profile which is unique within the resource group.
- resource
Group stringName Name of the Resource group within the Azure subscription.
- profile_
name str Name of the CDN profile which is unique within the resource group.
- resource_
group_ strname Name of the Resource group within the Azure subscription.
- profile
Name String Name of the CDN profile which is unique within the resource group.
- resource
Group StringName Name of the Resource group within the Azure subscription.
getProfile Result
The following output properties are available:
- Frontdoor
Id string The Id of the frontdoor.
- Id string
Resource ID.
- Location string
Resource location.
- Name string
Resource name.
- 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 a CDN provider, feature list and rate) of the CDN profile.
- System
Data Pulumi.Azure Native. Cdn. Outputs. System Data Response Read only system data
- Type string
Resource type.
- Dictionary<string, string>
Resource tags.
- Frontdoor
Id string The Id of the frontdoor.
- Id string
Resource ID.
- Location string
Resource location.
- Name string
Resource name.
- Provisioning
State string Provisioning status of the profile.
- Resource
State string Resource status of the profile.
- Sku
Sku
Response The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- System
Data SystemData Response Read only system data
- Type string
Resource type.
- map[string]string
Resource tags.
- frontdoor
Id String The Id of the frontdoor.
- id String
Resource ID.
- location String
Resource location.
- name String
Resource name.
- provisioning
State String Provisioning status of the profile.
- resource
State String Resource status of the profile.
- sku
Sku
Response The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- system
Data SystemData Response Read only system data
- type String
Resource type.
- Map<String,String>
Resource tags.
- frontdoor
Id string The Id of the frontdoor.
- id string
Resource ID.
- location string
Resource location.
- name string
Resource name.
- provisioning
State string Provisioning status of the profile.
- resource
State string Resource status of the profile.
- sku
Sku
Response The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- system
Data SystemData Response Read only system data
- type string
Resource type.
- {[key: string]: string}
Resource tags.
- frontdoor_
id str The Id of the frontdoor.
- id str
Resource ID.
- 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
Sku
Response The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- system_
data SystemData Response Read only system data
- type str
Resource type.
- Mapping[str, str]
Resource tags.
- frontdoor
Id String The Id of the frontdoor.
- id String
Resource ID.
- location String
Resource location.
- name String
Resource name.
- provisioning
State String Provisioning status of the profile.
- resource
State String Resource status of the profile.
- sku Property Map
The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- system
Data Property Map Read only system data
- type String
Resource type.
- Map<String>
Resource tags.
Supporting Types
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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for 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 An identifier for the identity that last modified the resource
- last
Modified StringBy Type The type of identity that last modified the resource
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0