github Azure/azure-sdk-for-go sdk/resourcemanager/resources/armpolicy/v2.0.0-beta.1

pre-release3 hours ago

2.0.0-beta.1 (2026-06-03)

Breaking Changes

  • Field Ancestors, ComplianceReasonCode, PolicyAssignmentDisplayName, PolicyDefinitionDisplayName, PolicyDefinitionGroupNames, PolicyExemptionIDs, PolicySetDefinitionCategory, PolicySetDefinitionDisplayName, ResourceLocation of struct LogInfo has been removed

Features Added

  • New value SelectorKindGroupPrincipalID, SelectorKindUserPrincipalID added to enum type SelectorKind
  • New enum type AliasPathAttributes with values AliasPathAttributesModifiable, AliasPathAttributesNone
  • New enum type AliasPathTokenType with values AliasPathTokenTypeAny, AliasPathTokenTypeArray, AliasPathTokenTypeBoolean, AliasPathTokenTypeInteger, AliasPathTokenTypeNotSpecified, AliasPathTokenTypeNumber, AliasPathTokenTypeObject, AliasPathTokenTypeString
  • New enum type AliasPatternType with values AliasPatternTypeExtract, AliasPatternTypeNotSpecified
  • New enum type AliasType with values AliasTypeMask, AliasTypeNotSpecified, AliasTypePlainText
  • New enum type AssignmentScopeValidation with values AssignmentScopeValidationDefault, AssignmentScopeValidationDoNotValidate
  • New enum type ExemptionCategory with values ExemptionCategoryMitigated, ExemptionCategoryWaiver
  • New enum type PolicyAction with values PolicyActionAllow, PolicyActionAudit, PolicyActionDeny, PolicyActionError, PolicyActionUnknown
  • New function *ClientFactory.NewDataPolicyManifestsClient() *DataPolicyManifestsClient
  • New function *ClientFactory.NewEnrollmentsClient() *EnrollmentsClient
  • New function *ClientFactory.NewExemptionsClient() *ExemptionsClient
  • New function *ClientFactory.NewVariableValuesClient() *VariableValuesClient
  • New function *ClientFactory.NewVariablesClient() *VariablesClient
  • New function NewDataPolicyManifestsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*DataPolicyManifestsClient, error)
  • New function *DataPolicyManifestsClient.GetByPolicyMode(ctx context.Context, policyMode string, options *DataPolicyManifestsClientGetByPolicyModeOptions) (DataPolicyManifestsClientGetByPolicyModeResponse, error)
  • New function *DataPolicyManifestsClient.NewListPager(options *DataPolicyManifestsClientListOptions) *runtime.Pager[DataPolicyManifestsClientListResponse]
  • New function NewEnrollmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*EnrollmentsClient, error)
  • New function *EnrollmentsClient.CreateOrUpdate(ctx context.Context, scope string, policyEnrollmentName string, parameters Enrollment, options *EnrollmentsClientCreateOrUpdateOptions) (EnrollmentsClientCreateOrUpdateResponse, error)
  • New function *EnrollmentsClient.Delete(ctx context.Context, scope string, policyEnrollmentName string, options *EnrollmentsClientDeleteOptions) (EnrollmentsClientDeleteResponse, error)
  • New function *EnrollmentsClient.Get(ctx context.Context, scope string, policyEnrollmentName string, options *EnrollmentsClientGetOptions) (EnrollmentsClientGetResponse, error)
  • New function *EnrollmentsClient.NewListForManagementGroupPager(managementGroupID string, options *EnrollmentsClientListForManagementGroupOptions) *runtime.Pager[EnrollmentsClientListForManagementGroupResponse]
  • New function *EnrollmentsClient.NewListForResourceGroupPager(resourceGroupName string, options *EnrollmentsClientListForResourceGroupOptions) *runtime.Pager[EnrollmentsClientListForResourceGroupResponse]
  • New function *EnrollmentsClient.NewListForResourcePager(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *EnrollmentsClientListForResourceOptions) *runtime.Pager[EnrollmentsClientListForResourceResponse]
  • New function *EnrollmentsClient.NewListPager(options *EnrollmentsClientListOptions) *runtime.Pager[EnrollmentsClientListResponse]
  • New function *EnrollmentsClient.Update(ctx context.Context, scope string, policyEnrollmentName string, parameters EnrollmentUpdate, options *EnrollmentsClientUpdateOptions) (EnrollmentsClientUpdateResponse, error)
  • New function NewExemptionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ExemptionsClient, error)
  • New function *ExemptionsClient.CreateOrUpdate(ctx context.Context, scope string, policyExemptionName string, parameters Exemption, options *ExemptionsClientCreateOrUpdateOptions) (ExemptionsClientCreateOrUpdateResponse, error)
  • New function *ExemptionsClient.Delete(ctx context.Context, scope string, policyExemptionName string, options *ExemptionsClientDeleteOptions) (ExemptionsClientDeleteResponse, error)
  • New function *ExemptionsClient.Get(ctx context.Context, scope string, policyExemptionName string, options *ExemptionsClientGetOptions) (ExemptionsClientGetResponse, error)
  • New function *ExemptionsClient.NewListForManagementGroupPager(managementGroupID string, options *ExemptionsClientListForManagementGroupOptions) *runtime.Pager[ExemptionsClientListForManagementGroupResponse]
  • New function *ExemptionsClient.NewListForResourceGroupPager(resourceGroupName string, options *ExemptionsClientListForResourceGroupOptions) *runtime.Pager[ExemptionsClientListForResourceGroupResponse]
  • New function *ExemptionsClient.NewListForResourcePager(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *ExemptionsClientListForResourceOptions) *runtime.Pager[ExemptionsClientListForResourceResponse]
  • New function *ExemptionsClient.NewListPager(options *ExemptionsClientListOptions) *runtime.Pager[ExemptionsClientListResponse]
  • New function *ExemptionsClient.Update(ctx context.Context, scope string, policyExemptionName string, parameters ExemptionUpdate, options *ExemptionsClientUpdateOptions) (ExemptionsClientUpdateResponse, error)
  • New function NewVariableValuesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*VariableValuesClient, error)
  • New function *VariableValuesClient.CreateOrUpdate(ctx context.Context, variableName string, variableValueName string, parameters VariableValue, options *VariableValuesClientCreateOrUpdateOptions) (VariableValuesClientCreateOrUpdateResponse, error)
  • New function *VariableValuesClient.CreateOrUpdateAtManagementGroup(ctx context.Context, managementGroupID string, variableName string, variableValueName string, parameters VariableValue, options *VariableValuesClientCreateOrUpdateAtManagementGroupOptions) (VariableValuesClientCreateOrUpdateAtManagementGroupResponse, error)
  • New function *VariableValuesClient.Delete(ctx context.Context, variableName string, variableValueName string, options *VariableValuesClientDeleteOptions) (VariableValuesClientDeleteResponse, error)
  • New function *VariableValuesClient.DeleteAtManagementGroup(ctx context.Context, managementGroupID string, variableName string, variableValueName string, options *VariableValuesClientDeleteAtManagementGroupOptions) (VariableValuesClientDeleteAtManagementGroupResponse, error)
  • New function *VariableValuesClient.Get(ctx context.Context, variableName string, variableValueName string, options *VariableValuesClientGetOptions) (VariableValuesClientGetResponse, error)
  • New function *VariableValuesClient.GetAtManagementGroup(ctx context.Context, managementGroupID string, variableName string, variableValueName string, options *VariableValuesClientGetAtManagementGroupOptions) (VariableValuesClientGetAtManagementGroupResponse, error)
  • New function *VariableValuesClient.NewListForManagementGroupPager(managementGroupID string, variableName string, options *VariableValuesClientListForManagementGroupOptions) *runtime.Pager[VariableValuesClientListForManagementGroupResponse]
  • New function *VariableValuesClient.NewListPager(variableName string, options *VariableValuesClientListOptions) *runtime.Pager[VariableValuesClientListResponse]
  • New function NewVariablesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*VariablesClient, error)
  • New function *VariablesClient.CreateOrUpdate(ctx context.Context, variableName string, parameters Variable, options *VariablesClientCreateOrUpdateOptions) (VariablesClientCreateOrUpdateResponse, error)
  • New function *VariablesClient.CreateOrUpdateAtManagementGroup(ctx context.Context, managementGroupID string, variableName string, parameters Variable, options *VariablesClientCreateOrUpdateAtManagementGroupOptions) (VariablesClientCreateOrUpdateAtManagementGroupResponse, error)
  • New function *VariablesClient.Delete(ctx context.Context, variableName string, options *VariablesClientDeleteOptions) (VariablesClientDeleteResponse, error)
  • New function *VariablesClient.DeleteAtManagementGroup(ctx context.Context, managementGroupID string, variableName string, options *VariablesClientDeleteAtManagementGroupOptions) (VariablesClientDeleteAtManagementGroupResponse, error)
  • New function *VariablesClient.Get(ctx context.Context, variableName string, options *VariablesClientGetOptions) (VariablesClientGetResponse, error)
  • New function *VariablesClient.GetAtManagementGroup(ctx context.Context, managementGroupID string, variableName string, options *VariablesClientGetAtManagementGroupOptions) (VariablesClientGetAtManagementGroupResponse, error)
  • New function *VariablesClient.NewListForManagementGroupPager(managementGroupID string, options *VariablesClientListForManagementGroupOptions) *runtime.Pager[VariablesClientListForManagementGroupResponse]
  • New function *VariablesClient.NewListPager(options *VariablesClientListOptions) *runtime.Pager[VariablesClientListResponse]
  • New struct Alias
  • New struct AliasPath
  • New struct AliasPathMetadata
  • New struct AliasPattern
  • New struct DataEffect
  • New struct DataManifestCustomResourceFunctionDefinition
  • New struct DataManifestResourceFunctionsDefinition
  • New struct DataPolicyManifest
  • New struct DataPolicyManifestListResult
  • New struct DataPolicyManifestProperties
  • New struct Enrollment
  • New struct EnrollmentListResult
  • New struct EnrollmentProperties
  • New struct EnrollmentUpdate
  • New struct EnrollmentUpdateProperties
  • New struct Exemption
  • New struct ExemptionListResult
  • New struct ExemptionProperties
  • New struct ExemptionUpdate
  • New struct ExemptionUpdateProperties
  • New struct ResourceTypeAliases
  • New struct SelfServeExemptionSettings
  • New struct TokenEvaluatedRequestDetails
  • New struct Variable
  • New struct VariableColumn
  • New struct VariableListResult
  • New struct VariableProperties
  • New struct VariableValue
  • New struct VariableValueColumnValue
  • New struct VariableValueListResult
  • New struct VariableValueProperties
  • New field SelfServeExemptionSettings in struct AssignmentProperties
  • New field SelfServeExemptionSettings in struct AssignmentUpdateProperties
  • New field AdditionalInfo, EndpointKind, PolicyAction, PolicyEvaluationDetails in struct ExternalEvaluationEndpointInvocationResult
  • New field RequestDetails in struct TokenResponse

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.