Documentation ¶
Index ¶
- func ValidateVMwareSiteID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteSiteOperationResponse
- type GetSiteHealthSummaryCompleteResult
- type GetSiteHealthSummaryCustomPager
- 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) (result GetSiteHealthSummaryOperationResponse, err error)
- func (c SitesClient) GetSiteHealthSummaryComplete(ctx context.Context, id VMwareSiteId) (GetSiteHealthSummaryCompleteResult, error)
- func (c SitesClient) GetSiteHealthSummaryCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, ...) (result 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 { LatestHttpResponse *http.Response Items []SiteHealthSummary }
type GetSiteHealthSummaryCustomPager ¶ added in v0.20240628.1153531
func (*GetSiteHealthSummaryCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *GetSiteHealthSummaryCustomPager) NextPageLink() *odata.Link
type GetSiteHealthSummaryOperationResponse ¶
type GetSiteHealthSummaryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SiteHealthSummary }
type GetSiteOperationResponse ¶
type GetSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMwareSite }
type GetSiteUsageOperationResponse ¶
type GetSiteUsageOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMwareSiteUsage }
type PatchSiteOperationResponse ¶
type PatchSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMwareSite }
type PutSiteOperationResponse ¶
type PutSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 ¶
type SitesClient struct {
Client *resourcemanager.Client
}
func NewSitesClientWithBaseURI ¶
func NewSitesClientWithBaseURI(sdkApi sdkEnv.Api) (*SitesClient, error)
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) (result GetSiteHealthSummaryOperationResponse, err error)
GetSiteHealthSummary ...
func (SitesClient) GetSiteHealthSummaryComplete ¶
func (c SitesClient) GetSiteHealthSummaryComplete(ctx context.Context, id VMwareSiteId) (GetSiteHealthSummaryCompleteResult, error)
GetSiteHealthSummaryComplete retrieves all the results into a single object
func (SitesClient) GetSiteHealthSummaryCompleteMatchingPredicate ¶
func (c SitesClient) GetSiteHealthSummaryCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, predicate SiteHealthSummaryOperationPredicate) (result GetSiteHealthSummaryCompleteResult, err error)
GetSiteHealthSummaryCompleteMatchingPredicate retrieves all the results and then applies 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"` SystemData *systemdata.SystemData `json:"systemData,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) FromParseResult ¶
func (id *VMwareSiteId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_getsite.go
- method_getsitehealthsummary.go
- method_getsiteusage.go
- method_patchsite.go
- method_putsite.go
- method_refreshsite.go
- model_siteagentproperties.go
- model_sitehealthsummary.go
- model_siteproperties.go
- model_sitespnproperties.go
- model_vmwaresite.go
- model_vmwaresiteusage.go
- predicates.go
- version.go