PrivateLinkAssociationOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:private_link_association> attribute.
Constructor
PrivateLinkAssociationOperations(*args, **kwargs)
Methods
| delete |
Delete a PrivateLinkAssociation. |
| get |
Get a single private link association. |
| list |
Get a private link association for a management group scope. |
| put |
Create a PrivateLinkAssociation. |
delete
Delete a PrivateLinkAssociation.
async delete(group_id: str, pla_id: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
group_id
Required
|
The management group ID. Required. |
|
pla_id
Required
|
The ID of the PLA. Required. |
Returns
| Type | Description |
|---|---|
|
None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Get a single private link association.
async get(group_id: str, pla_id: str, **kwargs: Any) -> PrivateLinkAssociation
Parameters
| Name | Description |
|---|---|
|
group_id
Required
|
The management group ID. Required. |
|
pla_id
Required
|
The ID of the PLA. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateLinkAssociation or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
Get a private link association for a management group scope.
async list(group_id: str, **kwargs: Any) -> PrivateLinkAssociationGetResult
Parameters
| Name | Description |
|---|---|
|
group_id
Required
|
The management group ID. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateLinkAssociationGetResult or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
put
Create a PrivateLinkAssociation.
async put(group_id: str, pla_id: str, parameters: _models.PrivateLinkAssociationObject, *, content_type: str = 'application/json', **kwargs: Any) -> _models.PrivateLinkAssociation
Parameters
| Name | Description |
|---|---|
|
group_id
Required
|
The management group ID. Required. |
|
pla_id
Required
|
The ID of the PLA. Required. |
|
parameters
Required
|
Parameters supplied to create the private link association. Is either a PrivateLinkAssociationObject type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateLinkAssociation or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.resource.privatelinks.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv292\\Lib\\site-packages\\azure\\mgmt\\resource\\privatelinks\\models\\__init__.py'>