Azure SDK for Python
2.0.0
Return to Index

Package version


Developer Documentation

  • azure.mgmt.resource package
    • Module contents
    • Submodules
      • azure.mgmt.resource.templatespecs package
      • azure.mgmt.resource.subscriptions package
      • azure.mgmt.resource.resources package
      • azure.mgmt.resource.privatelinks package
      • azure.mgmt.resource.policy package
      • azure.mgmt.resource.managedapplications package
      • azure.mgmt.resource.locks package
      • azure.mgmt.resource.links package
        • Module contents
        • Submodules
      • azure.mgmt.resource.features package
      • azure.mgmt.resource.deploymentstacks package
      • azure.mgmt.resource.deploymentscripts package
      • azure.mgmt.resource.databoundaries package
      • azure.mgmt.resource.changes package
Azure SDK for Python
  • azure.mgmt.resource package
  • azure.mgmt.resource.links package
  • View page source

azure.mgmt.resource.links package

Module contents

class azure.mgmt.resource.links.ManagementLinkClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)[source]

Bases: MultiApiClientMixin, _SDKClient

Azure resources can be linked together to form logical relationships. You can establish links between resources belonging to different resource groups. However, all the linked resources must belong to the same subscription. Each resource can be linked to 50 other resources. If any of the linked resources are deleted or moved, the link owner must clean up the remaining link.

This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Parameters:
  • credential (TokenCredential) – Credential needed for the client to connect to Azure. Required.

  • subscription_id (str) – The ID of the target subscription. Required.

  • api_version (str) – API version to use if no profile is provided, or if missing in profile.

  • base_url (str) – Service URL

  • profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.

This is a fake class to support current implemetation of MultiApiClientMixin.” Will be removed in final version of multiapi azure-core based client

close()[source]
classmethod models(api_version='2016-09-01')[source]

Module depends on the API version:

  • 2016-09-01: v2016_09_01.models

DEFAULT_API_VERSION = '2016-09-01'
LATEST_PROFILE = azure.mgmt.resource.links.ManagementLinkClient latest
property operations

Instance depends on the API version:

  • 2016-09-01: Operations

property resource_links

Instance depends on the API version:

  • 2016-09-01: ResourceLinksOperations

Submodules

  • azure.mgmt.resource.links.v2016_09_01 package
    • Submodules
      • azure.mgmt.resource.links.v2016_09_01.models module
        • Operation
        • OperationDisplay
        • OperationListResult
        • ResourceLink
        • ResourceLinkFilter
        • ResourceLinkProperties
        • ResourceLinkResult
      • azure.mgmt.resource.links.v2016_09_01.operations module
        • Operations
          • Operations.list()
          • Operations.models
        • ResourceLinksOperations
          • ResourceLinksOperations.create_or_update()
          • ResourceLinksOperations.delete()
          • ResourceLinksOperations.get()
          • ResourceLinksOperations.list_at_source_scope()
          • ResourceLinksOperations.list_at_subscription()
          • ResourceLinksOperations.models
    • Module contents
      • ManagementLinkClient
        • ManagementLinkClient.close()
Previous Next

© Copyright 2024, Microsoft.

Built with Sphinx using a theme provided by Read the Docs.