Microsoft.CostManagement (preview:2022-06-01)

2025/10/30 • 12 new, 12 deleted methods

ScheduledActions_List (new)
Description List all private scheduled actions.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.CostManagement/scheduledActions
{
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_ListByScope (new)
Description List all shared scheduled actions within the given scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.CostManagement/scheduledActions
{
scope: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CreateOrUpdate (new)
Description Create or update a private scheduled action.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.CostManagement/scheduledActions/{name}
{
name: string ,
api-version: string ,
scheduledAction:
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_Get (new)
Description Get the private scheduled action by name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.CostManagement/scheduledActions/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_Delete (new)
Description Delete a private scheduled action.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.CostManagement/scheduledActions/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CreateOrUpdateByScope (new)
Description Create or update a shared scheduled action within the given scope.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
{
scope: string ,
name: string ,
api-version: string ,
scheduledAction:
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_GetByScope (new)
Description Get the shared scheduled action from the given scope by name.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
{
scope: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_DeleteByScope (new)
Description Delete a scheduled action within the given scope.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
{
scope: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_Execute (new)
Description Execute a private scheduled action.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.CostManagement/scheduledActions/{name}/execute
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_ExecuteByScope (new)
Description Execute a shared scheduled action within the given scope.
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}/execute
{
scope: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CheckNameAvailability (new)
Description Checks availability and correctness of the name for a scheduled action.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.CostManagement/checkNameAvailability
{
api-version: string ,
checkNameAvailabilityRequest:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CheckNameAvailabilityByScope (new)
Description Checks availability and correctness of the name for a scheduled action within the given scope.
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.CostManagement/checkNameAvailability
{
scope: string ,
api-version: string ,
checkNameAvailabilityRequest:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_List (removed)
Description List all private scheduled actions.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.CostManagement/scheduledActions
{
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_ListByScope (removed)
Description List all shared scheduled actions within the given scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.CostManagement/scheduledActions
{
scope: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CreateOrUpdate (removed)
Description Create or update a private scheduled action.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.CostManagement/scheduledActions/{name}
{
name: string ,
api-version: string ,
scheduledAction:
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_Get (removed)
Description Get the private scheduled action by name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.CostManagement/scheduledActions/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_Delete (removed)
Description Delete a private scheduled action.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.CostManagement/scheduledActions/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CreateOrUpdateByScope (removed)
Description Create or update a shared scheduled action within the given scope.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
{
scope: string ,
name: string ,
api-version: string ,
scheduledAction:
{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_GetByScope (removed)
Description Get the shared scheduled action from the given scope by name.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
{
scope: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
fileDestination:
{
fileFormats:
[
string ,
]
,
}
,
notification:
{
to:
[
string ,
]
,
message: string ,
subject: string ,
}
,
schedule:
{
frequency: enum ,
hourOfDay: integer ,
daysOfWeek:
[
string ,
]
,
weeksOfMonth:
[
string ,
]
,
dayOfMonth: integer ,
startDate: string ,
endDate: string ,
}
,
scope: string ,
status: enum ,
viewId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_DeleteByScope (removed)
Description Delete a scheduled action within the given scope.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
{
scope: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_Execute (removed)
Description Execute a private scheduled action.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.CostManagement/scheduledActions/{name}/execute
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_ExecuteByScope (removed)
Description Execute a shared scheduled action within the given scope.
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}/execute
{
scope: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CheckNameAvailability (removed)
Description Checks availability and correctness of the name for a scheduled action.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.CostManagement/checkNameAvailability
{
api-version: string ,
checkNameAvailabilityRequest:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ScheduledActions_CheckNameAvailabilityByScope (removed)
Description Checks availability and correctness of the name for a scheduled action within the given scope.
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.CostManagement/checkNameAvailability
{
scope: string ,
api-version: string ,
checkNameAvailabilityRequest:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}