Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateNetworkGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNetworkManagerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NetworkGroup
- type NetworkGroupId
- type NetworkGroupOperationPredicate
- type NetworkGroupProperties
- type NetworkGroupsClient
- func (c NetworkGroupsClient) CreateOrUpdate(ctx context.Context, id NetworkGroupId, input NetworkGroup, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c NetworkGroupsClient) Delete(ctx context.Context, id NetworkGroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c NetworkGroupsClient) DeleteThenPoll(ctx context.Context, id NetworkGroupId, options DeleteOperationOptions) error
- func (c NetworkGroupsClient) Get(ctx context.Context, id NetworkGroupId) (result GetOperationResponse, err error)
- func (c NetworkGroupsClient) List(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c NetworkGroupsClient) ListComplete(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (ListCompleteResult, error)
- func (c NetworkGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkManagerId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type NetworkManagerId
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateNetworkGroupID ¶
ValidateNetworkGroupID checks that 'input' can be parsed as a Network Group ID
func ValidateNetworkManagerID ¶
ValidateNetworkManagerID checks that 'input' can be parsed as a Network Manager ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkGroup }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkGroup }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []NetworkGroup
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkGroup }
type NetworkGroup ¶
type NetworkGroup struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NetworkGroupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type NetworkGroupId ¶
type NetworkGroupId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string NetworkGroupName string }
NetworkGroupId is a struct representing the Resource ID for a Network Group
func NewNetworkGroupID ¶
func NewNetworkGroupID(subscriptionId string, resourceGroupName string, networkManagerName string, networkGroupName string) NetworkGroupId
NewNetworkGroupID returns a new NetworkGroupId struct
func ParseNetworkGroupID ¶
func ParseNetworkGroupID(input string) (*NetworkGroupId, error)
ParseNetworkGroupID parses 'input' into a NetworkGroupId
func ParseNetworkGroupIDInsensitively ¶
func ParseNetworkGroupIDInsensitively(input string) (*NetworkGroupId, error)
ParseNetworkGroupIDInsensitively parses 'input' case-insensitively into a NetworkGroupId note: this method should only be used for API response data and not user input
func (*NetworkGroupId) FromParseResult ¶ added in v0.20231127.1171502
func (id *NetworkGroupId) FromParseResult(input resourceids.ParseResult) error
func (NetworkGroupId) ID ¶
func (id NetworkGroupId) ID() string
ID returns the formatted Network Group ID
func (NetworkGroupId) Segments ¶
func (id NetworkGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Network Group ID
func (NetworkGroupId) String ¶
func (id NetworkGroupId) String() string
String returns a human-readable description of this Network Group ID
type NetworkGroupOperationPredicate ¶
func (NetworkGroupOperationPredicate) Matches ¶
func (p NetworkGroupOperationPredicate) Matches(input NetworkGroup) bool
type NetworkGroupProperties ¶
type NetworkGroupProperties struct { Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` }
type NetworkGroupsClient ¶
type NetworkGroupsClient struct {
Client *resourcemanager.Client
}
func NewNetworkGroupsClientWithBaseURI ¶
func NewNetworkGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkGroupsClient, error)
func (NetworkGroupsClient) CreateOrUpdate ¶
func (c NetworkGroupsClient) CreateOrUpdate(ctx context.Context, id NetworkGroupId, input NetworkGroup, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NetworkGroupsClient) Delete ¶
func (c NetworkGroupsClient) Delete(ctx context.Context, id NetworkGroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (NetworkGroupsClient) DeleteThenPoll ¶
func (c NetworkGroupsClient) DeleteThenPoll(ctx context.Context, id NetworkGroupId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (NetworkGroupsClient) Get ¶
func (c NetworkGroupsClient) Get(ctx context.Context, id NetworkGroupId) (result GetOperationResponse, err error)
Get ...
func (NetworkGroupsClient) List ¶
func (c NetworkGroupsClient) List(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (NetworkGroupsClient) ListComplete ¶
func (c NetworkGroupsClient) ListComplete(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (NetworkGroupsClient) ListCompleteMatchingPredicate ¶
func (c NetworkGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkManagerId, options ListOperationOptions, predicate NetworkGroupOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type NetworkManagerId ¶
type NetworkManagerId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string }
NetworkManagerId is a struct representing the Resource ID for a Network Manager
func NewNetworkManagerID ¶
func NewNetworkManagerID(subscriptionId string, resourceGroupName string, networkManagerName string) NetworkManagerId
NewNetworkManagerID returns a new NetworkManagerId struct
func ParseNetworkManagerID ¶
func ParseNetworkManagerID(input string) (*NetworkManagerId, error)
ParseNetworkManagerID parses 'input' into a NetworkManagerId
func ParseNetworkManagerIDInsensitively ¶
func ParseNetworkManagerIDInsensitively(input string) (*NetworkManagerId, error)
ParseNetworkManagerIDInsensitively parses 'input' case-insensitively into a NetworkManagerId note: this method should only be used for API response data and not user input
func (*NetworkManagerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *NetworkManagerId) FromParseResult(input resourceids.ParseResult) error
func (NetworkManagerId) ID ¶
func (id NetworkManagerId) ID() string
ID returns the formatted Network Manager ID
func (NetworkManagerId) Segments ¶
func (id NetworkManagerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Network Manager ID
func (NetworkManagerId) String ¶
func (id NetworkManagerId) String() string
String returns a human-readable description of this Network Manager ID
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