Sites interface
Interface representing a Sites.
Methods
begin |
Creates or updates a network site. |
begin |
Creates or updates a network site. |
begin |
Deletes the specified network site. |
begin |
Deletes the specified network site. |
get(string, string, Sites |
Gets information about the specified network site. |
list |
Lists all sites in the network service. |
list |
Lists all sites in the network service in a subscription. |
update |
Updates a site update tags. |
Method Details
beginCreateOrUpdate(string, string, Site, SitesCreateOrUpdateOptionalParams)
Creates or updates a network site.
function beginCreateOrUpdate(resourceGroupName: string, siteName: string, parameters: Site, options?: SitesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Site>, Site>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- siteName
-
string
The name of the network service site.
- parameters
- Site
Parameters supplied to the create or update network site operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Site>, Site>>
beginCreateOrUpdateAndWait(string, string, Site, SitesCreateOrUpdateOptionalParams)
Creates or updates a network site.
function beginCreateOrUpdateAndWait(resourceGroupName: string, siteName: string, parameters: Site, options?: SitesCreateOrUpdateOptionalParams): Promise<Site>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- siteName
-
string
The name of the network service site.
- parameters
- Site
Parameters supplied to the create or update network site operation.
The options parameters.
Returns
Promise<Site>
beginDelete(string, string, SitesDeleteOptionalParams)
Deletes the specified network site.
function beginDelete(resourceGroupName: string, siteName: string, options?: SitesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SitesDeleteHeaders>, SitesDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- siteName
-
string
The name of the network service site.
- options
- SitesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SitesDeleteHeaders>, SitesDeleteHeaders>>
beginDeleteAndWait(string, string, SitesDeleteOptionalParams)
Deletes the specified network site.
function beginDeleteAndWait(resourceGroupName: string, siteName: string, options?: SitesDeleteOptionalParams): Promise<SitesDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- siteName
-
string
The name of the network service site.
- options
- SitesDeleteOptionalParams
The options parameters.
Returns
Promise<SitesDeleteHeaders>
get(string, string, SitesGetOptionalParams)
Gets information about the specified network site.
function get(resourceGroupName: string, siteName: string, options?: SitesGetOptionalParams): Promise<Site>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- siteName
-
string
The name of the network service site.
- options
- SitesGetOptionalParams
The options parameters.
Returns
Promise<Site>
listByResourceGroup(string, SitesListByResourceGroupOptionalParams)
Lists all sites in the network service.
function listByResourceGroup(resourceGroupName: string, options?: SitesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(SitesListBySubscriptionOptionalParams)
Lists all sites in the network service in a subscription.
function listBySubscription(options?: SitesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>
Parameters
The options parameters.
Returns
updateTags(string, string, TagsObject, SitesUpdateTagsOptionalParams)
Updates a site update tags.
function updateTags(resourceGroupName: string, siteName: string, parameters: TagsObject, options?: SitesUpdateTagsOptionalParams): Promise<Site>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- siteName
-
string
The name of the network service site.
- parameters
- TagsObject
Parameters supplied to update network site tags.
- options
- SitesUpdateTagsOptionalParams
The options parameters.
Returns
Promise<Site>
Azure SDK for JavaScript