Documentation ¶
Index ¶
- func PossibleValuesForAfdProvisioningState() []string
- func PossibleValuesForDeploymentStatus() []string
- func PossibleValuesForUsageUnit() []string
- func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRuleSetID(input interface{}, key string) (warnings []string, errors []error)
- type AfdProvisioningState
- type CreateOperationResponse
- type DeleteOperationResponse
- type DeploymentStatus
- type GetOperationResponse
- type ListByProfileCompleteResult
- type ListByProfileCustomPager
- type ListByProfileOperationResponse
- type ListResourceUsageCompleteResult
- type ListResourceUsageCustomPager
- type ListResourceUsageOperationResponse
- type ProfileId
- type RuleSet
- type RuleSetId
- type RuleSetOperationPredicate
- type RuleSetProperties
- type RuleSetsClient
- func (c RuleSetsClient) Create(ctx context.Context, id RuleSetId) (result CreateOperationResponse, err error)
- func (c RuleSetsClient) Delete(ctx context.Context, id RuleSetId) (result DeleteOperationResponse, err error)
- func (c RuleSetsClient) DeleteThenPoll(ctx context.Context, id RuleSetId) error
- func (c RuleSetsClient) Get(ctx context.Context, id RuleSetId) (result GetOperationResponse, err error)
- func (c RuleSetsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)
- func (c RuleSetsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)
- func (c RuleSetsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate RuleSetOperationPredicate) (result ListByProfileCompleteResult, err error)
- func (c RuleSetsClient) ListResourceUsage(ctx context.Context, id RuleSetId) (result ListResourceUsageOperationResponse, err error)
- func (c RuleSetsClient) ListResourceUsageComplete(ctx context.Context, id RuleSetId) (ListResourceUsageCompleteResult, error)
- func (c RuleSetsClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id RuleSetId, predicate UsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)
- type Usage
- type UsageName
- type UsageOperationPredicate
- type UsageUnit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAfdProvisioningState ¶
func PossibleValuesForAfdProvisioningState() []string
func PossibleValuesForDeploymentStatus ¶
func PossibleValuesForDeploymentStatus() []string
func PossibleValuesForUsageUnit ¶
func PossibleValuesForUsageUnit() []string
func ValidateProfileID ¶
ValidateProfileID checks that 'input' can be parsed as a Profile ID
func ValidateRuleSetID ¶
ValidateRuleSetID checks that 'input' can be parsed as a Rule Set ID
Types ¶
type AfdProvisioningState ¶
type AfdProvisioningState string
const ( AfdProvisioningStateCreating AfdProvisioningState = "Creating" AfdProvisioningStateDeleting AfdProvisioningState = "Deleting" AfdProvisioningStateFailed AfdProvisioningState = "Failed" AfdProvisioningStateSucceeded AfdProvisioningState = "Succeeded" AfdProvisioningStateUpdating AfdProvisioningState = "Updating" )
func (*AfdProvisioningState) UnmarshalJSON ¶
func (s *AfdProvisioningState) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusInProgress DeploymentStatus = "InProgress" DeploymentStatusNotStarted DeploymentStatus = "NotStarted" DeploymentStatusSucceeded DeploymentStatus = "Succeeded" )
func (*DeploymentStatus) UnmarshalJSON ¶
func (s *DeploymentStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByProfileCustomPager ¶
func (*ListByProfileCustomPager) NextPageLink ¶
func (p *ListByProfileCustomPager) NextPageLink() *odata.Link
type ListResourceUsageCustomPager ¶
func (*ListResourceUsageCustomPager) NextPageLink ¶
func (p *ListResourceUsageCustomPager) NextPageLink() *odata.Link
type ProfileId ¶
ProfileId is a struct representing the Resource ID for a Profile
func NewProfileID ¶
NewProfileID returns a new ProfileId struct
func ParseProfileID ¶
ParseProfileID parses 'input' into a ProfileId
func ParseProfileIDInsensitively ¶
ParseProfileIDInsensitively parses 'input' case-insensitively into a ProfileId note: this method should only be used for API response data and not user input
func (*ProfileId) FromParseResult ¶
func (id *ProfileId) FromParseResult(input resourceids.ParseResult) error
func (ProfileId) Segments ¶
func (id ProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Profile ID
type RuleSet ¶
type RuleSet struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RuleSetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RuleSetId ¶
type RuleSetId struct { SubscriptionId string ResourceGroupName string ProfileName string RuleSetName string }
RuleSetId is a struct representing the Resource ID for a Rule Set
func NewRuleSetID ¶
func NewRuleSetID(subscriptionId string, resourceGroupName string, profileName string, ruleSetName string) RuleSetId
NewRuleSetID returns a new RuleSetId struct
func ParseRuleSetID ¶
ParseRuleSetID parses 'input' into a RuleSetId
func ParseRuleSetIDInsensitively ¶
ParseRuleSetIDInsensitively parses 'input' case-insensitively into a RuleSetId note: this method should only be used for API response data and not user input
func (*RuleSetId) FromParseResult ¶
func (id *RuleSetId) FromParseResult(input resourceids.ParseResult) error
func (RuleSetId) Segments ¶
func (id RuleSetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rule Set ID
type RuleSetOperationPredicate ¶
func (RuleSetOperationPredicate) Matches ¶
func (p RuleSetOperationPredicate) Matches(input RuleSet) bool
type RuleSetProperties ¶
type RuleSetProperties struct { DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty"` ProfileName *string `json:"profileName,omitempty"` ProvisioningState *AfdProvisioningState `json:"provisioningState,omitempty"` }
type RuleSetsClient ¶
type RuleSetsClient struct {
Client *resourcemanager.Client
}
func NewRuleSetsClientWithBaseURI ¶
func NewRuleSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*RuleSetsClient, error)
func (RuleSetsClient) Create ¶
func (c RuleSetsClient) Create(ctx context.Context, id RuleSetId) (result CreateOperationResponse, err error)
Create ...
func (RuleSetsClient) Delete ¶
func (c RuleSetsClient) Delete(ctx context.Context, id RuleSetId) (result DeleteOperationResponse, err error)
Delete ...
func (RuleSetsClient) DeleteThenPoll ¶
func (c RuleSetsClient) DeleteThenPoll(ctx context.Context, id RuleSetId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RuleSetsClient) Get ¶
func (c RuleSetsClient) Get(ctx context.Context, id RuleSetId) (result GetOperationResponse, err error)
Get ...
func (RuleSetsClient) ListByProfile ¶
func (c RuleSetsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)
ListByProfile ...
func (RuleSetsClient) ListByProfileComplete ¶
func (c RuleSetsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)
ListByProfileComplete retrieves all the results into a single object
func (RuleSetsClient) ListByProfileCompleteMatchingPredicate ¶
func (c RuleSetsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate RuleSetOperationPredicate) (result ListByProfileCompleteResult, err error)
ListByProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RuleSetsClient) ListResourceUsage ¶
func (c RuleSetsClient) ListResourceUsage(ctx context.Context, id RuleSetId) (result ListResourceUsageOperationResponse, err error)
ListResourceUsage ...
func (RuleSetsClient) ListResourceUsageComplete ¶
func (c RuleSetsClient) ListResourceUsageComplete(ctx context.Context, id RuleSetId) (ListResourceUsageCompleteResult, error)
ListResourceUsageComplete retrieves all the results into a single object
func (RuleSetsClient) ListResourceUsageCompleteMatchingPredicate ¶
func (c RuleSetsClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id RuleSetId, predicate UsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)
ListResourceUsageCompleteMatchingPredicate retrieves all the results and then applies the predicate
type UsageOperationPredicate ¶
func (UsageOperationPredicate) Matches ¶
func (p UsageOperationPredicate) Matches(input Usage) bool