Sites interface
Interface representing a Sites.
Methods
Method Details
beginCreateOrUpdate(string, string, string, Site, SitesCreateOrUpdateOptionalParams)
Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.
function beginCreateOrUpdate(resourceGroupName: string, mobileNetworkName: 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.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- parameters
- Site
Parameters supplied to the create or update mobile network site operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Site>, Site>>
beginCreateOrUpdateAndWait(string, string, string, Site, SitesCreateOrUpdateOptionalParams)
Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.
function beginCreateOrUpdateAndWait(resourceGroupName: string, mobileNetworkName: string, siteName: string, parameters: Site, options?: SitesCreateOrUpdateOptionalParams): Promise<Site>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- parameters
- Site
Parameters supplied to the create or update mobile network site operation.
The options parameters.
Returns
Promise<Site>
beginDelete(string, string, string, SitesDeleteOptionalParams)
Deletes the specified mobile network site. This will also delete any network functions that are a part of this site.
function beginDelete(resourceGroupName: string, mobileNetworkName: string, siteName: string, options?: SitesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- options
- SitesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, SitesDeleteOptionalParams)
Deletes the specified mobile network site. This will also delete any network functions that are a part of this site.
function beginDeleteAndWait(resourceGroupName: string, mobileNetworkName: string, siteName: string, options?: SitesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- options
- SitesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
beginDeletePacketCore(string, string, string, SiteDeletePacketCore, SitesDeletePacketCoreOptionalParams)
Deletes a packet core under the specified mobile network site.
function beginDeletePacketCore(resourceGroupName: string, mobileNetworkName: string, siteName: string, parameters: SiteDeletePacketCore, options?: SitesDeletePacketCoreOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- parameters
- SiteDeletePacketCore
Parameters supplied to delete a packet core under a site.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeletePacketCoreAndWait(string, string, string, SiteDeletePacketCore, SitesDeletePacketCoreOptionalParams)
Deletes a packet core under the specified mobile network site.
function beginDeletePacketCoreAndWait(resourceGroupName: string, mobileNetworkName: string, siteName: string, parameters: SiteDeletePacketCore, options?: SitesDeletePacketCoreOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- parameters
- SiteDeletePacketCore
Parameters supplied to delete a packet core under a site.
The options parameters.
Returns
Promise<void>
get(string, string, string, SitesGetOptionalParams)
Gets information about the specified mobile network site.
function get(resourceGroupName: string, mobileNetworkName: string, siteName: string, options?: SitesGetOptionalParams): Promise<Site>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- options
- SitesGetOptionalParams
The options parameters.
Returns
Promise<Site>
listByMobileNetwork(string, string, SitesListByMobileNetworkOptionalParams)
Lists all sites in the mobile network.
function listByMobileNetwork(resourceGroupName: string, mobileNetworkName: string, options?: SitesListByMobileNetworkOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
The options parameters.
Returns
updateTags(string, string, string, TagsObject, SitesUpdateTagsOptionalParams)
Updates site tags.
function updateTags(resourceGroupName: string, mobileNetworkName: string, siteName: string, parameters: TagsObject, options?: SitesUpdateTagsOptionalParams): Promise<Site>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- mobileNetworkName
-
string
The name of the mobile network.
- siteName
-
string
The name of the mobile network site.
- parameters
- TagsObject
Parameters supplied to update network site tags.
- options
- SitesUpdateTagsOptionalParams
The options parameters.
Returns
Promise<Site>