你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BillingExtensions.GetBillingAccountPaymentMethods 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 TenantResource 中 BillingAccountPaymentMethodResources 的集合。
public static Azure.ResourceManager.Billing.BillingAccountPaymentMethodCollection GetBillingAccountPaymentMethods (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountName);
static member GetBillingAccountPaymentMethods : Azure.ResourceManager.Resources.TenantResource * string -> Azure.ResourceManager.Billing.BillingAccountPaymentMethodCollection
<Extension()>
Public Function GetBillingAccountPaymentMethods (tenantResource As TenantResource, billingAccountName As String) As BillingAccountPaymentMethodCollection
参数
- tenantResource
- TenantResource
方法 TenantResource 将对其执行的实例。
- billingAccountName
- String
唯一标识计费帐户的 ID。
返回
一个 对象,表示 BillingAccountPaymentMethodResources 及其在 BillingAccountPaymentMethodResource 上的操作的集合。
例外
billingAccountName
是一个空字符串,预期为非空。
billingAccountName
为 null。