Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAzureTrafficCollectorID(input interface{}, key string) (warnings []string, errors []error)
- type AzureTrafficCollector
- type AzureTrafficCollectorId
- type AzureTrafficCollectorOperationPredicate
- type AzureTrafficCollectorPropertiesFormat
- type AzureTrafficCollectorsClient
- func (c AzureTrafficCollectorsClient) ByResourceGroupList(ctx context.Context, id commonids.ResourceGroupId) (resp ByResourceGroupListOperationResponse, err error)
- func (c AzureTrafficCollectorsClient) ByResourceGroupListComplete(ctx context.Context, id commonids.ResourceGroupId) (ByResourceGroupListCompleteResult, error)
- func (c AzureTrafficCollectorsClient) ByResourceGroupListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ByResourceGroupListCompleteResult, err error)
- func (c AzureTrafficCollectorsClient) BySubscriptionList(ctx context.Context, id commonids.SubscriptionId) (resp BySubscriptionListOperationResponse, err error)
- func (c AzureTrafficCollectorsClient) BySubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (BySubscriptionListCompleteResult, error)
- func (c AzureTrafficCollectorsClient) BySubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp BySubscriptionListCompleteResult, err error)
- func (c AzureTrafficCollectorsClient) CreateOrUpdate(ctx context.Context, id AzureTrafficCollectorId, input AzureTrafficCollector) (result CreateOrUpdateOperationResponse, err error)
- func (c AzureTrafficCollectorsClient) CreateOrUpdateThenPoll(ctx context.Context, id AzureTrafficCollectorId, input AzureTrafficCollector) error
- func (c AzureTrafficCollectorsClient) Delete(ctx context.Context, id AzureTrafficCollectorId) (result DeleteOperationResponse, err error)
- func (c AzureTrafficCollectorsClient) DeleteThenPoll(ctx context.Context, id AzureTrafficCollectorId) error
- func (c AzureTrafficCollectorsClient) Get(ctx context.Context, id AzureTrafficCollectorId) (result GetOperationResponse, err error)
- func (c AzureTrafficCollectorsClient) UpdateTags(ctx context.Context, id AzureTrafficCollectorId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type ByResourceGroupListCompleteResult
- type ByResourceGroupListOperationResponse
- type BySubscriptionListCompleteResult
- type BySubscriptionListOperationResponse
- type CreateOrUpdateOperationResponse
- type CreatedByType
- type DeleteOperationResponse
- type GetOperationResponse
- type ProvisioningState
- type ResourceReference
- type SystemData
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []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
Types ¶
type AzureTrafficCollector ¶
type AzureTrafficCollector struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AzureTrafficCollectorPropertiesFormat `json:"properties"` SystemData *SystemData `json:"systemData"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 AzureTrafficCollectorOperationPredicate ¶
type AzureTrafficCollectorOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (AzureTrafficCollectorOperationPredicate) Matches ¶
func (p AzureTrafficCollectorOperationPredicate) Matches(input AzureTrafficCollector) bool
type AzureTrafficCollectorPropertiesFormat ¶
type AzureTrafficCollectorPropertiesFormat struct { CollectorPolicies *[]ResourceReference `json:"collectorPolicies,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` VirtualHub *ResourceReference `json:"virtualHub"` }
type AzureTrafficCollectorsClient ¶
type AzureTrafficCollectorsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAzureTrafficCollectorsClientWithBaseURI ¶
func NewAzureTrafficCollectorsClientWithBaseURI(endpoint string) AzureTrafficCollectorsClient
func (AzureTrafficCollectorsClient) ByResourceGroupList ¶
func (c AzureTrafficCollectorsClient) ByResourceGroupList(ctx context.Context, id commonids.ResourceGroupId) (resp ByResourceGroupListOperationResponse, err error)
ByResourceGroupList ...
func (AzureTrafficCollectorsClient) ByResourceGroupListComplete ¶
func (c AzureTrafficCollectorsClient) ByResourceGroupListComplete(ctx context.Context, id commonids.ResourceGroupId) (ByResourceGroupListCompleteResult, error)
ByResourceGroupListComplete retrieves all of the results into a single object
func (AzureTrafficCollectorsClient) ByResourceGroupListCompleteMatchingPredicate ¶
func (c AzureTrafficCollectorsClient) ByResourceGroupListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AzureTrafficCollectorOperationPredicate) (resp ByResourceGroupListCompleteResult, err error)
ByResourceGroupListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AzureTrafficCollectorsClient) BySubscriptionList ¶
func (c AzureTrafficCollectorsClient) BySubscriptionList(ctx context.Context, id commonids.SubscriptionId) (resp BySubscriptionListOperationResponse, err error)
BySubscriptionList ...
func (AzureTrafficCollectorsClient) BySubscriptionListComplete ¶
func (c AzureTrafficCollectorsClient) BySubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (BySubscriptionListCompleteResult, error)
BySubscriptionListComplete retrieves all of the results into a single object
func (AzureTrafficCollectorsClient) BySubscriptionListCompleteMatchingPredicate ¶
func (c AzureTrafficCollectorsClient) BySubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AzureTrafficCollectorOperationPredicate) (resp BySubscriptionListCompleteResult, err error)
BySubscriptionListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AzureTrafficCollectorsClient) CreateOrUpdate ¶
func (c AzureTrafficCollectorsClient) CreateOrUpdate(ctx context.Context, id AzureTrafficCollectorId, input AzureTrafficCollector) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AzureTrafficCollectorsClient) CreateOrUpdateThenPoll ¶
func (c AzureTrafficCollectorsClient) CreateOrUpdateThenPoll(ctx context.Context, id AzureTrafficCollectorId, input AzureTrafficCollector) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AzureTrafficCollectorsClient) Delete ¶
func (c AzureTrafficCollectorsClient) Delete(ctx context.Context, id AzureTrafficCollectorId) (result DeleteOperationResponse, err error)
Delete ...
func (AzureTrafficCollectorsClient) DeleteThenPoll ¶
func (c AzureTrafficCollectorsClient) DeleteThenPoll(ctx context.Context, id AzureTrafficCollectorId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AzureTrafficCollectorsClient) Get ¶
func (c AzureTrafficCollectorsClient) Get(ctx context.Context, id AzureTrafficCollectorId) (result GetOperationResponse, err error)
Get ...
func (AzureTrafficCollectorsClient) UpdateTags ¶
func (c AzureTrafficCollectorsClient) UpdateTags(ctx context.Context, id AzureTrafficCollectorId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type ByResourceGroupListCompleteResult ¶
type ByResourceGroupListCompleteResult struct {
Items []AzureTrafficCollector
}
type ByResourceGroupListOperationResponse ¶
type ByResourceGroupListOperationResponse struct { HttpResponse *http.Response Model *[]AzureTrafficCollector // contains filtered or unexported fields }
func (ByResourceGroupListOperationResponse) HasMore ¶
func (r ByResourceGroupListOperationResponse) HasMore() bool
func (ByResourceGroupListOperationResponse) LoadMore ¶
func (r ByResourceGroupListOperationResponse) LoadMore(ctx context.Context) (resp ByResourceGroupListOperationResponse, err error)
type BySubscriptionListCompleteResult ¶
type BySubscriptionListCompleteResult struct {
Items []AzureTrafficCollector
}
type BySubscriptionListOperationResponse ¶
type BySubscriptionListOperationResponse struct { HttpResponse *http.Response Model *[]AzureTrafficCollector // contains filtered or unexported fields }
func (BySubscriptionListOperationResponse) HasMore ¶
func (r BySubscriptionListOperationResponse) HasMore() bool
func (BySubscriptionListOperationResponse) LoadMore ¶
func (r BySubscriptionListOperationResponse) LoadMore(ctx context.Context) (resp BySubscriptionListOperationResponse, err error)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AzureTrafficCollector }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type ResourceReference ¶
type ResourceReference struct {
Id *string `json:"id,omitempty"`
}
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 Model *AzureTrafficCollector }
Source Files ¶
- client.go
- constants.go
- id_azuretrafficcollector.go
- method_byresourcegrouplist_autorest.go
- method_bysubscriptionlist_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_updatetags_autorest.go
- model_azuretrafficcollector.go
- model_azuretrafficcollectorpropertiesformat.go
- model_resourcereference.go
- model_systemdata.go
- model_tagsobject.go
- predicates.go
- version.go