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 ListForResourceGroupCompleteResult
- type ListForResourceGroupOperationOptions
- type ListForResourceGroupOperationResponse
- type ListForResourceOperationOptions
- type ListForResourceOperationResponse
- type ListForSubscriptionCompleteResult
- 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) 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 ¶ added in v0.20230906.1160501
func (c AttestationsClient) CreateOrUpdateAtResource(ctx context.Context, id ScopedAttestationId, input Attestation) (result CreateOrUpdateAtResourceOperationResponse, err error)
CreateOrUpdateAtResource ...
func (AttestationsClient) CreateOrUpdateAtResourceGroup ¶ added in v0.20230906.1160501
func (c AttestationsClient) CreateOrUpdateAtResourceGroup(ctx context.Context, id ProviderAttestationId, input Attestation) (result CreateOrUpdateAtResourceGroupOperationResponse, err error)
CreateOrUpdateAtResourceGroup ...
func (AttestationsClient) CreateOrUpdateAtResourceGroupThenPoll ¶ added in v0.20230906.1160501
func (c AttestationsClient) CreateOrUpdateAtResourceGroupThenPoll(ctx context.Context, id ProviderAttestationId, input Attestation) error
CreateOrUpdateAtResourceGroupThenPoll performs CreateOrUpdateAtResourceGroup then polls until it's completed
func (AttestationsClient) CreateOrUpdateAtResourceThenPoll ¶ added in v0.20230906.1160501
func (c AttestationsClient) CreateOrUpdateAtResourceThenPoll(ctx context.Context, id ScopedAttestationId, input Attestation) error
CreateOrUpdateAtResourceThenPoll performs CreateOrUpdateAtResource then polls until it's completed
func (AttestationsClient) CreateOrUpdateAtSubscription ¶ added in v0.20230906.1160501
func (c AttestationsClient) CreateOrUpdateAtSubscription(ctx context.Context, id AttestationId, input Attestation) (result CreateOrUpdateAtSubscriptionOperationResponse, err error)
CreateOrUpdateAtSubscription ...
func (AttestationsClient) CreateOrUpdateAtSubscriptionThenPoll ¶ added in v0.20230906.1160501
func (c AttestationsClient) CreateOrUpdateAtSubscriptionThenPoll(ctx context.Context, id AttestationId, input Attestation) error
CreateOrUpdateAtSubscriptionThenPoll performs CreateOrUpdateAtSubscription then polls until it's completed
func (AttestationsClient) DeleteAtResource ¶ added in v0.20230906.1160501
func (c AttestationsClient) DeleteAtResource(ctx context.Context, id ScopedAttestationId) (result DeleteAtResourceOperationResponse, err error)
DeleteAtResource ...
func (AttestationsClient) DeleteAtResourceGroup ¶ added in v0.20230906.1160501
func (c AttestationsClient) DeleteAtResourceGroup(ctx context.Context, id ProviderAttestationId) (result DeleteAtResourceGroupOperationResponse, err error)
DeleteAtResourceGroup ...
func (AttestationsClient) DeleteAtSubscription ¶ added in v0.20230906.1160501
func (c AttestationsClient) DeleteAtSubscription(ctx context.Context, id AttestationId) (result DeleteAtSubscriptionOperationResponse, err error)
DeleteAtSubscription ...
func (AttestationsClient) GetAtResource ¶ added in v0.20230906.1160501
func (c AttestationsClient) GetAtResource(ctx context.Context, id ScopedAttestationId) (result GetAtResourceOperationResponse, err error)
GetAtResource ...
func (AttestationsClient) GetAtResourceGroup ¶ added in v0.20230906.1160501
func (c AttestationsClient) GetAtResourceGroup(ctx context.Context, id ProviderAttestationId) (result GetAtResourceGroupOperationResponse, err error)
GetAtResourceGroup ...
func (AttestationsClient) GetAtSubscription ¶ added in v0.20230906.1160501
func (c AttestationsClient) GetAtSubscription(ctx context.Context, id AttestationId) (result GetAtSubscriptionOperationResponse, err error)
GetAtSubscription ...
func (AttestationsClient) ListForResource ¶ added in v0.20230906.1160501
func (c AttestationsClient) ListForResource(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (AttestationsClient) ListForResourceComplete ¶ added in v0.20230906.1160501
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 ¶ added in v0.20230906.1160501
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 ¶ added in v0.20230906.1160501
func (c AttestationsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (AttestationsClient) ListForResourceGroupComplete ¶ added in v0.20230906.1160501
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 ¶ added in v0.20230906.1160501
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 ¶ added in v0.20230906.1160501
func (c AttestationsClient) ListForSubscription(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions) (result ListForSubscriptionOperationResponse, err error)
ListForSubscription ...
func (AttestationsClient) ListForSubscriptionComplete ¶ added in v0.20230906.1160501
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 ¶ added in v0.20230906.1160501
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 ¶ added in v0.20230809.1081239
func (s *ComplianceState) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateAtResourceGroupOperationResponse ¶ added in v0.20230906.1160501
type CreateOrUpdateAtResourceOperationResponse ¶ added in v0.20230906.1160501
type CreateOrUpdateAtSubscriptionOperationResponse ¶ added in v0.20230906.1160501
type DeleteAtResourceGroupOperationResponse ¶ added in v0.20230906.1160501
type DeleteAtResourceOperationResponse ¶ added in v0.20230906.1160501
type DeleteAtSubscriptionOperationResponse ¶ added in v0.20230906.1160501
type GetAtResourceGroupOperationResponse ¶ added in v0.20230906.1160501
type GetAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Attestation }
type GetAtResourceOperationResponse ¶ added in v0.20230906.1160501
type GetAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Attestation }
type GetAtSubscriptionOperationResponse ¶ added in v0.20230906.1160501
type GetAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Attestation }
type ListForResourceCompleteResult ¶ added in v0.20230906.1160501
type ListForResourceCompleteResult struct {
Items []Attestation
}
type ListForResourceGroupCompleteResult ¶ added in v0.20230906.1160501
type ListForResourceGroupCompleteResult struct {
Items []Attestation
}
type ListForResourceGroupOperationOptions ¶ added in v0.20230906.1160501
func DefaultListForResourceGroupOperationOptions ¶ added in v0.20230906.1160501
func DefaultListForResourceGroupOperationOptions() ListForResourceGroupOperationOptions
func (ListForResourceGroupOperationOptions) ToHeaders ¶ added in v0.20230906.1160501
func (o ListForResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListForResourceGroupOperationOptions) ToOData ¶ added in v0.20230906.1160501
func (o ListForResourceGroupOperationOptions) ToOData() *odata.Query
func (ListForResourceGroupOperationOptions) ToQuery ¶ added in v0.20230906.1160501
func (o ListForResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListForResourceGroupOperationResponse ¶ added in v0.20230906.1160501
type ListForResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Attestation }
type ListForResourceOperationOptions ¶ added in v0.20230906.1160501
func DefaultListForResourceOperationOptions ¶ added in v0.20230906.1160501
func DefaultListForResourceOperationOptions() ListForResourceOperationOptions
func (ListForResourceOperationOptions) ToHeaders ¶ added in v0.20230906.1160501
func (o ListForResourceOperationOptions) ToHeaders() *client.Headers
func (ListForResourceOperationOptions) ToOData ¶ added in v0.20230906.1160501
func (o ListForResourceOperationOptions) ToOData() *odata.Query
func (ListForResourceOperationOptions) ToQuery ¶ added in v0.20230906.1160501
func (o ListForResourceOperationOptions) ToQuery() *client.QueryParams
type ListForResourceOperationResponse ¶ added in v0.20230906.1160501
type ListForResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Attestation }
type ListForSubscriptionCompleteResult ¶ added in v0.20230906.1160501
type ListForSubscriptionCompleteResult struct {
Items []Attestation
}
type ListForSubscriptionOperationOptions ¶ added in v0.20230906.1160501
func DefaultListForSubscriptionOperationOptions ¶ added in v0.20230906.1160501
func DefaultListForSubscriptionOperationOptions() ListForSubscriptionOperationOptions
func (ListForSubscriptionOperationOptions) ToHeaders ¶ added in v0.20230906.1160501
func (o ListForSubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListForSubscriptionOperationOptions) ToOData ¶ added in v0.20230906.1160501
func (o ListForSubscriptionOperationOptions) ToOData() *odata.Query
func (ListForSubscriptionOperationOptions) ToQuery ¶ added in v0.20230906.1160501
func (o ListForSubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListForSubscriptionOperationResponse ¶ added in v0.20230906.1160501
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) 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) 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