import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class PolicyAssignments extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'policyAssignments' , } ) ; } } schema export class PolicyDefinitions extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'policyDefinitions' , } ) ; } } schema export class PolicySetDefinitions extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'policySetDefinitions' , } ) ; } } schema export interface PolicyAssignmentsOptions { schema readonly name : string ; schema readonly type : MicrosoftAuthorizationPolicyAssignmentsType ; schema readonly apiVersion ? : MicrosoftAuthorizationPolicyAssignmentsApiVersion ; schema readonly properties : PolicyAssignmentProperties ; schema readonly sku ? : PolicySku ; schema readonly location ? : string ; schema readonly identity ? : Identity ; } schema export interface PolicyDefinitionsOptions { schema readonly name : string ; schema readonly type : MicrosoftAuthorizationPolicyDefinitionsType ; schema readonly apiVersion ? : MicrosoftAuthorizationPolicyDefinitionsApiVersion ; schema readonly properties : PolicyDefinitionProperties ; } schema export interface PolicySetDefinitionsOptions { schema readonly name : string ; schema readonly type : MicrosoftAuthorizationPolicySetDefinitionsType ; schema readonly apiVersion ? : MicrosoftAuthorizationPolicySetDefinitionsApiVersion ; schema readonly properties : PolicySetDefinitionProperties ; } export enum MicrosoftAuthorizationPolicyAssignmentsType { "MicrosoftAuthorizationPolicyAssignmentsType_MICROSOFT_AUTHORIZATION_POLICY_ASSIGNMENTS" = 'Microsoft.Authorization/policyAssignments' } export enum MicrosoftAuthorizationPolicyAssignmentsApiVersion { "MicrosoftAuthorizationPolicyAssignmentsApiVersion_2019_09_01" = '2019-09-01' } schema export interface PolicyAssignmentProperties { schema readonly displayName ? : string ; schema readonly policyDefinitionId ? : string ; schema readonly scope ? : string ; schema readonly notScopes ? : string [ ] ; schema readonly parameters ? : string ; schema readonly description ? : string ; schema readonly metadata ? : string ; schema readonly enforcementMode ? : PolicyAssignmentPropertiesEnforcementMode ; } schema export interface PolicySku { schema readonly name : string ; schema readonly tier ? : string ; } schema export interface Identity { schema readonly type ? : IdentityType ; } export enum MicrosoftAuthorizationPolicyDefinitionsType { "MicrosoftAuthorizationPolicyDefinitionsType_MICROSOFT_AUTHORIZATION_POLICY_DEFINITIONS" = 'Microsoft.Authorization/policyDefinitions' } export enum MicrosoftAuthorizationPolicyDefinitionsApiVersion { "MicrosoftAuthorizationPolicyDefinitionsApiVersion_2019_09_01" = '2019-09-01' } schema export interface PolicyDefinitionProperties { schema readonly policyType ? : PolicyDefinitionPropertiesPolicyType ; schema readonly mode ? : string ; schema readonly displayName ? : string ; schema readonly description ? : string ; schema readonly policyRule : string ; schema readonly metadata ? : string ; schema readonly parameters ? : string ; } export enum MicrosoftAuthorizationPolicySetDefinitionsType { "MicrosoftAuthorizationPolicySetDefinitionsType_MICROSOFT_AUTHORIZATION_POLICY_SET_DEFINITIONS" = 'Microsoft.Authorization/policySetDefinitions' } export enum MicrosoftAuthorizationPolicySetDefinitionsApiVersion { "MicrosoftAuthorizationPolicySetDefinitionsApiVersion_2019_09_01" = '2019-09-01' } schema export interface PolicySetDefinitionProperties { schema readonly policyType ? : PolicySetDefinitionPropertiesPolicyType ; schema readonly displayName ? : string ; schema readonly description ? : string ; schema readonly metadata ? : string ; schema readonly parameters ? : string ; schema readonly policyDefinitions : PolicyDefinitionReference [ ] ; schema readonly policyDefinitionGroups ? : PolicyDefinitionGroup [ ] ; } export enum PolicyAssignmentPropertiesEnforcementMode { DEFAULT = 'Default' , DO_NOT_ENFORCE = 'DoNotEnforce' } export enum IdentityType { SYSTEM_ASSIGNED = 'SystemAssigned' , NONE = 'None' } export enum PolicyDefinitionPropertiesPolicyType { NOT_SPECIFIED = 'NotSpecified' , BUILT_IN = 'BuiltIn' , CUSTOM = 'Custom' , STATIC = 'Static' } export enum PolicySetDefinitionPropertiesPolicyType { NOT_SPECIFIED = 'NotSpecified' , BUILT_IN = 'BuiltIn' , CUSTOM = 'Custom' , STATIC = 'Static' } schema export interface PolicyDefinitionReference { schema readonly policyDefinitionId : string ; schema readonly parameters ? : string ; schema readonly policyDefinitionReferenceId ? : string ; schema readonly groupNames ? : string [ ] ; } schema export interface PolicyDefinitionGroup { schema readonly name : string ; schema readonly category ? : string ; schema readonly displayName ? : string ; schema readonly description ? : string ; schema readonly additionalMetadataId ? : string ; }