LinkedService Class

The top level Linked service resource container.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.loganalytics.models._models_py3.ProxyResource
LinkedService

Constructor

LinkedService(*, tags: Optional[Dict[str, str]] = None, resource_id: Optional[str] = None, write_access_resource_id: Optional[str] = None, provisioning_state: Optional[Union[str, azure.mgmt.loganalytics.models._log_analytics_management_client_enums.LinkedServiceEntityStatus]] = None, **kwargs)

Parameters

tags
dict[str, str]
Required

A set of tags. Resource tags.

resource_id
str
Required

The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access.

write_access_resource_id
str
Required

The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access.

provisioning_state
str or LinkedServiceEntityStatus
Required

The provisioning state of the linked service. Possible values include: "Succeeded", "Deleting", "ProvisioningAccount", "Updating".

Variables

id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".