ServiceEndpointPolicies interface

Interface representing a ServiceEndpointPolicies.

Methods

beginCreateOrUpdate(string, string, ServiceEndpointPolicy, ServiceEndpointPoliciesCreateOrUpdateOptionalParams)

Creates or updates a service Endpoint Policies.

beginCreateOrUpdateAndWait(string, string, ServiceEndpointPolicy, ServiceEndpointPoliciesCreateOrUpdateOptionalParams)

Creates or updates a service Endpoint Policies.

beginDelete(string, string, ServiceEndpointPoliciesDeleteOptionalParams)

Deletes the specified service endpoint policy.

beginDeleteAndWait(string, string, ServiceEndpointPoliciesDeleteOptionalParams)

Deletes the specified service endpoint policy.

get(string, string, ServiceEndpointPoliciesGetOptionalParams)

Gets the specified service Endpoint Policies in a specified resource group.

list(ServiceEndpointPoliciesListOptionalParams)

Gets all the service endpoint policies in a subscription.

listByResourceGroup(string, ServiceEndpointPoliciesListByResourceGroupOptionalParams)

Gets all service endpoint Policies in a resource group.

updateTags(string, string, TagsObject, ServiceEndpointPoliciesUpdateTagsOptionalParams)

Updates tags of a service endpoint policy.

Method Details

beginCreateOrUpdate(string, string, ServiceEndpointPolicy, ServiceEndpointPoliciesCreateOrUpdateOptionalParams)

Creates or updates a service Endpoint Policies.

function beginCreateOrUpdate(resourceGroupName: string, serviceEndpointPolicyName: string, parameters: ServiceEndpointPolicy, options?: ServiceEndpointPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceEndpointPolicy>, ServiceEndpointPolicy>>

Parameters

resourceGroupName

string

The name of the resource group.

serviceEndpointPolicyName

string

The name of the service endpoint policy.

parameters
ServiceEndpointPolicy

Parameters supplied to the create or update service endpoint policy operation.

options
ServiceEndpointPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceEndpointPolicy>, ServiceEndpointPolicy>>

beginCreateOrUpdateAndWait(string, string, ServiceEndpointPolicy, ServiceEndpointPoliciesCreateOrUpdateOptionalParams)

Creates or updates a service Endpoint Policies.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceEndpointPolicyName: string, parameters: ServiceEndpointPolicy, options?: ServiceEndpointPoliciesCreateOrUpdateOptionalParams): Promise<ServiceEndpointPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

serviceEndpointPolicyName

string

The name of the service endpoint policy.

parameters
ServiceEndpointPolicy

Parameters supplied to the create or update service endpoint policy operation.

options
ServiceEndpointPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, ServiceEndpointPoliciesDeleteOptionalParams)

Deletes the specified service endpoint policy.

function beginDelete(resourceGroupName: string, serviceEndpointPolicyName: string, options?: ServiceEndpointPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

serviceEndpointPolicyName

string

The name of the service endpoint policy.

options
ServiceEndpointPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, ServiceEndpointPoliciesDeleteOptionalParams)

Deletes the specified service endpoint policy.

function beginDeleteAndWait(resourceGroupName: string, serviceEndpointPolicyName: string, options?: ServiceEndpointPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

serviceEndpointPolicyName

string

The name of the service endpoint policy.

options
ServiceEndpointPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ServiceEndpointPoliciesGetOptionalParams)

Gets the specified service Endpoint Policies in a specified resource group.

function get(resourceGroupName: string, serviceEndpointPolicyName: string, options?: ServiceEndpointPoliciesGetOptionalParams): Promise<ServiceEndpointPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

serviceEndpointPolicyName

string

The name of the service endpoint policy.

options
ServiceEndpointPoliciesGetOptionalParams

The options parameters.

Returns

list(ServiceEndpointPoliciesListOptionalParams)

Gets all the service endpoint policies in a subscription.

function list(options?: ServiceEndpointPoliciesListOptionalParams): PagedAsyncIterableIterator<ServiceEndpointPolicy, ServiceEndpointPolicy[], PageSettings>

Parameters

options
ServiceEndpointPoliciesListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ServiceEndpointPoliciesListByResourceGroupOptionalParams)

Gets all service endpoint Policies in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: ServiceEndpointPoliciesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ServiceEndpointPolicy, ServiceEndpointPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

Returns

updateTags(string, string, TagsObject, ServiceEndpointPoliciesUpdateTagsOptionalParams)

Updates tags of a service endpoint policy.

function updateTags(resourceGroupName: string, serviceEndpointPolicyName: string, parameters: TagsObject, options?: ServiceEndpointPoliciesUpdateTagsOptionalParams): Promise<ServiceEndpointPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

serviceEndpointPolicyName

string

The name of the service endpoint policy.

parameters
TagsObject

Parameters supplied to update service endpoint policy tags.

options
ServiceEndpointPoliciesUpdateTagsOptionalParams

The options parameters.

Returns