PrivateLinkAssociationOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:private_link_association> attribute.
- Inheritance
-
builtins.objectPrivateLinkAssociationOperations
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.v2020_05_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\privatelinks\\v2020_05_01\\models\\__init__.py'>
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for