SiteNetworkServices interface
Interface representing a SiteNetworkServices.
Methods
begin |
Creates or updates a network site. |
begin |
Creates or updates a network site. |
begin |
Deletes the specified site network service. |
begin |
Deletes the specified site network service. |
get(string, string, Site |
Gets information about the specified site network service. |
list |
Lists all site network services. |
list |
Lists all sites in the network service in a subscription. |
update |
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.
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.
The options parameters.
Returns
Promise<SiteNetworkService>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SiteNetworkServicesDeleteHeaders>, SiteNetworkServicesDeleteHeaders>>
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.
The options parameters.
Returns
Promise<SiteNetworkServicesDeleteHeaders>
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.
The options parameters.
Returns
Promise<SiteNetworkService>
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.
The options parameters.
Returns
listBySubscription(SiteNetworkServicesListBySubscriptionOptionalParams)
Lists all sites in the network service in a subscription.
function listBySubscription(options?: SiteNetworkServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SiteNetworkService, SiteNetworkService[], PageSettings>
Parameters
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.
The options parameters.
Returns
Promise<SiteNetworkService>
Azure SDK for JavaScript