ScheduledActions interface
Schnittstelle, die eine ScheduledActions darstellt.
Methoden
| check |
Überprüft die Verfügbarkeit und Richtigkeit des Namens für eine geplante Aktion. |
| check |
Überprüft die Verfügbarkeit und Richtigkeit des Namens für eine geplante Aktion innerhalb des angegebenen Bereichs. |
| create |
Erstellen oder Aktualisieren einer privaten geplanten Aktion. |
| create |
Erstellen oder Aktualisieren einer freigegebenen geplanten Aktion innerhalb des angegebenen Bereichs. |
| delete(string, Scheduled |
Löschen einer privaten geplanten Aktion. |
| delete |
Löschen Sie eine geplante Aktion innerhalb des angegebenen Bereichs. |
| get(string, Scheduled |
Rufen Sie die private geplante Aktion anhand des Namens ab. |
| get |
Rufen Sie die freigegebene geplante Aktion aus dem angegebenen Bereich anhand des Namens ab. |
| list(Scheduled |
Listet alle privaten geplanten Aktionen auf. |
| list |
Listet alle freigegebenen geplanten Aktionen innerhalb des angegebenen Bereichs auf. |
| run(string, Scheduled |
Verarbeitet eine private geplante Aktion. |
| run |
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.
Die Optionsparameter.
Gibt zurück
Promise<CheckNameAvailabilityResponse>
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.
Die Optionsparameter.
Gibt zurück
Promise<CheckNameAvailabilityResponse>
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.
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.
Die Optionsparameter.
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.
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.
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.
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.
Die Optionsparameter.
Gibt zurück
Promise<ScheduledAction>
list(ScheduledActionsListOptionalParams)
Listet alle privaten geplanten Aktionen auf.
function list(options?: ScheduledActionsListOptionalParams): PagedAsyncIterableIterator<ScheduledAction, ScheduledAction[], PageSettings>
Parameter
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.
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.
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.
Die Optionsparameter.
Gibt zurück
Promise<void>