Versions in this module Expand all Collapse all v2 v2.85.6 Nov 18, 2021 v2.85.5 Nov 18, 2021 Changes in this version + type AADObjectType string + const AADObjectTypeGroup + const AADObjectTypeServicePrincipal + const AADObjectTypeUser + type AccountId struct + Name string + ResourceGroup string + SubscriptionId string + func NewAccountID(subscriptionId, resourceGroup, name string) AccountId + func ParseAccountID(input string) (*AccountId, error) + func ParseAccountIDInsensitively(input string) (*AccountId, error) + func (id AccountId) ID() string + func (id AccountId) String() string + type ComputePoliciesClient struct + Client autorest.Client + func NewComputePoliciesClientWithBaseURI(endpoint string) ComputePoliciesClient + func (c ComputePoliciesClient) CreateOrUpdate(ctx context.Context, id ComputePoliciesId, ...) (result CreateOrUpdateResponse, err error) + func (c ComputePoliciesClient) Delete(ctx context.Context, id ComputePoliciesId) (result DeleteResponse, err error) + func (c ComputePoliciesClient) Get(ctx context.Context, id ComputePoliciesId) (result GetResponse, err error) + func (c ComputePoliciesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error) + func (c ComputePoliciesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error) + func (c ComputePoliciesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate ComputePolicyPredicate) (resp ListByAccountCompleteResult, err error) + func (c ComputePoliciesClient) Update(ctx context.Context, id ComputePoliciesId, input UpdateComputePolicyParameters) (result UpdateResponse, err error) + type ComputePoliciesId struct + AccountName string + ComputePolicyName string + ResourceGroup string + SubscriptionId string + func NewComputePoliciesID(subscriptionId, resourceGroup, accountName, computePolicyName string) ComputePoliciesId + func ParseComputePoliciesID(input string) (*ComputePoliciesId, error) + func ParseComputePoliciesIDInsensitively(input string) (*ComputePoliciesId, error) + func (id ComputePoliciesId) ID() string + func (id ComputePoliciesId) String() string + type ComputePolicy struct + Id *string + Name *string + Properties *ComputePolicyProperties + Type *string + type ComputePolicyPredicate struct + Id *string + Name *string + Type *string + func (p ComputePolicyPredicate) Matches(input ComputePolicy) bool + type ComputePolicyProperties struct + MaxDegreeOfParallelismPerJob *int64 + MinPriorityPerJob *int64 + ObjectId *string + ObjectType *AADObjectType + type CreateOrUpdateComputePolicyParameters struct + Properties CreateOrUpdateComputePolicyProperties + type CreateOrUpdateComputePolicyProperties struct + MaxDegreeOfParallelismPerJob *int64 + MinPriorityPerJob *int64 + ObjectId string + ObjectType AADObjectType + type CreateOrUpdateResponse struct + HttpResponse *http.Response + Model *ComputePolicy + type DeleteResponse struct + HttpResponse *http.Response + type GetResponse struct + HttpResponse *http.Response + Model *ComputePolicy + type ListByAccountCompleteResult struct + Items []ComputePolicy + type ListByAccountResponse struct + HttpResponse *http.Response + Model *[]ComputePolicy + func (r ListByAccountResponse) HasMore() bool + func (r ListByAccountResponse) LoadMore(ctx context.Context) (resp ListByAccountResponse, err error) + type UpdateComputePolicyParameters struct + Properties *UpdateComputePolicyProperties + type UpdateComputePolicyProperties struct + MaxDegreeOfParallelismPerJob *int64 + MinPriorityPerJob *int64 + ObjectId *string + ObjectType *AADObjectType + type UpdateResponse struct + HttpResponse *http.Response + Model *ComputePolicy