managednetwork

package
v44.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package managednetwork implements the Azure ARM Managednetwork service API version 2019-06-01-preview.

The Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Managednetwork
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Managednetwork.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type ConnectivityCollection

type ConnectivityCollection struct {
	// Groups - READ-ONLY; The collection of connectivity related Managed Network Groups within the Managed Network
	Groups *[]Group `json:"groups,omitempty"`
	// Peerings - READ-ONLY; The collection of Managed Network Peering Policies within the Managed Network
	Peerings *[]PeeringPolicy `json:"peerings,omitempty"`
}

ConnectivityCollection the collection of Connectivity related groups and policies within the Managed Network

type ErrorResponse

type ErrorResponse struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
}

ErrorResponse the error response that indicates why an operation has failed.

type Group

type Group struct {
	autorest.Response `json:"-"`
	// GroupProperties - Gets or sets the properties of a network group
	*GroupProperties `json:"properties,omitempty"`
	// Kind - Responsibility role under which this Managed Network Group will be created. Possible values include: 'Connectivity'
	Kind Kind `json:"kind,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

Group the Managed Network Group resource

func (Group) MarshalJSON

func (g Group) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Group.

func (*Group) UnmarshalJSON

func (g *Group) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Group struct.

type GroupListResult

type GroupListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets a page of ManagedNetworkGroup
	Value *[]Group `json:"value,omitempty"`
	// NextLink - Gets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

GroupListResult result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results.

func (GroupListResult) IsEmpty

func (glr GroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GroupListResultIterator

type GroupListResultIterator struct {
	// contains filtered or unexported fields
}

GroupListResultIterator provides access to a complete listing of Group values.

func NewGroupListResultIterator

func NewGroupListResultIterator(page GroupListResultPage) GroupListResultIterator

Creates a new instance of the GroupListResultIterator type.

func (*GroupListResultIterator) Next

func (iter *GroupListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GroupListResultIterator) NextWithContext

func (iter *GroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GroupListResultIterator) NotDone

func (iter GroupListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GroupListResultIterator) Response

func (iter GroupListResultIterator) Response() GroupListResult

Response returns the raw server response from the last page request.

func (GroupListResultIterator) Value

func (iter GroupListResultIterator) Value() Group

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GroupListResultPage

type GroupListResultPage struct {
	// contains filtered or unexported fields
}

GroupListResultPage contains a page of Group values.

func NewGroupListResultPage

func NewGroupListResultPage(getNextPage func(context.Context, GroupListResult) (GroupListResult, error)) GroupListResultPage

Creates a new instance of the GroupListResultPage type.

func (*GroupListResultPage) Next

func (page *GroupListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GroupListResultPage) NextWithContext

func (page *GroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GroupListResultPage) NotDone

func (page GroupListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GroupListResultPage) Response

func (page GroupListResultPage) Response() GroupListResult

Response returns the raw server response from the last page request.

func (GroupListResultPage) Values

func (page GroupListResultPage) Values() []Group

Values returns the slice of values for the current page or nil if there are no values.

type GroupProperties

type GroupProperties struct {
	// ManagementGroups - The collection of management groups covered by the Managed Network
	ManagementGroups *[]ResourceID `json:"managementGroups,omitempty"`
	// Subscriptions - The collection of subscriptions covered by the Managed Network
	Subscriptions *[]ResourceID `json:"subscriptions,omitempty"`
	// VirtualNetworks - The collection of virtual nets covered by the Managed Network
	VirtualNetworks *[]ResourceID `json:"virtualNetworks,omitempty"`
	// Subnets - The collection of  subnets covered by the Managed Network
	Subnets *[]ResourceID `json:"subnets,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

GroupProperties properties of a Managed Network Group

type GroupsClient

type GroupsClient struct {
	BaseClient
}

GroupsClient is the the Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.

func NewGroupsClient

func NewGroupsClient(subscriptionID string) GroupsClient

NewGroupsClient creates an instance of the GroupsClient client.

func NewGroupsClientWithBaseURI

func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient

NewGroupsClientWithBaseURI creates an instance of the GroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GroupsClient) CreateOrUpdate

