< Back

New-AzureRmApiManagementBackendProxy

Tue Jan 29, 2019 9:29 pm

NAME New-AzureRmApiManagementBackendProxy



SYNOPSIS

Creates a new Backend Proxy Object.





SYNTAX

New-AzureRmApiManagementBackendProxy [-DefaultProfile <IAzureContextContainer>] [-ProxyCredential <PSCredential>] -Url <String>

[<CommonParameters>]





DESCRIPTION

Creates a new Backend Proxy Object which can be piped when creating a new Backend entity.





PARAMETERS

-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



-ProxyCredential <PSCredential>

Credentials used to connect to Backend Proxy. This parameter is optional.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Url <String>

Url of the Proxy server to be used when forwarding calls to Backend. This parameter is required.



Required? true

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.PsApiManagementBackendProxy







NOTES









Create a Backend Proxy In-Memory Object



PS C:\\>$secpassword = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force

PS C:\\>$proxyCreds = New-Object System.Management.Automation.PSCredential ("foo", $secpassword)

PS C:\\>$credential = New-AzureRmApiManagementBackendProxy -Url "http://12.168.1.1:8080" -ProxyCredential $proxyCreds



Creates a Backend Proxy Object







RELATED LINKS

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

Get-AzureRmApiManagementBackend

New-AzureRmApiManagementBackend

New-AzureRmApiManagementBackendCredential

Set-AzureRmApiManagementBackend

Remove-AzureRmApiManagementBackend