Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAssessmentStatusCode() []string + func PossibleValuesForExpandEnum() []string + func PossibleValuesForSource() []string + func ValidateScopedAssessmentID(input interface{}, key string) (warnings []string, errors []error) + type AssessmentLinks struct + AzurePortalUri *string + type AssessmentStatus struct + Cause *string + Code AssessmentStatusCode + Description *string + type AssessmentStatusCode string + const AssessmentStatusCodeHealthy + const AssessmentStatusCodeNotApplicable + const AssessmentStatusCodeUnhealthy + func (s *AssessmentStatusCode) UnmarshalJSON(bytes []byte) error + type AssessmentsClient struct + Client *resourcemanager.Client + func NewAssessmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*AssessmentsClient, error) + func (c AssessmentsClient) CreateOrUpdate(ctx context.Context, id ScopedAssessmentId, input SecurityAssessment) (result CreateOrUpdateOperationResponse, err error) + func (c AssessmentsClient) Delete(ctx context.Context, id ScopedAssessmentId) (result DeleteOperationResponse, err error) + func (c AssessmentsClient) Get(ctx context.Context, id ScopedAssessmentId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c AssessmentsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error) + func (c AssessmentsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error) + func (c AssessmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error) + type AzureResourceDetails struct + Id *string + Source Source + func (s AzureResourceDetails) MarshalJSON() ([]byte, error) + func (s AzureResourceDetails) ResourceDetails() BaseResourceDetailsImpl + type BaseResourceDetailsImpl struct + Source Source + func (s BaseResourceDetailsImpl) ResourceDetails() BaseResourceDetailsImpl + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *SecurityAssessment + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ExpandEnum string + const ExpandEnumLinks + const ExpandEnumMetadata + func (s *ExpandEnum) UnmarshalJSON(bytes []byte) error + type GetOperationOptions struct + Expand *ExpandEnum + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *SecurityAssessment + OData *odata.OData + type ListCompleteResult struct + Items []SecurityAssessment + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]SecurityAssessment + OData *odata.OData + type OnPremiseResourceDetails struct + MachineName string + Source Source + SourceComputerId string + VMuuid string + WorkspaceId string + func (s OnPremiseResourceDetails) MarshalJSON() ([]byte, error) + func (s OnPremiseResourceDetails) ResourceDetails() BaseResourceDetailsImpl + type RawResourceDetailsImpl struct + Type string + Values map[string]interface{} + func (s RawResourceDetailsImpl) ResourceDetails() BaseResourceDetailsImpl + type ResourceDetails interface + ResourceDetails func() BaseResourceDetailsImpl + func UnmarshalResourceDetailsImplementation(input []byte) (ResourceDetails, error) + type ScopedAssessmentId struct + AssessmentName string + ResourceId string + func NewScopedAssessmentID(resourceId string, assessmentName string) ScopedAssessmentId + func ParseScopedAssessmentID(input string) (*ScopedAssessmentId, error) + func ParseScopedAssessmentIDInsensitively(input string) (*ScopedAssessmentId, error) + func (id *ScopedAssessmentId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedAssessmentId) ID() string + func (id ScopedAssessmentId) Segments() []resourceids.Segment + func (id ScopedAssessmentId) String() string + type SecurityAssessment struct + Id *string + Name *string + Properties *SecurityAssessmentProperties + Type *string + type SecurityAssessmentOperationPredicate struct + Id *string + Name *string + Type *string + func (p SecurityAssessmentOperationPredicate) Matches(input SecurityAssessment) bool + type SecurityAssessmentProperties struct + AdditionalData *map[string]string + DisplayName *string + Links *AssessmentLinks + ResourceDetails ResourceDetails + Status AssessmentStatus + func (s *SecurityAssessmentProperties) UnmarshalJSON(bytes []byte) error + type Source string + const SourceAzure + const SourceOnPremise + const SourceOnPremiseSql + func (s *Source) UnmarshalJSON(bytes []byte) error