Documentation ¶
Index ¶
- func PossibleValuesForResourceDiscoveryMode() []string
- func ValidateManagementGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderRemediationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviders2RemediationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRemediationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopedRemediationID(input interface{}, key string) (warnings []string, errors []error)
- type CancelAtManagementGroupOperationResponse
- type CancelAtResourceGroupOperationResponse
- type CancelAtResourceOperationResponse
- type CancelAtSubscriptionOperationResponse
- type CreateOrUpdateAtManagementGroupOperationResponse
- type CreateOrUpdateAtResourceGroupOperationResponse
- type CreateOrUpdateAtResourceOperationResponse
- type CreateOrUpdateAtSubscriptionOperationResponse
- type DeleteAtManagementGroupOperationResponse
- type DeleteAtResourceGroupOperationResponse
- type DeleteAtResourceOperationResponse
- type DeleteAtSubscriptionOperationResponse
- type ErrorDefinition
- type GetAtManagementGroupOperationResponse
- type GetAtResourceGroupOperationResponse
- type GetAtResourceOperationResponse
- type GetAtSubscriptionOperationResponse
- type ListDeploymentsAtManagementGroupCompleteResult
- type ListDeploymentsAtManagementGroupOperationOptions
- type ListDeploymentsAtManagementGroupOperationResponse
- type ListDeploymentsAtResourceCompleteResult
- type ListDeploymentsAtResourceGroupCompleteResult
- type ListDeploymentsAtResourceGroupOperationOptions
- type ListDeploymentsAtResourceGroupOperationResponse
- type ListDeploymentsAtResourceOperationOptions
- type ListDeploymentsAtResourceOperationResponse
- type ListDeploymentsAtSubscriptionCompleteResult
- type ListDeploymentsAtSubscriptionOperationOptions
- type ListDeploymentsAtSubscriptionOperationResponse
- type ListForManagementGroupCompleteResult
- type ListForManagementGroupOperationOptions
- type ListForManagementGroupOperationResponse
- type ListForResourceCompleteResult
- type ListForResourceGroupCompleteResult
- type ListForResourceGroupOperationOptions
- type ListForResourceGroupOperationResponse
- type ListForResourceOperationOptions
- type ListForResourceOperationResponse
- type ListForSubscriptionCompleteResult
- type ListForSubscriptionOperationOptions
- type ListForSubscriptionOperationResponse
- type ManagementGroupId
- type ProviderRemediationId
- type Providers2RemediationId
- type Remediation
- type RemediationDeployment
- type RemediationDeploymentOperationPredicate
- type RemediationDeploymentSummary
- type RemediationFilters
- type RemediationId
- type RemediationOperationPredicate
- type RemediationProperties
- type RemediationPropertiesFailureThreshold
- type RemediationsClient
- func (c RemediationsClient) CancelAtManagementGroup(ctx context.Context, id Providers2RemediationId) (result CancelAtManagementGroupOperationResponse, err error)
- func (c RemediationsClient) CancelAtResource(ctx context.Context, id ScopedRemediationId) (result CancelAtResourceOperationResponse, err error)
- func (c RemediationsClient) CancelAtResourceGroup(ctx context.Context, id ProviderRemediationId) (result CancelAtResourceGroupOperationResponse, err error)
- func (c RemediationsClient) CancelAtSubscription(ctx context.Context, id RemediationId) (result CancelAtSubscriptionOperationResponse, err error)
- func (c RemediationsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2RemediationId, input Remediation) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
- func (c RemediationsClient) CreateOrUpdateAtResource(ctx context.Context, id ScopedRemediationId, input Remediation) (result CreateOrUpdateAtResourceOperationResponse, err error)
- func (c RemediationsClient) CreateOrUpdateAtResourceGroup(ctx context.Context, id ProviderRemediationId, input Remediation) (result CreateOrUpdateAtResourceGroupOperationResponse, err error)
- func (c RemediationsClient) CreateOrUpdateAtSubscription(ctx context.Context, id RemediationId, input Remediation) (result CreateOrUpdateAtSubscriptionOperationResponse, err error)
- func (c RemediationsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2RemediationId) (result DeleteAtManagementGroupOperationResponse, err error)
- func (c RemediationsClient) DeleteAtResource(ctx context.Context, id ScopedRemediationId) (result DeleteAtResourceOperationResponse, err error)
- func (c RemediationsClient) DeleteAtResourceGroup(ctx context.Context, id ProviderRemediationId) (result DeleteAtResourceGroupOperationResponse, err error)
- func (c RemediationsClient) DeleteAtSubscription(ctx context.Context, id RemediationId) (result DeleteAtSubscriptionOperationResponse, err error)
- func (c RemediationsClient) GetAtManagementGroup(ctx context.Context, id Providers2RemediationId) (result GetAtManagementGroupOperationResponse, err error)
- func (c RemediationsClient) GetAtResource(ctx context.Context, id ScopedRemediationId) (result GetAtResourceOperationResponse, err error)
- func (c RemediationsClient) GetAtResourceGroup(ctx context.Context, id ProviderRemediationId) (result GetAtResourceGroupOperationResponse, err error)
- func (c RemediationsClient) GetAtSubscription(ctx context.Context, id RemediationId) (result GetAtSubscriptionOperationResponse, err error)
- func (c RemediationsClient) ListDeploymentsAtManagementGroup(ctx context.Context, id Providers2RemediationId, ...) (result ListDeploymentsAtManagementGroupOperationResponse, err error)
- func (c RemediationsClient) ListDeploymentsAtManagementGroupComplete(ctx context.Context, id Providers2RemediationId, ...) (ListDeploymentsAtManagementGroupCompleteResult, error)
- func (c RemediationsClient) ListDeploymentsAtManagementGroupCompleteMatchingPredicate(ctx context.Context, id Providers2RemediationId, ...) (result ListDeploymentsAtManagementGroupCompleteResult, err error)
- func (c RemediationsClient) ListDeploymentsAtResource(ctx context.Context, id ScopedRemediationId, ...) (result ListDeploymentsAtResourceOperationResponse, err error)
- func (c RemediationsClient) ListDeploymentsAtResourceComplete(ctx context.Context, id ScopedRemediationId, ...) (ListDeploymentsAtResourceCompleteResult, error)
- func (c RemediationsClient) ListDeploymentsAtResourceCompleteMatchingPredicate(ctx context.Context, id ScopedRemediationId, ...) (result ListDeploymentsAtResourceCompleteResult, err error)
- func (c RemediationsClient) ListDeploymentsAtResourceGroup(ctx context.Context, id ProviderRemediationId, ...) (result ListDeploymentsAtResourceGroupOperationResponse, err error)
- func (c RemediationsClient) ListDeploymentsAtResourceGroupComplete(ctx context.Context, id ProviderRemediationId, ...) (ListDeploymentsAtResourceGroupCompleteResult, error)
- func (c RemediationsClient) ListDeploymentsAtResourceGroupCompleteMatchingPredicate(ctx context.Context, id ProviderRemediationId, ...) (result ListDeploymentsAtResourceGroupCompleteResult, err error)
- func (c RemediationsClient) ListDeploymentsAtSubscription(ctx context.Context, id RemediationId, ...) (result ListDeploymentsAtSubscriptionOperationResponse, err error)
- func (c RemediationsClient) ListDeploymentsAtSubscriptionComplete(ctx context.Context, id RemediationId, ...) (ListDeploymentsAtSubscriptionCompleteResult, error)
- func (c RemediationsClient) ListDeploymentsAtSubscriptionCompleteMatchingPredicate(ctx context.Context, id RemediationId, ...) (result ListDeploymentsAtSubscriptionCompleteResult, err error)
- func (c RemediationsClient) ListForManagementGroup(ctx context.Context, id ManagementGroupId, ...) (result ListForManagementGroupOperationResponse, err error)
- func (c RemediationsClient) ListForManagementGroupComplete(ctx context.Context, id ManagementGroupId, ...) (ListForManagementGroupCompleteResult, error)
- func (c RemediationsClient) ListForManagementGroupCompleteMatchingPredicate(ctx context.Context, id ManagementGroupId, ...) (result ListForManagementGroupCompleteResult, err error)
- func (c RemediationsClient) ListForResource(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceOperationResponse, err error)
- func (c RemediationsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForResourceCompleteResult, error)
- func (c RemediationsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceCompleteResult, err error)
- func (c RemediationsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupOperationResponse, err error)
- func (c RemediationsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListForResourceGroupCompleteResult, error)
- func (c RemediationsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupCompleteResult, err error)
- func (c RemediationsClient) ListForSubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListForSubscriptionOperationResponse, err error)
- func (c RemediationsClient) ListForSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListForSubscriptionCompleteResult, error)
- func (c RemediationsClient) ListForSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListForSubscriptionCompleteResult, err error)
- type ResourceDiscoveryMode
- type ScopedRemediationId
- type TypedErrorInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceDiscoveryMode ¶
func PossibleValuesForResourceDiscoveryMode() []string
func ValidateManagementGroupID ¶
ValidateManagementGroupID checks that 'input' can be parsed as a Management Group ID
func ValidateProviderRemediationID ¶
func ValidateProviderRemediationID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderRemediationID checks that 'input' can be parsed as a Provider Remediation ID
func ValidateProviders2RemediationID ¶
func ValidateProviders2RemediationID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviders2RemediationID checks that 'input' can be parsed as a Providers 2 Remediation ID
func ValidateRemediationID ¶
ValidateRemediationID checks that 'input' can be parsed as a Remediation ID
func ValidateScopedRemediationID ¶
ValidateScopedRemediationID checks that 'input' can be parsed as a Scoped Remediation ID
Types ¶
type CancelAtManagementGroupOperationResponse ¶
type CancelAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CancelAtResourceGroupOperationResponse ¶
type CancelAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CancelAtResourceOperationResponse ¶
type CancelAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CancelAtSubscriptionOperationResponse ¶
type CancelAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CreateOrUpdateAtManagementGroupOperationResponse ¶
type CreateOrUpdateAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CreateOrUpdateAtResourceGroupOperationResponse ¶
type CreateOrUpdateAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CreateOrUpdateAtResourceOperationResponse ¶
type CreateOrUpdateAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type CreateOrUpdateAtSubscriptionOperationResponse ¶
type CreateOrUpdateAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type DeleteAtManagementGroupOperationResponse ¶
type DeleteAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type DeleteAtResourceGroupOperationResponse ¶
type DeleteAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type DeleteAtResourceOperationResponse ¶
type DeleteAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type DeleteAtSubscriptionOperationResponse ¶
type DeleteAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type ErrorDefinition ¶
type ErrorDefinition struct { AdditionalInfo *[]TypedErrorInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDefinition `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type GetAtManagementGroupOperationResponse ¶
type GetAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type GetAtResourceGroupOperationResponse ¶
type GetAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type GetAtResourceOperationResponse ¶
type GetAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type GetAtSubscriptionOperationResponse ¶
type GetAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Remediation }
type ListDeploymentsAtManagementGroupCompleteResult ¶
type ListDeploymentsAtManagementGroupCompleteResult struct { LatestHttpResponse *http.Response Items []RemediationDeployment }
type ListDeploymentsAtManagementGroupOperationOptions ¶
type ListDeploymentsAtManagementGroupOperationOptions struct {
Top *int64
}
func DefaultListDeploymentsAtManagementGroupOperationOptions ¶
func DefaultListDeploymentsAtManagementGroupOperationOptions() ListDeploymentsAtManagementGroupOperationOptions
func (ListDeploymentsAtManagementGroupOperationOptions) ToHeaders ¶
func (o ListDeploymentsAtManagementGroupOperationOptions) ToHeaders() *client.Headers
func (ListDeploymentsAtManagementGroupOperationOptions) ToOData ¶
func (o ListDeploymentsAtManagementGroupOperationOptions) ToOData() *odata.Query
func (ListDeploymentsAtManagementGroupOperationOptions) ToQuery ¶
func (o ListDeploymentsAtManagementGroupOperationOptions) ToQuery() *client.QueryParams
type ListDeploymentsAtManagementGroupOperationResponse ¶
type ListDeploymentsAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RemediationDeployment }
type ListDeploymentsAtResourceCompleteResult ¶
type ListDeploymentsAtResourceCompleteResult struct { LatestHttpResponse *http.Response Items []RemediationDeployment }
type ListDeploymentsAtResourceGroupCompleteResult ¶
type ListDeploymentsAtResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []RemediationDeployment }
type ListDeploymentsAtResourceGroupOperationOptions ¶
type ListDeploymentsAtResourceGroupOperationOptions struct {
Top *int64
}
func DefaultListDeploymentsAtResourceGroupOperationOptions ¶
func DefaultListDeploymentsAtResourceGroupOperationOptions() ListDeploymentsAtResourceGroupOperationOptions
func (ListDeploymentsAtResourceGroupOperationOptions) ToHeaders ¶
func (o ListDeploymentsAtResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListDeploymentsAtResourceGroupOperationOptions) ToOData ¶
func (o ListDeploymentsAtResourceGroupOperationOptions) ToOData() *odata.Query
func (ListDeploymentsAtResourceGroupOperationOptions) ToQuery ¶
func (o ListDeploymentsAtResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListDeploymentsAtResourceGroupOperationResponse ¶
type ListDeploymentsAtResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RemediationDeployment }
type ListDeploymentsAtResourceOperationOptions ¶
type ListDeploymentsAtResourceOperationOptions struct {
Top *int64
}
func DefaultListDeploymentsAtResourceOperationOptions ¶
func DefaultListDeploymentsAtResourceOperationOptions() ListDeploymentsAtResourceOperationOptions
func (ListDeploymentsAtResourceOperationOptions) ToHeaders ¶
func (o ListDeploymentsAtResourceOperationOptions) ToHeaders() *client.Headers
func (ListDeploymentsAtResourceOperationOptions) ToOData ¶
func (o ListDeploymentsAtResourceOperationOptions) ToOData() *odata.Query
func (ListDeploymentsAtResourceOperationOptions) ToQuery ¶
func (o ListDeploymentsAtResourceOperationOptions) ToQuery() *client.QueryParams
type ListDeploymentsAtResourceOperationResponse ¶
type ListDeploymentsAtResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RemediationDeployment }
type ListDeploymentsAtSubscriptionCompleteResult ¶
type ListDeploymentsAtSubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []RemediationDeployment }
type ListDeploymentsAtSubscriptionOperationOptions ¶
type ListDeploymentsAtSubscriptionOperationOptions struct {
Top *int64
}
func DefaultListDeploymentsAtSubscriptionOperationOptions ¶
func DefaultListDeploymentsAtSubscriptionOperationOptions() ListDeploymentsAtSubscriptionOperationOptions
func (ListDeploymentsAtSubscriptionOperationOptions) ToHeaders ¶
func (o ListDeploymentsAtSubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListDeploymentsAtSubscriptionOperationOptions) ToOData ¶
func (o ListDeploymentsAtSubscriptionOperationOptions) ToOData() *odata.Query
func (ListDeploymentsAtSubscriptionOperationOptions) ToQuery ¶
func (o ListDeploymentsAtSubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListDeploymentsAtSubscriptionOperationResponse ¶
type ListDeploymentsAtSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RemediationDeployment }
type ListForManagementGroupCompleteResult ¶
type ListForManagementGroupCompleteResult struct { LatestHttpResponse *http.Response Items []Remediation }
type ListForManagementGroupOperationOptions ¶
func DefaultListForManagementGroupOperationOptions ¶
func DefaultListForManagementGroupOperationOptions() ListForManagementGroupOperationOptions
func (ListForManagementGroupOperationOptions) ToHeaders ¶
func (o ListForManagementGroupOperationOptions) ToHeaders() *client.Headers
func (ListForManagementGroupOperationOptions) ToOData ¶
func (o ListForManagementGroupOperationOptions) ToOData() *odata.Query
func (ListForManagementGroupOperationOptions) ToQuery ¶
func (o ListForManagementGroupOperationOptions) ToQuery() *client.QueryParams
type ListForManagementGroupOperationResponse ¶
type ListForManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Remediation }
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct { LatestHttpResponse *http.Response Items []Remediation }
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []Remediation }
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 *[]Remediation }
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 *[]Remediation }
type ListForSubscriptionCompleteResult ¶
type ListForSubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []Remediation }
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 *[]Remediation }
type ManagementGroupId ¶
type ManagementGroupId struct {
ManagementGroupId string
}
ManagementGroupId is a struct representing the Resource ID for a Management Group
func NewManagementGroupID ¶
func NewManagementGroupID(managementGroupId string) ManagementGroupId
NewManagementGroupID returns a new ManagementGroupId struct
func ParseManagementGroupID ¶
func ParseManagementGroupID(input string) (*ManagementGroupId, error)
ParseManagementGroupID parses 'input' into a ManagementGroupId
func ParseManagementGroupIDInsensitively ¶
func ParseManagementGroupIDInsensitively(input string) (*ManagementGroupId, error)
ParseManagementGroupIDInsensitively parses 'input' case-insensitively into a ManagementGroupId note: this method should only be used for API response data and not user input
func (*ManagementGroupId) FromParseResult ¶
func (id *ManagementGroupId) FromParseResult(input resourceids.ParseResult) error
func (ManagementGroupId) ID ¶
func (id ManagementGroupId) ID() string
ID returns the formatted Management Group ID
func (ManagementGroupId) Segments ¶
func (id ManagementGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Management Group ID
func (ManagementGroupId) String ¶
func (id ManagementGroupId) String() string
String returns a human-readable description of this Management Group ID
type ProviderRemediationId ¶
type ProviderRemediationId struct { SubscriptionId string ResourceGroupName string RemediationName string }
ProviderRemediationId is a struct representing the Resource ID for a Provider Remediation
func NewProviderRemediationID ¶
func NewProviderRemediationID(subscriptionId string, resourceGroupName string, remediationName string) ProviderRemediationId
NewProviderRemediationID returns a new ProviderRemediationId struct
func ParseProviderRemediationID ¶
func ParseProviderRemediationID(input string) (*ProviderRemediationId, error)
ParseProviderRemediationID parses 'input' into a ProviderRemediationId
func ParseProviderRemediationIDInsensitively ¶
func ParseProviderRemediationIDInsensitively(input string) (*ProviderRemediationId, error)
ParseProviderRemediationIDInsensitively parses 'input' case-insensitively into a ProviderRemediationId note: this method should only be used for API response data and not user input
func (*ProviderRemediationId) FromParseResult ¶
func (id *ProviderRemediationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderRemediationId) ID ¶
func (id ProviderRemediationId) ID() string
ID returns the formatted Provider Remediation ID
func (ProviderRemediationId) Segments ¶
func (id ProviderRemediationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Remediation ID
func (ProviderRemediationId) String ¶
func (id ProviderRemediationId) String() string
String returns a human-readable description of this Provider Remediation ID
type Providers2RemediationId ¶
Providers2RemediationId is a struct representing the Resource ID for a Providers 2 Remediation
func NewProviders2RemediationID ¶
func NewProviders2RemediationID(managementGroupId string, remediationName string) Providers2RemediationId
NewProviders2RemediationID returns a new Providers2RemediationId struct
func ParseProviders2RemediationID ¶
func ParseProviders2RemediationID(input string) (*Providers2RemediationId, error)
ParseProviders2RemediationID parses 'input' into a Providers2RemediationId
func ParseProviders2RemediationIDInsensitively ¶
func ParseProviders2RemediationIDInsensitively(input string) (*Providers2RemediationId, error)
ParseProviders2RemediationIDInsensitively parses 'input' case-insensitively into a Providers2RemediationId note: this method should only be used for API response data and not user input
func (*Providers2RemediationId) FromParseResult ¶
func (id *Providers2RemediationId) FromParseResult(input resourceids.ParseResult) error
func (Providers2RemediationId) ID ¶
func (id Providers2RemediationId) ID() string
ID returns the formatted Providers 2 Remediation ID
func (Providers2RemediationId) Segments ¶
func (id Providers2RemediationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Providers 2 Remediation ID
func (Providers2RemediationId) String ¶
func (id Providers2RemediationId) String() string
String returns a human-readable description of this Providers 2 Remediation ID
type Remediation ¶
type Remediation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RemediationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RemediationDeployment ¶
type RemediationDeployment struct { CreatedOn *string `json:"createdOn,omitempty"` DeploymentId *string `json:"deploymentId,omitempty"` Error *ErrorDefinition `json:"error,omitempty"` LastUpdatedOn *string `json:"lastUpdatedOn,omitempty"` RemediatedResourceId *string `json:"remediatedResourceId,omitempty"` ResourceLocation *string `json:"resourceLocation,omitempty"` Status *string `json:"status,omitempty"` }
func (*RemediationDeployment) GetCreatedOnAsTime ¶
func (o *RemediationDeployment) GetCreatedOnAsTime() (*time.Time, error)
func (*RemediationDeployment) GetLastUpdatedOnAsTime ¶
func (o *RemediationDeployment) GetLastUpdatedOnAsTime() (*time.Time, error)
func (*RemediationDeployment) SetCreatedOnAsTime ¶
func (o *RemediationDeployment) SetCreatedOnAsTime(input time.Time)
func (*RemediationDeployment) SetLastUpdatedOnAsTime ¶
func (o *RemediationDeployment) SetLastUpdatedOnAsTime(input time.Time)
type RemediationDeploymentOperationPredicate ¶
type RemediationDeploymentOperationPredicate struct { CreatedOn *string DeploymentId *string LastUpdatedOn *string RemediatedResourceId *string ResourceLocation *string Status *string }
func (RemediationDeploymentOperationPredicate) Matches ¶
func (p RemediationDeploymentOperationPredicate) Matches(input RemediationDeployment) bool
type RemediationFilters ¶
type RemediationFilters struct {
Locations *[]string `json:"locations,omitempty"`
}
type RemediationId ¶
RemediationId is a struct representing the Resource ID for a Remediation
func NewRemediationID ¶
func NewRemediationID(subscriptionId string, remediationName string) RemediationId
NewRemediationID returns a new RemediationId struct
func ParseRemediationID ¶
func ParseRemediationID(input string) (*RemediationId, error)
ParseRemediationID parses 'input' into a RemediationId
func ParseRemediationIDInsensitively ¶
func ParseRemediationIDInsensitively(input string) (*RemediationId, error)
ParseRemediationIDInsensitively parses 'input' case-insensitively into a RemediationId note: this method should only be used for API response data and not user input
func (*RemediationId) FromParseResult ¶
func (id *RemediationId) FromParseResult(input resourceids.ParseResult) error
func (RemediationId) ID ¶
func (id RemediationId) ID() string
ID returns the formatted Remediation ID
func (RemediationId) Segments ¶
func (id RemediationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Remediation ID
func (RemediationId) String ¶
func (id RemediationId) String() string
String returns a human-readable description of this Remediation ID
type RemediationOperationPredicate ¶
func (RemediationOperationPredicate) Matches ¶
func (p RemediationOperationPredicate) Matches(input Remediation) bool
type RemediationProperties ¶
type RemediationProperties struct { CorrelationId *string `json:"correlationId,omitempty"` CreatedOn *string `json:"createdOn,omitempty"` DeploymentStatus *RemediationDeploymentSummary `json:"deploymentStatus,omitempty"` FailureThreshold *RemediationPropertiesFailureThreshold `json:"failureThreshold,omitempty"` Filters *RemediationFilters `json:"filters,omitempty"` LastUpdatedOn *string `json:"lastUpdatedOn,omitempty"` ParallelDeployments *int64 `json:"parallelDeployments,omitempty"` PolicyAssignmentId *string `json:"policyAssignmentId,omitempty"` PolicyDefinitionReferenceId *string `json:"policyDefinitionReferenceId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceCount *int64 `json:"resourceCount,omitempty"` ResourceDiscoveryMode *ResourceDiscoveryMode `json:"resourceDiscoveryMode,omitempty"` StatusMessage *string `json:"statusMessage,omitempty"` }
func (*RemediationProperties) GetCreatedOnAsTime ¶
func (o *RemediationProperties) GetCreatedOnAsTime() (*time.Time, error)
func (*RemediationProperties) GetLastUpdatedOnAsTime ¶
func (o *RemediationProperties) GetLastUpdatedOnAsTime() (*time.Time, error)
func (*RemediationProperties) SetCreatedOnAsTime ¶
func (o *RemediationProperties) SetCreatedOnAsTime(input time.Time)
func (*RemediationProperties) SetLastUpdatedOnAsTime ¶
func (o *RemediationProperties) SetLastUpdatedOnAsTime(input time.Time)
type RemediationPropertiesFailureThreshold ¶
type RemediationPropertiesFailureThreshold struct {
Percentage *float64 `json:"percentage,omitempty"`
}
type RemediationsClient ¶
type RemediationsClient struct {
Client *resourcemanager.Client
}
func NewRemediationsClientWithBaseURI ¶
func NewRemediationsClientWithBaseURI(sdkApi sdkEnv.Api) (*RemediationsClient, error)
func (RemediationsClient) CancelAtManagementGroup ¶
func (c RemediationsClient) CancelAtManagementGroup(ctx context.Context, id Providers2RemediationId) (result CancelAtManagementGroupOperationResponse, err error)
CancelAtManagementGroup ...
func (RemediationsClient) CancelAtResource ¶
func (c RemediationsClient) CancelAtResource(ctx context.Context, id ScopedRemediationId) (result CancelAtResourceOperationResponse, err error)
CancelAtResource ...
func (RemediationsClient) CancelAtResourceGroup ¶
func (c RemediationsClient) CancelAtResourceGroup(ctx context.Context, id ProviderRemediationId) (result CancelAtResourceGroupOperationResponse, err error)
CancelAtResourceGroup ...
func (RemediationsClient) CancelAtSubscription ¶
func (c RemediationsClient) CancelAtSubscription(ctx context.Context, id RemediationId) (result CancelAtSubscriptionOperationResponse, err error)
CancelAtSubscription ...
func (RemediationsClient) CreateOrUpdateAtManagementGroup ¶
func (c RemediationsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2RemediationId, input Remediation) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
CreateOrUpdateAtManagementGroup ...
func (RemediationsClient) CreateOrUpdateAtResource ¶
func (c RemediationsClient) CreateOrUpdateAtResource(ctx context.Context, id ScopedRemediationId, input Remediation) (result CreateOrUpdateAtResourceOperationResponse, err error)
CreateOrUpdateAtResource ...
func (RemediationsClient) CreateOrUpdateAtResourceGroup ¶
func (c RemediationsClient) CreateOrUpdateAtResourceGroup(ctx context.Context, id ProviderRemediationId, input Remediation) (result CreateOrUpdateAtResourceGroupOperationResponse, err error)
CreateOrUpdateAtResourceGroup ...
func (RemediationsClient) CreateOrUpdateAtSubscription ¶
func (c RemediationsClient) CreateOrUpdateAtSubscription(ctx context.Context, id RemediationId, input Remediation) (result CreateOrUpdateAtSubscriptionOperationResponse, err error)
CreateOrUpdateAtSubscription ...
func (RemediationsClient) DeleteAtManagementGroup ¶
func (c RemediationsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2RemediationId) (result DeleteAtManagementGroupOperationResponse, err error)
DeleteAtManagementGroup ...
func (RemediationsClient) DeleteAtResource ¶
func (c RemediationsClient) DeleteAtResource(ctx context.Context, id ScopedRemediationId) (result DeleteAtResourceOperationResponse, err error)
DeleteAtResource ...
func (RemediationsClient) DeleteAtResourceGroup ¶
func (c RemediationsClient) DeleteAtResourceGroup(ctx context.Context, id ProviderRemediationId) (result DeleteAtResourceGroupOperationResponse, err error)
DeleteAtResourceGroup ...
func (RemediationsClient) DeleteAtSubscription ¶
func (c RemediationsClient) DeleteAtSubscription(ctx context.Context, id RemediationId) (result DeleteAtSubscriptionOperationResponse, err error)
DeleteAtSubscription ...
func (RemediationsClient) GetAtManagementGroup ¶
func (c RemediationsClient) GetAtManagementGroup(ctx context.Context, id Providers2RemediationId) (result GetAtManagementGroupOperationResponse, err error)
GetAtManagementGroup ...
func (RemediationsClient) GetAtResource ¶
func (c RemediationsClient) GetAtResource(ctx context.Context, id ScopedRemediationId) (result GetAtResourceOperationResponse, err error)
GetAtResource ...
func (RemediationsClient) GetAtResourceGroup ¶
func (c RemediationsClient) GetAtResourceGroup(ctx context.Context, id ProviderRemediationId) (result GetAtResourceGroupOperationResponse, err error)
GetAtResourceGroup ...
func (RemediationsClient) GetAtSubscription ¶
func (c RemediationsClient) GetAtSubscription(ctx context.Context, id RemediationId) (result GetAtSubscriptionOperationResponse, err error)
GetAtSubscription ...
func (RemediationsClient) ListDeploymentsAtManagementGroup ¶
func (c RemediationsClient) ListDeploymentsAtManagementGroup(ctx context.Context, id Providers2RemediationId, options ListDeploymentsAtManagementGroupOperationOptions) (result ListDeploymentsAtManagementGroupOperationResponse, err error)
ListDeploymentsAtManagementGroup ...
func (RemediationsClient) ListDeploymentsAtManagementGroupComplete ¶
func (c RemediationsClient) ListDeploymentsAtManagementGroupComplete(ctx context.Context, id Providers2RemediationId, options ListDeploymentsAtManagementGroupOperationOptions) (ListDeploymentsAtManagementGroupCompleteResult, error)
ListDeploymentsAtManagementGroupComplete retrieves all the results into a single object
func (RemediationsClient) ListDeploymentsAtManagementGroupCompleteMatchingPredicate ¶
func (c RemediationsClient) ListDeploymentsAtManagementGroupCompleteMatchingPredicate(ctx context.Context, id Providers2RemediationId, options ListDeploymentsAtManagementGroupOperationOptions, predicate RemediationDeploymentOperationPredicate) (result ListDeploymentsAtManagementGroupCompleteResult, err error)
ListDeploymentsAtManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListDeploymentsAtResource ¶
func (c RemediationsClient) ListDeploymentsAtResource(ctx context.Context, id ScopedRemediationId, options ListDeploymentsAtResourceOperationOptions) (result ListDeploymentsAtResourceOperationResponse, err error)
ListDeploymentsAtResource ...
func (RemediationsClient) ListDeploymentsAtResourceComplete ¶
func (c RemediationsClient) ListDeploymentsAtResourceComplete(ctx context.Context, id ScopedRemediationId, options ListDeploymentsAtResourceOperationOptions) (ListDeploymentsAtResourceCompleteResult, error)
ListDeploymentsAtResourceComplete retrieves all the results into a single object
func (RemediationsClient) ListDeploymentsAtResourceCompleteMatchingPredicate ¶
func (c RemediationsClient) ListDeploymentsAtResourceCompleteMatchingPredicate(ctx context.Context, id ScopedRemediationId, options ListDeploymentsAtResourceOperationOptions, predicate RemediationDeploymentOperationPredicate) (result ListDeploymentsAtResourceCompleteResult, err error)
ListDeploymentsAtResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListDeploymentsAtResourceGroup ¶
func (c RemediationsClient) ListDeploymentsAtResourceGroup(ctx context.Context, id ProviderRemediationId, options ListDeploymentsAtResourceGroupOperationOptions) (result ListDeploymentsAtResourceGroupOperationResponse, err error)
ListDeploymentsAtResourceGroup ...
func (RemediationsClient) ListDeploymentsAtResourceGroupComplete ¶
func (c RemediationsClient) ListDeploymentsAtResourceGroupComplete(ctx context.Context, id ProviderRemediationId, options ListDeploymentsAtResourceGroupOperationOptions) (ListDeploymentsAtResourceGroupCompleteResult, error)
ListDeploymentsAtResourceGroupComplete retrieves all the results into a single object
func (RemediationsClient) ListDeploymentsAtResourceGroupCompleteMatchingPredicate ¶
func (c RemediationsClient) ListDeploymentsAtResourceGroupCompleteMatchingPredicate(ctx context.Context, id ProviderRemediationId, options ListDeploymentsAtResourceGroupOperationOptions, predicate RemediationDeploymentOperationPredicate) (result ListDeploymentsAtResourceGroupCompleteResult, err error)
ListDeploymentsAtResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListDeploymentsAtSubscription ¶
func (c RemediationsClient) ListDeploymentsAtSubscription(ctx context.Context, id RemediationId, options ListDeploymentsAtSubscriptionOperationOptions) (result ListDeploymentsAtSubscriptionOperationResponse, err error)
ListDeploymentsAtSubscription ...
func (RemediationsClient) ListDeploymentsAtSubscriptionComplete ¶
func (c RemediationsClient) ListDeploymentsAtSubscriptionComplete(ctx context.Context, id RemediationId, options ListDeploymentsAtSubscriptionOperationOptions) (ListDeploymentsAtSubscriptionCompleteResult, error)
ListDeploymentsAtSubscriptionComplete retrieves all the results into a single object
func (RemediationsClient) ListDeploymentsAtSubscriptionCompleteMatchingPredicate ¶
func (c RemediationsClient) ListDeploymentsAtSubscriptionCompleteMatchingPredicate(ctx context.Context, id RemediationId, options ListDeploymentsAtSubscriptionOperationOptions, predicate RemediationDeploymentOperationPredicate) (result ListDeploymentsAtSubscriptionCompleteResult, err error)
ListDeploymentsAtSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListForManagementGroup ¶
func (c RemediationsClient) ListForManagementGroup(ctx context.Context, id ManagementGroupId, options ListForManagementGroupOperationOptions) (result ListForManagementGroupOperationResponse, err error)
ListForManagementGroup ...
func (RemediationsClient) ListForManagementGroupComplete ¶
func (c RemediationsClient) ListForManagementGroupComplete(ctx context.Context, id ManagementGroupId, options ListForManagementGroupOperationOptions) (ListForManagementGroupCompleteResult, error)
ListForManagementGroupComplete retrieves all the results into a single object
func (RemediationsClient) ListForManagementGroupCompleteMatchingPredicate ¶
func (c RemediationsClient) ListForManagementGroupCompleteMatchingPredicate(ctx context.Context, id ManagementGroupId, options ListForManagementGroupOperationOptions, predicate RemediationOperationPredicate) (result ListForManagementGroupCompleteResult, err error)
ListForManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListForResource ¶
func (c RemediationsClient) ListForResource(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (RemediationsClient) ListForResourceComplete ¶
func (c RemediationsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (RemediationsClient) ListForResourceCompleteMatchingPredicate ¶
func (c RemediationsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions, predicate RemediationOperationPredicate) (result ListForResourceCompleteResult, err error)
ListForResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListForResourceGroup ¶
func (c RemediationsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (RemediationsClient) ListForResourceGroupComplete ¶
func (c RemediationsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (ListForResourceGroupCompleteResult, error)
ListForResourceGroupComplete retrieves all the results into a single object
func (RemediationsClient) ListForResourceGroupCompleteMatchingPredicate ¶
func (c RemediationsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions, predicate RemediationOperationPredicate) (result ListForResourceGroupCompleteResult, err error)
ListForResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RemediationsClient) ListForSubscription ¶
func (c RemediationsClient) ListForSubscription(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions) (result ListForSubscriptionOperationResponse, err error)
ListForSubscription ...
func (RemediationsClient) ListForSubscriptionComplete ¶
func (c RemediationsClient) ListForSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions) (ListForSubscriptionCompleteResult, error)
ListForSubscriptionComplete retrieves all the results into a single object
func (RemediationsClient) ListForSubscriptionCompleteMatchingPredicate ¶
func (c RemediationsClient) ListForSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListForSubscriptionOperationOptions, predicate RemediationOperationPredicate) (result ListForSubscriptionCompleteResult, err error)
ListForSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ResourceDiscoveryMode ¶
type ResourceDiscoveryMode string
const ( ResourceDiscoveryModeExistingNonCompliant ResourceDiscoveryMode = "ExistingNonCompliant" ResourceDiscoveryModeReEvaluateCompliance ResourceDiscoveryMode = "ReEvaluateCompliance" )
func (*ResourceDiscoveryMode) UnmarshalJSON ¶
func (s *ResourceDiscoveryMode) UnmarshalJSON(bytes []byte) error
type ScopedRemediationId ¶
ScopedRemediationId is a struct representing the Resource ID for a Scoped Remediation
func NewScopedRemediationID ¶
func NewScopedRemediationID(resourceId string, remediationName string) ScopedRemediationId
NewScopedRemediationID returns a new ScopedRemediationId struct
func ParseScopedRemediationID ¶
func ParseScopedRemediationID(input string) (*ScopedRemediationId, error)
ParseScopedRemediationID parses 'input' into a ScopedRemediationId
func ParseScopedRemediationIDInsensitively ¶
func ParseScopedRemediationIDInsensitively(input string) (*ScopedRemediationId, error)
ParseScopedRemediationIDInsensitively parses 'input' case-insensitively into a ScopedRemediationId note: this method should only be used for API response data and not user input
func (*ScopedRemediationId) FromParseResult ¶
func (id *ScopedRemediationId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRemediationId) ID ¶
func (id ScopedRemediationId) ID() string
ID returns the formatted Scoped Remediation ID
func (ScopedRemediationId) Segments ¶
func (id ScopedRemediationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Remediation ID
func (ScopedRemediationId) String ¶
func (id ScopedRemediationId) String() string
String returns a human-readable description of this Scoped Remediation ID
type TypedErrorInfo ¶
type TypedErrorInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_managementgroup.go
- id_providerremediation.go
- id_providers2remediation.go
- id_remediation.go
- id_scopedremediation.go
- method_cancelatmanagementgroup.go
- method_cancelatresource.go
- method_cancelatresourcegroup.go
- method_cancelatsubscription.go
- method_createorupdateatmanagementgroup.go
- method_createorupdateatresource.go
- method_createorupdateatresourcegroup.go
- method_createorupdateatsubscription.go
- method_deleteatmanagementgroup.go
- method_deleteatresource.go
- method_deleteatresourcegroup.go
- method_deleteatsubscription.go
- method_getatmanagementgroup.go
- method_getatresource.go
- method_getatresourcegroup.go
- method_getatsubscription.go
- method_listdeploymentsatmanagementgroup.go
- method_listdeploymentsatresource.go
- method_listdeploymentsatresourcegroup.go
- method_listdeploymentsatsubscription.go
- method_listformanagementgroup.go
- method_listforresource.go
- method_listforresourcegroup.go
- method_listforsubscription.go
- model_errordefinition.go
- model_remediation.go
- model_remediationdeployment.go
- model_remediationdeploymentsummary.go
- model_remediationfilters.go
- model_remediationproperties.go
- model_remediationpropertiesfailurethreshold.go
- model_typederrorinfo.go
- predicates.go
- version.go