Orbital.ContactProfilesList Method

Definition

Overloads

ContactProfilesList(String, String, String, Func<HttpResponseMessage, Task<IContactProfileListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns list of contact profiles by Resource Group.

public System.Threading.Tasks.Task ContactProfilesList(string resourceGroupName, string subscriptionId, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileListResult>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api30.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync sender);
member this.ContactProfilesList : string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileListResult>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api30.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ContactProfilesList (resourceGroupName As String, subscriptionId As String, Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IContactProfileListResult), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

subscriptionId
String

The ID of the target subscription.

Skiptoken
String

An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

onOk
Func<HttpResponseMessage,Task<IContactProfileListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<IErrorResponse>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to

ContactProfilesList(String, String, String, Func<HttpResponseMessage, Task<IContactProfileListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns list of contact profiles by Resource Group.

public System.Threading.Tasks.Task ContactProfilesList(string subscriptionId, string resourceGroupName, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileListResult>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync sender);
member this.ContactProfilesList : string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileListResult>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ContactProfilesList (subscriptionId As String, resourceGroupName As String, Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IContactProfileListResult), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

subscriptionId
String

The ID of the target subscription.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

Skiptoken
String

An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

onOk
Func<HttpResponseMessage,Task<IContactProfileListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<IErrorResponse>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to