func (client GroupsClient) CreateOrUpdate(ctx context.Context, managedNetworkGroup Group, resourceGroupName string, managedNetworkName string, managedNetworkGroupName string) (result GroupsCreateOrUpdateFuture, err error)

CreateOrUpdate the Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource Parameters: managedNetworkGroup - parameters supplied to the create/update a Managed Network Group resource resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. managedNetworkGroupName - the name of the Managed Network Group.

func (GroupsClient) CreateOrUpdatePreparer

func (client GroupsClient) CreateOrUpdatePreparer(ctx context.Context, managedNetworkGroup Group, resourceGroupName string, managedNetworkName string, managedNetworkGroupName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GroupsClient) CreateOrUpdateResponder

func (client GroupsClient) CreateOrUpdateResponder(resp *http.Response) (result Group, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GroupsClient) CreateOrUpdateSender

func (client GroupsClient) CreateOrUpdateSender(req *http.Request) (future GroupsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GroupsClient) Delete

func (client GroupsClient) Delete(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkGroupName string) (result GroupsDeleteFuture, err error)

Delete the Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. managedNetworkGroupName - the name of the Managed Network Group.

func (GroupsClient) DeletePreparer

func (client GroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GroupsClient) DeleteResponder

func (client GroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GroupsClient) DeleteSender

func (client GroupsClient) DeleteSender(req *http.Request) (future GroupsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GroupsClient) Get

func (client GroupsClient) Get(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkGroupName string) (result Group, err error)

Get the Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. managedNetworkGroupName - the name of the Managed Network Group.

func (GroupsClient) GetPreparer

func (client GroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GroupsClient) GetResponder

func (client GroupsClient) GetResponder(resp *http.Response) (result Group, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GroupsClient) GetSender

func (client GroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GroupsClient) ListByManagedNetwork

func (client GroupsClient) ListByManagedNetwork(ctx context.Context, resourceGroupName string, managedNetworkName string, top *int32, skiptoken string) (result GroupListResultPage, err error)

ListByManagedNetwork the ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. top - may be used to limit the number of results in a page for list queries. skiptoken - skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

func (GroupsClient) ListByManagedNetworkComplete

func (client GroupsClient) ListByManagedNetworkComplete(ctx context.Context, resourceGroupName string, managedNetworkName string, top *int32, skiptoken string) (result GroupListResultIterator, err error)

ListByManagedNetworkComplete enumerates all values, automatically crossing page boundaries as required.

func (GroupsClient) ListByManagedNetworkPreparer

func (client GroupsClient) ListByManagedNetworkPreparer(ctx context.Context, resourceGroupName string, managedNetworkName string, top *int32, skiptoken string) (*http.Request, error)

ListByManagedNetworkPreparer prepares the ListByManagedNetwork request.

func (GroupsClient) ListByManagedNetworkResponder

func (client GroupsClient) ListByManagedNetworkResponder(resp *http.Response) (result GroupListResult, err error)

ListByManagedNetworkResponder handles the response to the ListByManagedNetwork request. The method always closes the http.Response Body.

func (GroupsClient) ListByManagedNetworkSender

func (client GroupsClient) ListByManagedNetworkSender(req *http.Request) (*http.Response, error)

ListByManagedNetworkSender sends the ListByManagedNetwork request. The method will close the http.Response Body if it receives an error.

type GroupsCreateOrUpdateFuture

type GroupsCreateOrUpdateFuture struct {
	azure.Future
}

GroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GroupsCreateOrUpdateFuture) Result

func (future *GroupsCreateOrUpdateFuture) Result(client GroupsClient) (g Group, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GroupsDeleteFuture

type GroupsDeleteFuture struct {
	azure.Future
}

GroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GroupsDeleteFuture) Result

