SourcesOperations interface

Interface representing a Sources operations.

Properties

create

Create a credit source.

delete

Delete a credit source.

get

Get a credit source.

listByCredit

List credit sources for a credit under a resource group from primary service admin.

update

Update a credit source.

Property Details

create

Create a credit source.

create: (resourceGroupName: string, creditName: string, sourceName: string, body: CreditSource, options?: SourcesCreateOptionalParams) => Promise<CreditSource>

Property Value

(resourceGroupName: string, creditName: string, sourceName: string, body: CreditSource, options?: SourcesCreateOptionalParams) => Promise<CreditSource>

delete

Delete a credit source.

delete: (resourceGroupName: string, creditName: string, sourceName: string, options?: SourcesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, creditName: string, sourceName: string, options?: SourcesDeleteOptionalParams) => Promise<void>

get

Get a credit source.

get: (resourceGroupName: string, creditName: string, sourceName: string, options?: SourcesGetOptionalParams) => Promise<CreditSource>

Property Value

(resourceGroupName: string, creditName: string, sourceName: string, options?: SourcesGetOptionalParams) => Promise<CreditSource>

listByCredit

List credit sources for a credit under a resource group from primary service admin.

listByCredit: (resourceGroupName: string, creditName: string, options?: SourcesListByCreditOptionalParams) => PagedAsyncIterableIterator<CreditSource, CreditSource[], PageSettings>

Property Value

(resourceGroupName: string, creditName: string, options?: SourcesListByCreditOptionalParams) => PagedAsyncIterableIterator<CreditSource, CreditSource[], PageSettings>

update

Update a credit source.

update: (resourceGroupName: string, creditName: string, sourceName: string, body: CreditSourcePatchRequest, options?: SourcesUpdateOptionalParams) => Promise<CreditSource>

Property Value

(resourceGroupName: string, creditName: string, sourceName: string, body: CreditSourcePatchRequest, options?: SourcesUpdateOptionalParams) => Promise<CreditSource>