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 PossibleValuesForComplianceState() []string + func ValidateAttestationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateProviderAttestationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateScopedAttestationID(input interface{}, key string) (warnings []string, errors []error) + type Attestation struct + Id *string + Name *string + Properties AttestationProperties + SystemData *systemdata.SystemData + Type *string + type AttestationEvidence struct + Description *string + SourceUri *string + type AttestationId struct + AttestationName string + SubscriptionId string + func NewAttestationID(subscriptionId string, attestationName string) AttestationId + func ParseAttestationID(input string) (*AttestationId, error) + func ParseAttestationIDInsensitively(input string) (*AttestationId, error) + func (id *AttestationId) FromParseResult(input resourceids.ParseResult) error + func (id AttestationId) ID() string + func (id AttestationId) Segments() []resourceids.Segment + func (id AttestationId) String() string + type AttestationOperationPredicate struct + Id *string + Name *string + Type *string + func (p AttestationOperationPredicate) Matches(input Attestation) bool + type AttestationProperties struct + AssessmentDate *string + Comments *string + ComplianceState *ComplianceState + Evidence *[]AttestationEvidence + ExpiresOn *string + LastComplianceStateChangeAt *string + Metadata *interface{} + Owner *string + PolicyAssignmentId string + PolicyDefinitionReferenceId *string + ProvisioningState *string + func (o *AttestationProperties) GetAssessmentDateAsTime() (*time.Time, error) + func (o *AttestationProperties) GetExpiresOnAsTime() (*time.Time, error) + func (o *AttestationProperties) GetLastComplianceStateChangeAtAsTime() (*time.Time, error) + func (o *AttestationProperties) SetAssessmentDateAsTime(input time.Time) + func (o *AttestationProperties) SetExpiresOnAsTime(input time.Time) + func (o *AttestationProperties) SetLastComplianceStateChangeAtAsTime(input time.Time) + type AttestationsClient struct + Client *resourcemanager.Client + func NewAttestationsClientWithBaseURI(sdkApi sdkEnv.Api) (*AttestationsClient, error) + func (c AttestationsClient) CreateOrUpdateAtResource(ctx context.Context, id ScopedAttestationId, input Attestation) (result CreateOrUpdateAtResourceOperationResponse, err error) + func (c AttestationsClient) CreateOrUpdateAtResourceGroup(ctx context.Context, id ProviderAttestationId, input Attestation) (result CreateOrUpdateAtResourceGroupOperationResponse, err error) + func (c AttestationsClient) CreateOrUpdateAtResourceGroupThenPoll(ctx context.Context, id ProviderAttestationId, input Attestation) error + func (c AttestationsClient) CreateOrUpdateAtResourceThenPoll(ctx context.Context, id ScopedAttestationId, input Attestation) error + func (c AttestationsClient) CreateOrUpdateAtSubscription(ctx context.Context, id AttestationId, input Attestation) (result CreateOrUpdateAtSubscriptionOperationResponse, err error) + func (c AttestationsClient) CreateOrUpdateAtSubscriptionThenPoll(ctx context.Context, id AttestationId, input Attestation) error + func (c AttestationsClient) DeleteAtResource(ctx context.Context, id ScopedAttestationId) (result DeleteAtResourceOperationResponse, err error) + func (c AttestationsClient) DeleteAtResourceGroup(ctx context.Context, id ProviderAttestationId) (result DeleteAtResourceGroupOperationResponse, err error) + func (c AttestationsClient) DeleteAtSubscription(ctx context.Context, id AttestationId) (result DeleteAtSubscriptionOperationResponse, err error) + func (c AttestationsClient) GetAtResource(ctx context.Context, id ScopedAttestationId) (result GetAtResourceOperationResponse, err error) + func (c AttestationsClient) GetAtResourceGroup(ctx context.Context, id ProviderAttestationId) (result GetAtResourceGroupOperationResponse, err error) + func (c AttestationsClient) GetAtSubscription(ctx context.Context, id AttestationId) (result GetAtSubscriptionOperationResponse, err error) + func (c AttestationsClient) ListForResource(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceOperationResponse, err error) + func (c AttestationsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForResourceCompleteResult, error) + func (c AttestationsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceCompleteResult, err error) + func (c AttestationsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupOperationResponse, err error) + func (c AttestationsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListForResourceGroupCompleteResult, error) + func (c AttestationsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupCompleteResult, err error) + func (c AttestationsClient) ListForSubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListForSubscriptionOperationResponse, err error) + func (c AttestationsClient) ListForSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListForSubscriptionCompleteResult, error) + func (c AttestationsClient) ListForSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListForSubscriptionCompleteResult, err error) + type ComplianceState string + const ComplianceStateCompliant + const ComplianceStateNonCompliant + const ComplianceStateUnknown + func (s *ComplianceState) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateAtResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *Attestation + OData *odata.OData + Poller pollers.Poller + type CreateOrUpdateAtResourceOperationResponse struct + HttpResponse *http.Response + Model *Attestation + OData *odata.OData + Poller pollers.Poller + type CreateOrUpdateAtSubscriptionOperationResponse struct + HttpResponse *http.Response + Model *Attestation + OData *odata.OData + Poller pollers.Poller + type DeleteAtResourceGroupOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteAtResourceOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteAtSubscriptionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetAtResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *Attestation + OData *odata.OData + type GetAtResourceOperationResponse struct + HttpResponse *http.Response + Model *Attestation + OData *odata.OData + type GetAtSubscriptionOperationResponse struct + HttpResponse *http.Response + Model *Attestation + OData *odata.OData + type ListForResourceCompleteResult struct + Items []Attestation + LatestHttpResponse *http.Response + type ListForResourceCustomPager struct + NextLink *odata.Link + func (p *ListForResourceCustomPager) NextPageLink() *odata.Link + type ListForResourceGroupCompleteResult struct + Items []Attestation + LatestHttpResponse *http.Response + type ListForResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListForResourceGroupCustomPager) NextPageLink() *odata.Link + type ListForResourceGroupOperationOptions struct + Filter *string + Top *int64 + func DefaultListForResourceGroupOperationOptions() ListForResourceGroupOperationOptions + func (o ListForResourceGroupOperationOptions) ToHeaders() *client.Headers + func (o ListForResourceGroupOperationOptions) ToOData() *odata.Query + func (o ListForResourceGroupOperationOptions) ToQuery() *client.QueryParams + type ListForResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Attestation + OData *odata.OData + type ListForResourceOperationOptions struct + Filter *string + Top *int64 + func DefaultListForResourceOperationOptions() ListForResourceOperationOptions + func (o ListForResourceOperationOptions) ToHeaders() *client.Headers + func (o ListForResourceOperationOptions) ToOData() *odata.Query + func (o ListForResourceOperationOptions) ToQuery() *client.QueryParams + type ListForResourceOperationResponse struct + HttpResponse *http.Response + Model *[]Attestation + OData *odata.OData + type ListForSubscriptionCompleteResult struct + Items []Attestation + LatestHttpResponse *http.Response + type ListForSubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListForSubscriptionCustomPager) NextPageLink() *odata.Link + type ListForSubscriptionOperationOptions struct + Filter *string + Top *int64 + func DefaultListForSubscriptionOperationOptions() ListForSubscriptionOperationOptions + func (o ListForSubscriptionOperationOptions) ToHeaders() *client.Headers + func (o ListForSubscriptionOperationOptions) ToOData() *odata.Query + func (o ListForSubscriptionOperationOptions) ToQuery() *client.QueryParams + type ListForSubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]Attestation + OData *odata.OData + type ProviderAttestationId struct + AttestationName string + ResourceGroupName string + SubscriptionId string + func NewProviderAttestationID(subscriptionId string, resourceGroupName string, attestationName string) ProviderAttestationId + func ParseProviderAttestationID(input string) (*ProviderAttestationId, error) + func ParseProviderAttestationIDInsensitively(input string) (*ProviderAttestationId, error) + func (id *ProviderAttestationId) FromParseResult(input resourceids.ParseResult) error + func (id ProviderAttestationId) ID() string + func (id ProviderAttestationId) Segments() []resourceids.Segment + func (id ProviderAttestationId) String() string + type ScopedAttestationId struct + AttestationName string + ResourceId string + func NewScopedAttestationID(resourceId string, attestationName string) ScopedAttestationId + func ParseScopedAttestationID(input string) (*ScopedAttestationId, error) + func ParseScopedAttestationIDInsensitively(input string) (*ScopedAttestationId, error) + func (id *ScopedAttestationId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedAttestationId) ID() string + func (id ScopedAttestationId) Segments() []resourceids.Segment + func (id ScopedAttestationId) String() string