policyinsights

package
v17.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package policyinsights implements the Azure ARM Policyinsights service API version 2017-12-12-preview.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Policyinsights
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient deprecated

type BaseClient struct {
	autorest.Client
	BaseURI string
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. BaseClient is the base client for Policyinsights.

func New deprecated

func New() BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewWithBaseURI creates an instance of the BaseClient client.

type Operation deprecated

type Operation struct {
	// Name - Operation name.
	Name *string `json:"name,omitempty"`
	// Display - Display metadata associated with the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. Operation operation definition.

type OperationDisplay deprecated

type OperationDisplay struct {
	// Provider - Resource provider name.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource name on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation name.
	Operation *string `json:"operation,omitempty"`
	// Description - Operation description.
	Description *string `json:"description,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. OperationDisplay display metadata associated with the operation.

type OperationsClient deprecated

type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. OperationsClient is the client for the Operations methods of the Policyinsights service.

func NewOperationsClient deprecated

func NewOperationsClient() OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI deprecated

func NewOperationsClientWithBaseURI(baseURI string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List deprecated

func (client OperationsClient) List(ctx context.Context) (result OperationsListResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. List lists available operations.

func (OperationsClient) ListPreparer deprecated

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListPreparer prepares the List request.

func (OperationsClient) ListResponder deprecated

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsListResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender deprecated

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperationsListResults deprecated

type OperationsListResults struct {
	autorest.Response `json:"-"`
	// OdataCount - OData entity count; represents the number of operations returned.
	OdataCount *int32 `json:"@odata.count,omitempty"`
	// Value - List of available operations.
	Value *[]Operation `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. OperationsListResults list of available operations.

type PolicyAssignmentSummary deprecated

type PolicyAssignmentSummary struct {
	// PolicyAssignmentID - Policy assignment ID.
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"`
	// PolicySetDefinitionID - Policy set definition ID, if the policy assignment is for a policy set.
	PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty"`
	// Results - Non-compliance summary for the policy assignment.
	Results *SummaryResults `json:"results,omitempty"`
	// PolicyDefinitions - Policy definitions summary.
	PolicyDefinitions *[]PolicyDefinitionSummary `json:"policyDefinitions,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyAssignmentSummary policy assignment summary.

type PolicyDefinitionSummary deprecated

type PolicyDefinitionSummary struct {
	// PolicyDefinitionID - Policy definition ID.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
	// Effect - Policy effect, i.e. policy definition action.
	Effect *string `json:"effect,omitempty"`
	// Results - Non-compliance summary for the policy definition.
	Results *SummaryResults `json:"results,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyDefinitionSummary policy definition summary.

type PolicyEvent deprecated

type PolicyEvent struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// OdataID - OData entity ID; always set to null since policy event records do not have an entity ID.
	OdataID *string `json:"@odata.id,omitempty"`
	// OdataContext - OData context string; used by OData clients to resolve type information based on metadata.
	OdataContext *string `json:"@odata.context,omitempty"`
	// Timestamp - Timestamp for the policy event record.
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// ResourceID - Resource ID.
	ResourceID *string `json:"resourceId,omitempty"`
	// PolicyAssignmentID - Policy assignment ID.
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"`
	// PolicyDefinitionID - Policy definition ID.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
	// EffectiveParameters - Effective parameters for the policy assignment.
	EffectiveParameters *string `json:"effectiveParameters,omitempty"`
	// IsCompliant - Flag which states whether the resource is compliant against the policy assignment it was evaluated against.
	IsCompliant *bool `json:"isCompliant,omitempty"`
	// SubscriptionID - Subscription ID.
	SubscriptionID *string `json:"subscriptionId,omitempty"`
	// ResourceType - Resource type.
	ResourceType *string `json:"resourceType,omitempty"`
	// ResourceLocation - Resource location.
	ResourceLocation *string `json:"resourceLocation,omitempty"`
	// ResourceGroup - Resource group name.
	ResourceGroup *string `json:"resourceGroup,omitempty"`
	// ResourceTags - List of resource tags.
	ResourceTags *string `json:"resourceTags,omitempty"`
	// PolicyAssignmentName - Policy assignment name.
	PolicyAssignmentName *string `json:"policyAssignmentName,omitempty"`
	// PolicyAssignmentOwner - Policy assignment owner.
	PolicyAssignmentOwner *string `json:"policyAssignmentOwner,omitempty"`
	// PolicyAssignmentParameters - Policy assignment parameters.
	PolicyAssignmentParameters *string `json:"policyAssignmentParameters,omitempty"`
	// PolicyAssignmentScope - Policy assignment scope.
	PolicyAssignmentScope *string `json:"policyAssignmentScope,omitempty"`
	// PolicyDefinitionName - Policy definition name.
	PolicyDefinitionName *string `json:"policyDefinitionName,omitempty"`
	// PolicyDefinitionAction - Policy definition action, i.e. effect.
	PolicyDefinitionAction *string `json:"policyDefinitionAction,omitempty"`
	// PolicyDefinitionCategory - Policy definition category.
	PolicyDefinitionCategory *string `json:"policyDefinitionCategory,omitempty"`
	// PolicySetDefinitionID - Policy set definition ID, if the policy assignment is for a policy set.
	PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty"`
	// PolicySetDefinitionName - Policy set definition name, if the policy assignment is for a policy set.
	PolicySetDefinitionName *string `json:"policySetDefinitionName,omitempty"`
	// PolicySetDefinitionOwner - Policy set definition owner, if the policy assignment is for a policy set.
	PolicySetDefinitionOwner *string `json:"policySetDefinitionOwner,omitempty"`
	// PolicySetDefinitionCategory - Policy set definition category, if the policy assignment is for a policy set.
	PolicySetDefinitionCategory *string `json:"policySetDefinitionCategory,omitempty"`
	// PolicySetDefinitionParameters - Policy set definition parameters, if the policy assignment is for a policy set.
	PolicySetDefinitionParameters *string `json:"policySetDefinitionParameters,omitempty"`
	// ManagementGroupIds - Comma seperated list of management group IDs, which represent the hierarchy of the management groups the resource is under.
	ManagementGroupIds *string `json:"managementGroupIds,omitempty"`
	// PolicyDefinitionReferenceID - Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"`
	// TenantID - Tenant ID for the policy event record.
	TenantID *string `json:"tenantId,omitempty"`
	// PrincipalOid - Principal object ID for the user who initiated the resource operation that triggered the policy event.
	PrincipalOid *string `json:"principalOid,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyEvent policy event record.

func (PolicyEvent) MarshalJSON deprecated

func (peVar PolicyEvent) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. MarshalJSON is the custom marshaler for PolicyEvent.

type PolicyEventsClient deprecated

type PolicyEventsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyEventsClient is the client for the PolicyEvents methods of the Policyinsights service.

func NewPolicyEventsClient deprecated

func NewPolicyEventsClient() PolicyEventsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewPolicyEventsClient creates an instance of the PolicyEventsClient client.

func NewPolicyEventsClientWithBaseURI deprecated

func NewPolicyEventsClientWithBaseURI(baseURI string) PolicyEventsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewPolicyEventsClientWithBaseURI creates an instance of the PolicyEventsClient client.

func (PolicyEventsClient) GetMetadata deprecated

func (client PolicyEventsClient) GetMetadata(ctx context.Context, scope string) (result String, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadata gets OData metadata XML document.

scope is a valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.

func (PolicyEventsClient) GetMetadataPreparer deprecated

func (client PolicyEventsClient) GetMetadataPreparer(ctx context.Context, scope string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadataPreparer prepares the GetMetadata request.

func (PolicyEventsClient) GetMetadataResponder deprecated

func (client PolicyEventsClient) GetMetadataResponder(resp *http.Response) (result String, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadataResponder handles the response to the GetMetadata request. The method always closes the http.Response Body.

func (PolicyEventsClient) GetMetadataSender deprecated

func (client PolicyEventsClient) GetMetadataSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadataSender sends the GetMetadata request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForManagementGroup deprecated

func (client PolicyEventsClient) ListQueryResultsForManagementGroup(ctx context.Context, managementGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroup queries policy events for the resources under the management group.

managementGroupName is management group name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForManagementGroupPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForManagementGroupPreparer(ctx context.Context, managementGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroupPreparer prepares the ListQueryResultsForManagementGroup request.

func (PolicyEventsClient) ListQueryResultsForManagementGroupResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForManagementGroupResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroupResponder handles the response to the ListQueryResultsForManagementGroup request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForManagementGroupSender deprecated

func (client PolicyEventsClient) ListQueryResultsForManagementGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroupSender sends the ListQueryResultsForManagementGroup request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForPolicyDefinition deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicyDefinition(ctx context.Context, subscriptionID string, policyDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinition queries policy events for the subscription level policy definition.

subscriptionID is microsoft Azure subscription ID. policyDefinitionName is policy definition name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForPolicyDefinitionPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicyDefinitionPreparer(ctx context.Context, subscriptionID string, policyDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinitionPreparer prepares the ListQueryResultsForPolicyDefinition request.

func (PolicyEventsClient) ListQueryResultsForPolicyDefinitionResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicyDefinitionResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinitionResponder handles the response to the ListQueryResultsForPolicyDefinition request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForPolicyDefinitionSender deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicyDefinitionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinitionSender sends the ListQueryResultsForPolicyDefinition request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForPolicySetDefinition deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicySetDefinition(ctx context.Context, subscriptionID string, policySetDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinition queries policy events for the subscription level policy set definition.

subscriptionID is microsoft Azure subscription ID. policySetDefinitionName is policy set definition name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForPolicySetDefinitionPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicySetDefinitionPreparer(ctx context.Context, subscriptionID string, policySetDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinitionPreparer prepares the ListQueryResultsForPolicySetDefinition request.

func (PolicyEventsClient) ListQueryResultsForPolicySetDefinitionResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicySetDefinitionResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinitionResponder handles the response to the ListQueryResultsForPolicySetDefinition request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForPolicySetDefinitionSender deprecated

func (client PolicyEventsClient) ListQueryResultsForPolicySetDefinitionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinitionSender sends the ListQueryResultsForPolicySetDefinition request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForResource deprecated

func (client PolicyEventsClient) ListQueryResultsForResource(ctx context.Context, resourceID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResource queries policy events for the resource.

resourceID is resource ID. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForResourceGroup deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroup(ctx context.Context, subscriptionID string, resourceGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroup queries policy events for the resources under the resource group.

subscriptionID is microsoft Azure subscription ID. resourceGroupName is resource group name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignment deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignment(ctx context.Context, subscriptionID string, resourceGroupName string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignment queries policy events for the resource group level policy assignment.

subscriptionID is microsoft Azure subscription ID. resourceGroupName is resource group name. policyAssignmentName is policy assignment name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignmentPreparer prepares the ListQueryResultsForResourceGroupLevelPolicyAssignment request.

func (PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignmentResponder handles the response to the ListQueryResultsForResourceGroupLevelPolicyAssignment request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentSender deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignmentSender sends the ListQueryResultsForResourceGroupLevelPolicyAssignment request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForResourceGroupPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupPreparer prepares the ListQueryResultsForResourceGroup request.

func (PolicyEventsClient) ListQueryResultsForResourceGroupResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupResponder handles the response to the ListQueryResultsForResourceGroup request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForResourceGroupSender deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupSender sends the ListQueryResultsForResourceGroup request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForResourcePreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForResourcePreparer(ctx context.Context, resourceID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourcePreparer prepares the ListQueryResultsForResource request.

func (PolicyEventsClient) ListQueryResultsForResourceResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceResponder handles the response to the ListQueryResultsForResource request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForResourceSender deprecated

func (client PolicyEventsClient) ListQueryResultsForResourceSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceSender sends the ListQueryResultsForResource request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForSubscription deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscription(ctx context.Context, subscriptionID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscription queries policy events for the resources under the subscription.

subscriptionID is microsoft Azure subscription ID. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignment deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignment(ctx context.Context, subscriptionID string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignment queries policy events for the subscription level policy assignment.

subscriptionID is microsoft Azure subscription ID. policyAssignmentName is policy assignment name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentPreparer(ctx context.Context, subscriptionID string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignmentPreparer prepares the ListQueryResultsForSubscriptionLevelPolicyAssignment request.

func (PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignmentResponder handles the response to the ListQueryResultsForSubscriptionLevelPolicyAssignment request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentSender deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignmentSender sends the ListQueryResultsForSubscriptionLevelPolicyAssignment request. The method will close the http.Response Body if it receives an error.

func (PolicyEventsClient) ListQueryResultsForSubscriptionPreparer deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionPreparer(ctx context.Context, subscriptionID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionPreparer prepares the ListQueryResultsForSubscription request.

func (PolicyEventsClient) ListQueryResultsForSubscriptionResponder deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionResponder(resp *http.Response) (result PolicyEventsQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionResponder handles the response to the ListQueryResultsForSubscription request. The method always closes the http.Response Body.

func (PolicyEventsClient) ListQueryResultsForSubscriptionSender deprecated

func (client PolicyEventsClient) ListQueryResultsForSubscriptionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionSender sends the ListQueryResultsForSubscription request. The method will close the http.Response Body if it receives an error.

type PolicyEventsQueryResults deprecated

type PolicyEventsQueryResults struct {
	autorest.Response `json:"-"`
	// OdataContext - OData context string; used by OData clients to resolve type information based on metadata.
	OdataContext *string `json:"@odata.context,omitempty"`
	// OdataCount - OData entity count; represents the number of policy event records returned.
	OdataCount *int32 `json:"@odata.count,omitempty"`
	// Value - Query results.
	Value *[]PolicyEvent `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyEventsQueryResults query results.

type PolicyState deprecated

type PolicyState struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// OdataID - OData entity ID; always set to null since policy state records do not have an entity ID.
	OdataID *string `json:"@odata.id,omitempty"`
	// OdataContext - OData context string; used by OData clients to resolve type information based on metadata.
	OdataContext *string `json:"@odata.context,omitempty"`
	// Timestamp - Timestamp for the policy state record.
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// ResourceID - Resource ID.
	ResourceID *string `json:"resourceId,omitempty"`
	// PolicyAssignmentID - Policy assignment ID.
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"`
	// PolicyDefinitionID - Policy definition ID.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
	// EffectiveParameters - Effective parameters for the policy assignment.
	EffectiveParameters *string `json:"effectiveParameters,omitempty"`
	// IsCompliant - Flag which states whether the resource is compliant against the policy assignment it was evaluated against.
	IsCompliant *bool `json:"isCompliant,omitempty"`
	// SubscriptionID - Subscription ID.
	SubscriptionID *string `json:"subscriptionId,omitempty"`
	// ResourceType - Resource type.
	ResourceType *string `json:"resourceType,omitempty"`
	// ResourceLocation - Resource location.
	ResourceLocation *string `json:"resourceLocation,omitempty"`
	// ResourceGroup - Resource group name.
	ResourceGroup *string `json:"resourceGroup,omitempty"`
	// ResourceTags - List of resource tags.
	ResourceTags *string `json:"resourceTags,omitempty"`
	// PolicyAssignmentName - Policy assignment name.
	PolicyAssignmentName *string `json:"policyAssignmentName,omitempty"`
	// PolicyAssignmentOwner - Policy assignment owner.
	PolicyAssignmentOwner *string `json:"policyAssignmentOwner,omitempty"`
	// PolicyAssignmentParameters - Policy assignment parameters.
	PolicyAssignmentParameters *string `json:"policyAssignmentParameters,omitempty"`
	// PolicyAssignmentScope - Policy assignment scope.
	PolicyAssignmentScope *string `json:"policyAssignmentScope,omitempty"`
	// PolicyDefinitionName - Policy definition name.
	PolicyDefinitionName *string `json:"policyDefinitionName,omitempty"`
	// PolicyDefinitionAction - Policy definition action, i.e. effect.
	PolicyDefinitionAction *string `json:"policyDefinitionAction,omitempty"`
	// PolicyDefinitionCategory - Policy definition category.
	PolicyDefinitionCategory *string `json:"policyDefinitionCategory,omitempty"`
	// PolicySetDefinitionID - Policy set definition ID, if the policy assignment is for a policy set.
	PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty"`
	// PolicySetDefinitionName - Policy set definition name, if the policy assignment is for a policy set.
	PolicySetDefinitionName *string `json:"policySetDefinitionName,omitempty"`
	// PolicySetDefinitionOwner - Policy set definition owner, if the policy assignment is for a policy set.
	PolicySetDefinitionOwner *string `json:"policySetDefinitionOwner,omitempty"`
	// PolicySetDefinitionCategory - Policy set definition category, if the policy assignment is for a policy set.
	PolicySetDefinitionCategory *string `json:"policySetDefinitionCategory,omitempty"`
	// PolicySetDefinitionParameters - Policy set definition parameters, if the policy assignment is for a policy set.
	PolicySetDefinitionParameters *string `json:"policySetDefinitionParameters,omitempty"`
	// ManagementGroupIds - Comma seperated list of management group IDs, which represent the hierarchy of the management groups the resource is under.
	ManagementGroupIds *string `json:"managementGroupIds,omitempty"`
	// PolicyDefinitionReferenceID - Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyState policy state record.

func (PolicyState) MarshalJSON deprecated

func (ps PolicyState) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. MarshalJSON is the custom marshaler for PolicyState.

type PolicyStatesClient deprecated

type PolicyStatesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyStatesClient is the client for the PolicyStates methods of the Policyinsights service.

func NewPolicyStatesClient deprecated

func NewPolicyStatesClient() PolicyStatesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewPolicyStatesClient creates an instance of the PolicyStatesClient client.

func NewPolicyStatesClientWithBaseURI deprecated

func NewPolicyStatesClientWithBaseURI(baseURI string) PolicyStatesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. NewPolicyStatesClientWithBaseURI creates an instance of the PolicyStatesClient client.

func (PolicyStatesClient) GetMetadata deprecated

func (client PolicyStatesClient) GetMetadata(ctx context.Context, scope string) (result String, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadata gets OData metadata XML document.

scope is a valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.

func (PolicyStatesClient) GetMetadataPreparer deprecated

func (client PolicyStatesClient) GetMetadataPreparer(ctx context.Context, scope string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadataPreparer prepares the GetMetadata request.

func (PolicyStatesClient) GetMetadataResponder deprecated

func (client PolicyStatesClient) GetMetadataResponder(resp *http.Response) (result String, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadataResponder handles the response to the GetMetadata request. The method always closes the http.Response Body.

func (PolicyStatesClient) GetMetadataSender deprecated

func (client PolicyStatesClient) GetMetadataSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. GetMetadataSender sends the GetMetadata request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForManagementGroup deprecated

func (client PolicyStatesClient) ListQueryResultsForManagementGroup(ctx context.Context, policyStatesResource PolicyStatesResource, managementGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroup queries policy states for the resources under the management group.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). managementGroupName is management group name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForManagementGroupPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForManagementGroupPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, managementGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroupPreparer prepares the ListQueryResultsForManagementGroup request.

func (PolicyStatesClient) ListQueryResultsForManagementGroupResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForManagementGroupResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroupResponder handles the response to the ListQueryResultsForManagementGroup request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForManagementGroupSender deprecated

func (client PolicyStatesClient) ListQueryResultsForManagementGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForManagementGroupSender sends the ListQueryResultsForManagementGroup request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForPolicyDefinition deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicyDefinition(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, policyDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinition queries policy states for the subscription level policy definition.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). subscriptionID is microsoft Azure subscription ID. policyDefinitionName is policy definition name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForPolicyDefinitionPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicyDefinitionPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, policyDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinitionPreparer prepares the ListQueryResultsForPolicyDefinition request.

func (PolicyStatesClient) ListQueryResultsForPolicyDefinitionResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicyDefinitionResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinitionResponder handles the response to the ListQueryResultsForPolicyDefinition request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForPolicyDefinitionSender deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicyDefinitionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicyDefinitionSender sends the ListQueryResultsForPolicyDefinition request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForPolicySetDefinition deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicySetDefinition(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, policySetDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinition queries policy states for the subscription level policy set definition.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). subscriptionID is microsoft Azure subscription ID. policySetDefinitionName is policy set definition name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForPolicySetDefinitionPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicySetDefinitionPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, policySetDefinitionName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinitionPreparer prepares the ListQueryResultsForPolicySetDefinition request.

func (PolicyStatesClient) ListQueryResultsForPolicySetDefinitionResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicySetDefinitionResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinitionResponder handles the response to the ListQueryResultsForPolicySetDefinition request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForPolicySetDefinitionSender deprecated

func (client PolicyStatesClient) ListQueryResultsForPolicySetDefinitionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForPolicySetDefinitionSender sends the ListQueryResultsForPolicySetDefinition request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForResource deprecated

func (client PolicyStatesClient) ListQueryResultsForResource(ctx context.Context, policyStatesResource PolicyStatesResource, resourceID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResource queries policy states for the resource.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). resourceID is resource ID. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForResourceGroup deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroup(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, resourceGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroup queries policy states for the resources under the resource group.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). subscriptionID is microsoft Azure subscription ID. resourceGroupName is resource group name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignment deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignment(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, resourceGroupName string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignment queries policy states for the resource group level policy assignment.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). subscriptionID is microsoft Azure subscription ID. resourceGroupName is resource group name. policyAssignmentName is policy assignment name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, resourceGroupName string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignmentPreparer prepares the ListQueryResultsForResourceGroupLevelPolicyAssignment request.

func (PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignmentResponder handles the response to the ListQueryResultsForResourceGroupLevelPolicyAssignment request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentSender deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupLevelPolicyAssignmentSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupLevelPolicyAssignmentSender sends the ListQueryResultsForResourceGroupLevelPolicyAssignment request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForResourceGroupPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, resourceGroupName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupPreparer prepares the ListQueryResultsForResourceGroup request.

func (PolicyStatesClient) ListQueryResultsForResourceGroupResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupResponder handles the response to the ListQueryResultsForResourceGroup request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForResourceGroupSender deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceGroupSender sends the ListQueryResultsForResourceGroup request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForResourcePreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForResourcePreparer(ctx context.Context, policyStatesResource PolicyStatesResource, resourceID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourcePreparer prepares the ListQueryResultsForResource request.

func (PolicyStatesClient) ListQueryResultsForResourceResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceResponder handles the response to the ListQueryResultsForResource request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForResourceSender deprecated

func (client PolicyStatesClient) ListQueryResultsForResourceSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForResourceSender sends the ListQueryResultsForResource request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForSubscription deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscription(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscription queries policy states for the resources under the subscription.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). subscriptionID is microsoft Azure subscription ID. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignment deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignment(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignment queries policy states for the subscription level policy assignment.

policyStatesResource is the virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s). subscriptionID is microsoft Azure subscription ID. policyAssignmentName is policy assignment name. top is maximum number of records to return. orderBy is ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". selectParameter is select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression. apply is oData apply expression for aggregations.

func (PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, policyAssignmentName string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignmentPreparer prepares the ListQueryResultsForSubscriptionLevelPolicyAssignment request.

func (PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignmentResponder handles the response to the ListQueryResultsForSubscriptionLevelPolicyAssignment request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentSender deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionLevelPolicyAssignmentSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionLevelPolicyAssignmentSender sends the ListQueryResultsForSubscriptionLevelPolicyAssignment request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) ListQueryResultsForSubscriptionPreparer deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionPreparer(ctx context.Context, policyStatesResource PolicyStatesResource, subscriptionID string, top *int32, orderBy string, selectParameter string, from *date.Time, toParameter *date.Time, filter string, apply string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionPreparer prepares the ListQueryResultsForSubscription request.

func (PolicyStatesClient) ListQueryResultsForSubscriptionResponder deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionResponder(resp *http.Response) (result PolicyStatesQueryResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionResponder handles the response to the ListQueryResultsForSubscription request. The method always closes the http.Response Body.

func (PolicyStatesClient) ListQueryResultsForSubscriptionSender deprecated

func (client PolicyStatesClient) ListQueryResultsForSubscriptionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. ListQueryResultsForSubscriptionSender sends the ListQueryResultsForSubscription request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForManagementGroup deprecated

func (client PolicyStatesClient) SummarizeForManagementGroup(ctx context.Context, managementGroupName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForManagementGroup summarizes policy states for the resources under the management group.

managementGroupName is management group name. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForManagementGroupPreparer deprecated

func (client PolicyStatesClient) SummarizeForManagementGroupPreparer(ctx context.Context, managementGroupName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForManagementGroupPreparer prepares the SummarizeForManagementGroup request.

func (PolicyStatesClient) SummarizeForManagementGroupResponder deprecated

func (client PolicyStatesClient) SummarizeForManagementGroupResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForManagementGroupResponder handles the response to the SummarizeForManagementGroup request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForManagementGroupSender deprecated

func (client PolicyStatesClient) SummarizeForManagementGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForManagementGroupSender sends the SummarizeForManagementGroup request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForPolicyDefinition deprecated

func (client PolicyStatesClient) SummarizeForPolicyDefinition(ctx context.Context, subscriptionID string, policyDefinitionName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicyDefinition summarizes policy states for the subscription level policy definition.

subscriptionID is microsoft Azure subscription ID. policyDefinitionName is policy definition name. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForPolicyDefinitionPreparer deprecated

func (client PolicyStatesClient) SummarizeForPolicyDefinitionPreparer(ctx context.Context, subscriptionID string, policyDefinitionName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicyDefinitionPreparer prepares the SummarizeForPolicyDefinition request.

func (PolicyStatesClient) SummarizeForPolicyDefinitionResponder deprecated

func (client PolicyStatesClient) SummarizeForPolicyDefinitionResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicyDefinitionResponder handles the response to the SummarizeForPolicyDefinition request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForPolicyDefinitionSender deprecated

func (client PolicyStatesClient) SummarizeForPolicyDefinitionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicyDefinitionSender sends the SummarizeForPolicyDefinition request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForPolicySetDefinition deprecated

func (client PolicyStatesClient) SummarizeForPolicySetDefinition(ctx context.Context, subscriptionID string, policySetDefinitionName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicySetDefinition summarizes policy states for the subscription level policy set definition.

subscriptionID is microsoft Azure subscription ID. policySetDefinitionName is policy set definition name. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForPolicySetDefinitionPreparer deprecated

func (client PolicyStatesClient) SummarizeForPolicySetDefinitionPreparer(ctx context.Context, subscriptionID string, policySetDefinitionName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicySetDefinitionPreparer prepares the SummarizeForPolicySetDefinition request.

func (PolicyStatesClient) SummarizeForPolicySetDefinitionResponder deprecated

func (client PolicyStatesClient) SummarizeForPolicySetDefinitionResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicySetDefinitionResponder handles the response to the SummarizeForPolicySetDefinition request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForPolicySetDefinitionSender deprecated

func (client PolicyStatesClient) SummarizeForPolicySetDefinitionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForPolicySetDefinitionSender sends the SummarizeForPolicySetDefinition request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForResource deprecated

func (client PolicyStatesClient) SummarizeForResource(ctx context.Context, resourceID string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResource summarizes policy states for the resource.

resourceID is resource ID. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForResourceGroup deprecated

func (client PolicyStatesClient) SummarizeForResourceGroup(ctx context.Context, subscriptionID string, resourceGroupName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroup summarizes policy states for the resources under the resource group.

subscriptionID is microsoft Azure subscription ID. resourceGroupName is resource group name. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignment deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignment(ctx context.Context, subscriptionID string, resourceGroupName string, policyAssignmentName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupLevelPolicyAssignment summarizes policy states for the resource group level policy assignment.

subscriptionID is microsoft Azure subscription ID. resourceGroupName is resource group name. policyAssignmentName is policy assignment name. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignmentPreparer deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignmentPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, policyAssignmentName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupLevelPolicyAssignmentPreparer prepares the SummarizeForResourceGroupLevelPolicyAssignment request.

func (PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignmentResponder deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignmentResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupLevelPolicyAssignmentResponder handles the response to the SummarizeForResourceGroupLevelPolicyAssignment request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignmentSender deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupLevelPolicyAssignmentSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupLevelPolicyAssignmentSender sends the SummarizeForResourceGroupLevelPolicyAssignment request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForResourceGroupPreparer deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupPreparer prepares the SummarizeForResourceGroup request.

func (PolicyStatesClient) SummarizeForResourceGroupResponder deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupResponder handles the response to the SummarizeForResourceGroup request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForResourceGroupSender deprecated

func (client PolicyStatesClient) SummarizeForResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceGroupSender sends the SummarizeForResourceGroup request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForResourcePreparer deprecated

func (client PolicyStatesClient) SummarizeForResourcePreparer(ctx context.Context, resourceID string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourcePreparer prepares the SummarizeForResource request.

func (PolicyStatesClient) SummarizeForResourceResponder deprecated

func (client PolicyStatesClient) SummarizeForResourceResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceResponder handles the response to the SummarizeForResource request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForResourceSender deprecated

func (client PolicyStatesClient) SummarizeForResourceSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForResourceSender sends the SummarizeForResource request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForSubscription deprecated

func (client PolicyStatesClient) SummarizeForSubscription(ctx context.Context, subscriptionID string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscription summarizes policy states for the resources under the subscription.

subscriptionID is microsoft Azure subscription ID. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignment deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignment(ctx context.Context, subscriptionID string, policyAssignmentName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionLevelPolicyAssignment summarizes policy states for the subscription level policy assignment.

subscriptionID is microsoft Azure subscription ID. policyAssignmentName is policy assignment name. top is maximum number of records to return. from is ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). toParameter is ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. filter is oData filter expression.

func (PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignmentPreparer deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignmentPreparer(ctx context.Context, subscriptionID string, policyAssignmentName string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionLevelPolicyAssignmentPreparer prepares the SummarizeForSubscriptionLevelPolicyAssignment request.

func (PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignmentResponder deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignmentResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionLevelPolicyAssignmentResponder handles the response to the SummarizeForSubscriptionLevelPolicyAssignment request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignmentSender deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionLevelPolicyAssignmentSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionLevelPolicyAssignmentSender sends the SummarizeForSubscriptionLevelPolicyAssignment request. The method will close the http.Response Body if it receives an error.

func (PolicyStatesClient) SummarizeForSubscriptionPreparer deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionPreparer(ctx context.Context, subscriptionID string, top *int32, from *date.Time, toParameter *date.Time, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionPreparer prepares the SummarizeForSubscription request.

func (PolicyStatesClient) SummarizeForSubscriptionResponder deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionResponder(resp *http.Response) (result SummarizeResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionResponder handles the response to the SummarizeForSubscription request. The method always closes the http.Response Body.

func (PolicyStatesClient) SummarizeForSubscriptionSender deprecated

func (client PolicyStatesClient) SummarizeForSubscriptionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeForSubscriptionSender sends the SummarizeForSubscription request. The method will close the http.Response Body if it receives an error.

type PolicyStatesQueryResults deprecated

type PolicyStatesQueryResults struct {
	autorest.Response `json:"-"`
	// OdataContext - OData context string; used by OData clients to resolve type information based on metadata.
	OdataContext *string `json:"@odata.context,omitempty"`
	// OdataCount - OData entity count; represents the number of policy state records returned.
	OdataCount *int32 `json:"@odata.count,omitempty"`
	// Value - Query results.
	Value *[]PolicyState `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyStatesQueryResults query results.

type PolicyStatesResource deprecated

type PolicyStatesResource string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PolicyStatesResource enumerates the values for policy states resource.

const (
	// Default ...
	Default PolicyStatesResource = "default"
	// Latest ...
	Latest PolicyStatesResource = "latest"
)

func PossiblePolicyStatesResourceValues deprecated

func PossiblePolicyStatesResourceValues() []PolicyStatesResource

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. PossiblePolicyStatesResourceValues returns an array of possible values for the PolicyStatesResource const type.

type QueryFailure deprecated

type QueryFailure struct {
	// Error - Error definition.
	Error *QueryFailureError `json:"error,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. QueryFailure error response.

type QueryFailureError deprecated

type QueryFailureError struct {
	// Code - Service specific error code which serves as the substatus for the HTTP error code.
	Code *string `json:"code,omitempty"`
	// Message - Description of the error.
	Message *string `json:"message,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. QueryFailureError error definition.

type String deprecated

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. String ...

type SummarizeResults deprecated

type SummarizeResults struct {
	autorest.Response `json:"-"`
	// OdataContext - OData context string; used by OData clients to resolve type information based on metadata.
	OdataContext *string `json:"@odata.context,omitempty"`
	// OdataCount - OData entity count; represents the number of summaries returned; always set to 1.
	OdataCount *int32 `json:"@odata.count,omitempty"`
	// Value - Summarize action results.
	Value *[]Summary `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummarizeResults summarize action results.

type Summary deprecated

type Summary struct {
	// OdataID - OData entity ID; always set to null since summaries do not have an entity ID.
	OdataID *string `json:"@odata.id,omitempty"`
	// OdataContext - OData context string; used by OData clients to resolve type information based on metadata.
	OdataContext *string `json:"@odata.context,omitempty"`
	// Results - Non-compliance summary for all policy assignments.
	Results *SummaryResults `json:"results,omitempty"`
	// PolicyAssignments - Policy assignments summary.
	PolicyAssignments *[]PolicyAssignmentSummary `json:"policyAssignments,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. Summary summary results.

type SummaryResults deprecated

type SummaryResults struct {
	// QueryResultsURI - HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the non-compliance summary.
	QueryResultsURI *string `json:"queryResultsUri,omitempty"`
	// NonCompliantResources - Number of non-compliant resources.
	NonCompliantResources *int32 `json:"nonCompliantResources,omitempty"`
	// NonCompliantPolicies - Number of non-compliant policies.
	NonCompliantPolicies *int32 `json:"nonCompliantPolicies,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/policyinsights/mgmt/2017-12-12-preview/policyinsights instead. SummaryResults non-compliance summary on a particular summary level.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL