Documentation ¶
Index ¶
- func ValidateRoleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type MetricConfiguration
- type MetricCounter
- type MetricCounterSet
- type MetricDimension
- type MonitoringConfigClient
- func (c MonitoringConfigClient) CreateOrUpdate(ctx context.Context, id RoleId, input MonitoringMetricConfiguration) (result CreateOrUpdateOperationResponse, err error)
- func (c MonitoringConfigClient) CreateOrUpdateThenPoll(ctx context.Context, id RoleId, input MonitoringMetricConfiguration) error
- func (c MonitoringConfigClient) Delete(ctx context.Context, id RoleId) (result DeleteOperationResponse, err error)
- func (c MonitoringConfigClient) DeleteThenPoll(ctx context.Context, id RoleId) error
- func (c MonitoringConfigClient) Get(ctx context.Context, id RoleId) (result GetOperationResponse, err error)
- func (c MonitoringConfigClient) List(ctx context.Context, id RoleId) (resp ListOperationResponse, err error)
- func (c MonitoringConfigClient) ListComplete(ctx context.Context, id RoleId) (ListCompleteResult, error)
- func (c MonitoringConfigClient) ListCompleteMatchingPredicate(ctx context.Context, id RoleId, ...) (resp ListCompleteResult, err error)
- type MonitoringMetricConfiguration
- type MonitoringMetricConfigurationOperationPredicate
- type MonitoringMetricConfigurationProperties
- type RoleId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRoleID ¶
ValidateRoleID checks that 'input' can be parsed as a Role ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *MonitoringMetricConfiguration }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []MonitoringMetricConfiguration
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]MonitoringMetricConfiguration // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type MetricConfiguration ¶
type MetricConfiguration struct { CounterSets []MetricCounterSet `json:"counterSets"` MdmAccount *string `json:"mdmAccount,omitempty"` MetricNameSpace *string `json:"metricNameSpace,omitempty"` ResourceId string `json:"resourceId"` }
type MetricCounter ¶
type MetricCounter struct { AdditionalDimensions *[]MetricDimension `json:"additionalDimensions,omitempty"` DimensionFilter *[]MetricDimension `json:"dimensionFilter,omitempty"` Instance *string `json:"instance,omitempty"` Name string `json:"name"` }
type MetricCounterSet ¶
type MetricCounterSet struct {
Counters []MetricCounter `json:"counters"`
}
type MetricDimension ¶
type MonitoringConfigClient ¶
type MonitoringConfigClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewMonitoringConfigClientWithBaseURI ¶
func NewMonitoringConfigClientWithBaseURI(endpoint string) MonitoringConfigClient
func (MonitoringConfigClient) CreateOrUpdate ¶
func (c MonitoringConfigClient) CreateOrUpdate(ctx context.Context, id RoleId, input MonitoringMetricConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MonitoringConfigClient) CreateOrUpdateThenPoll ¶
func (c MonitoringConfigClient) CreateOrUpdateThenPoll(ctx context.Context, id RoleId, input MonitoringMetricConfiguration) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (MonitoringConfigClient) Delete ¶
func (c MonitoringConfigClient) Delete(ctx context.Context, id RoleId) (result DeleteOperationResponse, err error)
Delete ...
func (MonitoringConfigClient) DeleteThenPoll ¶
func (c MonitoringConfigClient) DeleteThenPoll(ctx context.Context, id RoleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MonitoringConfigClient) Get ¶
func (c MonitoringConfigClient) Get(ctx context.Context, id RoleId) (result GetOperationResponse, err error)
Get ...
func (MonitoringConfigClient) List ¶
func (c MonitoringConfigClient) List(ctx context.Context, id RoleId) (resp ListOperationResponse, err error)
List ...
func (MonitoringConfigClient) ListComplete ¶
func (c MonitoringConfigClient) ListComplete(ctx context.Context, id RoleId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (MonitoringConfigClient) ListCompleteMatchingPredicate ¶
func (c MonitoringConfigClient) ListCompleteMatchingPredicate(ctx context.Context, id RoleId, predicate MonitoringMetricConfigurationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type MonitoringMetricConfiguration ¶
type MonitoringMetricConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties MonitoringMetricConfigurationProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MonitoringMetricConfigurationOperationPredicate ¶
type MonitoringMetricConfigurationOperationPredicate struct { Id *string Name *string Type *string }
func (MonitoringMetricConfigurationOperationPredicate) Matches ¶
func (p MonitoringMetricConfigurationOperationPredicate) Matches(input MonitoringMetricConfiguration) bool
type MonitoringMetricConfigurationProperties ¶
type MonitoringMetricConfigurationProperties struct {
MetricConfigurations []MetricConfiguration `json:"metricConfigurations"`
}
type RoleId ¶
type RoleId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string RoleName string }
RoleId is a struct representing the Resource ID for a Role
func NewRoleID ¶
func NewRoleID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string, roleName string) RoleId
NewRoleID returns a new RoleId struct
func ParseRoleID ¶
ParseRoleID parses 'input' into a RoleId
func ParseRoleIDInsensitively ¶
ParseRoleIDInsensitively parses 'input' case-insensitively into a RoleId note: this method should only be used for API response data and not user input
func (RoleId) Segments ¶
func (id RoleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Role ID
Source Files ¶
- client.go
- id_role.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_metricconfiguration.go
- model_metriccounter.go
- model_metriccounterset.go
- model_metricdimension.go
- model_monitoringmetricconfiguration.go
- model_monitoringmetricconfigurationproperties.go
- predicates.go
- version.go