// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

type Policy_STATUS struct {
	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: Properties of the Policy.
	Properties *PolicyContractProperties_STATUS `json:"properties,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

// Policy contract Properties.
type PolicyContractProperties_STATUS struct {
	// Format: Format of the policyContent.
	Format *PolicyContractProperties_Format_STATUS `json:"format,omitempty"`

	// Value: Contents of the Policy as defined by the format.
	Value *string `json:"value,omitempty"`
}

type PolicyContractProperties_Format_STATUS string

const (
	PolicyContractProperties_Format_STATUS_Rawxml     = PolicyContractProperties_Format_STATUS("rawxml")
	PolicyContractProperties_Format_STATUS_RawxmlLink = PolicyContractProperties_Format_STATUS("rawxml-link")
	PolicyContractProperties_Format_STATUS_Xml        = PolicyContractProperties_Format_STATUS("xml")
	PolicyContractProperties_Format_STATUS_XmlLink    = PolicyContractProperties_Format_STATUS("xml-link")
)

// Mapping from string to PolicyContractProperties_Format_STATUS
var policyContractProperties_Format_STATUS_Values = map[string]PolicyContractProperties_Format_STATUS{
	"rawxml":      PolicyContractProperties_Format_STATUS_Rawxml,
	"rawxml-link": PolicyContractProperties_Format_STATUS_RawxmlLink,
	"xml":         PolicyContractProperties_Format_STATUS_Xml,
	"xml-link":    PolicyContractProperties_Format_STATUS_XmlLink,
}
