Documentation ¶
Index ¶
- 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
- type AttestationEvidence
- type AttestationId
- type AttestationOperationPredicate
- type AttestationProperties
- 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
- 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
- type CreateOrUpdateAtResourceGroupOperationResponse
- type CreateOrUpdateAtResourceOperationResponse
- type CreateOrUpdateAtSubscriptionOperationResponse
- type DeleteAtResourceGroupOperationResponse
- type DeleteAtResourceOperationResponse
- type DeleteAtSubscriptionOperationResponse
- type GetAtResourceGroupOperationResponse
- type GetAtResourceOperationResponse
- type GetAtSubscriptionOperationResponse
- type ListForResourceCompleteResult
- type ListForResourceCustomPager
- type ListForResourceGroupCompleteResult
- type ListForResourceGroupCustomPager
- type ListForResourceGroupOperationOptions
- type ListForResourceGroupOperationResponse
- type ListForResourceOperationOptions
- type ListForResourceOperationResponse
- type ListForSubscriptionCompleteResult
- type ListForSubscriptionCustomPager
- type ListForSubscriptionOperationOptions
- type ListForSubscriptionOperationResponse
- type ProviderAttestationId
- type ScopedAttestationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForComplianceState ¶
func PossibleValuesForComplianceState() []string
func ValidateAttestationID ¶
ValidateAttestationID checks that 'input' can be parsed as a Attestation ID
func ValidateProviderAttestationID ¶
func ValidateProviderAttestationID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderAttestationID checks that 'input' can be parsed as a Provider Attestation ID
func ValidateScopedAttestationID ¶
ValidateScopedAttestationID checks that 'input' can be parsed as a Scoped Attestation ID
Types ¶
type Attestation ¶
type Attestation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AttestationProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AttestationEvidence ¶
type AttestationId ¶
AttestationId is a struct representing the Resource ID for a Attestation
func NewAttestationID ¶
func NewAttestationID(subscriptionId string, attestationName string) AttestationId
NewAttestationID returns a new AttestationId struct
func ParseAttestationID ¶
func ParseAttestationID(input string) (*AttestationId, error)
ParseAttestationID parses 'input' into a AttestationId
func ParseAttestationIDInsensitively ¶
func ParseAttestationIDInsensitively(input string) (*AttestationId, error)
ParseAttestationIDInsensitively parses 'input' case-insensitively into a AttestationId note: this method should only be used for API response data and not user input
func (*AttestationId) FromParseResult ¶
func (id *AttestationId) FromParseResult(input resourceids.ParseResult) error
func (AttestationId) ID ¶
func (id AttestationId) ID() string
ID returns the formatted Attestation ID
func (AttestationId) Segments ¶
func (id AttestationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Attestation ID
func (AttestationId) String ¶
func (id AttestationId) String() string
String returns a human-readable description of this Attestation ID
type AttestationOperationPredicate ¶
func (AttestationOperationPredicate) Matches ¶
func (p AttestationOperationPredicate) Matches(input Attestation) bool
type AttestationProperties ¶
type AttestationProperties struct { AssessmentDate *string `json:"assessmentDate,omitempty"` Comments *string `json:"comments,omitempty"` ComplianceState *ComplianceState `json:"complianceState,omitempty"` Evidence *[]AttestationEvidence `json:"evidence,omitempty"` ExpiresOn *string `json:"expiresOn,omitempty"` LastComplianceStateChangeAt *string `json:"lastComplianceStateChangeAt,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Owner *string `json:"owner,omitempty"` PolicyAssignmentId string `json:"policyAssignmentId"` PolicyDefinitionReferenceId *string `json:"policyDefinitionReferenceId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (*AttestationProperties) GetAssessmentDateAsTime ¶
func (o *AttestationProperties) GetAssessmentDateAsTime() (*time.Time, error)
func (*AttestationProperties) GetExpiresOnAsTime ¶
func (o *AttestationProperties) GetExpiresOnAsTime() (*time.Time, error)
func (*AttestationProperties) GetLastComplianceStateChangeAtAsTime ¶
func (o *AttestationProperties) GetLastComplianceStateChangeAtAsTime() (*time.Time, error)
func (*AttestationProperties) SetAssessmentDateAsTime ¶
func (o *AttestationProperties) SetAssessmentDateAsTime(input time.Time)
func (*AttestationProperties) SetExpiresOnAsTime ¶
func (o *AttestationProperties) SetExpiresOnAsTime(input time.Time)
func (*AttestationProperties) SetLastComplianceStateChangeAtAsTime ¶
func (o *AttestationProperties) SetLastComplianceStateChangeAtAsTime(input time.Time)
type AttestationsClient ¶
type AttestationsClient struct {
Client *resourcemanager.Client
}
func NewAttestationsClientWithBaseURI ¶
func NewAttestationsClientWithBaseURI(sdkApi sdkEnv.Api) (*AttestationsClient, error)
func (AttestationsClient) CreateOrUpdateAtResource ¶
func (c AttestationsClient) CreateOrUpdateAtResource(ctx context.Context, id ScopedAttestationId, input Attestation) (result CreateOrUpdateAtResourceOperationResponse, err error)
CreateOrUpdateAtResource ...
func (AttestationsClient) CreateOrUpdateAtResourceGroup ¶
func (c AttestationsClient) CreateOrUpdateAtResourceGroup(ctx context.Context, id ProviderAttestationId, input Attestation) (result CreateOrUpdateAtResourceGroupOperationResponse, err error)
CreateOrUpdateAtResourceGroup ...
func (AttestationsClient) CreateOrUpdateAtResourceGroupThenPoll ¶
func (c AttestationsClient) CreateOrUpdateAtResourceGroupThenPoll(ctx context.Context, id ProviderAttestationId, input Attestation) error
CreateOrUpdateAtResourceGroupThenPoll performs CreateOrUpdateAtResourceGroup then polls until it's completed
func (AttestationsClient) CreateOrUpdateAtResourceThenPoll ¶
func (c AttestationsClient) CreateOrUpdateAtResourceThenPoll(ctx context.Context, id ScopedAttestationId, input Attestation) error
CreateOrUpdateAtResourceThenPoll performs CreateOrUpdateAtResource then polls until it's completed
func (AttestationsClient) CreateOrUpdateAtSubscription ¶
func (c AttestationsClient) CreateOrUpdateAtSubscription(ctx context.Context, id AttestationId, input Attestation) (result CreateOrUpdateAtSubscriptionOperationResponse, err error)
CreateOrUpdateAtSubscription ...
func (AttestationsClient) CreateOrUpdateAtSubscriptionThenPoll ¶
func (c AttestationsClient) CreateOrUpdateAtSubscriptionThenPoll(ctx context.Context, id AttestationId, input Attestation) error
CreateOrUpdateAtSubscriptionThenPoll performs CreateOrUpdateAtSubscription then polls until it's completed
func (AttestationsClient) DeleteAtResource ¶
func (c AttestationsClient) DeleteAtResource(ctx context.Context, id ScopedAttestationId) (result DeleteAtResourceOperationResponse, err error)
DeleteAtResource ...
func (AttestationsClient) DeleteAtResourceGroup ¶
func (c AttestationsClient) DeleteAtResourceGroup(ctx context.Context, id ProviderAttestationId) (result DeleteAtResourceGroupOperationResponse, err error)
DeleteAtResourceGroup ...
func (AttestationsClient) DeleteAtSubscription ¶
func (c AttestationsClient) DeleteAtSubscription(ctx context.Context, id AttestationId) (result DeleteAtSubscriptionOperationResponse, err error)
DeleteAtSubscription ...
func (AttestationsClient) GetAtResource ¶
func (c AttestationsClient) GetAtResource(ctx context.Context, id ScopedAttestationId) (result GetAtResourceOperationResponse, err error)
GetAtResource ...
func (AttestationsClient) GetAtResourceGroup ¶
func (c AttestationsClient) GetAtResourceGroup(ctx context.Context, id ProviderAttestationId) (result GetAtResourceGroupOperationResponse, err error)
GetAtResourceGroup ...
func (AttestationsClient) GetAtSubscription ¶
func (c AttestationsClient) GetAtSubscription(ctx context.Context, id AttestationId) (result GetAtSubscriptionOperationResponse, err error)
GetAtSubscription ...
func (AttestationsClient) ListForResource ¶
func (c AttestationsClient) ListForResource(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (AttestationsClient) ListForResourceComplete ¶
func (c AttestationsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (AttestationsClient) ListForResourceCompleteMatchingPredicate ¶
func (c AttestationsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions, predicate AttestationOperationPredicate) (result ListForResourceCompleteResult, err error)
ListForResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AttestationsClient) ListForResourceGroup ¶
func (c AttestationsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (AttestationsClient) ListForResourceGroupComplete ¶
func (c AttestationsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (ListForResourceGroupCompleteResult, error)
ListForResourceGroupComplete retrieves all the results into a single object
func (AttestationsClient) ListForResourceGroupCompleteMatchingPredicate ¶
func (c AttestationsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions, predicate AttestationOperationPredicate) (result ListForResourceGroupCompleteResult, err error)
ListForResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AttestationsClient) ListForSubscription ¶
func (c AttestationsClient) ListForSubscription(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions) (result ListForSubscriptionOperationResponse, err error)
ListForSubscription ...
func (AttestationsClient) ListForSubscriptionComplete ¶
func (c AttestationsClient) ListForSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions) (ListForSubscriptionCompleteResult, error)
ListForSubscriptionComplete retrieves all the results into a single object
func (AttestationsClient) ListForSubscriptionCompleteMatchingPredicate ¶
func (c AttestationsClient) ListForSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions, predicate AttestationOperationPredicate) (result ListForSubscriptionCompleteResult, err error)
ListForSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ComplianceState ¶
type ComplianceState string
const ( ComplianceStateCompliant ComplianceState = "Compliant" ComplianceStateNonCompliant ComplianceState = "NonCompliant" ComplianceStateUnknown ComplianceState = "Unknown" )
func (*ComplianceState) UnmarshalJSON ¶
func (s *ComplianceState) UnmarshalJSON(bytes []byte) error
type GetAtResourceGroupOperationResponse ¶
type GetAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Attestation }
type GetAtResourceOperationResponse ¶
type GetAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Attestation }
type GetAtSubscriptionOperationResponse ¶
type GetAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Attestation }
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct { LatestHttpResponse *http.Response Items []Attestation }
type ListForResourceCustomPager ¶
func (*ListForResourceCustomPager) NextPageLink ¶
func (p *ListForResourceCustomPager) NextPageLink() *odata.Link
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []Attestation }
type ListForResourceGroupCustomPager ¶
func (*ListForResourceGroupCustomPager) NextPageLink ¶
func (p *ListForResourceGroupCustomPager) NextPageLink() *odata.Link
type ListForResourceGroupOperationOptions ¶
func DefaultListForResourceGroupOperationOptions ¶
func DefaultListForResourceGroupOperationOptions() ListForResourceGroupOperationOptions
func (ListForResourceGroupOperationOptions) ToHeaders ¶
func (o ListForResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListForResourceGroupOperationOptions) ToOData ¶
func (o ListForResourceGroupOperationOptions) ToOData() *odata.Query
func (ListForResourceGroupOperationOptions) ToQuery ¶
func (o ListForResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListForResourceGroupOperationResponse ¶
type ListForResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Attestation }
type ListForResourceOperationOptions ¶
func DefaultListForResourceOperationOptions ¶
func DefaultListForResourceOperationOptions() ListForResourceOperationOptions
func (ListForResourceOperationOptions) ToHeaders ¶
func (o ListForResourceOperationOptions) ToHeaders() *client.Headers
func (ListForResourceOperationOptions) ToOData ¶
func (o ListForResourceOperationOptions) ToOData() *odata.Query
func (ListForResourceOperationOptions) ToQuery ¶
func (o ListForResourceOperationOptions) ToQuery() *client.QueryParams
type ListForResourceOperationResponse ¶
type ListForResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Attestation }
type ListForSubscriptionCompleteResult ¶
type ListForSubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []Attestation }
type ListForSubscriptionCustomPager ¶
func (*ListForSubscriptionCustomPager) NextPageLink ¶
func (p *ListForSubscriptionCustomPager) NextPageLink() *odata.Link
type ListForSubscriptionOperationOptions ¶
func DefaultListForSubscriptionOperationOptions ¶
func DefaultListForSubscriptionOperationOptions() ListForSubscriptionOperationOptions
func (ListForSubscriptionOperationOptions) ToHeaders ¶
func (o ListForSubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListForSubscriptionOperationOptions) ToOData ¶
func (o ListForSubscriptionOperationOptions) ToOData() *odata.Query
func (ListForSubscriptionOperationOptions) ToQuery ¶
func (o ListForSubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListForSubscriptionOperationResponse ¶
type ListForSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Attestation }
type ProviderAttestationId ¶
type ProviderAttestationId struct { SubscriptionId string ResourceGroupName string AttestationName string }
ProviderAttestationId is a struct representing the Resource ID for a Provider Attestation
func NewProviderAttestationID ¶
func NewProviderAttestationID(subscriptionId string, resourceGroupName string, attestationName string) ProviderAttestationId
NewProviderAttestationID returns a new ProviderAttestationId struct
func ParseProviderAttestationID ¶
func ParseProviderAttestationID(input string) (*ProviderAttestationId, error)
ParseProviderAttestationID parses 'input' into a ProviderAttestationId
func ParseProviderAttestationIDInsensitively ¶
func ParseProviderAttestationIDInsensitively(input string) (*ProviderAttestationId, error)
ParseProviderAttestationIDInsensitively parses 'input' case-insensitively into a ProviderAttestationId note: this method should only be used for API response data and not user input
func (*ProviderAttestationId) FromParseResult ¶
func (id *ProviderAttestationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderAttestationId) ID ¶
func (id ProviderAttestationId) ID() string
ID returns the formatted Provider Attestation ID
func (ProviderAttestationId) Segments ¶
func (id ProviderAttestationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Attestation ID
func (ProviderAttestationId) String ¶
func (id ProviderAttestationId) String() string
String returns a human-readable description of this Provider Attestation ID
type ScopedAttestationId ¶
ScopedAttestationId is a struct representing the Resource ID for a Scoped Attestation
func NewScopedAttestationID ¶
func NewScopedAttestationID(resourceId string, attestationName string) ScopedAttestationId
NewScopedAttestationID returns a new ScopedAttestationId struct
func ParseScopedAttestationID ¶
func ParseScopedAttestationID(input string) (*ScopedAttestationId, error)
ParseScopedAttestationID parses 'input' into a ScopedAttestationId
func ParseScopedAttestationIDInsensitively ¶
func ParseScopedAttestationIDInsensitively(input string) (*ScopedAttestationId, error)
ParseScopedAttestationIDInsensitively parses 'input' case-insensitively into a ScopedAttestationId note: this method should only be used for API response data and not user input
func (*ScopedAttestationId) FromParseResult ¶
func (id *ScopedAttestationId) FromParseResult(input resourceids.ParseResult) error
func (ScopedAttestationId) ID ¶
func (id ScopedAttestationId) ID() string
ID returns the formatted Scoped Attestation ID
func (ScopedAttestationId) Segments ¶
func (id ScopedAttestationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Attestation ID
func (ScopedAttestationId) String ¶
func (id ScopedAttestationId) String() string
String returns a human-readable description of this Scoped Attestation ID
Source Files ¶
- client.go
- constants.go
- id_attestation.go
- id_providerattestation.go
- id_scopedattestation.go
- method_createorupdateatresource.go
- method_createorupdateatresourcegroup.go
- method_createorupdateatsubscription.go
- method_deleteatresource.go
- method_deleteatresourcegroup.go
- method_deleteatsubscription.go
- method_getatresource.go
- method_getatresourcegroup.go
- method_getatsubscription.go
- method_listforresource.go
- method_listforresourcegroup.go
- method_listforsubscription.go
- model_attestation.go
- model_attestationevidence.go
- model_attestationproperties.go
- predicates.go
- version.go