Microsoft.DependencyMap (preview:2025-01-31)

2025/06/23 • 1 updated methods

Maps_ExportDependencies (updated)
Description Export dependencies
Reference Link ¶

⚶ Changes

{
  "#id": "Maps_ExportDependencies",
  "$parameters": {
    "body": {
      "$properties": [
        {
          "#name": "focusedMachineId",
          "Required": {
            "new": false,
            "old": true
          }
        }
      ]
    }
  },
  "$responses": {
    "@added_880880de37444703b00ad84ea05c66e4": {
      "200": {
        "Description": "Model representing the result of the export dependencies asynchronous operation.",
        "Type": "object",
        "$properties": [
          {
            "#name": "id",
            "Description": "The status URL of export dependencies operation.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "name",
            "Description": "The resource name of the operation status. It must match the last segment of 'id' field.",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "status",
            "Description": "The overall arm status of the operation. It has one of the terminal states - Succeeded/Failed/Canceled.",
            "Required": true,
            "Type": "string"
          },
          {
            "#name": "error",
            "Description": "Contains error details if status is Failed/Canceled.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "startTime",
            "Description": "The start time of the operation.",
            "Format": "date-time",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "endTime",
            "Description": "The end time of the operation.",
            "Format": "date-time",
            "Required": false,
            "Type": "string"
          },
          {
            "#name": "properties",
            "Description": "Properties for export dependencies. These should only be set if the status is Succeeded.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "exportedDataSasUri",
                "Description": "The SAS URI of the blob containing the exported dependencies data.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "statusCode",
                "Description": "A status code returned by the service with additional context about the export dependencies operation.",
                "Enum": [
                  [
                    "NoMatch",
                    "Operation completed but no data was found for the requested time range"
                  ],
                  [
                    "CompleteMatch",
                    "Operation completed with data found for the entire requested time range"
                  ],
                  [
                    "PartialMatch",
                    "Operation completed with data found for a portion of the requested time range"
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "additionalInfo",
                "Description": "Additional information about the exported data.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "availableDaysCount",
                    "Description": "Number of days for which data was available in the exported results.",
                    "Format": "int32",
                    "Required": false,
                    "Type": "integer"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "202": [
      {
        "@added_198e200d6ee248ac830682a4b62675d9": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/exportDependencies
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mapName: string ,
body:
{
focusedMachineId: string ,
filters:
{
dateTime:
{
startDateTimeUtc: string ,
endDateTimeUtc: string ,
}
,
processNameFilter:
{
operator: enum ,
processNames:
[
string ,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
startTime: string ,
endTime: string ,
properties:
{
exportedDataSasUri: string ,
statusCode: enum ,
additionalInfo:
{
availableDaysCount: integer ,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

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