Documentation ¶
Index ¶
- func PossibleValuesForConfigurationType() []string
- func PossibleValuesForDeploymentStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateNetworkManagerID(input interface{}, key string) (warnings []string, errors []error)
- type ConfigurationType
- type CreateOrUpdateOperationResponse
- type CrossTenantScopes
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DeploymentStatus
- type GetOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NetworkManager
- type NetworkManagerCommit
- type NetworkManagerCommitsPostOperationResponse
- type NetworkManagerDeploymentStatus
- type NetworkManagerDeploymentStatusListOperationResponse
- type NetworkManagerDeploymentStatusListResult
- type NetworkManagerDeploymentStatusParameter
- type NetworkManagerId
- type NetworkManagerOperationPredicate
- type NetworkManagerProperties
- type NetworkManagerPropertiesNetworkManagerScopes
- type NetworkManagersClient
- func (c NetworkManagersClient) CreateOrUpdate(ctx context.Context, id NetworkManagerId, input NetworkManager) (result CreateOrUpdateOperationResponse, err error)
- func (c NetworkManagersClient) Delete(ctx context.Context, id NetworkManagerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c NetworkManagersClient) DeleteThenPoll(ctx context.Context, id NetworkManagerId, options DeleteOperationOptions) error
- func (c NetworkManagersClient) Get(ctx context.Context, id NetworkManagerId) (result GetOperationResponse, err error)
- func (c NetworkManagersClient) List(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListOperationResponse, err error)
- func (c NetworkManagersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c NetworkManagersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c NetworkManagersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c NetworkManagersClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListCompleteResult, error)
- func (c NetworkManagersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c NetworkManagersClient) NetworkManagerCommitsPost(ctx context.Context, id NetworkManagerId, input NetworkManagerCommit) (result NetworkManagerCommitsPostOperationResponse, err error)
- func (c NetworkManagersClient) NetworkManagerCommitsPostThenPoll(ctx context.Context, id NetworkManagerId, input NetworkManagerCommit) error
- func (c NetworkManagersClient) NetworkManagerDeploymentStatusList(ctx context.Context, id NetworkManagerId, ...) (result NetworkManagerDeploymentStatusListOperationResponse, err error)
- func (c NetworkManagersClient) Patch(ctx context.Context, id NetworkManagerId, input PatchObject) (result PatchOperationResponse, err error)
- type PatchObject
- type PatchOperationResponse
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConfigurationType ¶
func PossibleValuesForConfigurationType() []string
func PossibleValuesForDeploymentStatus ¶
func PossibleValuesForDeploymentStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateNetworkManagerID ¶
ValidateNetworkManagerID checks that 'input' can be parsed as a Network Manager ID
Types ¶
type ConfigurationType ¶
type ConfigurationType string
const ( ConfigurationTypeConnectivity ConfigurationType = "Connectivity" ConfigurationTypeSecurityAdmin ConfigurationType = "SecurityAdmin" )
func (*ConfigurationType) UnmarshalJSON ¶
func (s *ConfigurationType) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkManager }
type CrossTenantScopes ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusDeployed DeploymentStatus = "Deployed" DeploymentStatusDeploying DeploymentStatus = "Deploying" DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusNotStarted DeploymentStatus = "NotStarted" )
func (*DeploymentStatus) UnmarshalJSON ¶
func (s *DeploymentStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkManager }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []NetworkManager
}
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
Top *int64
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkManager }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []NetworkManager
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkManager }
type NetworkManager ¶
type NetworkManager struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *NetworkManagerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NetworkManagerCommit ¶
type NetworkManagerCommit struct { CommitId *string `json:"commitId,omitempty"` CommitType ConfigurationType `json:"commitType"` ConfigurationIds *[]string `json:"configurationIds,omitempty"` TargetLocations []string `json:"targetLocations"` }
type NetworkManagerDeploymentStatus ¶
type NetworkManagerDeploymentStatus struct { CommitTime *string `json:"commitTime,omitempty"` ConfigurationIds *[]string `json:"configurationIds,omitempty"` DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty"` DeploymentType *ConfigurationType `json:"deploymentType,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` Region *string `json:"region,omitempty"` }
func (*NetworkManagerDeploymentStatus) GetCommitTimeAsTime ¶
func (o *NetworkManagerDeploymentStatus) GetCommitTimeAsTime() (*time.Time, error)
func (*NetworkManagerDeploymentStatus) SetCommitTimeAsTime ¶
func (o *NetworkManagerDeploymentStatus) SetCommitTimeAsTime(input time.Time)
type NetworkManagerDeploymentStatusListOperationResponse ¶
type NetworkManagerDeploymentStatusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkManagerDeploymentStatusListResult }
type NetworkManagerDeploymentStatusListResult ¶
type NetworkManagerDeploymentStatusListResult struct { SkipToken *string `json:"skipToken,omitempty"` Value *[]NetworkManagerDeploymentStatus `json:"value,omitempty"` }
type NetworkManagerDeploymentStatusParameter ¶
type NetworkManagerDeploymentStatusParameter struct { DeploymentTypes *[]ConfigurationType `json:"deploymentTypes,omitempty"` Regions *[]string `json:"regions,omitempty"` SkipToken *string `json:"skipToken,omitempty"` }
type NetworkManagerId ¶
type NetworkManagerId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string }
NetworkManagerId is a struct representing the Resource ID for a Network Manager
func NewNetworkManagerID ¶
func NewNetworkManagerID(subscriptionId string, resourceGroupName string, networkManagerName string) NetworkManagerId
NewNetworkManagerID returns a new NetworkManagerId struct
func ParseNetworkManagerID ¶
func ParseNetworkManagerID(input string) (*NetworkManagerId, error)
ParseNetworkManagerID parses 'input' into a NetworkManagerId
func ParseNetworkManagerIDInsensitively ¶
func ParseNetworkManagerIDInsensitively(input string) (*NetworkManagerId, error)
ParseNetworkManagerIDInsensitively parses 'input' case-insensitively into a NetworkManagerId note: this method should only be used for API response data and not user input
func (NetworkManagerId) ID ¶
func (id NetworkManagerId) ID() string
ID returns the formatted Network Manager ID
func (NetworkManagerId) Segments ¶
func (id NetworkManagerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Network Manager ID
func (NetworkManagerId) String ¶
func (id NetworkManagerId) String() string
String returns a human-readable description of this Network Manager ID
type NetworkManagerOperationPredicate ¶
type NetworkManagerOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (NetworkManagerOperationPredicate) Matches ¶
func (p NetworkManagerOperationPredicate) Matches(input NetworkManager) bool
type NetworkManagerProperties ¶
type NetworkManagerProperties struct { Description *string `json:"description,omitempty"` NetworkManagerScopeAccesses []ConfigurationType `json:"networkManagerScopeAccesses"` NetworkManagerScopes NetworkManagerPropertiesNetworkManagerScopes `json:"networkManagerScopes"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type NetworkManagerPropertiesNetworkManagerScopes ¶
type NetworkManagerPropertiesNetworkManagerScopes struct { CrossTenantScopes *[]CrossTenantScopes `json:"crossTenantScopes,omitempty"` ManagementGroups *[]string `json:"managementGroups,omitempty"` Subscriptions *[]string `json:"subscriptions,omitempty"` }
type NetworkManagersClient ¶
type NetworkManagersClient struct {
Client *resourcemanager.Client
}
func NewNetworkManagersClientWithBaseURI ¶
func NewNetworkManagersClientWithBaseURI(api environments.Api) (*NetworkManagersClient, error)
func (NetworkManagersClient) CreateOrUpdate ¶
func (c NetworkManagersClient) CreateOrUpdate(ctx context.Context, id NetworkManagerId, input NetworkManager) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NetworkManagersClient) Delete ¶
func (c NetworkManagersClient) Delete(ctx context.Context, id NetworkManagerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (NetworkManagersClient) DeleteThenPoll ¶
func (c NetworkManagersClient) DeleteThenPoll(ctx context.Context, id NetworkManagerId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (NetworkManagersClient) Get ¶
func (c NetworkManagersClient) Get(ctx context.Context, id NetworkManagerId) (result GetOperationResponse, err error)
Get ...
func (NetworkManagersClient) List ¶
func (c NetworkManagersClient) List(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (NetworkManagersClient) ListBySubscription ¶
func (c NetworkManagersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (NetworkManagersClient) ListBySubscriptionComplete ¶
func (c NetworkManagersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (NetworkManagersClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c NetworkManagersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate NetworkManagerOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NetworkManagersClient) ListComplete ¶
func (c NetworkManagersClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (NetworkManagersClient) ListCompleteMatchingPredicate ¶
func (c NetworkManagersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions, predicate NetworkManagerOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NetworkManagersClient) NetworkManagerCommitsPost ¶
func (c NetworkManagersClient) NetworkManagerCommitsPost(ctx context.Context, id NetworkManagerId, input NetworkManagerCommit) (result NetworkManagerCommitsPostOperationResponse, err error)
NetworkManagerCommitsPost ...
func (NetworkManagersClient) NetworkManagerCommitsPostThenPoll ¶
func (c NetworkManagersClient) NetworkManagerCommitsPostThenPoll(ctx context.Context, id NetworkManagerId, input NetworkManagerCommit) error
NetworkManagerCommitsPostThenPoll performs NetworkManagerCommitsPost then polls until it's completed
func (NetworkManagersClient) NetworkManagerDeploymentStatusList ¶
func (c NetworkManagersClient) NetworkManagerDeploymentStatusList(ctx context.Context, id NetworkManagerId, input NetworkManagerDeploymentStatusParameter) (result NetworkManagerDeploymentStatusListOperationResponse, err error)
NetworkManagerDeploymentStatusList ...
func (NetworkManagersClient) Patch ¶
func (c NetworkManagersClient) Patch(ctx context.Context, id NetworkManagerId, input PatchObject) (result PatchOperationResponse, err error)
Patch ...
type PatchObject ¶
type PatchOperationResponse ¶
type PatchOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkManager }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_networkmanager.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbysubscription.go
- method_networkmanagercommitspost.go
- method_networkmanagerdeploymentstatuslist.go
- method_patch.go
- model_crosstenantscopes.go
- model_networkmanager.go
- model_networkmanagercommit.go
- model_networkmanagerdeploymentstatus.go
- model_networkmanagerdeploymentstatuslistresult.go
- model_networkmanagerdeploymentstatusparameter.go
- model_networkmanagerproperties.go
- model_networkmanagerpropertiesnetworkmanagerscopes.go
- model_patchobject.go
- predicates.go
- version.go