Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Latest commit

History

History
273 lines (212 loc) * 6.34 KB

Register-CrmServiceEndpoint.md

File metadata and controls

273 lines (212 loc) * 6.34 KB
external help file Module Name online version schema
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml
AMSoftware.Crm
2.0.0

Register-CrmServiceEndpoint

SYNOPSIS

Register a serviceendpoint.

SYNTAX

RelayEndpointWithToken

Register-CrmServiceEndpoint [-Id ] [-Name] [-Endpoint] [-EndpointPathOrName]
[-Description ] -RelayContract -SASToken
[-Claim ] [-PassThru] []

RelayEndpointWithKey

Register-CrmServiceEndpoint [-Id ] [-Name] [-Endpoint] [-EndpointPathOrName]
[-Description ] -RelayContract -SASKeyName -SASKey
[-Claim ] [-PassThru] []

QueueuEndpointWithToken

Register-CrmServiceEndpoint [-Id ] [-Name] [-Endpoint] [-EndpointPathOrName]
[-Description ] -QueueContract
[-MessageFormat ] -SASToken [-Claim ]
[-PassThru] []

QueueuEndpointWithKey

Register-CrmServiceEndpoint [-Id ] [-Name] [-Endpoint] [-EndpointPathOrName]
[-Description ] -QueueContract
[-MessageFormat ] -SASKeyName -SASKey
[-Claim ] [-PassThru] []

DESCRIPTION

Register a serviceendpoint.

EXAMPLES

PARAMETERS

-Claim

The type of claim for the serviceendpoint.

Type: AMSoftware.Crm.PowerShell.Common.CrmServiceEndpointUserClaim
Parameter Sets: (All)
Aliases: UserInformation
Accepted values: None, UserId, UserInfo

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

-Description

The description for the serviceendpoint.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-Endpoint

The Endpoint URI of the service endpoint. URI depends on the type of service endpoint. Can be an Azure ServiceBus namespace URI, of a HTTP endpoint.

Type: System.String
Parameter Sets: (All)
Aliases: NamespaceAddress, Namespace

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EndpointPathOrName

Name or Path specifier for the service endpoint. The name of the Topic or Queue, etc.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

If provided the Id of an existing Service Endpoint to update

Type: System.Guid
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-MessageFormat

The format of the messages send to an Azure ServiceBus.

Type: AMSoftware.Crm.PowerShell.Common.CrmServiceEndpointMessageFormat
Parameter Sets: QueueuEndpointWithToken, QueueuEndpointWithKey
Aliases:
Accepted values: DOTNETBinary, JSON, XML

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

-Name

The name for the serviceendpoint.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Returns an object that represents the Service Endpoint. By default, this cmdlet does not generate any output.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

-QueueContract

The type of async messaging contract to use.

Type: AMSoftware.Crm.PowerShell.Common.CrmServiceEndpointContract
Parameter Sets: QueueuEndpointWithToken, QueueuEndpointWithKey
Aliases:
Accepted values: Queue, Topic, Eventhub

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

-RelayContract

The type of async relay contract to use.

Type: AMSoftware.Crm.PowerShell.Common.CrmServiceEndpointContract
Parameter Sets: RelayEndpointWithToken, RelayEndpointWithKey
Aliases:
Accepted values: Oneway, Twoway, Rest

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

-SASKey

The SASKey value to use with SASKey Authorization type

Type: System.String
Parameter Sets: RelayEndpointWithKey, QueueuEndpointWithKey
Aliases:

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

-SASKeyName

The SASKey name to use with SASKey Authorization type

Type: System.String
Parameter Sets: RelayEndpointWithKey, QueueuEndpointWithKey
Aliases:

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

-SASToken

The SASToken value to use with SASToken Authorization type

Type: System.String
Parameter Sets: RelayEndpointWithToken, QueueuEndpointWithToken
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Guid

OUTPUTS

Microsoft.Xrm.Sdk.Entity

NOTES

RELATED LINKS

Get-CrmServiceEndpoint

Set-CrmServiceEndpoint

Unregister-CrmServiceEndpoint

Entity Class