Documentation ¶
Index ¶
- func PossibleValuesForAttestationComplianceState() []string
- func PossibleValuesForEffect() []string
- func PossibleValuesForExemptionCategory() []string
- func ValidateScopedStandardAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type AssignedAssessmentItem
- type AssignedStandardItem
- type AttestationComplianceState
- type AttestationEvidence
- type CreateOperationResponse
- type DeleteOperationResponse
- type Effect
- type ExemptionCategory
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ScopedStandardAssignmentId
- func NewScopedStandardAssignmentID(resourceId string, standardAssignmentName string) ScopedStandardAssignmentId
- func ParseScopedStandardAssignmentID(input string) (*ScopedStandardAssignmentId, error)
- func ParseScopedStandardAssignmentIDInsensitively(input string) (*ScopedStandardAssignmentId, error)
- type StandardAssignment
- type StandardAssignmentMetadata
- func (o *StandardAssignmentMetadata) GetCreatedOnAsTime() (*time.Time, error)
- func (o *StandardAssignmentMetadata) GetLastUpdatedOnAsTime() (*time.Time, error)
- func (o *StandardAssignmentMetadata) SetCreatedOnAsTime(input time.Time)
- func (o *StandardAssignmentMetadata) SetLastUpdatedOnAsTime(input time.Time)
- type StandardAssignmentOperationPredicate
- type StandardAssignmentProperties
- type StandardAssignmentPropertiesAttestationData
- type StandardAssignmentPropertiesExemptionData
- type StandardAssignmentsClient
- func (c StandardAssignmentsClient) Create(ctx context.Context, id ScopedStandardAssignmentId, input StandardAssignment) (result CreateOperationResponse, err error)
- func (c StandardAssignmentsClient) Delete(ctx context.Context, id ScopedStandardAssignmentId) (result DeleteOperationResponse, err error)
- func (c StandardAssignmentsClient) Get(ctx context.Context, id ScopedStandardAssignmentId) (result GetOperationResponse, err error)
- func (c StandardAssignmentsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c StandardAssignmentsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c StandardAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAttestationComplianceState ¶
func PossibleValuesForAttestationComplianceState() []string
func PossibleValuesForEffect ¶
func PossibleValuesForEffect() []string
func PossibleValuesForExemptionCategory ¶
func PossibleValuesForExemptionCategory() []string
func ValidateScopedStandardAssignmentID ¶
func ValidateScopedStandardAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedStandardAssignmentID checks that 'input' can be parsed as a Scoped Standard Assignment ID
Types ¶
type AssignedAssessmentItem ¶
type AssignedAssessmentItem struct {
AssessmentKey *string `json:"assessmentKey,omitempty"`
}
type AssignedStandardItem ¶
type AssignedStandardItem struct {
Id *string `json:"id,omitempty"`
}
type AttestationComplianceState ¶
type AttestationComplianceState string
const ( AttestationComplianceStateCompliant AttestationComplianceState = "compliant" AttestationComplianceStateNonCompliant AttestationComplianceState = "nonCompliant" AttestationComplianceStateUnknown AttestationComplianceState = "unknown" )
func (*AttestationComplianceState) UnmarshalJSON ¶
func (s *AttestationComplianceState) UnmarshalJSON(bytes []byte) error
type AttestationEvidence ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandardAssignment }
type DeleteOperationResponse ¶
type ExemptionCategory ¶
type ExemptionCategory string
const ( ExemptionCategoryMitigated ExemptionCategory = "mitigated" ExemptionCategoryWaiver ExemptionCategory = "waiver" )
func (*ExemptionCategory) UnmarshalJSON ¶
func (s *ExemptionCategory) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandardAssignment }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []StandardAssignment }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StandardAssignment }
type ScopedStandardAssignmentId ¶
ScopedStandardAssignmentId is a struct representing the Resource ID for a Scoped Standard Assignment
func NewScopedStandardAssignmentID ¶
func NewScopedStandardAssignmentID(resourceId string, standardAssignmentName string) ScopedStandardAssignmentId
NewScopedStandardAssignmentID returns a new ScopedStandardAssignmentId struct
func ParseScopedStandardAssignmentID ¶
func ParseScopedStandardAssignmentID(input string) (*ScopedStandardAssignmentId, error)
ParseScopedStandardAssignmentID parses 'input' into a ScopedStandardAssignmentId
func ParseScopedStandardAssignmentIDInsensitively ¶
func ParseScopedStandardAssignmentIDInsensitively(input string) (*ScopedStandardAssignmentId, error)
ParseScopedStandardAssignmentIDInsensitively parses 'input' case-insensitively into a ScopedStandardAssignmentId note: this method should only be used for API response data and not user input
func (*ScopedStandardAssignmentId) FromParseResult ¶
func (id *ScopedStandardAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (ScopedStandardAssignmentId) ID ¶
func (id ScopedStandardAssignmentId) ID() string
ID returns the formatted Scoped Standard Assignment ID
func (ScopedStandardAssignmentId) Segments ¶
func (id ScopedStandardAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Standard Assignment ID
func (ScopedStandardAssignmentId) String ¶
func (id ScopedStandardAssignmentId) String() string
String returns a human-readable description of this Scoped Standard Assignment ID
type StandardAssignment ¶
type StandardAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StandardAssignmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type StandardAssignmentMetadata ¶
type StandardAssignmentMetadata struct { CreatedBy *string `json:"createdBy,omitempty"` CreatedOn *string `json:"createdOn,omitempty"` LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"` LastUpdatedOn *string `json:"lastUpdatedOn,omitempty"` }
func (*StandardAssignmentMetadata) GetCreatedOnAsTime ¶
func (o *StandardAssignmentMetadata) GetCreatedOnAsTime() (*time.Time, error)
func (*StandardAssignmentMetadata) GetLastUpdatedOnAsTime ¶
func (o *StandardAssignmentMetadata) GetLastUpdatedOnAsTime() (*time.Time, error)
func (*StandardAssignmentMetadata) SetCreatedOnAsTime ¶
func (o *StandardAssignmentMetadata) SetCreatedOnAsTime(input time.Time)
func (*StandardAssignmentMetadata) SetLastUpdatedOnAsTime ¶
func (o *StandardAssignmentMetadata) SetLastUpdatedOnAsTime(input time.Time)
type StandardAssignmentOperationPredicate ¶
func (StandardAssignmentOperationPredicate) Matches ¶
func (p StandardAssignmentOperationPredicate) Matches(input StandardAssignment) bool
type StandardAssignmentProperties ¶
type StandardAssignmentProperties struct { AssignedStandard *AssignedStandardItem `json:"assignedStandard,omitempty"` AttestationData *StandardAssignmentPropertiesAttestationData `json:"attestationData,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Effect *Effect `json:"effect,omitempty"` ExcludedScopes *[]string `json:"excludedScopes,omitempty"` ExemptionData *StandardAssignmentPropertiesExemptionData `json:"exemptionData,omitempty"` ExpiresOn *string `json:"expiresOn,omitempty"` Metadata *StandardAssignmentMetadata `json:"metadata,omitempty"` }
func (*StandardAssignmentProperties) GetExpiresOnAsTime ¶
func (o *StandardAssignmentProperties) GetExpiresOnAsTime() (*time.Time, error)
func (*StandardAssignmentProperties) SetExpiresOnAsTime ¶
func (o *StandardAssignmentProperties) SetExpiresOnAsTime(input time.Time)
type StandardAssignmentPropertiesAttestationData ¶
type StandardAssignmentPropertiesAttestationData struct { AssignedAssessment *AssignedAssessmentItem `json:"assignedAssessment,omitempty"` ComplianceDate *string `json:"complianceDate,omitempty"` ComplianceState *AttestationComplianceState `json:"complianceState,omitempty"` Evidence *[]AttestationEvidence `json:"evidence,omitempty"` }
func (*StandardAssignmentPropertiesAttestationData) GetComplianceDateAsTime ¶
func (o *StandardAssignmentPropertiesAttestationData) GetComplianceDateAsTime() (*time.Time, error)
func (*StandardAssignmentPropertiesAttestationData) SetComplianceDateAsTime ¶
func (o *StandardAssignmentPropertiesAttestationData) SetComplianceDateAsTime(input time.Time)
type StandardAssignmentPropertiesExemptionData ¶
type StandardAssignmentPropertiesExemptionData struct { AssignedAssessment *AssignedAssessmentItem `json:"assignedAssessment,omitempty"` ExemptionCategory *ExemptionCategory `json:"exemptionCategory,omitempty"` }
type StandardAssignmentsClient ¶
type StandardAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewStandardAssignmentsClientWithBaseURI ¶
func NewStandardAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*StandardAssignmentsClient, error)
func (StandardAssignmentsClient) Create ¶
func (c StandardAssignmentsClient) Create(ctx context.Context, id ScopedStandardAssignmentId, input StandardAssignment) (result CreateOperationResponse, err error)
Create ...
func (StandardAssignmentsClient) Delete ¶
func (c StandardAssignmentsClient) Delete(ctx context.Context, id ScopedStandardAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (StandardAssignmentsClient) Get ¶
func (c StandardAssignmentsClient) Get(ctx context.Context, id ScopedStandardAssignmentId) (result GetOperationResponse, err error)
Get ...
func (StandardAssignmentsClient) List ¶
func (c StandardAssignmentsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (StandardAssignmentsClient) ListComplete ¶
func (c StandardAssignmentsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (StandardAssignmentsClient) ListCompleteMatchingPredicate ¶
func (c StandardAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate StandardAssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_scopedstandardassignment.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- model_assignedassessmentitem.go
- model_assignedstandarditem.go
- model_attestationevidence.go
- model_standardassignment.go
- model_standardassignmentmetadata.go
- model_standardassignmentproperties.go
- model_standardassignmentpropertiesattestationdata.go
- model_standardassignmentpropertiesexemptiondata.go
- predicates.go
- version.go