New-​Azure​Rm​Api​Management​Backend​Credential

Creates a new Backend Credential contract.

Syntax

New-AzureRmApiManagementBackendCredential
   [-AuthorizationHeaderParameter <String>]
   [-AuthorizationHeaderScheme <String>]
   [-CertificateThumbprint <String[]>]
   [-Header <Hashtable>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-Query <Hashtable>]

Description

Creates a new Backend Credential contract.

Examples

-------------------------- Example 1 --------------------------

@{paragraph=PS C:\>}

$credential = New-AzureRmApiManagementBackendCredential -AuthorizationHeaderScheme basic -AuthorizationHeaderParameter opensesame -Query @{"sv" = @('xx', 'bb'); "sr" = @('cc')} -Header @{"x-my-1" = @('val1', 'val2')}

Creates a Backend Credentials Contract

Optional Parameters

-AuthorizationHeaderParameter

Authorization Header used for the Backend. This parameter is optional.

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

Authorization Scheme used for the Backend. This parameter is optional.

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

Client Certificate Thumbprints. This parameter is optional.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Header

Header Parameter Values accepted by Backend. This parameter is optional.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Query

Query Parameter Values accepted by Backend. This parameter is optional.

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

Outputs

Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementBackendCredential