computepolicies

package
v2.85.5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AADObjectType

type AADObjectType string
const (
	AADObjectTypeGroup            AADObjectType = "Group"
	AADObjectTypeServicePrincipal AADObjectType = "ServicePrincipal"
	AADObjectTypeUser             AADObjectType = "User"
)

type AccountId

type AccountId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewAccountID

func NewAccountID(subscriptionId, resourceGroup, name string) AccountId

func ParseAccountID

func ParseAccountID(input string) (*AccountId, error)

ParseAccountID parses a Account ID into an AccountId struct

func ParseAccountIDInsensitively

func ParseAccountIDInsensitively(input string) (*AccountId, error)

ParseAccountIDInsensitively parses an Account ID into an AccountId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseAccountID method should be used instead for validation etc.

func (AccountId) ID

func (id AccountId) ID() string

func (AccountId) String

func (id AccountId) String() string

type ComputePoliciesClient

type ComputePoliciesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewComputePoliciesClientWithBaseURI

func NewComputePoliciesClientWithBaseURI(endpoint string) ComputePoliciesClient

func (ComputePoliciesClient) CreateOrUpdate

CreateOrUpdate ...

func (ComputePoliciesClient) Delete

Delete ...

func (ComputePoliciesClient) Get

Get ...

func (ComputePoliciesClient) ListByAccount

func (c ComputePoliciesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error)

ListByAccount ...

func (ComputePoliciesClient) ListByAccountComplete

ListByAccountComplete retrieves all of the results into a single object

func (ComputePoliciesClient) ListByAccountCompleteMatchingPredicate

func (c ComputePoliciesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate ComputePolicyPredicate) (resp ListByAccountCompleteResult, err error)

ListByAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ComputePoliciesClient) Update

Update ...

type ComputePoliciesId

type ComputePoliciesId struct {
	SubscriptionId    string
	ResourceGroup     string
	AccountName       string
	ComputePolicyName string
}

func NewComputePoliciesID

func NewComputePoliciesID(subscriptionId, resourceGroup, accountName, computePolicyName string) ComputePoliciesId

func ParseComputePoliciesID

func ParseComputePoliciesID(input string) (*ComputePoliciesId, error)

ParseComputePoliciesID parses a ComputePolicies ID into an ComputePoliciesId struct

func ParseComputePoliciesIDInsensitively

func ParseComputePoliciesIDInsensitively(input string) (*ComputePoliciesId, error)

ParseComputePoliciesIDInsensitively parses an ComputePolicies ID into an ComputePoliciesId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseComputePoliciesID method should be used instead for validation etc.

func (ComputePoliciesId) ID

func (id ComputePoliciesId) ID() string

func (ComputePoliciesId) String

func (id ComputePoliciesId) String() string

type ComputePolicy

type ComputePolicy struct {
	Id         *string                  `json:"id,omitempty"`
	Name       *string                  `json:"name,omitempty"`
	Properties *ComputePolicyProperties `json:"properties,omitempty"`
	Type       *string                  `json:"type,omitempty"`
}

type ComputePolicyPredicate

type ComputePolicyPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ComputePolicyPredicate) Matches

func (p ComputePolicyPredicate) Matches(input ComputePolicy) bool

type ComputePolicyProperties

type ComputePolicyProperties struct {
	MaxDegreeOfParallelismPerJob *int64         `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int64         `json:"minPriorityPerJob,omitempty"`
	ObjectId                     *string        `json:"objectId,omitempty"`
	ObjectType                   *AADObjectType `json:"objectType,omitempty"`
}

type CreateOrUpdateComputePolicyParameters

type CreateOrUpdateComputePolicyParameters struct {
	Properties CreateOrUpdateComputePolicyProperties `json:"properties"`
}

type CreateOrUpdateComputePolicyProperties

type CreateOrUpdateComputePolicyProperties struct {
	MaxDegreeOfParallelismPerJob *int64        `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int64        `json:"minPriorityPerJob,omitempty"`
	ObjectId                     string        `json:"objectId"`
	ObjectType                   AADObjectType `json:"objectType"`
}

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	HttpResponse *http.Response
	Model        *ComputePolicy
}

type DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
}

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *ComputePolicy
}

type ListByAccountCompleteResult

type ListByAccountCompleteResult struct {
	Items []ComputePolicy
}

type ListByAccountResponse

type ListByAccountResponse struct {
	HttpResponse *http.Response
	Model        *[]ComputePolicy
	// contains filtered or unexported fields
}

func (ListByAccountResponse) HasMore

func (r ListByAccountResponse) HasMore() bool

func (ListByAccountResponse) LoadMore

func (r ListByAccountResponse) LoadMore(ctx context.Context) (resp ListByAccountResponse, err error)

type UpdateComputePolicyParameters

type UpdateComputePolicyParameters struct {
	Properties *UpdateComputePolicyProperties `json:"properties,omitempty"`
}

type UpdateComputePolicyProperties

type UpdateComputePolicyProperties struct {
	MaxDegreeOfParallelismPerJob *int64         `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int64         `json:"minPriorityPerJob,omitempty"`
	ObjectId                     *string        `json:"objectId,omitempty"`
	ObjectType                   *AADObjectType `json:"objectType,omitempty"`
}

type UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
	Model        *ComputePolicy
}

Jump to

Keyboard shortcuts

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