azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/managednetwork/mgmt/2019-06-01-preview/managednetwork Index | Files | Directories

package managednetwork

import "github.com/Azure/azure-sdk-for-go/services/preview/managednetwork/mgmt/2019-06-01-preview/managednetwork"

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

Package Files

client.go groups.go managednetworks.go models.go operations.go peeringpolicies.go scopeassignments.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

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

BaseClient is the base client for Managednetwork.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type ConnectivityCollection Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Group.

func (*Group) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Group struct.

type GroupListResult Uses

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 Uses

func (glr GroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GroupListResultIterator Uses

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

GroupListResultIterator provides access to a complete listing of Group values.

func NewGroupListResultIterator Uses

func NewGroupListResultIterator(page GroupListResultPage) GroupListResultIterator

Creates a new instance of the GroupListResultIterator type.

func (*GroupListResultIterator) Next Uses

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 Uses

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 Uses

func (iter GroupListResultIterator) NotDone() bool

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

func (GroupListResultIterator) Response Uses

func (iter GroupListResultIterator) Response() GroupListResult

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

func (GroupListResultIterator) Value Uses

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 Uses

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

GroupListResultPage contains a page of Group values.

func NewGroupListResultPage Uses

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

Creates a new instance of the GroupListResultPage type.

func (*GroupListResultPage) Next Uses

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 Uses

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 Uses

func (page GroupListResultPage) NotDone() bool

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

func (GroupListResultPage) Response Uses

func (page GroupListResultPage) Response() GroupListResult

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

func (GroupListResultPage) Values Uses

func (page GroupListResultPage) Values() []Group

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

type GroupProperties Uses

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 are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

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 Uses

func NewGroupsClient(subscriptionID string) GroupsClient

NewGroupsClient creates an instance of the GroupsClient client.

func NewGroupsClientWithBaseURI Uses

func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient

NewGroupsClientWithBaseURI creates an instance of the GroupsClient client.

func (GroupsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (GroupsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (GroupsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type GroupsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*GroupsCreateOrUpdateFuture) Result Uses

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 Uses

type GroupsDeleteFuture struct {
    azure.Future
}

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

func (*GroupsDeleteFuture) Result Uses

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 Uses

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 are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

type Kind string

Kind enumerates the values for kind.

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

func PossibleKindValues Uses

func PossibleKindValues() []Kind

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

type ListResult Uses

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 Uses

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListResultIterator Uses

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

ListResultIterator provides access to a complete listing of ManagedNetwork values.

func NewListResultIterator Uses

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next Uses

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 Uses

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 Uses

func (iter ListResultIterator) NotDone() bool

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

func (ListResultIterator) Response Uses

func (iter ListResultIterator) Response() ListResult

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

func (ListResultIterator) Value Uses

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 Uses

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

ListResultPage contains a page of ManagedNetwork values.

func NewListResultPage Uses

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

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next Uses

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 Uses

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 Uses

func (page ListResultPage) NotDone() bool

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

func (ListResultPage) Response Uses

func (page ListResultPage) Response() ListResult

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

func (ListResultPage) Values Uses

func (page ListResultPage) Values() []ManagedNetwork

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

type ManagedNetwork Uses

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 Uses

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

MarshalJSON is the custom marshaler for ManagedNetwork.

func (*ManagedNetwork) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ManagedNetwork struct.

type ManagedNetworksClient Uses

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 Uses

func NewManagedNetworksClient(subscriptionID string) ManagedNetworksClient

NewManagedNetworksClient creates an instance of the ManagedNetworksClient client.

func NewManagedNetworksClientWithBaseURI Uses

func NewManagedNetworksClientWithBaseURI(baseURI string, subscriptionID string) ManagedNetworksClient

NewManagedNetworksClientWithBaseURI creates an instance of the ManagedNetworksClient client.

func (ManagedNetworksClient) CreateOrUpdate Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ManagedNetworksClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ManagedNetworksClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ManagedNetworksClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ManagedNetworksClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ManagedNetworksClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (ManagedNetworksClient) UpdateResponder Uses

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 Uses

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 Uses

type ManagedNetworksDeleteFutureType struct {
    azure.Future
}

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

func (*ManagedNetworksDeleteFutureType) Result Uses

func (future *ManagedNetworksDeleteFutureType) Result(client ManagedNetworksClient) (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 ManagedNetworksUpdateFutureType Uses

type ManagedNetworksUpdateFutureType struct {
    azure.Future
}

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

func (*ManagedNetworksUpdateFutureType) Result Uses

func (future *ManagedNetworksUpdateFutureType) Result(client ManagedNetworksClient) (mn ManagedNetwork, err error)

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

type MeshPeeringPolicyProperties Uses

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 are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

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 Uses

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 Uses

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 Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

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 Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List lists all of the available MNC operations.

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

func NewPeeringPoliciesClient(subscriptionID string) PeeringPoliciesClient

NewPeeringPoliciesClient creates an instance of the PeeringPoliciesClient client.

func NewPeeringPoliciesClientWithBaseURI Uses

func NewPeeringPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PeeringPoliciesClient

NewPeeringPoliciesClientWithBaseURI creates an instance of the PeeringPoliciesClient client.

func (PeeringPoliciesClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (PeeringPoliciesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PeeringPoliciesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type PeeringPoliciesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PeeringPoliciesCreateOrUpdateFuture) Result Uses

func (future *PeeringPoliciesCreateOrUpdateFuture) Result(client PeeringPoliciesClient) (pp PeeringPolicy, err error)

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

type PeeringPoliciesDeleteFuture Uses

type PeeringPoliciesDeleteFuture struct {
    azure.Future
}

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

func (*PeeringPoliciesDeleteFuture) Result Uses

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 Uses

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 Uses

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 Uses

func (pplr PeeringPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PeeringPolicyListResultIterator Uses

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

PeeringPolicyListResultIterator provides access to a complete listing of PeeringPolicy values.

func NewPeeringPolicyListResultIterator Uses

func NewPeeringPolicyListResultIterator(page PeeringPolicyListResultPage) PeeringPolicyListResultIterator

Creates a new instance of the PeeringPolicyListResultIterator type.

func (*PeeringPolicyListResultIterator) Next Uses

func (iter *PeeringPolicyListResultIterator) 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 (*PeeringPolicyListResultIterator) NextWithContext Uses

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 Uses

func (iter PeeringPolicyListResultIterator) NotDone() bool

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

func (PeeringPolicyListResultIterator) Response Uses

func (iter PeeringPolicyListResultIterator) Response() PeeringPolicyListResult

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

func (PeeringPolicyListResultIterator) Value Uses

func (iter PeeringPolicyListResultIterator) Value() PeeringPolicy

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

type PeeringPolicyListResultPage Uses

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

PeeringPolicyListResultPage contains a page of PeeringPolicy values.

func NewPeeringPolicyListResultPage Uses

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

Creates a new instance of the PeeringPolicyListResultPage type.

func (*PeeringPolicyListResultPage) Next Uses

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 Uses

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 Uses

func (page PeeringPolicyListResultPage) NotDone() bool

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

func (PeeringPolicyListResultPage) Response Uses

func (page PeeringPolicyListResultPage) Response() PeeringPolicyListResult

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

func (PeeringPolicyListResultPage) Values Uses

func (page PeeringPolicyListResultPage) Values() []PeeringPolicy

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

type PeeringPolicyProperties Uses

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 are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

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 are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyResource Uses

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 Uses

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 Uses

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

ResourceID generic pointer to a resource

type ResourceProperties Uses

type ResourceProperties struct {
    // ProvisioningState - READ-ONLY; Provisioning state of the ManagedNetwork resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for ScopeAssignment.

func (*ScopeAssignment) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ScopeAssignment struct.

type ScopeAssignmentListResult Uses

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 Uses

func (salr ScopeAssignmentListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ScopeAssignmentListResultIterator Uses

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

ScopeAssignmentListResultIterator provides access to a complete listing of ScopeAssignment values.

func NewScopeAssignmentListResultIterator Uses

func NewScopeAssignmentListResultIterator(page ScopeAssignmentListResultPage) ScopeAssignmentListResultIterator

Creates a new instance of the ScopeAssignmentListResultIterator type.

func (*ScopeAssignmentListResultIterator) Next Uses

func (iter *ScopeAssignmentListResultIterator) 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 (*ScopeAssignmentListResultIterator) NextWithContext Uses

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 Uses

func (iter ScopeAssignmentListResultIterator) NotDone() bool

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

func (ScopeAssignmentListResultIterator) Response Uses

func (iter ScopeAssignmentListResultIterator) Response() ScopeAssignmentListResult

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

func (ScopeAssignmentListResultIterator) Value Uses

func (iter ScopeAssignmentListResultIterator) Value() ScopeAssignment

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

type ScopeAssignmentListResultPage Uses

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

ScopeAssignmentListResultPage contains a page of ScopeAssignment values.

func NewScopeAssignmentListResultPage Uses

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

Creates a new instance of the ScopeAssignmentListResultPage type.

func (*ScopeAssignmentListResultPage) Next Uses

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 Uses

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 Uses

func (page ScopeAssignmentListResultPage) NotDone() bool

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

func (ScopeAssignmentListResultPage) Response Uses

func (page ScopeAssignmentListResultPage) Response() ScopeAssignmentListResult

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

func (ScopeAssignmentListResultPage) Values Uses

func (page ScopeAssignmentListResultPage) Values() []ScopeAssignment

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

type ScopeAssignmentProperties Uses

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 are: 'Updating', 'Deleting', and 'Failed'. 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 Uses

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 Uses

func NewScopeAssignmentsClient(subscriptionID string) ScopeAssignmentsClient

NewScopeAssignmentsClient creates an instance of the ScopeAssignmentsClient client.

func NewScopeAssignmentsClientWithBaseURI Uses

func NewScopeAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) ScopeAssignmentsClient

NewScopeAssignmentsClientWithBaseURI creates an instance of the ScopeAssignmentsClient client.

func (ScopeAssignmentsClient) CreateOrUpdate Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ScopeAssignmentsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ScopeAssignmentsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ScopeAssignmentsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ScopeAssignmentsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type Type Uses

type Type string

Type enumerates the values for type.

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

func PossibleTypeValues Uses

func PossibleTypeValues() []Type

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

type Update Uses

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

Update update Tags of Managed Network

func (Update) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Update.

Directories

PathSynopsis
managednetworkapi

Package managednetwork imports 9 packages (graph) and is imported by 3 packages. Updated 2019-10-11. Refresh now. Tools for package owners.