PrivateLinkScopes interface
Interface representing a PrivateLinkScopes.
Methods
begin |
Deletes a Azure Monitor PrivateLinkScope. |
begin |
Deletes a Azure Monitor PrivateLinkScope. |
create |
Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. |
get(string, string, Private |
Returns a Azure Monitor PrivateLinkScope. |
list(Private |
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription. |
list |
Gets a list of Azure Monitor PrivateLinkScopes within a resource group. |
update |
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. |
Method Details
beginDelete(string, string, PrivateLinkScopesDeleteOptionalParams)
Deletes a Azure Monitor PrivateLinkScope.
function beginDelete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- scopeName
-
string
The name of the Azure Monitor PrivateLinkScope resource.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, PrivateLinkScopesDeleteOptionalParams)
Deletes a Azure Monitor PrivateLinkScope.
function beginDeleteAndWait(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- scopeName
-
string
The name of the Azure Monitor PrivateLinkScope resource.
The options parameters.
Returns
Promise<void>
createOrUpdate(string, string, AzureMonitorPrivateLinkScope, PrivateLinkScopesCreateOrUpdateOptionalParams)
Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
function createOrUpdate(resourceGroupName: string, scopeName: string, azureMonitorPrivateLinkScopePayload: AzureMonitorPrivateLinkScope, options?: PrivateLinkScopesCreateOrUpdateOptionalParams): Promise<AzureMonitorPrivateLinkScope>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- scopeName
-
string
The name of the Azure Monitor PrivateLinkScope resource.
- azureMonitorPrivateLinkScopePayload
- AzureMonitorPrivateLinkScope
Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.
The options parameters.
Returns
Promise<AzureMonitorPrivateLinkScope>
get(string, string, PrivateLinkScopesGetOptionalParams)
Returns a Azure Monitor PrivateLinkScope.
function get(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesGetOptionalParams): Promise<AzureMonitorPrivateLinkScope>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- scopeName
-
string
The name of the Azure Monitor PrivateLinkScope resource.
The options parameters.
Returns
Promise<AzureMonitorPrivateLinkScope>
list(PrivateLinkScopesListOptionalParams)
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
function list(options?: PrivateLinkScopesListOptionalParams): PagedAsyncIterableIterator<AzureMonitorPrivateLinkScope, AzureMonitorPrivateLinkScope[], PageSettings>
Parameters
The options parameters.
Returns
listByResourceGroup(string, PrivateLinkScopesListByResourceGroupOptionalParams)
Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
function listByResourceGroup(resourceGroupName: string, options?: PrivateLinkScopesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureMonitorPrivateLinkScope, AzureMonitorPrivateLinkScope[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
updateTags(string, string, TagsResource, PrivateLinkScopesUpdateTagsOptionalParams)
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
function updateTags(resourceGroupName: string, scopeName: string, privateLinkScopeTags: TagsResource, options?: PrivateLinkScopesUpdateTagsOptionalParams): Promise<AzureMonitorPrivateLinkScope>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- scopeName
-
string
The name of the Azure Monitor PrivateLinkScope resource.
- privateLinkScopeTags
- TagsResource
Updated tag information to set into the PrivateLinkScope instance.
The options parameters.
Returns
Promise<AzureMonitorPrivateLinkScope>