Documentation ¶
Index ¶
- func PossibleValuesForBastionConnectProtocol() []string
- func PossibleValuesForBastionHostSkuName() []string
- func PossibleValuesForIPAllocationMethod() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateBastionHostID(input interface{}, key string) (warnings []string, errors []error)
- type BastionActiveSession
- type BastionActiveSessionOperationPredicate
- type BastionConnectProtocol
- type BastionHost
- type BastionHostIPConfiguration
- type BastionHostIPConfigurationPropertiesFormat
- type BastionHostId
- type BastionHostOperationPredicate
- type BastionHostPropertiesFormat
- type BastionHostSkuName
- type BastionHostsClient
- func (c BastionHostsClient) CreateOrUpdate(ctx context.Context, id BastionHostId, input BastionHost) (result CreateOrUpdateOperationResponse, err error)
- func (c BastionHostsClient) CreateOrUpdateThenPoll(ctx context.Context, id BastionHostId, input BastionHost) error
- func (c BastionHostsClient) Delete(ctx context.Context, id BastionHostId) (result DeleteOperationResponse, err error)
- func (c BastionHostsClient) DeleteBastionShareableLink(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (result DeleteBastionShareableLinkOperationResponse, err error)
- func (c BastionHostsClient) DeleteBastionShareableLinkThenPoll(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) error
- func (c BastionHostsClient) DeleteThenPoll(ctx context.Context, id BastionHostId) error
- func (c BastionHostsClient) DisconnectActiveSessions(ctx context.Context, id BastionHostId, input SessionIds) (result DisconnectActiveSessionsOperationResponse, err error)
- func (c BastionHostsClient) DisconnectActiveSessionsComplete(ctx context.Context, id BastionHostId, input SessionIds) (DisconnectActiveSessionsCompleteResult, error)
- func (c BastionHostsClient) DisconnectActiveSessionsCompleteMatchingPredicate(ctx context.Context, id BastionHostId, input SessionIds, ...) (result DisconnectActiveSessionsCompleteResult, err error)
- func (c BastionHostsClient) Get(ctx context.Context, id BastionHostId) (result GetOperationResponse, err error)
- func (c BastionHostsClient) GetActiveSessions(ctx context.Context, id BastionHostId) (result GetActiveSessionsOperationResponse, err error)
- func (c BastionHostsClient) GetActiveSessionsThenPoll(ctx context.Context, id BastionHostId) error
- func (c BastionHostsClient) GetBastionShareableLink(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (result GetBastionShareableLinkOperationResponse, err error)
- func (c BastionHostsClient) GetBastionShareableLinkComplete(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (GetBastionShareableLinkCompleteResult, error)
- func (c BastionHostsClient) GetBastionShareableLinkCompleteMatchingPredicate(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest, ...) (result GetBastionShareableLinkCompleteResult, err error)
- func (c BastionHostsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c BastionHostsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c BastionHostsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c BastionHostsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c BastionHostsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c BastionHostsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c BastionHostsClient) PutBastionShareableLink(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (result PutBastionShareableLinkOperationResponse, err error)
- func (c BastionHostsClient) PutBastionShareableLinkThenPoll(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) error
- func (c BastionHostsClient) UpdateTags(ctx context.Context, id BastionHostId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- func (c BastionHostsClient) UpdateTagsThenPoll(ctx context.Context, id BastionHostId, input TagsObject) error
- type BastionSessionState
- type BastionSessionStateOperationPredicate
- type BastionShareableLink
- type BastionShareableLinkListRequest
- type BastionShareableLinkOperationPredicate
- type CreateOrUpdateOperationResponse
- type DeleteBastionShareableLinkOperationResponse
- type DeleteOperationResponse
- type DisconnectActiveSessionsCompleteResult
- type DisconnectActiveSessionsOperationResponse
- type GetActiveSessionsCompleteResult
- type GetActiveSessionsOperationResponse
- type GetBastionShareableLinkCompleteResult
- type GetBastionShareableLinkOperationResponse
- type GetOperationResponse
- type IPAllocationMethod
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type PutBastionShareableLinkCompleteResult
- type PutBastionShareableLinkOperationResponse
- type Resource
- type SessionIds
- type Sku
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBastionConnectProtocol ¶
func PossibleValuesForBastionConnectProtocol() []string
func PossibleValuesForBastionHostSkuName ¶
func PossibleValuesForBastionHostSkuName() []string
func PossibleValuesForIPAllocationMethod ¶
func PossibleValuesForIPAllocationMethod() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateBastionHostID ¶
ValidateBastionHostID checks that 'input' can be parsed as a Bastion Host ID
Types ¶
type BastionActiveSession ¶
type BastionActiveSession struct { Protocol *BastionConnectProtocol `json:"protocol,omitempty"` ResourceType *string `json:"resourceType,omitempty"` SessionDurationInMins *float64 `json:"sessionDurationInMins,omitempty"` SessionId *string `json:"sessionId,omitempty"` StartTime *interface{} `json:"startTime,omitempty"` TargetHostName *string `json:"targetHostName,omitempty"` TargetIPAddress *string `json:"targetIpAddress,omitempty"` TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` TargetSubscriptionId *string `json:"targetSubscriptionId,omitempty"` UserName *string `json:"userName,omitempty"` }
type BastionActiveSessionOperationPredicate ¶
type BastionActiveSessionOperationPredicate struct { ResourceType *string SessionDurationInMins *float64 SessionId *string StartTime *interface{} TargetHostName *string TargetIPAddress *string TargetResourceGroup *string TargetResourceId *string TargetSubscriptionId *string UserName *string }
func (BastionActiveSessionOperationPredicate) Matches ¶
func (p BastionActiveSessionOperationPredicate) Matches(input BastionActiveSession) bool
type BastionConnectProtocol ¶
type BastionConnectProtocol string
const ( BastionConnectProtocolRDP BastionConnectProtocol = "RDP" BastionConnectProtocolSSH BastionConnectProtocol = "SSH" )
func (*BastionConnectProtocol) UnmarshalJSON ¶
func (s *BastionConnectProtocol) UnmarshalJSON(bytes []byte) error
type BastionHost ¶
type BastionHost struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *BastionHostPropertiesFormat `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BastionHostIPConfiguration ¶
type BastionHostIPConfiguration struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BastionHostIPConfigurationPropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BastionHostIPConfigurationPropertiesFormat ¶
type BastionHostIPConfigurationPropertiesFormat struct { PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicIPAddress SubResource `json:"publicIPAddress"` Subnet SubResource `json:"subnet"` }
type BastionHostId ¶
BastionHostId is a struct representing the Resource ID for a Bastion Host
func NewBastionHostID ¶
func NewBastionHostID(subscriptionId string, resourceGroupName string, bastionHostName string) BastionHostId
NewBastionHostID returns a new BastionHostId struct
func ParseBastionHostID ¶
func ParseBastionHostID(input string) (*BastionHostId, error)
ParseBastionHostID parses 'input' into a BastionHostId
func ParseBastionHostIDInsensitively ¶
func ParseBastionHostIDInsensitively(input string) (*BastionHostId, error)
ParseBastionHostIDInsensitively parses 'input' case-insensitively into a BastionHostId note: this method should only be used for API response data and not user input
func (*BastionHostId) FromParseResult ¶
func (id *BastionHostId) FromParseResult(input resourceids.ParseResult) error
func (BastionHostId) ID ¶
func (id BastionHostId) ID() string
ID returns the formatted Bastion Host ID
func (BastionHostId) Segments ¶
func (id BastionHostId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Bastion Host ID
func (BastionHostId) String ¶
func (id BastionHostId) String() string
String returns a human-readable description of this Bastion Host ID
type BastionHostOperationPredicate ¶
type BastionHostOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (BastionHostOperationPredicate) Matches ¶
func (p BastionHostOperationPredicate) Matches(input BastionHost) bool
type BastionHostPropertiesFormat ¶
type BastionHostPropertiesFormat struct { DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` DnsName *string `json:"dnsName,omitempty"` EnableFileCopy *bool `json:"enableFileCopy,omitempty"` EnableIPConnect *bool `json:"enableIpConnect,omitempty"` EnableKerberos *bool `json:"enableKerberos,omitempty"` EnableTunneling *bool `json:"enableTunneling,omitempty"` IPConfigurations *[]BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ScaleUnits *int64 `json:"scaleUnits,omitempty"` }
type BastionHostSkuName ¶
type BastionHostSkuName string
const ( BastionHostSkuNameBasic BastionHostSkuName = "Basic" BastionHostSkuNameStandard BastionHostSkuName = "Standard" )
func (*BastionHostSkuName) UnmarshalJSON ¶
func (s *BastionHostSkuName) UnmarshalJSON(bytes []byte) error
type BastionHostsClient ¶
type BastionHostsClient struct {
Client *resourcemanager.Client
}
func NewBastionHostsClientWithBaseURI ¶
func NewBastionHostsClientWithBaseURI(sdkApi sdkEnv.Api) (*BastionHostsClient, error)
func (BastionHostsClient) CreateOrUpdate ¶
func (c BastionHostsClient) CreateOrUpdate(ctx context.Context, id BastionHostId, input BastionHost) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BastionHostsClient) CreateOrUpdateThenPoll ¶
func (c BastionHostsClient) CreateOrUpdateThenPoll(ctx context.Context, id BastionHostId, input BastionHost) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BastionHostsClient) Delete ¶
func (c BastionHostsClient) Delete(ctx context.Context, id BastionHostId) (result DeleteOperationResponse, err error)
Delete ...
func (BastionHostsClient) DeleteBastionShareableLink ¶
func (c BastionHostsClient) DeleteBastionShareableLink(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (result DeleteBastionShareableLinkOperationResponse, err error)
DeleteBastionShareableLink ...
func (BastionHostsClient) DeleteBastionShareableLinkThenPoll ¶
func (c BastionHostsClient) DeleteBastionShareableLinkThenPoll(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) error
DeleteBastionShareableLinkThenPoll performs DeleteBastionShareableLink then polls until it's completed
func (BastionHostsClient) DeleteThenPoll ¶
func (c BastionHostsClient) DeleteThenPoll(ctx context.Context, id BastionHostId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BastionHostsClient) DisconnectActiveSessions ¶
func (c BastionHostsClient) DisconnectActiveSessions(ctx context.Context, id BastionHostId, input SessionIds) (result DisconnectActiveSessionsOperationResponse, err error)
DisconnectActiveSessions ...
func (BastionHostsClient) DisconnectActiveSessionsComplete ¶
func (c BastionHostsClient) DisconnectActiveSessionsComplete(ctx context.Context, id BastionHostId, input SessionIds) (DisconnectActiveSessionsCompleteResult, error)
DisconnectActiveSessionsComplete retrieves all the results into a single object
func (BastionHostsClient) DisconnectActiveSessionsCompleteMatchingPredicate ¶
func (c BastionHostsClient) DisconnectActiveSessionsCompleteMatchingPredicate(ctx context.Context, id BastionHostId, input SessionIds, predicate BastionSessionStateOperationPredicate) (result DisconnectActiveSessionsCompleteResult, err error)
DisconnectActiveSessionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BastionHostsClient) Get ¶
func (c BastionHostsClient) Get(ctx context.Context, id BastionHostId) (result GetOperationResponse, err error)
Get ...
func (BastionHostsClient) GetActiveSessions ¶
func (c BastionHostsClient) GetActiveSessions(ctx context.Context, id BastionHostId) (result GetActiveSessionsOperationResponse, err error)
GetActiveSessions ...
func (BastionHostsClient) GetActiveSessionsThenPoll ¶
func (c BastionHostsClient) GetActiveSessionsThenPoll(ctx context.Context, id BastionHostId) error
GetActiveSessionsThenPoll performs GetActiveSessions then polls until it's completed
func (BastionHostsClient) GetBastionShareableLink ¶
func (c BastionHostsClient) GetBastionShareableLink(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (result GetBastionShareableLinkOperationResponse, err error)
GetBastionShareableLink ...
func (BastionHostsClient) GetBastionShareableLinkComplete ¶
func (c BastionHostsClient) GetBastionShareableLinkComplete(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (GetBastionShareableLinkCompleteResult, error)
GetBastionShareableLinkComplete retrieves all the results into a single object
func (BastionHostsClient) GetBastionShareableLinkCompleteMatchingPredicate ¶
func (c BastionHostsClient) GetBastionShareableLinkCompleteMatchingPredicate(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest, predicate BastionShareableLinkOperationPredicate) (result GetBastionShareableLinkCompleteResult, err error)
GetBastionShareableLinkCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BastionHostsClient) List ¶
func (c BastionHostsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (BastionHostsClient) ListByResourceGroup ¶
func (c BastionHostsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (BastionHostsClient) ListByResourceGroupComplete ¶
func (c BastionHostsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (BastionHostsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c BastionHostsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate BastionHostOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BastionHostsClient) ListComplete ¶
func (c BastionHostsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BastionHostsClient) ListCompleteMatchingPredicate ¶
func (c BastionHostsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate BastionHostOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BastionHostsClient) PutBastionShareableLink ¶
func (c BastionHostsClient) PutBastionShareableLink(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) (result PutBastionShareableLinkOperationResponse, err error)
PutBastionShareableLink ...
func (BastionHostsClient) PutBastionShareableLinkThenPoll ¶
func (c BastionHostsClient) PutBastionShareableLinkThenPoll(ctx context.Context, id BastionHostId, input BastionShareableLinkListRequest) error
PutBastionShareableLinkThenPoll performs PutBastionShareableLink then polls until it's completed
func (BastionHostsClient) UpdateTags ¶
func (c BastionHostsClient) UpdateTags(ctx context.Context, id BastionHostId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
func (BastionHostsClient) UpdateTagsThenPoll ¶
func (c BastionHostsClient) UpdateTagsThenPoll(ctx context.Context, id BastionHostId, input TagsObject) error
UpdateTagsThenPoll performs UpdateTags then polls until it's completed
type BastionSessionState ¶
type BastionSessionStateOperationPredicate ¶
type BastionSessionStateOperationPredicate struct { Message *string SessionId *string State *string }
func (BastionSessionStateOperationPredicate) Matches ¶
func (p BastionSessionStateOperationPredicate) Matches(input BastionSessionState) bool
type BastionShareableLink ¶
type BastionShareableLink struct {}
type BastionShareableLinkListRequest ¶
type BastionShareableLinkListRequest struct {
}type BastionShareableLinkOperationPredicate ¶
type BastionShareableLinkOperationPredicate struct {}
func (BastionShareableLinkOperationPredicate) Matches ¶
func (p BastionShareableLinkOperationPredicate) Matches(input BastionShareableLink) bool
type DeleteBastionShareableLinkOperationResponse ¶
type DeleteBastionShareableLinkOperationResponse struct {}
type DeleteOperationResponse ¶
type DisconnectActiveSessionsCompleteResult ¶
type DisconnectActiveSessionsCompleteResult struct { LatestHttpResponse *http.Response Items []BastionSessionState }
type DisconnectActiveSessionsOperationResponse ¶
type DisconnectActiveSessionsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BastionSessionState }
type GetActiveSessionsCompleteResult ¶
type GetActiveSessionsCompleteResult struct { LatestHttpResponse *http.Response Items []BastionActiveSession }
type GetBastionShareableLinkCompleteResult ¶
type GetBastionShareableLinkCompleteResult struct {}
type GetBastionShareableLinkOperationResponse ¶
type GetBastionShareableLinkOperationResponse struct {}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BastionHost }
type IPAllocationMethod ¶
type IPAllocationMethod string
const ( IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" IPAllocationMethodStatic IPAllocationMethod = "Static" )
func (*IPAllocationMethod) UnmarshalJSON ¶
func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []BastionHost }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BastionHost }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BastionHost }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BastionHost }
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
type PutBastionShareableLinkCompleteResult ¶
type PutBastionShareableLinkCompleteResult struct {}
type PutBastionShareableLinkOperationResponse ¶
type PutBastionShareableLinkOperationResponse struct {}
type SessionIds ¶
type SessionIds struct {
SessionIds *[]string `json:"sessionIds,omitempty"`
}
type Sku ¶
type Sku struct {
Name *BastionHostSkuName `json:"name,omitempty"`
}
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
Source Files ¶
- client.go
- constants.go
- id_bastionhost.go
- method_createorupdate.go
- method_delete.go
- method_deletebastionshareablelink.go
- method_disconnectactivesessions.go
- method_get.go
- method_getactivesessions.go
- method_getbastionshareablelink.go
- method_list.go
- method_listbyresourcegroup.go
- method_putbastionshareablelink.go
- method_updatetags.go
- model_bastionactivesession.go
- model_bastionhost.go
- model_bastionhostipconfiguration.go
- model_bastionhostipconfigurationpropertiesformat.go
- model_bastionhostpropertiesformat.go
- model_bastionsessionstate.go
- model_bastionshareablelink.go
- model_bastionshareablelinklistrequest.go
- model_resource.go
- model_sessionids.go
- model_sku.go
- model_subresource.go
- model_tagsobject.go
- predicates.go
- version.go