Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type Assignment struct + ID *string + Name *string + 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(cur AssignmentListResult, ...) 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 + DisplayName *string + 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(cur DefinitionListResult, ...) 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 + PolicyRule interface{} + PolicyType Type + 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) 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) 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) 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, filter string) (result DefinitionListResultPage, err error) + func (client DefinitionsClient) ListComplete(ctx context.Context, filter string) (result DefinitionListResultIterator, err error) + func (client DefinitionsClient) ListPreparer(ctx context.Context, filter string) (*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 Type string + const BuiltIn + const Custom + const NotSpecified + func PossibleTypeValues() []Type