< Back

New-AzureRmApiManagementBackendCredential

Tue Jan 29, 2019 9:29 pm

NAME New-AzureRmApiManagementBackendCredential



SYNOPSIS

Creates a new Backend Credential contract.





SYNTAX

New-AzureRmApiManagementBackendCredential [-AuthorizationHeaderParameter <String>] [-AuthorizationHeaderScheme <String>] [-CertificateThumbprint

<String[]>] [-DefaultProfile <IAzureContextContainer>] [-Header <Hashtable>] [-Query <Hashtable>] [<CommonParameters>]





DESCRIPTION

Creates a new Backend Credential contract.





PARAMETERS

-AuthorizationHeaderParameter <String>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-AuthorizationHeaderScheme <String>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-CertificateThumbprint <String[]>

Client Certificate Thumbprints. This parameter is optional.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Header <Hashtable>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Query <Hashtable>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

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







NOTES









Create a Backend Credentials In-Memory Object



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







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... credential

Get-AzureRmApiManagementBackend

New-AzureRmApiManagementBackend

New-AzureRmApiManagementBackendProxy

Set-AzureRmApiManagementBackend

Remove-AzureRmApiManagementBackend