Freigeben über


ScheduledActions interface

Schnittstelle, die eine ScheduledActions darstellt.

Methoden

checkNameAvailability(CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityOptionalParams)

Überprüft die Verfügbarkeit und Richtigkeit des Namens für eine geplante Aktion.

checkNameAvailabilityByScope(string, CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityByScopeOptionalParams)

Überprüft die Verfügbarkeit und Richtigkeit des Namens für eine geplante Aktion innerhalb des angegebenen Bereichs.

createOrUpdate(string, ScheduledAction, ScheduledActionsCreateOrUpdateOptionalParams)

Erstellen oder Aktualisieren einer privaten geplanten Aktion.

createOrUpdateByScope(string, string, ScheduledAction, ScheduledActionsCreateOrUpdateByScopeOptionalParams)

Erstellen oder Aktualisieren einer freigegebenen geplanten Aktion innerhalb des angegebenen Bereichs.

delete(string, ScheduledActionsDeleteOptionalParams)

Löschen einer privaten geplanten Aktion.

deleteByScope(string, string, ScheduledActionsDeleteByScopeOptionalParams)

Löschen Sie eine geplante Aktion innerhalb des angegebenen Bereichs.

get(string, ScheduledActionsGetOptionalParams)

Rufen Sie die private geplante Aktion anhand des Namens ab.

getByScope(string, string, ScheduledActionsGetByScopeOptionalParams)

Rufen Sie die freigegebene geplante Aktion aus dem angegebenen Bereich anhand des Namens ab.

list(ScheduledActionsListOptionalParams)

Listet alle privaten geplanten Aktionen auf.

listByScope(string, ScheduledActionsListByScopeOptionalParams)

Listet alle freigegebenen geplanten Aktionen innerhalb des angegebenen Bereichs auf.

run(string, ScheduledActionsRunOptionalParams)

Verarbeitet eine private geplante Aktion.

runByScope(string, string, ScheduledActionsRunByScopeOptionalParams)

Führt eine freigegebene geplante Aktion innerhalb des angegebenen Bereichs aus.

Details zur Methode

checkNameAvailability(CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityOptionalParams)

Überprüft die Verfügbarkeit und Richtigkeit des Namens für eine geplante Aktion.

function checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>

Parameter

checkNameAvailabilityRequest
CheckNameAvailabilityRequest

Geplante Aktion, die erstellt oder aktualisiert werden soll.

Gibt zurück

checkNameAvailabilityByScope(string, CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityByScopeOptionalParams)

Überprüft die Verfügbarkeit und Richtigkeit des Namens für eine geplante Aktion innerhalb des angegebenen Bereichs.

function checkNameAvailabilityByScope(scope: string, checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityByScopeOptionalParams): Promise<CheckNameAvailabilityResponse>

Parameter

scope

string

Der Bereich, der geplanten Aktionsvorgängen zugeordnet ist. Dies umfasst "abonnements/{subscriptionId}" für den Abonnementbereich, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für resourceGroup-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft. CostManagement/externalSubscriptions/{externalSubscriptionName}' für den Bereich externes Abonnement. Hinweis: Insight Alerts sind nur im Abonnementbereich verfügbar.

checkNameAvailabilityRequest
CheckNameAvailabilityRequest

Geplante Aktion, die erstellt oder aktualisiert werden soll.

Gibt zurück

createOrUpdate(string, ScheduledAction, ScheduledActionsCreateOrUpdateOptionalParams)

Erstellen oder Aktualisieren einer privaten geplanten Aktion.

function createOrUpdate(name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateOptionalParams): Promise<ScheduledAction>

Parameter

name

string

Name der geplanten Aktion.

scheduledAction
ScheduledAction

Geplante Aktion, die erstellt oder aktualisiert werden soll.

options
ScheduledActionsCreateOrUpdateOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<ScheduledAction>

createOrUpdateByScope(string, string, ScheduledAction, ScheduledActionsCreateOrUpdateByScopeOptionalParams)

Erstellen oder Aktualisieren einer freigegebenen geplanten Aktion innerhalb des angegebenen Bereichs.

function createOrUpdateByScope(scope: string, name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateByScopeOptionalParams): Promise<ScheduledAction>

Parameter

scope

string

Der Bereich, der geplanten Aktionsvorgängen zugeordnet ist. Dies umfasst "abonnements/{subscriptionId}" für den Abonnementbereich, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für resourceGroup-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft. CostManagement/externalSubscriptions/{externalSubscriptionName}' für den Bereich externes Abonnement. Hinweis: Insight Alerts sind nur im Abonnementbereich verfügbar.

name

string

Name der geplanten Aktion.

scheduledAction
ScheduledAction

Geplante Aktion, die erstellt oder aktualisiert werden soll.

Gibt zurück

Promise<ScheduledAction>

delete(string, ScheduledActionsDeleteOptionalParams)

Löschen einer privaten geplanten Aktion.

function delete(name: string, options?: ScheduledActionsDeleteOptionalParams): Promise<void>

Parameter

name

string

Name der geplanten Aktion.

options
ScheduledActionsDeleteOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<void>

deleteByScope(string, string, ScheduledActionsDeleteByScopeOptionalParams)

Löschen Sie eine geplante Aktion innerhalb des angegebenen Bereichs.

function deleteByScope(scope: string, name: string, options?: ScheduledActionsDeleteByScopeOptionalParams): Promise<void>

Parameter

scope

string

Der Bereich, der geplanten Aktionsvorgängen zugeordnet ist. Dies umfasst "abonnements/{subscriptionId}" für den Abonnementbereich, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für resourceGroup-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft. CostManagement/externalSubscriptions/{externalSubscriptionName}' für den Bereich externes Abonnement. Hinweis: Insight Alerts sind nur im Abonnementbereich verfügbar.

name

string

Name der geplanten Aktion.

options
ScheduledActionsDeleteByScopeOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<void>

get(string, ScheduledActionsGetOptionalParams)

Rufen Sie die private geplante Aktion anhand des Namens ab.

function get(name: string, options?: ScheduledActionsGetOptionalParams): Promise<ScheduledAction>

Parameter

name

string

Name der geplanten Aktion.

options
ScheduledActionsGetOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<ScheduledAction>

getByScope(string, string, ScheduledActionsGetByScopeOptionalParams)

Rufen Sie die freigegebene geplante Aktion aus dem angegebenen Bereich anhand des Namens ab.

function getByScope(scope: string, name: string, options?: ScheduledActionsGetByScopeOptionalParams): Promise<ScheduledAction>

Parameter

scope

string

Der Bereich, der geplanten Aktionsvorgängen zugeordnet ist. Dies umfasst "abonnements/{subscriptionId}" für den Abonnementbereich, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für resourceGroup-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft. CostManagement/externalSubscriptions/{externalSubscriptionName}' für den Bereich externes Abonnement. Hinweis: Insight Alerts sind nur im Abonnementbereich verfügbar.

name

string

Name der geplanten Aktion.

options
ScheduledActionsGetByScopeOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<ScheduledAction>

list(ScheduledActionsListOptionalParams)

Listet alle privaten geplanten Aktionen auf.

function list(options?: ScheduledActionsListOptionalParams): PagedAsyncIterableIterator<ScheduledAction, ScheduledAction[], PageSettings>

Parameter

options
ScheduledActionsListOptionalParams

Die Optionsparameter.

Gibt zurück

listByScope(string, ScheduledActionsListByScopeOptionalParams)

Listet alle freigegebenen geplanten Aktionen innerhalb des angegebenen Bereichs auf.

function listByScope(scope: string, options?: ScheduledActionsListByScopeOptionalParams): PagedAsyncIterableIterator<ScheduledAction, ScheduledAction[], PageSettings>

Parameter

scope

string

Der Bereich, der geplanten Aktionsvorgängen zugeordnet ist. Dies umfasst "abonnements/{subscriptionId}" für den Abonnementbereich, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für resourceGroup-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft. CostManagement/externalSubscriptions/{externalSubscriptionName}' für den Bereich externes Abonnement. Hinweis: Insight Alerts sind nur im Abonnementbereich verfügbar.

options
ScheduledActionsListByScopeOptionalParams

Die Optionsparameter.

Gibt zurück

run(string, ScheduledActionsRunOptionalParams)

Verarbeitet eine private geplante Aktion.

function run(name: string, options?: ScheduledActionsRunOptionalParams): Promise<void>

Parameter

name

string

Name der geplanten Aktion.

options
ScheduledActionsRunOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<void>

runByScope(string, string, ScheduledActionsRunByScopeOptionalParams)

Führt eine freigegebene geplante Aktion innerhalb des angegebenen Bereichs aus.

function runByScope(scope: string, name: string, options?: ScheduledActionsRunByScopeOptionalParams): Promise<void>

Parameter

scope

string

Der Bereich, der geplanten Aktionsvorgängen zugeordnet ist. Dies umfasst "abonnements/{subscriptionId}" für den Abonnementbereich, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für resourceGroup-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft. CostManagement/externalSubscriptions/{externalSubscriptionName}' für den Bereich externes Abonnement. Hinweis: Insight Alerts sind nur im Abonnementbereich verfügbar.

name

string

Name der geplanten Aktion.

options
ScheduledActionsRunByScopeOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<void>