Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Zones

Package version

Class representing a Zones.

Hierarchy

  • Zones

Index

Constructors

constructor

Methods

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, zoneName: string, options?: Models.ZonesBeginDeleteMethodOptionalParams): Promise<msRestAzure.LROPoller>
  • Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

    Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • Optional options: Models.ZonesBeginDeleteMethodOptionalParams

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options?: Models.ZonesCreateOrUpdateOptionalParams): Promise<Models.ZonesCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, callback: msRest.ServiceCallback<Zone>): void
  • createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options: ZonesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback<Zone>): void
  • Creates or updates a DNS zone. Does not modify DNS records within the zone.

    Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • parameters: Zone

      Parameters supplied to the CreateOrUpdate operation.

    • Optional options: Models.ZonesCreateOrUpdateOptionalParams

    Returns Promise<Models.ZonesCreateOrUpdateResponse>

    Promise<Models.ZonesCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • parameters: Zone

      Parameters supplied to the CreateOrUpdate operation.

    • callback: msRest.ServiceCallback<Zone>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • parameters: Zone

      Parameters supplied to the CreateOrUpdate operation.

    • options: ZonesCreateOrUpdateOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Zone>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, zoneName: string, options?: Models.ZonesDeleteMethodOptionalParams): Promise<Models.ZonesDeleteMethodResponse>
  • Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

    Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • Optional options: Models.ZonesDeleteMethodOptionalParams

    Returns Promise<Models.ZonesDeleteMethodResponse>

    Promise<Models.ZonesDeleteMethodResponse>

get

  • get(resourceGroupName: string, zoneName: string, options?: msRest.RequestOptionsBase): Promise<Models.ZonesGetResponse>
  • get(resourceGroupName: string, zoneName: string, callback: msRest.ServiceCallback<Zone>): void
  • get(resourceGroupName: string, zoneName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Zone>): void
  • Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.

    Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ZonesGetResponse>

    Promise<Models.ZonesGetResponse>

  • Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • callback: msRest.ServiceCallback<Zone>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

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

    • zoneName: string

      The name of the DNS zone (without a terminating dot).

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Zone>

      The callback

    Returns void

list

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: Models.ZonesListByResourceGroupOptionalParams): Promise<Models.ZonesListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<ZoneListResult>): void
  • listByResourceGroup(resourceGroupName: string, options: ZonesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<ZoneListResult>): void
  • Lists the DNS zones within a resource group.

    Parameters

    • resourceGroupName: string

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

    • Optional options: Models.ZonesListByResourceGroupOptionalParams

    Returns Promise<Models.ZonesListByResourceGroupResponse>

    Promise<Models.ZonesListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

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

    • callback: msRest.ServiceCallback<ZoneListResult>

      The callback

    Returns void

  • Parameters

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ZonesListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<ZoneListResult>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ZoneListResult>): void
  • Lists the DNS zones within a resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ZonesListByResourceGroupNextResponse>

    Promise<Models.ZonesListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ZoneListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ZoneListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ZonesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ZoneListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ZoneListResult>): void
  • Lists the DNS zones in all resource groups in a subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ZonesListNextResponse>

    Promise<Models.ZonesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ZoneListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ZoneListResult>

      The callback

    Returns void

Generated using TypeDoc