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) (result 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, ...) (result ByResourceGroupListCompleteResult, err error)
- func (c AzureTrafficCollectorsClient) BySubscriptionList(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` 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,omitempty"` }
type AzureTrafficCollectorsClient ¶
type AzureTrafficCollectorsClient struct {
Client *resourcemanager.Client
}
func NewAzureTrafficCollectorsClientWithBaseURI ¶
func NewAzureTrafficCollectorsClientWithBaseURI(api environments.Api) (*AzureTrafficCollectorsClient, error)
func (AzureTrafficCollectorsClient) ByResourceGroupList ¶
func (c AzureTrafficCollectorsClient) ByResourceGroupList(ctx context.Context, id commonids.ResourceGroupId) (result ByResourceGroupListOperationResponse, err error)
ByResourceGroupList ...
func (AzureTrafficCollectorsClient) ByResourceGroupListComplete ¶
func (c AzureTrafficCollectorsClient) ByResourceGroupListComplete(ctx context.Context, id commonids.ResourceGroupId) (ByResourceGroupListCompleteResult, error)
ByResourceGroupListComplete retrieves all the results into a single object
func (AzureTrafficCollectorsClient) ByResourceGroupListCompleteMatchingPredicate ¶
func (c AzureTrafficCollectorsClient) ByResourceGroupListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AzureTrafficCollectorOperationPredicate) (result ByResourceGroupListCompleteResult, err error)
ByResourceGroupListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AzureTrafficCollectorsClient) BySubscriptionList ¶
func (c AzureTrafficCollectorsClient) BySubscriptionList(ctx context.Context, id commonids.SubscriptionId) (result BySubscriptionListOperationResponse, err error)
BySubscriptionList ...
func (AzureTrafficCollectorsClient) BySubscriptionListComplete ¶
func (c AzureTrafficCollectorsClient) BySubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (BySubscriptionListCompleteResult, error)
BySubscriptionListComplete retrieves all the results into a single object
func (AzureTrafficCollectorsClient) BySubscriptionListCompleteMatchingPredicate ¶
func (c AzureTrafficCollectorsClient) BySubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AzureTrafficCollectorOperationPredicate) (result BySubscriptionListCompleteResult, err error)
BySubscriptionListCompleteMatchingPredicate retrieves all the results and then applies 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 OData *odata.OData Model *[]AzureTrafficCollector }
type BySubscriptionListCompleteResult ¶
type BySubscriptionListCompleteResult struct {
Items []AzureTrafficCollector
}
type BySubscriptionListOperationResponse ¶
type BySubscriptionListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AzureTrafficCollector }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func (*CreatedByType) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *CreatedByType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AzureTrafficCollector }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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 OData *odata.OData Model *AzureTrafficCollector }
Source Files ¶
- client.go
- constants.go
- id_azuretrafficcollector.go
- method_byresourcegrouplist.go
- method_bysubscriptionlist.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_updatetags.go
- model_azuretrafficcollector.go
- model_azuretrafficcollectorpropertiesformat.go
- model_resourcereference.go
- model_systemdata.go
- model_tagsobject.go
- predicates.go
- version.go