Documentation ¶
Index ¶
- func PossibleValuesForApplicationGroupPolicyType() []string
- func PossibleValuesForMetricId() []string
- func ValidateApplicationGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationGroup
- type ApplicationGroupClient
- func (c ApplicationGroupClient) CreateOrUpdateApplicationGroup(ctx context.Context, id ApplicationGroupId, input ApplicationGroup) (result CreateOrUpdateApplicationGroupOperationResponse, err error)
- func (c ApplicationGroupClient) Delete(ctx context.Context, id ApplicationGroupId) (result DeleteOperationResponse, err error)
- func (c ApplicationGroupClient) Get(ctx context.Context, id ApplicationGroupId) (result GetOperationResponse, err error)
- func (c ApplicationGroupClient) ListByNamespace(ctx context.Context, id NamespaceId) (result ListByNamespaceOperationResponse, err error)
- func (c ApplicationGroupClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
- func (c ApplicationGroupClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (result ListByNamespaceCompleteResult, err error)
- type ApplicationGroupId
- type ApplicationGroupOperationPredicate
- type ApplicationGroupPolicy
- type ApplicationGroupPolicyType
- type ApplicationGroupProperties
- type CreateOrUpdateApplicationGroupOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceOperationResponse
- type MetricId
- type NamespaceId
- type ThrottlingPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApplicationGroupPolicyType ¶
func PossibleValuesForApplicationGroupPolicyType() []string
func PossibleValuesForMetricId ¶
func PossibleValuesForMetricId() []string
func ValidateApplicationGroupID ¶
ValidateApplicationGroupID checks that 'input' can be parsed as a Application Group ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type ApplicationGroup ¶
type ApplicationGroup struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ApplicationGroupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationGroupClient ¶
type ApplicationGroupClient struct {
Client *resourcemanager.Client
}
func NewApplicationGroupClientWithBaseURI ¶
func NewApplicationGroupClientWithBaseURI(api environments.Api) (*ApplicationGroupClient, error)
func (ApplicationGroupClient) CreateOrUpdateApplicationGroup ¶
func (c ApplicationGroupClient) CreateOrUpdateApplicationGroup(ctx context.Context, id ApplicationGroupId, input ApplicationGroup) (result CreateOrUpdateApplicationGroupOperationResponse, err error)
CreateOrUpdateApplicationGroup ...
func (ApplicationGroupClient) Delete ¶
func (c ApplicationGroupClient) Delete(ctx context.Context, id ApplicationGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationGroupClient) Get ¶
func (c ApplicationGroupClient) Get(ctx context.Context, id ApplicationGroupId) (result GetOperationResponse, err error)
Get ...
func (ApplicationGroupClient) ListByNamespace ¶
func (c ApplicationGroupClient) ListByNamespace(ctx context.Context, id NamespaceId) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (ApplicationGroupClient) ListByNamespaceComplete ¶
func (c ApplicationGroupClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (ApplicationGroupClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c ApplicationGroupClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate ApplicationGroupOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApplicationGroupId ¶
type ApplicationGroupId struct { SubscriptionId string ResourceGroupName string NamespaceName string ApplicationGroupName string }
ApplicationGroupId is a struct representing the Resource ID for a Application Group
func NewApplicationGroupID ¶
func NewApplicationGroupID(subscriptionId string, resourceGroupName string, namespaceName string, applicationGroupName string) ApplicationGroupId
NewApplicationGroupID returns a new ApplicationGroupId struct
func ParseApplicationGroupID ¶
func ParseApplicationGroupID(input string) (*ApplicationGroupId, error)
ParseApplicationGroupID parses 'input' into a ApplicationGroupId
func ParseApplicationGroupIDInsensitively ¶
func ParseApplicationGroupIDInsensitively(input string) (*ApplicationGroupId, error)
ParseApplicationGroupIDInsensitively parses 'input' case-insensitively into a ApplicationGroupId note: this method should only be used for API response data and not user input
func (ApplicationGroupId) ID ¶
func (id ApplicationGroupId) ID() string
ID returns the formatted Application Group ID
func (ApplicationGroupId) Segments ¶
func (id ApplicationGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application Group ID
func (ApplicationGroupId) String ¶
func (id ApplicationGroupId) String() string
String returns a human-readable description of this Application Group ID
type ApplicationGroupOperationPredicate ¶
type ApplicationGroupOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ApplicationGroupOperationPredicate) Matches ¶
func (p ApplicationGroupOperationPredicate) Matches(input ApplicationGroup) bool
type ApplicationGroupPolicy ¶
type ApplicationGroupPolicy interface { }
type ApplicationGroupPolicyType ¶
type ApplicationGroupPolicyType string
const (
ApplicationGroupPolicyTypeThrottlingPolicy ApplicationGroupPolicyType = "ThrottlingPolicy"
)
func (*ApplicationGroupPolicyType) UnmarshalJSON ¶
func (s *ApplicationGroupPolicyType) UnmarshalJSON(bytes []byte) error
type ApplicationGroupProperties ¶
type ApplicationGroupProperties struct { ClientAppGroupIdentifier string `json:"clientAppGroupIdentifier"` IsEnabled *bool `json:"isEnabled,omitempty"` Policies *[]ApplicationGroupPolicy `json:"policies,omitempty"` }
func (*ApplicationGroupProperties) UnmarshalJSON ¶
func (s *ApplicationGroupProperties) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateApplicationGroupOperationResponse ¶
type CreateOrUpdateApplicationGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationGroup }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationGroup }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []ApplicationGroup
}
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationGroup }
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID
type ThrottlingPolicy ¶
type ThrottlingPolicy struct { MetricId MetricId `json:"metricId"` RateLimitThreshold int64 `json:"rateLimitThreshold"` // Fields inherited from ApplicationGroupPolicy Name string `json:"name"` }
func (ThrottlingPolicy) MarshalJSON ¶
func (s ThrottlingPolicy) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- id_applicationgroup.go
- id_namespace.go
- method_createorupdateapplicationgroup.go
- method_delete.go
- method_get.go
- method_listbynamespace.go
- model_applicationgroup.go
- model_applicationgrouppolicy.go
- model_applicationgroupproperties.go
- model_throttlingpolicy.go
- predicates.go
- version.go