Rules

Create or update a Rule. This operation is required for RPaaS tracked-resource cache population and MUST remain in the public spec. Rules are created by the service when the parent assessment is created; they are not directly creatable by end users. All customer PUT calls are rejected at runtime with OperationNotAllowed via the RPaaS ResourceCreationValidate extension. Use PATCH to modify rule fields that the customer is authorized to change. Peer RPs with the same topology (extension singleton parent + proxy child) declare an identical public PUT for the same RPaaS cache-population reason: Microsoft.ScVmm/virtualMachineInstances/guestAgents, Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/guestAgents.

put/{resourceUri}/providers/Microsoft.BillingTrust/assessments/default/rules/{ruleName}

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/{resourceUri}/providers/Microsoft.BillingTrust/assessments/default/rules/{ruleName}
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

Path parameters

resourceUristring required

The fully qualified Azure Resource manager identifier of the resource.

ruleNamestring required

The name of the rule. Rules are created by the service when the parent assessment is created — the available rule names are determined by the assessment template. Names start with an alphanumeric character and may contain letters, digits, underscores, and hyphens.

Parameters

../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter (unresolved $ref)

Request body

Rule required(unresolved $ref)

Response

Resource 'Rule' update operation succeeded

Rule required(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.