SiteNetworkServices interface

Interface representing a SiteNetworkServices.

Methods

beginCreateOrUpdate(string, string, SiteNetworkService, SiteNetworkServicesCreateOrUpdateOptionalParams)

Creates or updates a network site.

beginCreateOrUpdateAndWait(string, string, SiteNetworkService, SiteNetworkServicesCreateOrUpdateOptionalParams)

Creates or updates a network site.

beginDelete(string, string, SiteNetworkServicesDeleteOptionalParams)

Deletes the specified site network service.

beginDeleteAndWait(string, string, SiteNetworkServicesDeleteOptionalParams)

Deletes the specified site network service.

get(string, string, SiteNetworkServicesGetOptionalParams)

Gets information about the specified site network service.

listByResourceGroup(string, SiteNetworkServicesListByResourceGroupOptionalParams)

Lists all site network services.

listBySubscription(SiteNetworkServicesListBySubscriptionOptionalParams)

Lists all sites in the network service in a subscription.

updateTags(string, string, TagsObject, SiteNetworkServicesUpdateTagsOptionalParams)

Updates a site update tags.

Method Details

beginCreateOrUpdate(string, string, SiteNetworkService, SiteNetworkServicesCreateOrUpdateOptionalParams)

Creates or updates a network site.

function beginCreateOrUpdate(resourceGroupName: string, siteNetworkServiceName: string, parameters: SiteNetworkService, options?: SiteNetworkServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SiteNetworkService>, SiteNetworkService>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

siteNetworkServiceName

string

The name of the site network service.

parameters
SiteNetworkService

Parameters supplied to the create or update site network service operation.

options
SiteNetworkServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, SiteNetworkService, SiteNetworkServicesCreateOrUpdateOptionalParams)

Creates or updates a network site.

function beginCreateOrUpdateAndWait(resourceGroupName: string, siteNetworkServiceName: string, parameters: SiteNetworkService, options?: SiteNetworkServicesCreateOrUpdateOptionalParams): Promise<SiteNetworkService>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

siteNetworkServiceName

string

The name of the site network service.

parameters
SiteNetworkService

Parameters supplied to the create or update site network service operation.

options
SiteNetworkServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, SiteNetworkServicesDeleteOptionalParams)

Deletes the specified site network service.

function beginDelete(resourceGroupName: string, siteNetworkServiceName: string, options?: SiteNetworkServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SiteNetworkServicesDeleteHeaders>, SiteNetworkServicesDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

siteNetworkServiceName

string

The name of the site network service.

options
SiteNetworkServicesDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, SiteNetworkServicesDeleteOptionalParams)

Deletes the specified site network service.

function beginDeleteAndWait(resourceGroupName: string, siteNetworkServiceName: string, options?: SiteNetworkServicesDeleteOptionalParams): Promise<SiteNetworkServicesDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

siteNetworkServiceName

string

The name of the site network service.

options
SiteNetworkServicesDeleteOptionalParams

The options parameters.

Returns

get(string, string, SiteNetworkServicesGetOptionalParams)

Gets information about the specified site network service.

function get(resourceGroupName: string, siteNetworkServiceName: string, options?: SiteNetworkServicesGetOptionalParams): Promise<SiteNetworkService>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

siteNetworkServiceName

string

The name of the site network service.

options
SiteNetworkServicesGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, SiteNetworkServicesListByResourceGroupOptionalParams)

Lists all site network services.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(SiteNetworkServicesListBySubscriptionOptionalParams)

Lists all sites in the network service in a subscription.

function listBySubscription(options?: SiteNetworkServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SiteNetworkService, SiteNetworkService[], PageSettings>

Parameters

options
SiteNetworkServicesListBySubscriptionOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, SiteNetworkServicesUpdateTagsOptionalParams)

Updates a site update tags.

function updateTags(resourceGroupName: string, siteNetworkServiceName: string, parameters: TagsObject, options?: SiteNetworkServicesUpdateTagsOptionalParams): Promise<SiteNetworkService>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

siteNetworkServiceName

string

The name of the site network service.

parameters
TagsObject

Parameters supplied to update network site tags.

options
SiteNetworkServicesUpdateTagsOptionalParams

The options parameters.

Returns