func (future *GroupsDeleteFuture) Result(client GroupsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type HubAndSpokePeeringPolicyProperties

type HubAndSpokePeeringPolicyProperties struct {
	// Type - Gets or sets the connectivity type of a network structure policy. Possible values include: 'HubAndSpokeTopology', 'MeshTopology'
	Type Type `json:"type,omitempty"`
	// Hub - Gets or sets the hub virtual network ID
	Hub *ResourceID `json:"hub,omitempty"`
	// Spokes - Gets or sets the spokes group IDs
	Spokes *[]ResourceID `json:"spokes,omitempty"`
	// Mesh - Gets or sets the mesh group IDs
	Mesh *[]ResourceID `json:"mesh,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

HubAndSpokePeeringPolicyProperties properties of a Hub and Spoke Peering Policy

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// Connectivity ...
	Connectivity Kind = "Connectivity"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type ListResult

type ListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets a page of ManagedNetworks
	Value *[]ManagedNetwork `json:"value,omitempty"`
	// NextLink - Gets the URL to get the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ListResult result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results.

func (ListResult) IsEmpty

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListResultIterator

type ListResultIterator struct {
	// contains filtered or unexported fields
}

ListResultIterator provides access to a complete listing of ManagedNetwork values.

func NewListResultIterator

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next

func (iter *ListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListResultIterator) NextWithContext

func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListResultIterator) NotDone

func (iter ListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListResultIterator) Response

func (iter ListResultIterator) Response() ListResult

Response returns the raw server response from the last page request.

func (ListResultIterator) Value

func (iter ListResultIterator) Value() ManagedNetwork

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListResultPage

type ListResultPage struct {
	// contains filtered or unexported fields
}

ListResultPage contains a page of ManagedNetwork values.

func NewListResultPage

func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next

func (page *ListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListResultPage) NextWithContext

func (page *ListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListResultPage) NotDone

func (page ListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListResultPage) Response

func (page ListResultPage) Response() ListResult

Response returns the raw server response from the last page request.

func (ListResultPage) Values

func (page ListResultPage) Values() []ManagedNetwork

Values returns the slice of values for the current page or nil if there are no values.

type ManagedNetwork

type ManagedNetwork struct {
	autorest.Response `json:"-"`
	// Properties - The MNC properties
	*Properties `json:"properties,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

ManagedNetwork the Managed Network resource

func (ManagedNetwork) MarshalJSON

func (mn ManagedNetwork) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedNetwork.

func (*ManagedNetwork) UnmarshalJSON

func (mn *ManagedNetwork) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ManagedNetwork struct.

type ManagedNetworksClient

type ManagedNetworksClient struct {
	BaseClient
}

ManagedNetworksClient is the the Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.

func NewManagedNetworksClient

func NewManagedNetworksClient(subscriptionID string) ManagedNetworksClient

NewManagedNetworksClient creates an instance of the ManagedNetworksClient client.

func NewManagedNetworksClientWithBaseURI

func NewManagedNetworksClientWithBaseURI(baseURI string, subscriptionID string) ManagedNetworksClient

NewManagedNetworksClientWithBaseURI creates an instance of the ManagedNetworksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ManagedNetworksClient) CreateOrUpdate

func (client ManagedNetworksClient) CreateOrUpdate(ctx context.Context, managedNetwork ManagedNetwork, resourceGroupName string, managedNetworkName string) (result ManagedNetwork, err error)

CreateOrUpdate the Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name Parameters: managedNetwork - parameters supplied to the create/update a Managed Network Resource resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network.

func (ManagedNetworksClient) CreateOrUpdatePreparer

func (client ManagedNetworksClient) CreateOrUpdatePreparer(ctx context.Context, managedNetwork ManagedNetwork, resourceGroupName string, managedNetworkName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ManagedNetworksClient) CreateOrUpdateResponder

func (client ManagedNetworksClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedNetwork, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ManagedNetworksClient) CreateOrUpdateSender

func (client ManagedNetworksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ManagedNetworksClient) Delete

func (client ManagedNetworksClient) Delete(ctx context.Context, resourceGroupName string, managedNetworkName string) (result ManagedNetworksDeleteFutureType, err error)

Delete the Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network.

func (ManagedNetworksClient) DeletePreparer

func (client ManagedNetworksClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedNetworkName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ManagedNetworksClient) DeleteResponder

func (client ManagedNetworksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ManagedNetworksClient) DeleteSender

func (client ManagedNetworksClient) DeleteSender(req *http.Request) (future ManagedNetworksDeleteFutureType, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ManagedNetworksClient) Get

func (client ManagedNetworksClient) Get(ctx context.Context, resourceGroupName string, managedNetworkName string) (result ManagedNetwork, err error)

Get the Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network.

func (ManagedNetworksClient) GetPreparer

func (client ManagedNetworksClient) GetPreparer(ctx context.Context, resourceGroupName string, managedNetworkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ManagedNetworksClient) GetResponder

func (client ManagedNetworksClient) GetResponder(resp *http.Response) (result ManagedNetwork, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ManagedNetworksClient) GetSender

func (client ManagedNetworksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ManagedNetworksClient) ListByResourceGroup

func (client ManagedNetworksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, top *int32, skiptoken string) (result ListResultPage, err error)

ListByResourceGroup the ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. Parameters: resourceGroupName - the name of the resource group. top - may be used to limit the number of results in a page for list queries. skiptoken - skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

func (ManagedNetworksClient) ListByResourceGroupComplete

func (client ManagedNetworksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, top *int32, skiptoken string) (result ListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ManagedNetworksClient) ListByResourceGroupPreparer

func (client ManagedNetworksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, top *int32, skiptoken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ManagedNetworksClient) ListByResourceGroupResponder

func (client ManagedNetworksClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ManagedNetworksClient) ListByResourceGroupSender

func (client ManagedNetworksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ManagedNetworksClient) ListBySubscription

func (client ManagedNetworksClient) ListBySubscription(ctx context.Context, top *int32, skiptoken string) (result ListResultPage, err error)

ListBySubscription the ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. Parameters: top - may be used to limit the number of results in a page for list queries. skiptoken - skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

func (ManagedNetworksClient) ListBySubscriptionComplete

func (client ManagedNetworksClient) ListBySubscriptionComplete(ctx context.Context, top *int32, skiptoken string) (result ListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ManagedNetworksClient) ListBySubscriptionPreparer

func (client ManagedNetworksClient) ListBySubscriptionPreparer(ctx context.Context, top *int32, skiptoken string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ManagedNetworksClient) ListBySubscriptionResponder

func (client ManagedNetworksClient) ListBySubscriptionResponder(resp *http.Response) (result ListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ManagedNetworksClient) ListBySubscriptionSender

func (client ManagedNetworksClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ManagedNetworksClient) Update

func (client ManagedNetworksClient) Update(ctx context.Context, parameters Update, resourceGroupName string, managedNetworkName string) (result ManagedNetworksUpdateFutureType, err error)

Update updates the specified Managed Network resource tags. Parameters: parameters - parameters supplied to update application gateway tags and/or scope. resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network.

func (ManagedNetworksClient) UpdatePreparer

func (client ManagedNetworksClient) UpdatePreparer(ctx context.Context, parameters Update, resourceGroupName string, managedNetworkName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ManagedNetworksClient) UpdateResponder

func (client ManagedNetworksClient) UpdateResponder(resp *http.Response) (result ManagedNetwork, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ManagedNetworksClient) UpdateSender

func (client ManagedNetworksClient) UpdateSender(req *http.Request) (future ManagedNetworksUpdateFutureType, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ManagedNetworksDeleteFutureType

type ManagedNetworksDeleteFutureType struct {
	azure.Future
}

ManagedNetworksDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ManagedNetworksDeleteFutureType) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ManagedNetworksUpdateFutureType

type ManagedNetworksUpdateFutureType struct {
	azure.Future
}

ManagedNetworksUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ManagedNetworksUpdateFutureType) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type MeshPeeringPolicyProperties

type MeshPeeringPolicyProperties struct {
	// Type - Gets or sets the connectivity type of a network structure policy. Possible values include: 'HubAndSpokeTopology', 'MeshTopology'
	Type Type `json:"type,omitempty"`
	// Hub - Gets or sets the hub virtual network ID
	Hub *ResourceID `json:"hub,omitempty"`
	// Spokes - Gets or sets the spokes group IDs
	Spokes *[]ResourceID `json:"spokes,omitempty"`
	// Mesh - Gets or sets the mesh group IDs
	Mesh *[]ResourceID `json:"mesh,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

MeshPeeringPolicyProperties properties of a Mesh Peering Policy

type Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation REST API operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.ManagedNetwork
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Profile, endpoint, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Resource Provider operations supported by the Managed Network resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

type OperationListResultPage struct {
	// contains filtered or unexported fields
}

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the the Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available MNC operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PeeringPoliciesClient

type PeeringPoliciesClient struct {
	BaseClient
}

PeeringPoliciesClient is the the Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.

func NewPeeringPoliciesClient

func NewPeeringPoliciesClient(subscriptionID string) PeeringPoliciesClient

NewPeeringPoliciesClient creates an instance of the PeeringPoliciesClient client.

func NewPeeringPoliciesClientWithBaseURI

func NewPeeringPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PeeringPoliciesClient

NewPeeringPoliciesClientWithBaseURI creates an instance of the PeeringPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PeeringPoliciesClient) CreateOrUpdate

func (client PeeringPoliciesClient) CreateOrUpdate(ctx context.Context, managedNetworkPolicy PeeringPolicy, resourceGroupName string, managedNetworkName string, managedNetworkPeeringPolicyName string) (result PeeringPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate the Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy Parameters: managedNetworkPolicy - parameters supplied to create/update a Managed Network Peering Policy resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. managedNetworkPeeringPolicyName - the name of the Managed Network Peering Policy.

func (PeeringPoliciesClient) CreateOrUpdatePreparer

func (client PeeringPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, managedNetworkPolicy PeeringPolicy, resourceGroupName string, managedNetworkName string, managedNetworkPeeringPolicyName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PeeringPoliciesClient) CreateOrUpdateResponder

func (client PeeringPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result PeeringPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PeeringPoliciesClient) CreateOrUpdateSender

func (client PeeringPoliciesClient) CreateOrUpdateSender(req *http.Request) (future PeeringPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PeeringPoliciesClient) Delete

func (client PeeringPoliciesClient) Delete(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkPeeringPolicyName string) (result PeeringPoliciesDeleteFuture, err error)

Delete the Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. managedNetworkPeeringPolicyName - the name of the Managed Network Peering Policy.

func (PeeringPoliciesClient) DeletePreparer

func (client PeeringPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkPeeringPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PeeringPoliciesClient) DeleteResponder

func (client PeeringPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PeeringPoliciesClient) DeleteSender

func (client PeeringPoliciesClient) DeleteSender(req *http.Request) (future PeeringPoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PeeringPoliciesClient) Get

func (client PeeringPoliciesClient) Get(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkPeeringPolicyName string) (result PeeringPolicy, err error)

Get the Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. managedNetworkPeeringPolicyName - the name of the Managed Network Peering Policy.

func (PeeringPoliciesClient) GetPreparer

func (client PeeringPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, managedNetworkName string, managedNetworkPeeringPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PeeringPoliciesClient) GetResponder

func (client PeeringPoliciesClient) GetResponder(resp *http.Response) (result PeeringPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PeeringPoliciesClient) GetSender

func (client PeeringPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PeeringPoliciesClient) ListByManagedNetwork

func (client PeeringPoliciesClient) ListByManagedNetwork(ctx context.Context, resourceGroupName string, managedNetworkName string, top *int32, skiptoken string) (result PeeringPolicyListResultPage, err error)

ListByManagedNetwork the ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format. Parameters: resourceGroupName - the name of the resource group. managedNetworkName - the name of the Managed Network. top - may be used to limit the number of results in a page for list queries. skiptoken - skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

func (PeeringPoliciesClient) ListByManagedNetworkComplete

func (client PeeringPoliciesClient) ListByManagedNetworkComplete(ctx context.Context, resourceGroupName string, managedNetworkName string, top *int32, skiptoken string) (result PeeringPolicyListResultIterator, err error)

ListByManagedNetworkComplete enumerates all values, automatically crossing page boundaries as required.

func (PeeringPoliciesClient) ListByManagedNetworkPreparer

func (client PeeringPoliciesClient) ListByManagedNetworkPreparer(ctx context.Context, resourceGroupName string, managedNetworkName string, top *int32, skiptoken string) (*http.Request, error)

ListByManagedNetworkPreparer prepares the ListByManagedNetwork request.

func (PeeringPoliciesClient) ListByManagedNetworkResponder

func (client PeeringPoliciesClient) ListByManagedNetworkResponder(resp *http.Response) (result PeeringPolicyListResult, err error)

ListByManagedNetworkResponder handles the response to the ListByManagedNetwork request. The method always closes the http.Response Body.

func (PeeringPoliciesClient) ListByManagedNetworkSender

func (client PeeringPoliciesClient) ListByManagedNetworkSender(req *http.Request) (*http.Response, error)

ListByManagedNetworkSender sends the ListByManagedNetwork request. The method will close the http.Response Body if it receives an error.

type PeeringPoliciesCreateOrUpdateFuture

type PeeringPoliciesCreateOrUpdateFuture struct {
	azure.Future
}

PeeringPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PeeringPoliciesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PeeringPoliciesDeleteFuture

type PeeringPoliciesDeleteFuture struct {
	azure.Future
}

PeeringPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PeeringPoliciesDeleteFuture) Result

func (future *PeeringPoliciesDeleteFuture) Result(client PeeringPoliciesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PeeringPolicy

type PeeringPolicy struct {
	autorest.Response `json:"-"`
	// Properties - Gets or sets the properties of a Managed Network Policy
	Properties *PeeringPolicyProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

PeeringPolicy the Managed Network Peering Policy resource

type PeeringPolicyListResult

type PeeringPolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets a page of Peering Policies
	Value *[]PeeringPolicy `json:"value,omitempty"`
	// NextLink - Gets the URL to get the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PeeringPolicyListResult result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results.

func (PeeringPolicyListResult) IsEmpty

func (pplr PeeringPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PeeringPolicyListResultIterator

type PeeringPolicyListResultIterator struct {
	// contains filtered or unexported fields
}

PeeringPolicyListResultIterator provides access to a complete listing of PeeringPolicy values.

func NewPeeringPolicyListResultIterator

func NewPeeringPolicyListResultIterator(page PeeringPolicyListResultPage) PeeringPolicyListResultIterator

Creates a new instance of the PeeringPolicyListResultIterator type.

func (*PeeringPolicyListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PeeringPolicyListResultIterator) NextWithContext

func (iter *PeeringPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PeeringPolicyListResultIterator) NotDone

func (iter PeeringPolicyListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PeeringPolicyListResultIterator) Response

Response returns the raw server response from the last page request.

func (PeeringPolicyListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PeeringPolicyListResultPage

type PeeringPolicyListResultPage struct {
	// contains filtered or unexported fields
}

PeeringPolicyListResultPage contains a page of PeeringPolicy values.

func NewPeeringPolicyListResultPage

func NewPeeringPolicyListResultPage(getNextPage func(context.Context, PeeringPolicyListResult) (PeeringPolicyListResult, error)) PeeringPolicyListResultPage

Creates a new instance of the PeeringPolicyListResultPage type.

func (*PeeringPolicyListResultPage) Next

func (page *PeeringPolicyListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PeeringPolicyListResultPage) NextWithContext

func (page *PeeringPolicyListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PeeringPolicyListResultPage) NotDone

func (page PeeringPolicyListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PeeringPolicyListResultPage) Response

Response returns the raw server response from the last page request.

func (PeeringPolicyListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PeeringPolicyProperties

type PeeringPolicyProperties struct {
	// Type - Gets or sets the connectivity type of a network structure policy. Possible values include: 'HubAndSpokeTopology', 'MeshTopology'
	Type Type `json:"type,omitempty"`
	// Hub - Gets or sets the hub virtual network ID
	Hub *ResourceID `json:"hub,omitempty"`
	// Spokes - Gets or sets the spokes group IDs
	Spokes *[]ResourceID `json:"spokes,omitempty"`
	// Mesh - Gets or sets the mesh group IDs
	Mesh *[]ResourceID `json:"mesh,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

PeeringPolicyProperties properties of a Managed Network Peering Policy

type Properties

type Properties struct {
	// Scope - The collection of management groups, subscriptions, virtual networks, and subnets by the Managed Network. This is a read-only property that is reflective of all ScopeAssignments for this Managed Network
	Scope *Scope `json:"scope,omitempty"`
	// Connectivity - READ-ONLY; The collection of groups and policies concerned with connectivity
	Connectivity *ConnectivityCollection `json:"connectivity,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

Properties properties of Managed Network

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Deleting ...
	Deleting ProvisioningState = "Deleting"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

Resource the general resource model definition

type ResourceID

type ResourceID struct {
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
}

ResourceID generic pointer to a resource

type ResourceProperties

type ResourceProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

ResourceProperties base for resource properties.

type Scope

type Scope struct {
	// ManagementGroups - The collection of management groups covered by the Managed Network
	ManagementGroups *[]ResourceID `json:"managementGroups,omitempty"`
	// Subscriptions - The collection of subscriptions covered by the Managed Network
	Subscriptions *[]ResourceID `json:"subscriptions,omitempty"`
	// VirtualNetworks - The collection of virtual nets covered by the Managed Network
	VirtualNetworks *[]ResourceID `json:"virtualNetworks,omitempty"`
	// Subnets - The collection of  subnets covered by the Managed Network
	Subnets *[]ResourceID `json:"subnets,omitempty"`
}

Scope scope of a Managed Network

type ScopeAssignment

type ScopeAssignment struct {
	autorest.Response `json:"-"`
	// ScopeAssignmentProperties - The Scope Assignment properties
	*ScopeAssignmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

ScopeAssignment the Managed Network resource

func (ScopeAssignment) MarshalJSON

func (sa ScopeAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScopeAssignment.

func (*ScopeAssignment) UnmarshalJSON

func (sa *ScopeAssignment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScopeAssignment struct.

type ScopeAssignmentListResult

type ScopeAssignmentListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets a page of ScopeAssignment
	Value *[]ScopeAssignment `json:"value,omitempty"`
	// NextLink - Gets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ScopeAssignmentListResult result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results.

func (ScopeAssignmentListResult) IsEmpty

func (salr ScopeAssignmentListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ScopeAssignmentListResultIterator

type ScopeAssignmentListResultIterator struct {
	// contains filtered or unexported fields
}

ScopeAssignmentListResultIterator provides access to a complete listing of ScopeAssignment values.

func NewScopeAssignmentListResultIterator

func NewScopeAssignmentListResultIterator(page ScopeAssignmentListResultPage) ScopeAssignmentListResultIterator

Creates a new instance of the ScopeAssignmentListResultIterator type.

func (*ScopeAssignmentListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ScopeAssignmentListResultIterator) NextWithContext

func (iter *ScopeAssignmentListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ScopeAssignmentListResultIterator) NotDone

func (iter ScopeAssignmentListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ScopeAssignmentListResultIterator) Response

Response returns the raw server response from the last page request.

func (ScopeAssignmentListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ScopeAssignmentListResultPage

type ScopeAssignmentListResultPage struct {
	// contains filtered or unexported fields
}

ScopeAssignmentListResultPage contains a page of ScopeAssignment values.

func NewScopeAssignmentListResultPage

func NewScopeAssignmentListResultPage(getNextPage func(context.Context, ScopeAssignmentListResult) (ScopeAssignmentListResult, error)) ScopeAssignmentListResultPage

Creates a new instance of the ScopeAssignmentListResultPage type.

func (*ScopeAssignmentListResultPage) Next

func (page *ScopeAssignmentListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ScopeAssignmentListResultPage) NextWithContext

func (page *ScopeAssignmentListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ScopeAssignmentListResultPage) NotDone

func (page ScopeAssignmentListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ScopeAssignmentListResultPage) Response

Response returns the raw server response from the last page request.

func (ScopeAssignmentListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ScopeAssignmentProperties

type ScopeAssignmentProperties struct {
	// AssignedManagedNetwork - The managed network ID with scope will be assigned to.
	AssignedManagedNetwork *string `json:"assignedManagedNetwork,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

ScopeAssignmentProperties properties of Managed Network

type ScopeAssignmentsClient

type ScopeAssignmentsClient struct {
	BaseClient
}

ScopeAssignmentsClient is the the Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.

func NewScopeAssignmentsClient

func NewScopeAssignmentsClient(subscriptionID string) ScopeAssignmentsClient

NewScopeAssignmentsClient creates an instance of the ScopeAssignmentsClient client.

func NewScopeAssignmentsClientWithBaseURI

func NewScopeAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) ScopeAssignmentsClient

NewScopeAssignmentsClientWithBaseURI creates an instance of the ScopeAssignmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ScopeAssignmentsClient) CreateOrUpdate

func (client ScopeAssignmentsClient) CreateOrUpdate(ctx context.Context, parameters ScopeAssignment, scope string, scopeAssignmentName string) (result ScopeAssignment, err error)

CreateOrUpdate creates a scope assignment. Parameters: parameters - parameters supplied to the specify which Managed Network this scope is being assigned scope - the base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. scopeAssignmentName - the name of the scope assignment to create.

func (ScopeAssignmentsClient) CreateOrUpdatePreparer

func (client ScopeAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, parameters ScopeAssignment, scope string, scopeAssignmentName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ScopeAssignmentsClient) CreateOrUpdateResponder

func (client ScopeAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ScopeAssignment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ScopeAssignmentsClient) CreateOrUpdateSender

func (client ScopeAssignmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ScopeAssignmentsClient) Delete

func (client ScopeAssignmentsClient) Delete(ctx context.Context, scope string, scopeAssignmentName string) (result autorest.Response, err error)

Delete deletes a scope assignment. Parameters: scope - the scope of the scope assignment to delete. scopeAssignmentName - the name of the scope assignment to delete.

func (ScopeAssignmentsClient) DeletePreparer

func (client ScopeAssignmentsClient) DeletePreparer(ctx context.Context, scope string, scopeAssignmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ScopeAssignmentsClient) DeleteResponder

