Share via


Unresolved Dependencies - Get

Gets a list of unresolved dependencies.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies?api-version=2023-08-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies?dependencyLevel={dependencyLevel}&$orderby={$orderby}&api-version=2023-08-01&$filter={$filter}

URI Parameters

Name In Required Type Description
moveCollectionName
path True

string

The Move Collection Name.

resourceGroupName
path True

string

The Resource Group Name.

subscriptionId
path True

string

The Subscription ID.

api-version
query True

string

Client Api Version.

$filter
query

string

The filter to apply on the operation. For example, $apply=filter(count eq 2).

$orderby
query

string

OData order by query option. For example, you can use $orderby=Count desc.

dependencyLevel
query

DependencyLevel

Defines the dependency level.

Responses

Name Type Description
200 OK

UnresolvedDependencyCollection

Success

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

UnresolvedDependencies_Get

Sample request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/moveCollections/movecollection1/unresolvedDependencies?api-version=2023-08-01

Sample response

{
  "value": [
    {
      "count": 1,
      "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"
    }
  ]
}

Definitions

Name Description
CloudError

An error response from the service.

CloudErrorBody

An error response from the service.

DependencyLevel

Defines the dependency level.

Summary

Summary item.

SummaryCollection

Summary Collection.

UnresolvedDependency

Unresolved dependency.

UnresolvedDependencyCollection

Unresolved dependency collection.

CloudError

An error response from the service.

Name Type Description
error

CloudErrorBody

Cloud error body.

CloudErrorBody

An error response from the service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.

DependencyLevel

Defines the dependency level.

Value Description
Direct
Descendant

Summary

Summary item.

Name Type Description
count

integer (int32)

Gets the count.

item

string

Gets the item.

SummaryCollection

Summary Collection.

Name Type Description
fieldName

string

Gets or sets the field name on which summary is done.

summary

Summary[]

Gets or sets the list of summary items.

UnresolvedDependency

Unresolved dependency.

Name Type Description
count

integer (int32)

Gets or sets the count.

id

string

Gets or sets the arm id of the dependency.

UnresolvedDependencyCollection

Unresolved dependency collection.

Name Type Description
nextLink

string

Gets or sets the value of next link.

summaryCollection

SummaryCollection

Gets or sets the list of summary items and the field on which summary is done.

totalCount

integer (int64)

Gets the total count.

value

UnresolvedDependency[]

Gets or sets the list of unresolved dependencies.