Edit

Share via


New-AzFrontDoorCdnResourceReferenceObject

Create an in-memory object for ResourceReference.

Syntax

Default (Default)

New-AzFrontDoorCdnResourceReferenceObject
    [-Id <String>]
    [<CommonParameters>]

Description

Create an in-memory object for ResourceReference.

Examples

Example 1: Create an in-memory object for AzureCDN ResourceReference

$secret =  Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id
Id
--
/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp-v542q6/secrets/secret001

Create an in-memory object for AzureCDN ResourceReference

Parameters

-Id

Resource ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

ResourceReference