func (client ScopeAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ScopeAssignmentsClient) DeleteSender

func (client ScopeAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ScopeAssignmentsClient) Get

func (client ScopeAssignmentsClient) Get(ctx context.Context, scope string, scopeAssignmentName string) (result ScopeAssignment, err error)

Get get the specified scope assignment. Parameters: scope - the base resource of the scope assignment. scopeAssignmentName - the name of the scope assignment to get.

func (ScopeAssignmentsClient) GetPreparer

func (client ScopeAssignmentsClient) GetPreparer(ctx context.Context, scope string, scopeAssignmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScopeAssignmentsClient) GetResponder

func (client ScopeAssignmentsClient) GetResponder(resp *http.Response) (result ScopeAssignment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ScopeAssignmentsClient) GetSender

func (client ScopeAssignmentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ScopeAssignmentsClient) List

func (client ScopeAssignmentsClient) List(ctx context.Context, scope string) (result ScopeAssignmentListResultPage, err error)

List get the specified scope assignment. Parameters: scope - the base resource of the scope assignment.

func (ScopeAssignmentsClient) ListComplete

func (client ScopeAssignmentsClient) ListComplete(ctx context.Context, scope string) (result ScopeAssignmentListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ScopeAssignmentsClient) ListPreparer

func (client ScopeAssignmentsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (ScopeAssignmentsClient) ListResponder

func (client ScopeAssignmentsClient) ListResponder(resp *http.Response) (result ScopeAssignmentListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ScopeAssignmentsClient) ListSender

func (client ScopeAssignmentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Type

type Type string

Type enumerates the values for type.

const (
	// HubAndSpokeTopology ...
	HubAndSpokeTopology Type = "HubAndSpokeTopology"
	// MeshTopology ...
	MeshTopology Type = "MeshTopology"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type Update

type Update struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Update update Tags of Managed Network

func (Update) MarshalJSON

func (u Update) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Update.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL