Documentation ¶
Index ¶
- func ValidateRoleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- 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) (result ListOperationResponse, err error)
- func (c MonitoringConfigClient) ListComplete(ctx context.Context, id RoleId) (ListCompleteResult, error)
- func (c MonitoringConfigClient) ListCompleteMatchingPredicate(ctx context.Context, id RoleId, ...) (result 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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoringMetricConfiguration }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoringMetricConfiguration }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoringMetricConfiguration }
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 *resourcemanager.Client
}
func NewMonitoringConfigClientWithBaseURI ¶
func NewMonitoringConfigClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitoringConfigClient, error)
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) (result ListOperationResponse, err error)
List ...
func (MonitoringConfigClient) ListComplete ¶
func (c MonitoringConfigClient) ListComplete(ctx context.Context, id RoleId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MonitoringConfigClient) ListCompleteMatchingPredicate ¶
func (c MonitoringConfigClient) ListCompleteMatchingPredicate(ctx context.Context, id RoleId, predicate MonitoringMetricConfigurationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶
func (id *RoleId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_delete.go
- method_get.go
- method_list.go
- model_metricconfiguration.go
- model_metriccounter.go
- model_metriccounterset.go
- model_metricdimension.go
- model_monitoringmetricconfiguration.go
- model_monitoringmetricconfigurationproperties.go
- predicates.go
- version.go