Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateVirtualNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocationTypes
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type RetrieveOperationResponse
- type UpdateOperationResponse
- type VirtualNetwork
- type VirtualNetworkExtendedLocation
- type VirtualNetworkId
- type VirtualNetworkOperationPredicate
- type VirtualNetworkProperties
- type VirtualNetworkPropertiesInfraVnetProfile
- type VirtualNetworkPropertiesInfraVnetProfileHci
- type VirtualNetworkPropertiesStatus
- type VirtualNetworkPropertiesStatusOperationStatus
- type VirtualNetworkPropertiesStatusOperationStatusError
- type VirtualNetworkPropertiesVMipPoolInlined
- type VirtualNetworkPropertiesVipPoolInlined
- 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) (result DeleteOperationResponse, err error)
- func (c VirtualNetworksClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkId) 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) Retrieve(ctx context.Context, id VirtualNetworkId) (result RetrieveOperationResponse, err error)
- func (c VirtualNetworksClient) Update(ctx context.Context, id VirtualNetworkId, input VirtualNetworksPatch) (result UpdateOperationResponse, err error)
- func (c VirtualNetworksClient) UpdateThenPoll(ctx context.Context, id VirtualNetworkId, input VirtualNetworksPatch) error
- type VirtualNetworksPatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationTypes ¶
func PossibleValuesForExtendedLocationTypes() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateVirtualNetworkID ¶
ValidateVirtualNetworkID checks that 'input' can be parsed as a Virtual Network ID
Types ¶
type DeleteOperationResponse ¶
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
const (
ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)
func (*ExtendedLocationTypes) UnmarshalJSON ¶
func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualNetwork }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualNetwork }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualNetwork }
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" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RetrieveOperationResponse ¶
type RetrieveOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualNetwork }
type UpdateOperationResponse ¶
type VirtualNetwork ¶
type VirtualNetwork struct { ExtendedLocation *VirtualNetworkExtendedLocation `json:"extendedLocation,omitempty"` 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 VirtualNetworkExtendedLocation ¶
type VirtualNetworkExtendedLocation struct { Name *string `json:"name,omitempty"` Type *ExtendedLocationTypes `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 { DnsServers *[]string `json:"dnsServers,omitempty"` Gateway *string `json:"gateway,omitempty"` IPAddressPrefix *string `json:"ipAddressPrefix,omitempty"` InfraVnetProfile *VirtualNetworkPropertiesInfraVnetProfile `json:"infraVnetProfile,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *VirtualNetworkPropertiesStatus `json:"status,omitempty"` VMipPool *[]VirtualNetworkPropertiesVMipPoolInlined `json:"vmipPool,omitempty"` VipPool *[]VirtualNetworkPropertiesVipPoolInlined `json:"vipPool,omitempty"` VlanID *int64 `json:"vlanID,omitempty"` }
type VirtualNetworkPropertiesInfraVnetProfile ¶
type VirtualNetworkPropertiesInfraVnetProfile struct {
Hci *VirtualNetworkPropertiesInfraVnetProfileHci `json:"hci,omitempty"`
}
type VirtualNetworkPropertiesStatus ¶
type VirtualNetworkPropertiesStatus struct {
OperationStatus *VirtualNetworkPropertiesStatusOperationStatus `json:"operationStatus,omitempty"`
}
type VirtualNetworkPropertiesStatusOperationStatus ¶
type VirtualNetworkPropertiesStatusOperationStatus struct { Error *VirtualNetworkPropertiesStatusOperationStatusError `json:"error,omitempty"` OperationId *string `json:"operationId,omitempty"` Status *string `json:"status,omitempty"` }
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) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualNetworksClient) DeleteThenPoll ¶
func (c VirtualNetworksClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkId) error
DeleteThenPoll performs Delete then polls until it's completed
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) Retrieve ¶
func (c VirtualNetworksClient) Retrieve(ctx context.Context, id VirtualNetworkId) (result RetrieveOperationResponse, err error)
Retrieve ...
func (VirtualNetworksClient) Update ¶
func (c VirtualNetworksClient) Update(ctx context.Context, id VirtualNetworkId, input VirtualNetworksPatch) (result UpdateOperationResponse, err error)
Update ...
func (VirtualNetworksClient) UpdateThenPoll ¶
func (c VirtualNetworksClient) UpdateThenPoll(ctx context.Context, id VirtualNetworkId, input VirtualNetworksPatch) error
UpdateThenPoll performs Update then polls until it's completed
type VirtualNetworksPatch ¶
Source Files ¶
- client.go
- constants.go
- id_virtualnetwork.go
- method_createorupdate.go
- method_delete.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_retrieve.go
- method_update.go
- model_virtualnetwork.go
- model_virtualnetworkextendedlocation.go
- model_virtualnetworkproperties.go
- model_virtualnetworkpropertiesinfravnetprofile.go
- model_virtualnetworkpropertiesinfravnetprofilehci.go
- model_virtualnetworkpropertiesstatus.go
- model_virtualnetworkpropertiesstatusoperationstatus.go
- model_virtualnetworkpropertiesstatusoperationstatuserror.go
- model_virtualnetworkpropertiesvippoolinlined.go
- model_virtualnetworkpropertiesvmippoolinlined.go
- model_virtualnetworkspatch.go
- predicates.go
- version.go