ResourceManagementPrivateLinkOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:resource_management_private_link> attribute.
- Inheritance
-
builtins.objectResourceManagementPrivateLinkOperations
Constructor
ResourceManagementPrivateLinkOperations(*args, **kwargs)
Methods
delete |
Delete a resource management private link. |
get |
Get a resource management private link(resource-level). |
list |
Get all the resource management private links in a subscription. |
list_by_resource_group |
Get all the resource management private links in a resource group. |
put |
Create a resource management group private link. |
delete
Delete a resource management private link.
async delete(resource_group_name: str, rmpl_name: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
rmpl_name
Required
|
The name of the resource management private link. Required. |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get a resource management private link(resource-level).
async get(resource_group_name: str, rmpl_name: str, **kwargs: Any) -> ResourceManagementPrivateLink
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
rmpl_name
Required
|
The name of the resource management private link. Required. |
Returns
Type | Description |
---|---|
ResourceManagementPrivateLink or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Get all the resource management private links in a subscription.
async list(**kwargs: Any) -> ResourceManagementPrivateLinkListResult
Returns
Type | Description |
---|---|
ResourceManagementPrivateLinkListResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_resource_group
Get all the resource management private links in a resource group.
async list_by_resource_group(resource_group_name: str, **kwargs: Any) -> ResourceManagementPrivateLinkListResult
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
Returns
Type | Description |
---|---|
ResourceManagementPrivateLinkListResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
put
Create a resource management group private link.
async put(resource_group_name: str, rmpl_name: str, parameters: _models.ResourceManagementPrivateLinkLocation, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ResourceManagementPrivateLink
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
rmpl_name
Required
|
The name of the resource management private link. Required. |
parameters
Required
|
The region to create the Resource Management private link. Is either a ResourceManagementPrivateLinkLocation type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
ResourceManagementPrivateLink 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