ServiceEndpointPolicies interface
Interface representing a ServiceEndpointPolicies.
Methods
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.
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.
The options parameters.
Returns
Promise<ServiceEndpointPolicy>
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.
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.
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.
The options parameters.
Returns
Promise<ServiceEndpointPolicy>
list(ServiceEndpointPoliciesListOptionalParams)
Gets all the service endpoint policies in a subscription.
function list(options?: ServiceEndpointPoliciesListOptionalParams): PagedAsyncIterableIterator<ServiceEndpointPolicy, ServiceEndpointPolicy[], PageSettings>
Parameters
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.
The options parameters.
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.
The options parameters.
Returns
Promise<ServiceEndpointPolicy>