Policy 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Policy() |
初始化 Policy 類別的新實例。 |
Policy(String, String, String, String, String, String) |
初始化 Policy 類別的新實例。 |
Policy()
初始化 Policy 類別的新實例。
public Policy();
Public Sub New ()
適用於
Policy(String, String, String, String, String, String)
初始化 Policy 類別的新實例。
public Policy(string id = default, string name = default, string type = default, string marketplacePurchases = default, string reservationPurchases = default, string viewCharges = default);
new Microsoft.Azure.Management.Billing.Models.Policy : string * string * string * string * string * string -> Microsoft.Azure.Management.Billing.Models.Policy
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional marketplacePurchases As String = Nothing, Optional reservationPurchases As String = Nothing, Optional viewCharges As String = Nothing)
參數
- id
- String
資源識別碼。
- name
- String
資源名稱。
- type
- String
資源類型。
- marketplacePurchases
- String
控制是否允許 Azure Marketplace 購買計費設定檔的原則。 可能的值包括:'AllAllowed'、'OnlyFreeAllowed'、'NotAllowed'
- reservationPurchases
- String
控制帳單設定檔是否允許 Azure 保留購買的原則。 可能的值包括:'Allowed'、'NotAllowed'
- viewCharges
- String
控制具有 Azure RBAC 訂用帳戶存取權的使用者是否可以檢視其費用的原則。 可能的值包括:'Allowed'、'NotAllowed'