你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IProfileOperations 接口

定义

流量管理器 API 包括用于管理流量管理器配置文件的操作。

public interface IProfileOperations
type IProfileOperations = interface
Public Interface IProfileOperations

方法

CheckDnsPrefixAvailabilityAsync(String, CancellationToken)

要使用的 DNS 名称。 名称中必须包含 .trafficmanager.net。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/dn510368.aspx)

CreateAsync(String, String, CancellationToken)

为指定订阅拥有的域名创建新的配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758254.aspx)

DeleteAsync(String, CancellationToken)

删除某一配置文件及其所有定义。 此操作不能还原。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758256.aspx)

GetAsync(String, CancellationToken)

返回配置文件详细信息,包括所有定义版本及其状态。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758248.aspx)

ListAsync(CancellationToken)

返回某一订阅拥有的所有配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758249.aspx)

UpdateAsync(String, ProfileDefinitionStatus, Int32, CancellationToken)

启用或禁用某一配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758250.aspx)

扩展方法

CheckDnsPrefixAvailability(IProfileOperations, String)

要使用的 DNS 名称。 名称中必须包含 .trafficmanager.net。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/dn510368.aspx)

CheckDnsPrefixAvailabilityAsync(IProfileOperations, String)

要使用的 DNS 名称。 名称中必须包含 .trafficmanager.net。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/dn510368.aspx)

Create(IProfileOperations, String, String)

为指定订阅拥有的域名创建新的配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758254.aspx)

CreateAsync(IProfileOperations, String, String)

为指定订阅拥有的域名创建新的配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758254.aspx)

Delete(IProfileOperations, String)

删除某一配置文件及其所有定义。 此操作不能还原。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758256.aspx)

DeleteAsync(IProfileOperations, String)

删除某一配置文件及其所有定义。 此操作不能还原。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758256.aspx)

Get(IProfileOperations, String)

返回配置文件详细信息,包括所有定义版本及其状态。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758248.aspx)

GetAsync(IProfileOperations, String)

返回配置文件详细信息,包括所有定义版本及其状态。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758248.aspx)

List(IProfileOperations)

返回某一订阅拥有的所有配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758249.aspx)

ListAsync(IProfileOperations)

返回某一订阅拥有的所有配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758249.aspx)

Update(IProfileOperations, String, ProfileDefinitionStatus, Int32)

启用或禁用某一配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758250.aspx)

UpdateAsync(IProfileOperations, String, ProfileDefinitionStatus, Int32)

启用或禁用某一配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh758250.aspx)

适用于