Documentation ¶
Index ¶
- func PossibleValuesForComplianceAssignmentType() []string
- func PossibleValuesForComplianceStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSecuritySettingID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type ComplianceAssignmentType
- type ComplianceStatus
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByClustersCompleteResult
- type ListByClustersCustomPager
- type ListByClustersOperationResponse
- type ProvisioningState
- type SecurityComplianceStatus
- type SecurityProperties
- type SecuritySetting
- type SecuritySettingId
- type SecuritySettingOperationPredicate
- type SecuritySettingsClient
- func (c SecuritySettingsClient) CreateOrUpdate(ctx context.Context, id SecuritySettingId, input SecuritySetting) (result CreateOrUpdateOperationResponse, err error)
- func (c SecuritySettingsClient) CreateOrUpdateThenPoll(ctx context.Context, id SecuritySettingId, input SecuritySetting) error
- func (c SecuritySettingsClient) Delete(ctx context.Context, id SecuritySettingId) (result DeleteOperationResponse, err error)
- func (c SecuritySettingsClient) DeleteThenPoll(ctx context.Context, id SecuritySettingId) error
- func (c SecuritySettingsClient) Get(ctx context.Context, id SecuritySettingId) (result GetOperationResponse, err error)
- func (c SecuritySettingsClient) ListByClusters(ctx context.Context, id ClusterId) (result ListByClustersOperationResponse, err error)
- func (c SecuritySettingsClient) ListByClustersComplete(ctx context.Context, id ClusterId) (ListByClustersCompleteResult, error)
- func (c SecuritySettingsClient) ListByClustersCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate SecuritySettingOperationPredicate) (result ListByClustersCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForComplianceAssignmentType ¶
func PossibleValuesForComplianceAssignmentType() []string
func PossibleValuesForComplianceStatus ¶
func PossibleValuesForComplianceStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidateSecuritySettingID ¶
ValidateSecuritySettingID checks that 'input' can be parsed as a Security Setting ID
Types ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (*ClusterId) FromParseResult ¶
func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type ComplianceAssignmentType ¶
type ComplianceAssignmentType string
const ( ComplianceAssignmentTypeApplyAndAutoCorrect ComplianceAssignmentType = "ApplyAndAutoCorrect" ComplianceAssignmentTypeAudit ComplianceAssignmentType = "Audit" )
func (*ComplianceAssignmentType) UnmarshalJSON ¶
func (s *ComplianceAssignmentType) UnmarshalJSON(bytes []byte) error
type ComplianceStatus ¶
type ComplianceStatus string
const ( ComplianceStatusCompliant ComplianceStatus = "Compliant" ComplianceStatusNonCompliant ComplianceStatus = "NonCompliant" ComplianceStatusPending ComplianceStatus = "Pending" )
func (*ComplianceStatus) UnmarshalJSON ¶
func (s *ComplianceStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecuritySetting }
type ListByClustersCompleteResult ¶
type ListByClustersCompleteResult struct { LatestHttpResponse *http.Response Items []SecuritySetting }
type ListByClustersCustomPager ¶ added in v0.20240628.1153531
func (*ListByClustersCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByClustersCustomPager) NextPageLink() *odata.Link
type ListByClustersOperationResponse ¶
type ListByClustersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecuritySetting }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SecurityComplianceStatus ¶
type SecurityComplianceStatus struct { DataAtRestEncrypted *ComplianceStatus `json:"dataAtRestEncrypted,omitempty"` DataInTransitProtected *ComplianceStatus `json:"dataInTransitProtected,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` SecuredCoreCompliance *ComplianceStatus `json:"securedCoreCompliance,omitempty"` WdacCompliance *ComplianceStatus `json:"wdacCompliance,omitempty"` }
func (*SecurityComplianceStatus) GetLastUpdatedAsTime ¶
func (o *SecurityComplianceStatus) GetLastUpdatedAsTime() (*time.Time, error)
func (*SecurityComplianceStatus) SetLastUpdatedAsTime ¶
func (o *SecurityComplianceStatus) SetLastUpdatedAsTime(input time.Time)
type SecurityProperties ¶
type SecurityProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SecuredCoreComplianceAssignment *ComplianceAssignmentType `json:"securedCoreComplianceAssignment,omitempty"` SecurityComplianceStatus *SecurityComplianceStatus `json:"securityComplianceStatus,omitempty"` }
type SecuritySetting ¶
type SecuritySetting struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SecuritySettingId ¶
type SecuritySettingId struct { SubscriptionId string ResourceGroupName string ClusterName string SecuritySettingName string }
SecuritySettingId is a struct representing the Resource ID for a Security Setting
func NewSecuritySettingID ¶
func NewSecuritySettingID(subscriptionId string, resourceGroupName string, clusterName string, securitySettingName string) SecuritySettingId
NewSecuritySettingID returns a new SecuritySettingId struct
func ParseSecuritySettingID ¶
func ParseSecuritySettingID(input string) (*SecuritySettingId, error)
ParseSecuritySettingID parses 'input' into a SecuritySettingId
func ParseSecuritySettingIDInsensitively ¶
func ParseSecuritySettingIDInsensitively(input string) (*SecuritySettingId, error)
ParseSecuritySettingIDInsensitively parses 'input' case-insensitively into a SecuritySettingId note: this method should only be used for API response data and not user input
func (*SecuritySettingId) FromParseResult ¶
func (id *SecuritySettingId) FromParseResult(input resourceids.ParseResult) error
func (SecuritySettingId) ID ¶
func (id SecuritySettingId) ID() string
ID returns the formatted Security Setting ID
func (SecuritySettingId) Segments ¶
func (id SecuritySettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Security Setting ID
func (SecuritySettingId) String ¶
func (id SecuritySettingId) String() string
String returns a human-readable description of this Security Setting ID
type SecuritySettingOperationPredicate ¶
func (SecuritySettingOperationPredicate) Matches ¶
func (p SecuritySettingOperationPredicate) Matches(input SecuritySetting) bool
type SecuritySettingsClient ¶
type SecuritySettingsClient struct {
Client *resourcemanager.Client
}
func NewSecuritySettingsClientWithBaseURI ¶
func NewSecuritySettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecuritySettingsClient, error)
func (SecuritySettingsClient) CreateOrUpdate ¶
func (c SecuritySettingsClient) CreateOrUpdate(ctx context.Context, id SecuritySettingId, input SecuritySetting) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SecuritySettingsClient) CreateOrUpdateThenPoll ¶
func (c SecuritySettingsClient) CreateOrUpdateThenPoll(ctx context.Context, id SecuritySettingId, input SecuritySetting) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SecuritySettingsClient) Delete ¶
func (c SecuritySettingsClient) Delete(ctx context.Context, id SecuritySettingId) (result DeleteOperationResponse, err error)
Delete ...
func (SecuritySettingsClient) DeleteThenPoll ¶
func (c SecuritySettingsClient) DeleteThenPoll(ctx context.Context, id SecuritySettingId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SecuritySettingsClient) Get ¶
func (c SecuritySettingsClient) Get(ctx context.Context, id SecuritySettingId) (result GetOperationResponse, err error)
Get ...
func (SecuritySettingsClient) ListByClusters ¶
func (c SecuritySettingsClient) ListByClusters(ctx context.Context, id ClusterId) (result ListByClustersOperationResponse, err error)
ListByClusters ...
func (SecuritySettingsClient) ListByClustersComplete ¶
func (c SecuritySettingsClient) ListByClustersComplete(ctx context.Context, id ClusterId) (ListByClustersCompleteResult, error)
ListByClustersComplete retrieves all the results into a single object
func (SecuritySettingsClient) ListByClustersCompleteMatchingPredicate ¶
func (c SecuritySettingsClient) ListByClustersCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate SecuritySettingOperationPredicate) (result ListByClustersCompleteResult, err error)
ListByClustersCompleteMatchingPredicate retrieves all the results and then applies the predicate