Get-AzureRmCdnOrigin

Gets a CDN origin server.

Syntax

Get-AzureRmCdnOrigin
   [-OriginName <String>]
   -EndpointName <String>
   -ProfileName <String>
   -ResourceGroupName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmCdnOrigin
   [-OriginName <String>]
   -CdnEndpoint <PSEndpoint>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmCdnOrigin cmdlet gets an Azure Content Delivery Network (CDN) origin server and its configuration data.

Examples

1:

Required Parameters

-CdnEndpoint

Specifies the CDN endpoint object to which the origin belongs.

Type:Microsoft.Azure.Commands.Cdn.Models.Endpoint.PSEndpoint
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-EndpointName

Specifies the name of the endpoint to which the origin server belongs.

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

Specifies the name of the profile to which the origin server belongs.

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

Specifies the name of the resource group to which the origin server belongs.

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

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OriginName

Specifies the name of the origin server.

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

Inputs

PSEndpoint

Parameter 'CdnEndpoint' accepts value of type 'PSEndpoint' from the pipeline

Outputs

This cmdlet returns an origin server object.