Microsoft.Portal (preview:2025-04-01)

2025/03/07 • 12 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Portal/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dashboards_ListBySubscription (new)
Description Gets all the dashboards within a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dashboards_ListByResourceGroup (new)
Description Gets all the Dashboards within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dashboards_Get (new)
Description Gets the Dashboard.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
dashboardName: string ,
}

⚐ Response (200)

{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dashboards_CreateOrUpdate (new)
Description Creates or updates a Dashboard.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
dashboardName: string ,
dashboard:
{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dashboards_Update (new)
Description Updates an existing Dashboard.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
dashboardName: string ,
dashboard:
{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
lenses:
[
{
order: integer ,
parts:
[
{
position:
{
x: integer ,
y: integer ,
rowSpan: integer ,
colSpan: integer ,
metadata: object ,
}
,
metadata:
{
type: enum ,
}
,
}
,
]
,
metadata: object ,
}
,
]
,
metadata: object ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dashboards_Delete (new)
Description Deletes the Dashboard.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
dashboardName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ListTenantConfigurationViolations_List (new)
Description Gets list of items that violate tenant's configuration.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Portal/listTenantConfigurationViolations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
userId: string ,
errorMessage: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TenantConfigurations_List (new)
Description Gets list of the tenant configurations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Portal/tenantConfigurations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
enforcePrivateMarkdownStorage: boolean ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TenantConfigurations_Get (new)
Description Gets the tenant configuration.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Portal/tenantConfigurations/{configurationName}
{
api-version: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
enforcePrivateMarkdownStorage: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TenantConfigurations_Create (new)
Description Create the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Portal/tenantConfigurations/{configurationName}
{
api-version: string ,
configurationName: string ,
tenantConfiguration:
{
properties:
{
enforcePrivateMarkdownStorage: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
enforcePrivateMarkdownStorage: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
enforcePrivateMarkdownStorage: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TenantConfigurations_Delete (new)
Description Delete the tenant configuration. User has to be a Tenant Admin for this operation.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Portal/tenantConfigurations/{configurationName}
{
api-version: string ,
configurationName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}