Editar

Compartilhar via


New-AzFrontDoorCdnResourceReferenceObject

Create an in-memory object for ResourceReference.

Syntax

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ResourceReference