Documentation ¶
Index ¶
- func PossibleValuesForForceDelete() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateVirtualNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type ForceDelete
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
- type VirtualNetwork
- type VirtualNetworkId
- type VirtualNetworkOperationPredicate
- type VirtualNetworkProperties
- type VirtualNetworkTagsUpdate
- type VirtualNetworksClient
- func (c VirtualNetworksClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkId, input VirtualNetwork) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualNetworksClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkId, input VirtualNetwork) error
- func (c VirtualNetworksClient) Delete(ctx context.Context, id VirtualNetworkId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c VirtualNetworksClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkId, options DeleteOperationOptions) error
- func (c VirtualNetworksClient) Get(ctx context.Context, id VirtualNetworkId) (result GetOperationResponse, err error)
- func (c VirtualNetworksClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c VirtualNetworksClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c VirtualNetworksClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c VirtualNetworksClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c VirtualNetworksClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c VirtualNetworksClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c VirtualNetworksClient) Update(ctx context.Context, id VirtualNetworkId, input VirtualNetworkTagsUpdate) (result UpdateOperationResponse, err error)
- func (c VirtualNetworksClient) UpdateThenPoll(ctx context.Context, id VirtualNetworkId, input VirtualNetworkTagsUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForForceDelete ¶ added in v0.20240604.1114748
func PossibleValuesForForceDelete() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateVirtualNetworkID ¶
ValidateVirtualNetworkID checks that 'input' can be parsed as a Virtual Network ID
Types ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *ForceDelete
}
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 ExtendedLocation ¶
type ForceDelete ¶ added in v0.20240604.1114748
type ForceDelete string
const ( ForceDeleteFalse ForceDelete = "false" ForceDeleteTrue ForceDelete = "true" )
func (*ForceDelete) UnmarshalJSON ¶ added in v0.20240604.1114748
func (s *ForceDelete) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualNetwork }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualNetwork }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualNetwork }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualNetwork }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualNetwork }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VirtualNetwork ¶
type VirtualNetwork struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *VirtualNetworkProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualNetworkId ¶
type VirtualNetworkId struct { SubscriptionId string ResourceGroupName string VirtualNetworkName string }
VirtualNetworkId is a struct representing the Resource ID for a Virtual Network
func NewVirtualNetworkID ¶
func NewVirtualNetworkID(subscriptionId string, resourceGroupName string, virtualNetworkName string) VirtualNetworkId
NewVirtualNetworkID returns a new VirtualNetworkId struct
func ParseVirtualNetworkID ¶
func ParseVirtualNetworkID(input string) (*VirtualNetworkId, error)
ParseVirtualNetworkID parses 'input' into a VirtualNetworkId
func ParseVirtualNetworkIDInsensitively ¶
func ParseVirtualNetworkIDInsensitively(input string) (*VirtualNetworkId, error)
ParseVirtualNetworkIDInsensitively parses 'input' case-insensitively into a VirtualNetworkId note: this method should only be used for API response data and not user input
func (*VirtualNetworkId) FromParseResult ¶
func (id *VirtualNetworkId) FromParseResult(input resourceids.ParseResult) error
func (VirtualNetworkId) ID ¶
func (id VirtualNetworkId) ID() string
ID returns the formatted Virtual Network ID
func (VirtualNetworkId) Segments ¶
func (id VirtualNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Network ID
func (VirtualNetworkId) String ¶
func (id VirtualNetworkId) String() string
String returns a human-readable description of this Virtual Network ID
type VirtualNetworkOperationPredicate ¶
type VirtualNetworkOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (VirtualNetworkOperationPredicate) Matches ¶
func (p VirtualNetworkOperationPredicate) Matches(input VirtualNetwork) bool
type VirtualNetworkProperties ¶
type VirtualNetworkProperties struct { InventoryItemId *string `json:"inventoryItemId,omitempty"` NetworkName *string `json:"networkName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Uuid *string `json:"uuid,omitempty"` VMmServerId *string `json:"vmmServerId,omitempty"` }
type VirtualNetworkTagsUpdate ¶ added in v0.20240604.1114748
type VirtualNetworksClient ¶
type VirtualNetworksClient struct {
Client *resourcemanager.Client
}
func NewVirtualNetworksClientWithBaseURI ¶
func NewVirtualNetworksClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworksClient, error)
func (VirtualNetworksClient) CreateOrUpdate ¶
func (c VirtualNetworksClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkId, input VirtualNetwork) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualNetworksClient) CreateOrUpdateThenPoll ¶
func (c VirtualNetworksClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkId, input VirtualNetwork) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualNetworksClient) Delete ¶
func (c VirtualNetworksClient) Delete(ctx context.Context, id VirtualNetworkId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualNetworksClient) DeleteThenPoll ¶
func (c VirtualNetworksClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualNetworksClient) Get ¶
func (c VirtualNetworksClient) Get(ctx context.Context, id VirtualNetworkId) (result GetOperationResponse, err error)
Get ...
func (VirtualNetworksClient) ListByResourceGroup ¶
func (c VirtualNetworksClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VirtualNetworksClient) ListByResourceGroupComplete ¶
func (c VirtualNetworksClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (VirtualNetworksClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VirtualNetworksClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualNetworkOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualNetworksClient) ListBySubscription ¶
func (c VirtualNetworksClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (VirtualNetworksClient) ListBySubscriptionComplete ¶
func (c VirtualNetworksClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (VirtualNetworksClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c VirtualNetworksClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VirtualNetworkOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualNetworksClient) Update ¶
func (c VirtualNetworksClient) Update(ctx context.Context, id VirtualNetworkId, input VirtualNetworkTagsUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualNetworksClient) UpdateThenPoll ¶
func (c VirtualNetworksClient) UpdateThenPoll(ctx context.Context, id VirtualNetworkId, input VirtualNetworkTagsUpdate) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_virtualnetwork.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_extendedlocation.go
- model_virtualnetwork.go
- model_virtualnetworkproperties.go
- model_virtualnetworktagsupdate.go
- predicates.go
- version.go