Documentation ¶
Index ¶
- func ValidateVMwareSiteID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteSiteOperationResponse
- type GetSiteHealthSummaryCompleteResult
- type GetSiteHealthSummaryOperationResponse
- type GetSiteOperationResponse
- type GetSiteUsageOperationResponse
- type PatchSiteOperationResponse
- type PutSiteOperationResponse
- type RefreshSiteOperationResponse
- type SiteAgentProperties
- type SiteHealthSummary
- type SiteHealthSummaryOperationPredicate
- type SiteProperties
- type SiteSpnProperties
- type SitesClient
- func (c SitesClient) DeleteSite(ctx context.Context, id VMwareSiteId) (result DeleteSiteOperationResponse, err error)
- func (c SitesClient) GetSite(ctx context.Context, id VMwareSiteId) (result GetSiteOperationResponse, err error)
- func (c SitesClient) GetSiteHealthSummary(ctx context.Context, id VMwareSiteId) (resp GetSiteHealthSummaryOperationResponse, err error)
- func (c SitesClient) GetSiteHealthSummaryComplete(ctx context.Context, id VMwareSiteId) (GetSiteHealthSummaryCompleteResult, error)
- func (c SitesClient) GetSiteHealthSummaryCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, ...) (resp GetSiteHealthSummaryCompleteResult, err error)
- func (c SitesClient) GetSiteUsage(ctx context.Context, id VMwareSiteId) (result GetSiteUsageOperationResponse, err error)
- func (c SitesClient) PatchSite(ctx context.Context, id VMwareSiteId, input VMwareSite) (result PatchSiteOperationResponse, err error)
- func (c SitesClient) PutSite(ctx context.Context, id VMwareSiteId, input VMwareSite) (result PutSiteOperationResponse, err error)
- func (c SitesClient) RefreshSite(ctx context.Context, id VMwareSiteId) (result RefreshSiteOperationResponse, err error)
- type VMwareSite
- type VMwareSiteId
- type VMwareSiteUsage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateVMwareSiteID ¶
ValidateVMwareSiteID checks that 'input' can be parsed as a V Mware Site ID
Types ¶
type GetSiteHealthSummaryCompleteResult ¶
type GetSiteHealthSummaryCompleteResult struct {
Items []SiteHealthSummary
}
type GetSiteHealthSummaryOperationResponse ¶
type GetSiteHealthSummaryOperationResponse struct { HttpResponse *http.Response Model *[]SiteHealthSummary // contains filtered or unexported fields }
func (GetSiteHealthSummaryOperationResponse) HasMore ¶
func (r GetSiteHealthSummaryOperationResponse) HasMore() bool
func (GetSiteHealthSummaryOperationResponse) LoadMore ¶
func (r GetSiteHealthSummaryOperationResponse) LoadMore(ctx context.Context) (resp GetSiteHealthSummaryOperationResponse, err error)
type GetSiteOperationResponse ¶
type GetSiteOperationResponse struct { HttpResponse *http.Response Model *VMwareSite }
type GetSiteUsageOperationResponse ¶
type GetSiteUsageOperationResponse struct { HttpResponse *http.Response Model *VMwareSiteUsage }
type PatchSiteOperationResponse ¶
type PatchSiteOperationResponse struct { HttpResponse *http.Response Model *VMwareSite }
type PutSiteOperationResponse ¶
type PutSiteOperationResponse struct { HttpResponse *http.Response Model *VMwareSite }
type SiteAgentProperties ¶
type SiteAgentProperties struct { Id *string `json:"id,omitempty"` KeyVaultId *string `json:"keyVaultId,omitempty"` KeyVaultUri *string `json:"keyVaultUri,omitempty"` LastHeartBeatUtc *string `json:"lastHeartBeatUtc,omitempty"` Version *string `json:"version,omitempty"` }
func (*SiteAgentProperties) GetLastHeartBeatUtcAsTime ¶
func (o *SiteAgentProperties) GetLastHeartBeatUtcAsTime() (*time.Time, error)
func (*SiteAgentProperties) SetLastHeartBeatUtcAsTime ¶
func (o *SiteAgentProperties) SetLastHeartBeatUtcAsTime(input time.Time)
type SiteHealthSummary ¶
type SiteHealthSummary struct { AffectedObjectsCount *int64 `json:"affectedObjectsCount,omitempty"` AffectedResourceType *string `json:"affectedResourceType,omitempty"` AffectedResources *[]string `json:"affectedResources,omitempty"` ApplianceName *string `json:"applianceName,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorId *int64 `json:"errorId,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` HitCount *int64 `json:"hitCount,omitempty"` RemediationGuidance *string `json:"remediationGuidance,omitempty"` Severity *string `json:"severity,omitempty"` SummaryMessage *string `json:"summaryMessage,omitempty"` }
type SiteHealthSummaryOperationPredicate ¶
type SiteHealthSummaryOperationPredicate struct { AffectedObjectsCount *int64 AffectedResourceType *string ApplianceName *string ErrorCode *string ErrorId *int64 ErrorMessage *string HitCount *int64 RemediationGuidance *string Severity *string SummaryMessage *string }
func (SiteHealthSummaryOperationPredicate) Matches ¶
func (p SiteHealthSummaryOperationPredicate) Matches(input SiteHealthSummary) bool
type SiteProperties ¶
type SiteProperties struct { AgentDetails *SiteAgentProperties `json:"agentDetails,omitempty"` ApplianceName *string `json:"applianceName,omitempty"` DiscoverySolutionId *string `json:"discoverySolutionId,omitempty"` ServiceEndpoint *string `json:"serviceEndpoint,omitempty"` ServicePrincipalIdentityDetails *SiteSpnProperties `json:"servicePrincipalIdentityDetails,omitempty"` }
type SiteSpnProperties ¶
type SiteSpnProperties struct { AadAuthority *string `json:"aadAuthority,omitempty"` ApplicationId *string `json:"applicationId,omitempty"` Audience *string `json:"audience,omitempty"` ObjectId *string `json:"objectId,omitempty"` RawCertData *string `json:"rawCertData,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type SitesClient ¶
func NewSitesClientWithBaseURI ¶
func NewSitesClientWithBaseURI(endpoint string) SitesClient
func (SitesClient) DeleteSite ¶
func (c SitesClient) DeleteSite(ctx context.Context, id VMwareSiteId) (result DeleteSiteOperationResponse, err error)
DeleteSite ...
func (SitesClient) GetSite ¶
func (c SitesClient) GetSite(ctx context.Context, id VMwareSiteId) (result GetSiteOperationResponse, err error)
GetSite ...
func (SitesClient) GetSiteHealthSummary ¶
func (c SitesClient) GetSiteHealthSummary(ctx context.Context, id VMwareSiteId) (resp GetSiteHealthSummaryOperationResponse, err error)
GetSiteHealthSummary ...
func (SitesClient) GetSiteHealthSummaryComplete ¶
func (c SitesClient) GetSiteHealthSummaryComplete(ctx context.Context, id VMwareSiteId) (GetSiteHealthSummaryCompleteResult, error)
GetSiteHealthSummaryComplete retrieves all of the results into a single object
func (SitesClient) GetSiteHealthSummaryCompleteMatchingPredicate ¶
func (c SitesClient) GetSiteHealthSummaryCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, predicate SiteHealthSummaryOperationPredicate) (resp GetSiteHealthSummaryCompleteResult, err error)
GetSiteHealthSummaryCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SitesClient) GetSiteUsage ¶
func (c SitesClient) GetSiteUsage(ctx context.Context, id VMwareSiteId) (result GetSiteUsageOperationResponse, err error)
GetSiteUsage ...
func (SitesClient) PatchSite ¶
func (c SitesClient) PatchSite(ctx context.Context, id VMwareSiteId, input VMwareSite) (result PatchSiteOperationResponse, err error)
PatchSite ...
func (SitesClient) PutSite ¶
func (c SitesClient) PutSite(ctx context.Context, id VMwareSiteId, input VMwareSite) (result PutSiteOperationResponse, err error)
PutSite ...
func (SitesClient) RefreshSite ¶
func (c SitesClient) RefreshSite(ctx context.Context, id VMwareSiteId) (result RefreshSiteOperationResponse, err error)
RefreshSite ...
type VMwareSite ¶
type VMwareSite struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SiteProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VMwareSiteId ¶
VMwareSiteId is a struct representing the Resource ID for a V Mware Site
func NewVMwareSiteID ¶
func NewVMwareSiteID(subscriptionId string, resourceGroupName string, vmwareSiteName string) VMwareSiteId
NewVMwareSiteID returns a new VMwareSiteId struct
func ParseVMwareSiteID ¶
func ParseVMwareSiteID(input string) (*VMwareSiteId, error)
ParseVMwareSiteID parses 'input' into a VMwareSiteId
func ParseVMwareSiteIDInsensitively ¶
func ParseVMwareSiteIDInsensitively(input string) (*VMwareSiteId, error)
ParseVMwareSiteIDInsensitively parses 'input' case-insensitively into a VMwareSiteId note: this method should only be used for API response data and not user input
func (VMwareSiteId) ID ¶
func (id VMwareSiteId) ID() string
ID returns the formatted V Mware Site ID
func (VMwareSiteId) Segments ¶
func (id VMwareSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V Mware Site ID
func (VMwareSiteId) String ¶
func (id VMwareSiteId) String() string
String returns a human-readable description of this V Mware Site ID
type VMwareSiteUsage ¶
Source Files ¶
- client.go
- id_vmwaresite.go
- method_deletesite_autorest.go
- method_getsite_autorest.go
- method_getsitehealthsummary_autorest.go
- method_getsiteusage_autorest.go
- method_patchsite_autorest.go
- method_putsite_autorest.go
- method_refreshsite_autorest.go
- model_siteagentproperties.go
- model_sitehealthsummary.go
- model_siteproperties.go
- model_sitespnproperties.go
- model_vmwaresite.go
- model_vmwaresiteusage.go
- predicates.go
- version.go