Documentation ¶
Index ¶
- func PossibleValuesForScopeConnectionState() []string
- func ValidateNetworkManagerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopeConnectionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type NetworkManagerId
- type ScopeConnection
- type ScopeConnectionId
- type ScopeConnectionOperationPredicate
- type ScopeConnectionProperties
- type ScopeConnectionState
- type ScopeConnectionsClient
- func (c ScopeConnectionsClient) CreateOrUpdate(ctx context.Context, id ScopeConnectionId, input ScopeConnection) (result CreateOrUpdateOperationResponse, err error)
- func (c ScopeConnectionsClient) Delete(ctx context.Context, id ScopeConnectionId) (result DeleteOperationResponse, err error)
- func (c ScopeConnectionsClient) Get(ctx context.Context, id ScopeConnectionId) (result GetOperationResponse, err error)
- func (c ScopeConnectionsClient) List(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ScopeConnectionsClient) ListComplete(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ScopeConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkManagerId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForScopeConnectionState ¶
func PossibleValuesForScopeConnectionState() []string
func ValidateNetworkManagerID ¶
ValidateNetworkManagerID checks that 'input' can be parsed as a Network Manager ID
func ValidateScopeConnectionID ¶
ValidateScopeConnectionID checks that 'input' can be parsed as a Scope Connection ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScopeConnection }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScopeConnection }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScopeConnection }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
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 *[]ScopeConnection }
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) FromParseResult ¶
func (id *NetworkManagerId) FromParseResult(input resourceids.ParseResult) error
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 ScopeConnection ¶
type ScopeConnection struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScopeConnectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScopeConnectionId ¶
type ScopeConnectionId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string ScopeConnectionName string }
ScopeConnectionId is a struct representing the Resource ID for a Scope Connection
func NewScopeConnectionID ¶
func NewScopeConnectionID(subscriptionId string, resourceGroupName string, networkManagerName string, scopeConnectionName string) ScopeConnectionId
NewScopeConnectionID returns a new ScopeConnectionId struct
func ParseScopeConnectionID ¶
func ParseScopeConnectionID(input string) (*ScopeConnectionId, error)
ParseScopeConnectionID parses 'input' into a ScopeConnectionId
func ParseScopeConnectionIDInsensitively ¶
func ParseScopeConnectionIDInsensitively(input string) (*ScopeConnectionId, error)
ParseScopeConnectionIDInsensitively parses 'input' case-insensitively into a ScopeConnectionId note: this method should only be used for API response data and not user input
func (*ScopeConnectionId) FromParseResult ¶
func (id *ScopeConnectionId) FromParseResult(input resourceids.ParseResult) error
func (ScopeConnectionId) ID ¶
func (id ScopeConnectionId) ID() string
ID returns the formatted Scope Connection ID
func (ScopeConnectionId) Segments ¶
func (id ScopeConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scope Connection ID
func (ScopeConnectionId) String ¶
func (id ScopeConnectionId) String() string
String returns a human-readable description of this Scope Connection ID
type ScopeConnectionOperationPredicate ¶
func (ScopeConnectionOperationPredicate) Matches ¶
func (p ScopeConnectionOperationPredicate) Matches(input ScopeConnection) bool
type ScopeConnectionProperties ¶
type ScopeConnectionProperties struct { ConnectionState *ScopeConnectionState `json:"connectionState,omitempty"` Description *string `json:"description,omitempty"` ResourceId *string `json:"resourceId,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type ScopeConnectionState ¶
type ScopeConnectionState string
const ( ScopeConnectionStateConflict ScopeConnectionState = "Conflict" ScopeConnectionStateConnected ScopeConnectionState = "Connected" ScopeConnectionStatePending ScopeConnectionState = "Pending" ScopeConnectionStateRejected ScopeConnectionState = "Rejected" ScopeConnectionStateRevoked ScopeConnectionState = "Revoked" )
func (*ScopeConnectionState) UnmarshalJSON ¶
func (s *ScopeConnectionState) UnmarshalJSON(bytes []byte) error
type ScopeConnectionsClient ¶
type ScopeConnectionsClient struct {
Client *resourcemanager.Client
}
func NewScopeConnectionsClientWithBaseURI ¶
func NewScopeConnectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScopeConnectionsClient, error)
func (ScopeConnectionsClient) CreateOrUpdate ¶
func (c ScopeConnectionsClient) CreateOrUpdate(ctx context.Context, id ScopeConnectionId, input ScopeConnection) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ScopeConnectionsClient) Delete ¶
func (c ScopeConnectionsClient) Delete(ctx context.Context, id ScopeConnectionId) (result DeleteOperationResponse, err error)
Delete ...
func (ScopeConnectionsClient) Get ¶
func (c ScopeConnectionsClient) Get(ctx context.Context, id ScopeConnectionId) (result GetOperationResponse, err error)
Get ...
func (ScopeConnectionsClient) List ¶
func (c ScopeConnectionsClient) List(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ScopeConnectionsClient) ListComplete ¶
func (c ScopeConnectionsClient) ListComplete(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScopeConnectionsClient) ListCompleteMatchingPredicate ¶
func (c ScopeConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkManagerId, options ListOperationOptions, predicate ScopeConnectionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate