Versions in this module Expand all Collapse all v42 v42.3.0 May 21, 2020 v42.2.0 May 13, 2020 v42.1.0 May 7, 2020 v42.0.0 Apr 28, 2020 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type Assignment struct + ID *string + Name *string + Sku *Sku + Type *string + func (a *Assignment) UnmarshalJSON(body []byte) error + func (a Assignment) MarshalJSON() ([]byte, error) + type AssignmentListResult struct + NextLink *string + Value *[]Assignment + func (alr AssignmentListResult) IsEmpty() bool + type AssignmentListResultIterator struct + func NewAssignmentListResultIterator(page AssignmentListResultPage) AssignmentListResultIterator + func (iter *AssignmentListResultIterator) Next() error + func (iter *AssignmentListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter AssignmentListResultIterator) NotDone() bool + func (iter AssignmentListResultIterator) Response() AssignmentListResult + func (iter AssignmentListResultIterator) Value() Assignment + type AssignmentListResultPage struct + func NewAssignmentListResultPage(...) AssignmentListResultPage + func (page *AssignmentListResultPage) Next() error + func (page *AssignmentListResultPage) NextWithContext(ctx context.Context) (err error) + func (page AssignmentListResultPage) NotDone() bool + func (page AssignmentListResultPage) Response() AssignmentListResult + func (page AssignmentListResultPage) Values() []Assignment + type AssignmentProperties struct + Description *string + DisplayName *string + Metadata interface{} + NotScopes *[]string + Parameters interface{} + PolicyDefinitionID *string + Scope *string + type AssignmentsClient struct + func NewAssignmentsClient(subscriptionID string) AssignmentsClient + func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) AssignmentsClient + func (client AssignmentsClient) Create(ctx context.Context, scope string, policyAssignmentName string, ...) (result Assignment, err error) + func (client AssignmentsClient) CreateByID(ctx context.Context, policyAssignmentID string, parameters Assignment) (result Assignment, err error) + func (client AssignmentsClient) CreateByIDPreparer(ctx context.Context, policyAssignmentID string, parameters Assignment) (*http.Request, error) + func (client AssignmentsClient) CreateByIDResponder(resp *http.Response) (result Assignment, err error) + func (client AssignmentsClient) CreateByIDSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) CreatePreparer(ctx context.Context, scope string, policyAssignmentName string, ...) (*http.Request, error) + func (client AssignmentsClient) CreateResponder(resp *http.Response) (result Assignment, err error) + func (client AssignmentsClient) CreateSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) Delete(ctx context.Context, scope string, policyAssignmentName string) (result Assignment, err error) + func (client AssignmentsClient) DeleteByID(ctx context.Context, policyAssignmentID string) (result Assignment, err error) + func (client AssignmentsClient) DeleteByIDPreparer(ctx context.Context, policyAssignmentID string) (*http.Request, error) + func (client AssignmentsClient) DeleteByIDResponder(resp *http.Response) (result Assignment, err error) + func (client AssignmentsClient) DeleteByIDSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) DeletePreparer(ctx context.Context, scope string, policyAssignmentName string) (*http.Request, error) + func (client AssignmentsClient) DeleteResponder(resp *http.Response) (result Assignment, err error) + func (client AssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) Get(ctx context.Context, scope string, policyAssignmentName string) (result Assignment, err error) + func (client AssignmentsClient) GetByID(ctx context.Context, policyAssignmentID string) (result Assignment, err error) + func (client AssignmentsClient) GetByIDPreparer(ctx context.Context, policyAssignmentID string) (*http.Request, error) + func (client AssignmentsClient) GetByIDResponder(resp *http.Response) (result Assignment, err error) + func (client AssignmentsClient) GetByIDSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) GetPreparer(ctx context.Context, scope string, policyAssignmentName string) (*http.Request, error) + func (client AssignmentsClient) GetResponder(resp *http.Response) (result Assignment, err error) + func (client AssignmentsClient) GetSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) List(ctx context.Context, filter string) (result AssignmentListResultPage, err error) + func (client AssignmentsClient) ListComplete(ctx context.Context, filter string) (result AssignmentListResultIterator, err error) + func (client AssignmentsClient) ListForResource(ctx context.Context, resourceGroupName string, ...) (result AssignmentListResultPage, err error) + func (client AssignmentsClient) ListForResourceComplete(ctx context.Context, resourceGroupName string, ...) (result AssignmentListResultIterator, err error) + func (client AssignmentsClient) ListForResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result AssignmentListResultPage, err error) + func (client AssignmentsClient) ListForResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result AssignmentListResultIterator, err error) + func (client AssignmentsClient) ListForResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error) + func (client AssignmentsClient) ListForResourceGroupResponder(resp *http.Response) (result AssignmentListResult, err error) + func (client AssignmentsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) ListForResourcePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error) + func (client AssignmentsClient) ListForResourceResponder(resp *http.Response) (result AssignmentListResult, err error) + func (client AssignmentsClient) ListForResourceSender(req *http.Request) (*http.Response, error) + func (client AssignmentsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error) + func (client AssignmentsClient) ListResponder(resp *http.Response) (result AssignmentListResult, err error) + func (client AssignmentsClient) ListSender(req *http.Request) (*http.Response, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type Definition struct + ID *string + Name *string + func (d *Definition) UnmarshalJSON(body []byte) error + func (d Definition) MarshalJSON() ([]byte, error) + type DefinitionListResult struct + NextLink *string + Value *[]Definition + func (dlr DefinitionListResult) IsEmpty() bool + type DefinitionListResultIterator struct + func NewDefinitionListResultIterator(page DefinitionListResultPage) DefinitionListResultIterator + func (iter *DefinitionListResultIterator) Next() error + func (iter *DefinitionListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter DefinitionListResultIterator) NotDone() bool + func (iter DefinitionListResultIterator) Response() DefinitionListResult + func (iter DefinitionListResultIterator) Value() Definition + type DefinitionListResultPage struct + func NewDefinitionListResultPage(...) DefinitionListResultPage + func (page *DefinitionListResultPage) Next() error + func (page *DefinitionListResultPage) NextWithContext(ctx context.Context) (err error) + func (page DefinitionListResultPage) NotDone() bool + func (page DefinitionListResultPage) Response() DefinitionListResult + func (page DefinitionListResultPage) Values() []Definition + type DefinitionProperties struct + Description *string + DisplayName *string + Metadata interface{} + Mode Mode + Parameters interface{} + PolicyRule interface{} + PolicyType Type + type DefinitionReference struct + Parameters interface{} + PolicyDefinitionID *string + type DefinitionsClient struct + func NewDefinitionsClient(subscriptionID string) DefinitionsClient + func NewDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) DefinitionsClient + func (client DefinitionsClient) CreateOrUpdate(ctx context.Context, policyDefinitionName string, parameters Definition) (result Definition, err error) + func (client DefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, policyDefinitionName string, parameters Definition, ...) (result Definition, err error) + func (client DefinitionsClient) CreateOrUpdateAtManagementGroupPreparer(ctx context.Context, policyDefinitionName string, parameters Definition, ...) (*http.Request, error) + func (client DefinitionsClient) CreateOrUpdateAtManagementGroupResponder(resp *http.Response) (result Definition, err error) + func (client DefinitionsClient) CreateOrUpdateAtManagementGroupSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, policyDefinitionName string, parameters Definition) (*http.Request, error) + func (client DefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result Definition, err error) + func (client DefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) Delete(ctx context.Context, policyDefinitionName string) (result autorest.Response, err error) + func (client DefinitionsClient) DeleteAtManagementGroup(ctx context.Context, policyDefinitionName string, managementGroupID string) (result autorest.Response, err error) + func (client DefinitionsClient) DeleteAtManagementGroupPreparer(ctx context.Context, policyDefinitionName string, managementGroupID string) (*http.Request, error) + func (client DefinitionsClient) DeleteAtManagementGroupResponder(resp *http.Response) (result autorest.Response, err error) + func (client DefinitionsClient) DeleteAtManagementGroupSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) DeletePreparer(ctx context.Context, policyDefinitionName string) (*http.Request, error) + func (client DefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client DefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) Get(ctx context.Context, policyDefinitionName string) (result Definition, err error) + func (client DefinitionsClient) GetAtManagementGroup(ctx context.Context, policyDefinitionName string, managementGroupID string) (result Definition, err error) + func (client DefinitionsClient) GetAtManagementGroupPreparer(ctx context.Context, policyDefinitionName string, managementGroupID string) (*http.Request, error) + func (client DefinitionsClient) GetAtManagementGroupResponder(resp *http.Response) (result Definition, err error) + func (client DefinitionsClient) GetAtManagementGroupSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) GetBuiltIn(ctx context.Context, policyDefinitionName string) (result Definition, err error) + func (client DefinitionsClient) GetBuiltInPreparer(ctx context.Context, policyDefinitionName string) (*http.Request, error) + func (client DefinitionsClient) GetBuiltInResponder(resp *http.Response) (result Definition, err error) + func (client DefinitionsClient) GetBuiltInSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) GetPreparer(ctx context.Context, policyDefinitionName string) (*http.Request, error) + func (client DefinitionsClient) GetResponder(resp *http.Response) (result Definition, err error) + func (client DefinitionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) List(ctx context.Context) (result DefinitionListResultPage, err error) + func (client DefinitionsClient) ListBuiltIn(ctx context.Context) (result DefinitionListResultPage, err error) + func (client DefinitionsClient) ListBuiltInComplete(ctx context.Context) (result DefinitionListResultIterator, err error) + func (client DefinitionsClient) ListBuiltInPreparer(ctx context.Context) (*http.Request, error) + func (client DefinitionsClient) ListBuiltInResponder(resp *http.Response) (result DefinitionListResult, err error) + func (client DefinitionsClient) ListBuiltInSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) ListByManagementGroup(ctx context.Context, managementGroupID string) (result DefinitionListResultPage, err error) + func (client DefinitionsClient) ListByManagementGroupComplete(ctx context.Context, managementGroupID string) (result DefinitionListResultIterator, err error) + func (client DefinitionsClient) ListByManagementGroupPreparer(ctx context.Context, managementGroupID string) (*http.Request, error) + func (client DefinitionsClient) ListByManagementGroupResponder(resp *http.Response) (result DefinitionListResult, err error) + func (client DefinitionsClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client DefinitionsClient) ListComplete(ctx context.Context) (result DefinitionListResultIterator, err error) + func (client DefinitionsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client DefinitionsClient) ListResponder(resp *http.Response) (result DefinitionListResult, err error) + func (client DefinitionsClient) ListSender(req *http.Request) (*http.Response, error) + type ErrorResponse struct + ErrorCode *string + ErrorMessage *string + HTTPStatus *string + type Mode string + const All + const Indexed + const NotSpecified + func PossibleModeValues() []Mode + type SetDefinition struct + ID *string + Name *string + Type *string + func (sd *SetDefinition) UnmarshalJSON(body []byte) error + func (sd SetDefinition) MarshalJSON() ([]byte, error) + type SetDefinitionListResult struct + NextLink *string + Value *[]SetDefinition + func (sdlr SetDefinitionListResult) IsEmpty() bool + type SetDefinitionListResultIterator struct + func NewSetDefinitionListResultIterator(page SetDefinitionListResultPage) SetDefinitionListResultIterator + func (iter *SetDefinitionListResultIterator) Next() error + func (iter *SetDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter SetDefinitionListResultIterator) NotDone() bool + func (iter SetDefinitionListResultIterator) Response() SetDefinitionListResult + func (iter SetDefinitionListResultIterator) Value() SetDefinition + type SetDefinitionListResultPage struct + func NewSetDefinitionListResultPage(...) SetDefinitionListResultPage + func (page *SetDefinitionListResultPage) Next() error + func (page *SetDefinitionListResultPage) NextWithContext(ctx context.Context) (err error) + func (page SetDefinitionListResultPage) NotDone() bool + func (page SetDefinitionListResultPage) Response() SetDefinitionListResult + func (page SetDefinitionListResultPage) Values() []SetDefinition + type SetDefinitionProperties struct + Description *string + DisplayName *string + Metadata interface{} + Parameters interface{} + PolicyDefinitions *[]DefinitionReference + PolicyType Type + type SetDefinitionsClient struct + func NewSetDefinitionsClient(subscriptionID string) SetDefinitionsClient + func NewSetDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) SetDefinitionsClient + func (client SetDefinitionsClient) CreateOrUpdate(ctx context.Context, policySetDefinitionName string, parameters SetDefinition) (result SetDefinition, err error) + func (client SetDefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, policySetDefinitionName string, parameters SetDefinition, ...) (result SetDefinition, err error) + func (client SetDefinitionsClient) CreateOrUpdateAtManagementGroupPreparer(ctx context.Context, policySetDefinitionName string, parameters SetDefinition, ...) (*http.Request, error) + func (client SetDefinitionsClient) CreateOrUpdateAtManagementGroupResponder(resp *http.Response) (result SetDefinition, err error) + func (client SetDefinitionsClient) CreateOrUpdateAtManagementGroupSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, policySetDefinitionName string, parameters SetDefinition) (*http.Request, error) + func (client SetDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result SetDefinition, err error) + func (client SetDefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) Delete(ctx context.Context, policySetDefinitionName string) (result autorest.Response, err error) + func (client SetDefinitionsClient) DeleteAtManagementGroup(ctx context.Context, policySetDefinitionName string, managementGroupID string) (result autorest.Response, err error) + func (client SetDefinitionsClient) DeleteAtManagementGroupPreparer(ctx context.Context, policySetDefinitionName string, managementGroupID string) (*http.Request, error) + func (client SetDefinitionsClient) DeleteAtManagementGroupResponder(resp *http.Response) (result autorest.Response, err error) + func (client SetDefinitionsClient) DeleteAtManagementGroupSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) DeletePreparer(ctx context.Context, policySetDefinitionName string) (*http.Request, error) + func (client SetDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client SetDefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) Get(ctx context.Context, policySetDefinitionName string) (result SetDefinition, err error) + func (client SetDefinitionsClient) GetAtManagementGroup(ctx context.Context, policySetDefinitionName string, managementGroupID string) (result SetDefinition, err error) + func (client SetDefinitionsClient) GetAtManagementGroupPreparer(ctx context.Context, policySetDefinitionName string, managementGroupID string) (*http.Request, error) + func (client SetDefinitionsClient) GetAtManagementGroupResponder(resp *http.Response) (result SetDefinition, err error) + func (client SetDefinitionsClient) GetAtManagementGroupSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) GetBuiltIn(ctx context.Context, policySetDefinitionName string) (result SetDefinition, err error) + func (client SetDefinitionsClient) GetBuiltInPreparer(ctx context.Context, policySetDefinitionName string) (*http.Request, error) + func (client SetDefinitionsClient) GetBuiltInResponder(resp *http.Response) (result SetDefinition, err error) + func (client SetDefinitionsClient) GetBuiltInSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) GetPreparer(ctx context.Context, policySetDefinitionName string) (*http.Request, error) + func (client SetDefinitionsClient) GetResponder(resp *http.Response) (result SetDefinition, err error) + func (client SetDefinitionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) List(ctx context.Context) (result SetDefinitionListResultPage, err error) + func (client SetDefinitionsClient) ListBuiltIn(ctx context.Context) (result SetDefinitionListResultPage, err error) + func (client SetDefinitionsClient) ListBuiltInComplete(ctx context.Context) (result SetDefinitionListResultIterator, err error) + func (client SetDefinitionsClient) ListBuiltInPreparer(ctx context.Context) (*http.Request, error) + func (client SetDefinitionsClient) ListBuiltInResponder(resp *http.Response) (result SetDefinitionListResult, err error) + func (client SetDefinitionsClient) ListBuiltInSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) ListByManagementGroup(ctx context.Context, managementGroupID string) (result SetDefinitionListResultPage, err error) + func (client SetDefinitionsClient) ListByManagementGroupComplete(ctx context.Context, managementGroupID string) (result SetDefinitionListResultIterator, err error) + func (client SetDefinitionsClient) ListByManagementGroupPreparer(ctx context.Context, managementGroupID string) (*http.Request, error) + func (client SetDefinitionsClient) ListByManagementGroupResponder(resp *http.Response) (result SetDefinitionListResult, err error) + func (client SetDefinitionsClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client SetDefinitionsClient) ListComplete(ctx context.Context) (result SetDefinitionListResultIterator, err error) + func (client SetDefinitionsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client SetDefinitionsClient) ListResponder(resp *http.Response) (result SetDefinitionListResult, err error) + func (client SetDefinitionsClient) ListSender(req *http.Request) (*http.Response, error) + type Sku struct + Name *string + Tier *string + type Type string + const TypeBuiltIn + const TypeCustom + const TypeNotSpecified + func PossibleTypeValues() []Type Other modules containing this package gopkg.in/azure/azure-sdk-for-go.v16 gopkg.in/azure/azure-sdk-for-go.v17 gopkg.in/azure/azure-sdk-for-go.v18 gopkg.in/azure/azure-sdk-for-go.v19 gopkg.in/azure/azure-sdk-for-go.v20 gopkg.in/azure/azure-sdk-for-go.v21 gopkg.in/azure/azure-sdk-for-go.v22 gopkg.in/azure/azure-sdk-for-go.v23 gopkg.in/azure/azure-sdk-for-go.v24 gopkg.in/azure/azure-sdk-for-go.v25 gopkg.in/azure/azure-sdk-for-go.v26 gopkg.in/azure/azure-sdk-for-go.v27 gopkg.in/azure/azure-sdk-for-go.v28 gopkg.in/azure/azure-sdk-for-go.v29 gopkg.in/azure/azure-sdk-for-go.v30 gopkg.in/azure/azure-sdk-for-go.v31 gopkg.in/azure/azure-sdk-for-go.v32 gopkg.in/azure/azure-sdk-for-go.v33 gopkg.in/azure/azure-sdk-for-go.v34 gopkg.in/azure/azure-sdk-for-go.v35 gopkg.in/azure/azure-sdk-for-go.v36 gopkg.in/azure/azure-sdk-for-go.v37 gopkg.in/azure/azure-sdk-for-go.v38 gopkg.in/azure/azure-sdk-for-go.v39 gopkg.in/azure/azure-sdk-for-go.v40 gopkg.in/azure/azure-sdk-for-go.v41 gopkg.in/azure/azure-sdk-for-go.v43 gopkg.in/azure/azure-sdk-for-go.v44 gopkg.in/azure/azure-sdk-for-go.v45 gopkg.in/azure/azure-sdk-for-go.v46 gopkg.in/azure/azure-sdk-for-go.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49