Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func ValidateAuthorizationNamespacePolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error) + func ValidateManagementGroupID(input interface{}, key string) (warnings []string, errors []error) + func ValidatePolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error) + func ValidatePolicyDefinitionID(input interface{}, key string) (warnings []string, errors []error) + func ValidatePolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error) + type AuthorizationNamespacePolicyAssignmentId struct + PolicyAssignmentName string + ResourceGroupName string + SubscriptionId string + func NewAuthorizationNamespacePolicyAssignmentID(subscriptionId string, resourceGroupName string, policyAssignmentName string) AuthorizationNamespacePolicyAssignmentId + func ParseAuthorizationNamespacePolicyAssignmentID(input string) (*AuthorizationNamespacePolicyAssignmentId, error) + func ParseAuthorizationNamespacePolicyAssignmentIDInsensitively(input string) (*AuthorizationNamespacePolicyAssignmentId, error) + func (id *AuthorizationNamespacePolicyAssignmentId) FromParseResult(input resourceids.ParseResult) error + func (id AuthorizationNamespacePolicyAssignmentId) ID() string + func (id AuthorizationNamespacePolicyAssignmentId) Segments() []resourceids.Segment + func (id AuthorizationNamespacePolicyAssignmentId) String() string + type ComponentEventDetails struct + Id *string + Name *string + PolicyDefinitionAction *string + PrincipalOid *string + TenantId *string + Timestamp *string + Type *string + func (o *ComponentEventDetails) GetTimestampAsTime() (*time.Time, error) + func (o *ComponentEventDetails) SetTimestampAsTime(input time.Time) + type ListQueryResultsForManagementGroupCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForManagementGroupCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForManagementGroupCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForManagementGroupOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForManagementGroupOperationOptions() ListQueryResultsForManagementGroupOperationOptions + func (o ListQueryResultsForManagementGroupOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForManagementGroupOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForManagementGroupOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForManagementGroupOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForPolicyDefinitionCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForPolicyDefinitionCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForPolicyDefinitionCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForPolicyDefinitionOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForPolicyDefinitionOperationOptions() ListQueryResultsForPolicyDefinitionOperationOptions + func (o ListQueryResultsForPolicyDefinitionOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForPolicyDefinitionOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForPolicyDefinitionOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForPolicyDefinitionOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForPolicySetDefinitionCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForPolicySetDefinitionCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForPolicySetDefinitionCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForPolicySetDefinitionOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForPolicySetDefinitionOperationOptions() ListQueryResultsForPolicySetDefinitionOperationOptions + func (o ListQueryResultsForPolicySetDefinitionOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForPolicySetDefinitionOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForPolicySetDefinitionOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForPolicySetDefinitionOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForResourceCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForResourceCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForResourceCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForResourceGroupCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForResourceGroupCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForResourceGroupLevelPolicyAssignmentCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForResourceGroupLevelPolicyAssignmentCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForResourceGroupLevelPolicyAssignmentCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForResourceGroupLevelPolicyAssignmentOperationOptions() ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationOptions + func (o ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForResourceGroupOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForResourceGroupOperationOptions() ListQueryResultsForResourceGroupOperationOptions + func (o ListQueryResultsForResourceGroupOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForResourceGroupOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForResourceGroupOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForResourceOperationOptions struct + Apply *string + Expand *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForResourceOperationOptions() ListQueryResultsForResourceOperationOptions + func (o ListQueryResultsForResourceOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForResourceOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForResourceOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForResourceOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForSubscriptionCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForSubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForSubscriptionCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForSubscriptionLevelPolicyAssignmentCompleteResult struct + Items []PolicyEvent + LatestHttpResponse *http.Response + type ListQueryResultsForSubscriptionLevelPolicyAssignmentCustomPager struct + NextLink *odata.Link + func (p *ListQueryResultsForSubscriptionLevelPolicyAssignmentCustomPager) NextPageLink() *odata.Link + type ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForSubscriptionLevelPolicyAssignmentOperationOptions() ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationOptions + func (o ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ListQueryResultsForSubscriptionOperationOptions struct + Apply *string + Filter *string + From *string + Orderby *string + Select *string + To *string + Top *int64 + func DefaultListQueryResultsForSubscriptionOperationOptions() ListQueryResultsForSubscriptionOperationOptions + func (o ListQueryResultsForSubscriptionOperationOptions) ToHeaders() *client.Headers + func (o ListQueryResultsForSubscriptionOperationOptions) ToOData() *odata.Query + func (o ListQueryResultsForSubscriptionOperationOptions) ToQuery() *client.QueryParams + type ListQueryResultsForSubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyEvent + OData *odata.OData + type ManagementGroupId struct + ManagementGroupId string + func NewManagementGroupID(managementGroupId string) ManagementGroupId + func ParseManagementGroupID(input string) (*ManagementGroupId, error) + func ParseManagementGroupIDInsensitively(input string) (*ManagementGroupId, error) + func (id *ManagementGroupId) FromParseResult(input resourceids.ParseResult) error + func (id ManagementGroupId) ID() string + func (id ManagementGroupId) Segments() []resourceids.Segment + func (id ManagementGroupId) String() string + type PolicyAssignmentId struct + PolicyAssignmentName string + SubscriptionId string + func NewPolicyAssignmentID(subscriptionId string, policyAssignmentName string) PolicyAssignmentId + func ParsePolicyAssignmentID(input string) (*PolicyAssignmentId, error) + func ParsePolicyAssignmentIDInsensitively(input string) (*PolicyAssignmentId, error) + func (id *PolicyAssignmentId) FromParseResult(input resourceids.ParseResult) error + func (id PolicyAssignmentId) ID() string + func (id PolicyAssignmentId) Segments() []resourceids.Segment + func (id PolicyAssignmentId) String() string + type PolicyDefinitionId struct + PolicyDefinitionName string + SubscriptionId string + func NewPolicyDefinitionID(subscriptionId string, policyDefinitionName string) PolicyDefinitionId + func ParsePolicyDefinitionID(input string) (*PolicyDefinitionId, error) + func ParsePolicyDefinitionIDInsensitively(input string) (*PolicyDefinitionId, error) + func (id *PolicyDefinitionId) FromParseResult(input resourceids.ParseResult) error + func (id PolicyDefinitionId) ID() string + func (id PolicyDefinitionId) Segments() []resourceids.Segment + func (id PolicyDefinitionId) String() string + type PolicyEvent struct + ComplianceState *string + Components *[]ComponentEventDetails + EffectiveParameters *string + IsCompliant *bool + ManagementGroupIds *string + OdataContext *string + OdataId *string + PolicyAssignmentId *string + PolicyAssignmentName *string + PolicyAssignmentOwner *string + PolicyAssignmentParameters *string + PolicyAssignmentScope *string + PolicyDefinitionAction *string + PolicyDefinitionCategory *string + PolicyDefinitionId *string + PolicyDefinitionName *string + PolicyDefinitionReferenceId *string + PolicySetDefinitionCategory *string + PolicySetDefinitionId *string + PolicySetDefinitionName *string + PolicySetDefinitionOwner *string + PolicySetDefinitionParameters *string + PrincipalOid *string + ResourceGroup *string + ResourceId *string + ResourceLocation *string + ResourceTags *string + ResourceType *string + SubscriptionId *string + TenantId *string + Timestamp *string + func (o *PolicyEvent) GetTimestampAsTime() (*time.Time, error) + func (o *PolicyEvent) SetTimestampAsTime(input time.Time) + type PolicyEventOperationPredicate struct + ComplianceState *string + EffectiveParameters *string + IsCompliant *bool + ManagementGroupIds *string + OdataContext *string + OdataId *string + PolicyAssignmentId *string + PolicyAssignmentName *string + PolicyAssignmentOwner *string + PolicyAssignmentParameters *string + PolicyAssignmentScope *string + PolicyDefinitionAction *string + PolicyDefinitionCategory *string + PolicyDefinitionId *string + PolicyDefinitionName *string + PolicyDefinitionReferenceId *string + PolicySetDefinitionCategory *string + PolicySetDefinitionId *string + PolicySetDefinitionName *string + PolicySetDefinitionOwner *string + PolicySetDefinitionParameters *string + PrincipalOid *string + ResourceGroup *string + ResourceId *string + ResourceLocation *string + ResourceTags *string + ResourceType *string + SubscriptionId *string + TenantId *string + Timestamp *string + func (p PolicyEventOperationPredicate) Matches(input PolicyEvent) bool + type PolicyEventsClient struct + Client *resourcemanager.Client + func NewPolicyEventsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyEventsClient, error) + func (c PolicyEventsClient) ListQueryResultsForManagementGroup(ctx context.Context, id ManagementGroupId, ...) (result ListQueryResultsForManagementGroupOperationResponse, err error) + func (c PolicyEventsClient) ListQueryResultsForManagementGroupComplete(ctx context.Context, id ManagementGroupId, ...) (ListQueryResultsForManagementGroupCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForManagementGroupCompleteMatchingPredicate(ctx context.Context, id ManagementGroupId, ...) (result ListQueryResultsForManagementGroupCompleteResult, err error) + func (c PolicyEventsClient) ListQueryResultsForPolicyDefinition(ctx context.Context, id PolicyDefinitionId, ...) (result ListQueryResultsForPolicyDefinitionOperationResponse, err error) + func (c PolicyEventsClient) ListQueryResultsForPolicyDefinitionComplete(ctx context.Context, id PolicyDefinitionId, ...) (ListQueryResultsForPolicyDefinitionCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForPolicyDefinitionCompleteMatchingPredicate(ctx context.Context, id PolicyDefinitionId, ...) (result ListQueryResultsForPolicyDefinitionCompleteResult, err error) + func (c PolicyEventsClient) ListQueryResultsForPolicySetDefinition(ctx context.Context, id PolicySetDefinitionId, ...) (result ListQueryResultsForPolicySetDefinitionOperationResponse, err error) + func (c PolicyEventsClient) ListQueryResultsForPolicySetDefinitionComplete(ctx context.Context, id PolicySetDefinitionId, ...) (ListQueryResultsForPolicySetDefinitionCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForPolicySetDefinitionCompleteMatchingPredicate(ctx context.Context, id PolicySetDefinitionId, ...) (result ListQueryResultsForPolicySetDefinitionCompleteResult, err error) + func (c PolicyEventsClient) ListQueryResultsForResource(ctx context.Context, id commonids.ScopeId, ...) (result ListQueryResultsForResourceOperationResponse, err error) + func (c PolicyEventsClient) ListQueryResultsForResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListQueryResultsForResourceCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListQueryResultsForResourceCompleteResult, err error) + func (c PolicyEventsClient) ListQueryResultsForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListQueryResultsForResourceGroupOperationResponse, err error) + func (c PolicyEventsClient) ListQueryResultsForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListQueryResultsForResourceGroupCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListQueryResultsForResourceGroupCompleteResult, err error) + func (c PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignment(ctx context.Context, id AuthorizationNamespacePolicyAssignmentId, ...) (result ListQueryResultsForResourceGroupLevelPolicyAssignmentOperationResponse, ...) + func (c PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentComplete(ctx context.Context, id AuthorizationNamespacePolicyAssignmentId, ...) (ListQueryResultsForResourceGroupLevelPolicyAssignmentCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentCompleteMatchingPredicate(ctx context.Context, id AuthorizationNamespacePolicyAssignmentId, ...) (result ListQueryResultsForResourceGroupLevelPolicyAssignmentCompleteResult, ...) + func (c PolicyEventsClient) ListQueryResultsForSubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListQueryResultsForSubscriptionOperationResponse, err error) + func (c PolicyEventsClient) ListQueryResultsForSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListQueryResultsForSubscriptionCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListQueryResultsForSubscriptionCompleteResult, err error) + func (c PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignment(ctx context.Context, id PolicyAssignmentId, ...) (result ListQueryResultsForSubscriptionLevelPolicyAssignmentOperationResponse, ...) + func (c PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentComplete(ctx context.Context, id PolicyAssignmentId, ...) (ListQueryResultsForSubscriptionLevelPolicyAssignmentCompleteResult, error) + func (c PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentCompleteMatchingPredicate(ctx context.Context, id PolicyAssignmentId, ...) (result ListQueryResultsForSubscriptionLevelPolicyAssignmentCompleteResult, ...) + type PolicySetDefinitionId struct + PolicySetDefinitionName string + SubscriptionId string + func NewPolicySetDefinitionID(subscriptionId string, policySetDefinitionName string) PolicySetDefinitionId + func ParsePolicySetDefinitionID(input string) (*PolicySetDefinitionId, error) + func ParsePolicySetDefinitionIDInsensitively(input string) (*PolicySetDefinitionId, error) + func (id *PolicySetDefinitionId) FromParseResult(input resourceids.ParseResult) error + func (id PolicySetDefinitionId) ID() string + func (id PolicySetDefinitionId) Segments() []resourceids.Segment + func (id PolicySetDefinitionId) String() string