PeeringServices interface
Interface representing a PeeringServices.
Methods
create |
Creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group. |
delete(string, string, Peering |
Deletes an existing peering service with the specified name under the given subscription and resource group. |
get(string, string, Peering |
Gets an existing peering service with the specified name under the given subscription and resource group. |
initialize |
Initialize Peering Service for Connection Monitor functionality |
list |
Lists all of the peering services under the given subscription and resource group. |
list |
Lists all of the peerings under the given subscription. |
update(string, string, Resource |
Updates tags for a peering service with the specified name under the given subscription and resource group. |
Method Details
createOrUpdate(string, string, PeeringService, PeeringServicesCreateOrUpdateOptionalParams)
Creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group.
function createOrUpdate(resourceGroupName: string, peeringServiceName: string, peeringService: PeeringService, options?: PeeringServicesCreateOrUpdateOptionalParams): Promise<PeeringService>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- peeringServiceName
-
string
The name of the peering service.
- peeringService
- PeeringService
The properties needed to create or update a peering service.
The options parameters.
Returns
Promise<PeeringService>
delete(string, string, PeeringServicesDeleteOptionalParams)
Deletes an existing peering service with the specified name under the given subscription and resource group.
function delete(resourceGroupName: string, peeringServiceName: string, options?: PeeringServicesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- peeringServiceName
-
string
The name of the peering service.
The options parameters.
Returns
Promise<void>
get(string, string, PeeringServicesGetOptionalParams)
Gets an existing peering service with the specified name under the given subscription and resource group.
function get(resourceGroupName: string, peeringServiceName: string, options?: PeeringServicesGetOptionalParams): Promise<PeeringService>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- peeringServiceName
-
string
The name of the peering.
- options
- PeeringServicesGetOptionalParams
The options parameters.
Returns
Promise<PeeringService>
initializeConnectionMonitor(PeeringServicesInitializeConnectionMonitorOptionalParams)
Initialize Peering Service for Connection Monitor functionality
function initializeConnectionMonitor(options?: PeeringServicesInitializeConnectionMonitorOptionalParams): Promise<void>
Parameters
The options parameters.
Returns
Promise<void>
listByResourceGroup(string, PeeringServicesListByResourceGroupOptionalParams)
Lists all of the peering services under the given subscription and resource group.
function listByResourceGroup(resourceGroupName: string, options?: PeeringServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PeeringService, PeeringService[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listBySubscription(PeeringServicesListBySubscriptionOptionalParams)
Lists all of the peerings under the given subscription.
function listBySubscription(options?: PeeringServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PeeringService, PeeringService[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, ResourceTags, PeeringServicesUpdateOptionalParams)
Updates tags for a peering service with the specified name under the given subscription and resource group.
function update(resourceGroupName: string, peeringServiceName: string, tags: ResourceTags, options?: PeeringServicesUpdateOptionalParams): Promise<PeeringService>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- peeringServiceName
-
string
The name of the peering service.
- tags
- ResourceTags
The resource tags.
The options parameters.
Returns
Promise<PeeringService>