Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForDestinationType() []string
- func PossibleValuesForEmissionType() []string
- func PossibleValuesForIngestionType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSourceType() []string
- func ValidateAzureTrafficCollectorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCollectorPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type AzureTrafficCollectorId
- type CollectorPoliciesClient
- func (c CollectorPoliciesClient) CreateOrUpdate(ctx context.Context, id CollectorPolicyId, input CollectorPolicy) (result CreateOrUpdateOperationResponse, err error)
- func (c CollectorPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id CollectorPolicyId, input CollectorPolicy) error
- func (c CollectorPoliciesClient) Delete(ctx context.Context, id CollectorPolicyId) (result DeleteOperationResponse, err error)
- func (c CollectorPoliciesClient) DeleteThenPoll(ctx context.Context, id CollectorPolicyId) error
- func (c CollectorPoliciesClient) Get(ctx context.Context, id CollectorPolicyId) (result GetOperationResponse, err error)
- func (c CollectorPoliciesClient) List(ctx context.Context, id AzureTrafficCollectorId) (result ListOperationResponse, err error)
- func (c CollectorPoliciesClient) ListComplete(ctx context.Context, id AzureTrafficCollectorId) (ListCompleteResult, error)
- func (c CollectorPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id AzureTrafficCollectorId, ...) (result ListCompleteResult, err error)
- func (c CollectorPoliciesClient) UpdateTags(ctx context.Context, id CollectorPolicyId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type CollectorPolicy
- type CollectorPolicyId
- type CollectorPolicyOperationPredicate
- type CollectorPolicyPropertiesFormat
- type CreateOrUpdateOperationResponse
- type CreatedByType
- type DeleteOperationResponse
- type DestinationType
- type EmissionPoliciesPropertiesFormat
- type EmissionPolicyDestination
- type EmissionType
- type GetOperationResponse
- type IngestionPolicyPropertiesFormat
- type IngestionSourcesPropertiesFormat
- type IngestionType
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type SourceType
- type SystemData
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
func PossibleValuesForDestinationType ¶
func PossibleValuesForDestinationType() []string
func PossibleValuesForEmissionType ¶
func PossibleValuesForEmissionType() []string
func PossibleValuesForIngestionType ¶
func PossibleValuesForIngestionType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSourceType ¶
func PossibleValuesForSourceType() []string
func ValidateAzureTrafficCollectorID ¶
func ValidateAzureTrafficCollectorID(input interface{}, key string) (warnings []string, errors []error)
ValidateAzureTrafficCollectorID checks that 'input' can be parsed as a Azure Traffic Collector ID
func ValidateCollectorPolicyID ¶
ValidateCollectorPolicyID checks that 'input' can be parsed as a Collector Policy ID
Types ¶
type AzureTrafficCollectorId ¶
type AzureTrafficCollectorId struct { SubscriptionId string ResourceGroupName string AzureTrafficCollectorName string }
AzureTrafficCollectorId is a struct representing the Resource ID for a Azure Traffic Collector
func NewAzureTrafficCollectorID ¶
func NewAzureTrafficCollectorID(subscriptionId string, resourceGroupName string, azureTrafficCollectorName string) AzureTrafficCollectorId
NewAzureTrafficCollectorID returns a new AzureTrafficCollectorId struct
func ParseAzureTrafficCollectorID ¶
func ParseAzureTrafficCollectorID(input string) (*AzureTrafficCollectorId, error)
ParseAzureTrafficCollectorID parses 'input' into a AzureTrafficCollectorId
func ParseAzureTrafficCollectorIDInsensitively ¶
func ParseAzureTrafficCollectorIDInsensitively(input string) (*AzureTrafficCollectorId, error)
ParseAzureTrafficCollectorIDInsensitively parses 'input' case-insensitively into a AzureTrafficCollectorId note: this method should only be used for API response data and not user input
func (AzureTrafficCollectorId) ID ¶
func (id AzureTrafficCollectorId) ID() string
ID returns the formatted Azure Traffic Collector ID
func (AzureTrafficCollectorId) Segments ¶
func (id AzureTrafficCollectorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Azure Traffic Collector ID
func (AzureTrafficCollectorId) String ¶
func (id AzureTrafficCollectorId) String() string
String returns a human-readable description of this Azure Traffic Collector ID
type CollectorPoliciesClient ¶
type CollectorPoliciesClient struct {
Client *resourcemanager.Client
}
func NewCollectorPoliciesClientWithBaseURI ¶
func NewCollectorPoliciesClientWithBaseURI(api environments.Api) (*CollectorPoliciesClient, error)
func (CollectorPoliciesClient) CreateOrUpdate ¶
func (c CollectorPoliciesClient) CreateOrUpdate(ctx context.Context, id CollectorPolicyId, input CollectorPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CollectorPoliciesClient) CreateOrUpdateThenPoll ¶
func (c CollectorPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id CollectorPolicyId, input CollectorPolicy) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CollectorPoliciesClient) Delete ¶
func (c CollectorPoliciesClient) Delete(ctx context.Context, id CollectorPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (CollectorPoliciesClient) DeleteThenPoll ¶
func (c CollectorPoliciesClient) DeleteThenPoll(ctx context.Context, id CollectorPolicyId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CollectorPoliciesClient) Get ¶
func (c CollectorPoliciesClient) Get(ctx context.Context, id CollectorPolicyId) (result GetOperationResponse, err error)
Get ...
func (CollectorPoliciesClient) List ¶
func (c CollectorPoliciesClient) List(ctx context.Context, id AzureTrafficCollectorId) (result ListOperationResponse, err error)
List ...
func (CollectorPoliciesClient) ListComplete ¶
func (c CollectorPoliciesClient) ListComplete(ctx context.Context, id AzureTrafficCollectorId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CollectorPoliciesClient) ListCompleteMatchingPredicate ¶
func (c CollectorPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id AzureTrafficCollectorId, predicate CollectorPolicyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CollectorPoliciesClient) UpdateTags ¶
func (c CollectorPoliciesClient) UpdateTags(ctx context.Context, id CollectorPolicyId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type CollectorPolicy ¶
type CollectorPolicy struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *CollectorPolicyPropertiesFormat `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CollectorPolicyId ¶
type CollectorPolicyId struct { SubscriptionId string ResourceGroupName string AzureTrafficCollectorName string CollectorPolicyName string }
CollectorPolicyId is a struct representing the Resource ID for a Collector Policy
func NewCollectorPolicyID ¶
func NewCollectorPolicyID(subscriptionId string, resourceGroupName string, azureTrafficCollectorName string, collectorPolicyName string) CollectorPolicyId
NewCollectorPolicyID returns a new CollectorPolicyId struct
func ParseCollectorPolicyID ¶
func ParseCollectorPolicyID(input string) (*CollectorPolicyId, error)
ParseCollectorPolicyID parses 'input' into a CollectorPolicyId
func ParseCollectorPolicyIDInsensitively ¶
func ParseCollectorPolicyIDInsensitively(input string) (*CollectorPolicyId, error)
ParseCollectorPolicyIDInsensitively parses 'input' case-insensitively into a CollectorPolicyId note: this method should only be used for API response data and not user input
func (CollectorPolicyId) ID ¶
func (id CollectorPolicyId) ID() string
ID returns the formatted Collector Policy ID
func (CollectorPolicyId) Segments ¶
func (id CollectorPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Collector Policy ID
func (CollectorPolicyId) String ¶
func (id CollectorPolicyId) String() string
String returns a human-readable description of this Collector Policy ID
type CollectorPolicyOperationPredicate ¶
type CollectorPolicyOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (CollectorPolicyOperationPredicate) Matches ¶
func (p CollectorPolicyOperationPredicate) Matches(input CollectorPolicy) bool
type CollectorPolicyPropertiesFormat ¶
type CollectorPolicyPropertiesFormat struct { EmissionPolicies *[]EmissionPoliciesPropertiesFormat `json:"emissionPolicies,omitempty"` IngestionPolicy *IngestionPolicyPropertiesFormat `json:"ingestionPolicy,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func (*CreatedByType) UnmarshalJSON ¶
func (s *CreatedByType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DestinationType ¶
type DestinationType string
const (
DestinationTypeAzureMonitor DestinationType = "AzureMonitor"
)
func (*DestinationType) UnmarshalJSON ¶
func (s *DestinationType) UnmarshalJSON(bytes []byte) error
type EmissionPoliciesPropertiesFormat ¶
type EmissionPoliciesPropertiesFormat struct { EmissionDestinations *[]EmissionPolicyDestination `json:"emissionDestinations,omitempty"` EmissionType *EmissionType `json:"emissionType,omitempty"` }
type EmissionPolicyDestination ¶
type EmissionPolicyDestination struct {
DestinationType *DestinationType `json:"destinationType,omitempty"`
}
type EmissionType ¶
type EmissionType string
const (
EmissionTypeIPFIX EmissionType = "IPFIX"
)
func (*EmissionType) UnmarshalJSON ¶
func (s *EmissionType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CollectorPolicy }
type IngestionPolicyPropertiesFormat ¶
type IngestionPolicyPropertiesFormat struct { IngestionSources *[]IngestionSourcesPropertiesFormat `json:"ingestionSources,omitempty"` IngestionType *IngestionType `json:"ingestionType,omitempty"` }
type IngestionSourcesPropertiesFormat ¶
type IngestionSourcesPropertiesFormat struct { ResourceId *string `json:"resourceId,omitempty"` SourceType *SourceType `json:"sourceType,omitempty"` }
type IngestionType ¶
type IngestionType string
const (
IngestionTypeIPFIX IngestionType = "IPFIX"
)
func (*IngestionType) UnmarshalJSON ¶
func (s *IngestionType) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []CollectorPolicy
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CollectorPolicy }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SourceType ¶
type SourceType string
const (
SourceTypeResource SourceType = "Resource"
)
func (*SourceType) UnmarshalJSON ¶
func (s *SourceType) UnmarshalJSON(bytes []byte) error
type SystemData ¶
type SystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *CreatedByType `json:"createdByType,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
func (*SystemData) GetCreatedAtAsTime ¶
func (o *SystemData) GetCreatedAtAsTime() (*time.Time, error)
func (*SystemData) SetCreatedAtAsTime ¶
func (o *SystemData) SetCreatedAtAsTime(input time.Time)
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CollectorPolicy }
Source Files ¶
- client.go
- constants.go
- id_azuretrafficcollector.go
- id_collectorpolicy.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_updatetags.go
- model_collectorpolicy.go
- model_collectorpolicypropertiesformat.go
- model_emissionpoliciespropertiesformat.go
- model_emissionpolicydestination.go
- model_ingestionpolicypropertiesformat.go
- model_ingestionsourcespropertiesformat.go
- model_systemdata.go
- model_tagsobject.go
- predicates.go
- version.go