Microsoft.Billing billingAccounts/billingProfiles/policies 2018-11-01-preview

Bicep-Ressourcendefinition

Der Ressourcentyp billingAccounts/billingProfiles/policies kann für Folgendes bereitgestellt werden:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.Billing/billingAccounts/billingProfiles/policies-Ressource zu erstellen, fügen Sie der Vorlage die folgende Bicep-Ressource hinzu.

resource symbolicname 'Microsoft.Billing/billingAccounts/billingProfiles/policies@2018-11-01-preview' = {
  name: 'default'
  parent: resourceSymbolicName
  properties: {
    marketplacePurchasesAllowed: bool
    reservationPurchasesAllowed: bool
    subscriptionOwnerCanViewCharges: bool
  }
}

Eigenschaftswerte

billingAccounts/billingProfiles/policies

Name BESCHREIBUNG Wert
name Der Ressourcenname

Weitere Informationen finden Sie unter Festlegen von Namen und Typen für untergeordnete Ressourcen in Bicep.
"Standard"
parent In Bicep können Sie die übergeordnete Ressource für eine untergeordnete Ressource angeben. Sie müssen diese Eigenschaft nur hinzufügen, wenn die untergeordnete Ressource außerhalb der übergeordneten Ressource deklariert wird.

Weitere Informationen finden Sie unter Untergeordnete Ressource außerhalb der übergeordneten Ressource.
Symbolischer Name für Ressource vom Typ: billingProfiles
properties Die Eigenschaften der Richtlinie. PolicyProperties

PolicyProperties

Name BESCHREIBUNG Wert
marketplacePurchasesAllowed Das MarketplacePurchasesAllowed-Flag. bool
reservationPurchasesAllowed Das flag reservationPurchasesAllowed. bool
subscriptionOwnerCanViewCharges Das AbonnementOwnerCanViewCharges-Flag. bool

Ressourcendefinition mit einer ARM-Vorlage

Der Ressourcentyp billingAccounts/billingProfiles/policies kann für Folgendes bereitgestellt werden:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.Billing/billingAccounts/billingProfiles/policies-Ressource zu erstellen, fügen Sie der Vorlage den folgenden JSON-Code hinzu.

{
  "type": "Microsoft.Billing/billingAccounts/billingProfiles/policies",
  "apiVersion": "2018-11-01-preview",
  "name": "default",
  "properties": {
    "marketplacePurchasesAllowed": "bool",
    "reservationPurchasesAllowed": "bool",
    "subscriptionOwnerCanViewCharges": "bool"
  }
}

Eigenschaftswerte

billingAccounts/billingProfiles/policies

Name BESCHREIBUNG Wert
type Der Ressourcentyp "Microsoft.Billing/billingAccounts/billingProfiles/policies"
apiVersion Die Version der Ressourcen-API "2018-11-01-preview"
name Der Ressourcenname

Weitere Informationen finden Sie unter Festlegen von Namen und Typen für untergeordnete Ressourcen in JSON-ARM-Vorlagen.
"Standard"
properties Die Eigenschaften der Richtlinie. PolicyProperties

PolicyProperties

Name BESCHREIBUNG Wert
marketplacePurchasesAllowed Das MarketplacePurchasesAllowed-Flag. bool
reservationPurchasesAllowed Das flag reservationPurchasesAllowed. bool
subscriptionOwnerCanViewCharges Das AbonnementOwnerCanViewCharges-Flag. bool

Terraform-Ressourcendefinition (AzAPI-Anbieter)

Der Ressourcentyp billingAccounts/billingProfiles/policies kann für Folgendes bereitgestellt werden:

  • Mandanten

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Ressource "Microsoft.Billing/billingAccounts/billingProfiles/policies" zu erstellen, fügen Sie Ihrer Vorlage die folgende Terraform-Ressource hinzu.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingAccounts/billingProfiles/policies@2018-11-01-preview"
  name = "default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      marketplacePurchasesAllowed = bool
      reservationPurchasesAllowed = bool
      subscriptionOwnerCanViewCharges = bool
    }
  })
}

Eigenschaftswerte

billingAccounts/billingProfiles/policies

Name BESCHREIBUNG Wert
type Der Ressourcentyp "Microsoft.Billing/billingAccounts/billingProfiles/policies@2018-11-01-preview"
name Der Ressourcenname "default"
parent_id Die ID der Ressource, die das übergeordnete Element für diese Ressource ist. ID für Ressource vom Typ: billingProfiles
properties Die Eigenschaften der Richtlinie. PolicyProperties

PolicyProperties

Name BESCHREIBUNG Wert
marketplacePurchasesAllowed Das MarketplacePurchasesAllowed-Flag. bool
reservationPurchasesAllowed Das flag reservationPurchasesAllowed. bool
subscriptionOwnerCanViewCharges Das AbonnementOwnerCanViewCharges-Flag. bool