Redigera

Dela via


New-AzFrontDoorFrontendEndpointObject

Create a PSFrontendEndpoint Object for Front Door creation

Syntax

New-AzFrontDoorFrontendEndpointObject
   -Name <String>
   -HostName <String>
   [-SessionAffinityEnabledState <PSEnabledState>]
   [-SessionAffinityTtlInSeconds <Int32>]
   [-WebApplicationFirewallPolicyLink <String>]
   [-CertificateSource <String>]
   [-MinimumTlsVersion <String>]
   [-ProtocolType <String>]
   [-Vault <String>]
   [-SecretName <String>]
   [-SecretVersion <String>]
   [-CertificateType <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Create a PSFrontendEndpoint Object for Front Door creation

Examples

Example 1

New-AzFrontDoorFrontendEndpointObject -Name "frontendendpoint1" -HostName "frontendendpoint1"

HostName                         : frontendendpoint1
SessionAffinityEnabledState      : Disabled
SessionAffinityTtlSeconds        : 0
WebApplicationFirewallPolicyLink :
Backends                         :
CustomHttpsProvisioningState     :
CustomHttpsProvisioningSubstate  :
CertificateSource                :
MinimumTlsVersion                : 1.2
Vault                            :
SecretName                       :
SecretVersion                    :
CertificateType                  :
ResourceState                    :
Id                               :
Name                             : frontendendpoint1
Type                             :
ProtocolType                     : ServerNameIndication

Create a PSFrontendEndpoint Object for Front Door creation.

Parameters

-CertificateSource

The source of the SSL certificate

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

-CertificateType

the type of the certificate used for secure connections to a frontendEndpoint

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HostName

The host name of the frontendEndpoint. Must be a domain name.

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

-MinimumTlsVersion

The minimum TLS version required from the clients to establish an SSL handshake with Front Door.

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

-Name

Frontend endpoint name.

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

-ProtocolType

The TLS extension protocol that is used for secure delivery

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

-SecretName

The name of the Key Vault secret representing the full certificate PFX

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

-SecretVersion

The version of the Key Vault secret representing the full certificate PFX

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

-SessionAffinityEnabledState

Whether to allow session affinity on this host. Default value is Disabled

Type:PSEnabledState
Accepted values:Enabled, Disabled
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SessionAffinityTtlInSeconds

The TTL to use in seconds for session affinity, if applicable. Default value is 0

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

-Vault

The Key Vault containing the SSL certificate

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

The resource id of Web Application Firewall policy for each host (if applicable)

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

Inputs

None

Outputs

PSFrontendEndpoint