Documentation ¶
Index ¶
- type GetRecommendationsArgs
- type GetRecommendationsOutputArgs
- type GetRecommendationsRecommendation
- type GetRecommendationsRecommendationArgs
- func (GetRecommendationsRecommendationArgs) ElementType() reflect.Type
- func (i GetRecommendationsRecommendationArgs) ToGetRecommendationsRecommendationOutput() GetRecommendationsRecommendationOutput
- func (i GetRecommendationsRecommendationArgs) ToGetRecommendationsRecommendationOutputWithContext(ctx context.Context) GetRecommendationsRecommendationOutput
- type GetRecommendationsRecommendationArray
- func (GetRecommendationsRecommendationArray) ElementType() reflect.Type
- func (i GetRecommendationsRecommendationArray) ToGetRecommendationsRecommendationArrayOutput() GetRecommendationsRecommendationArrayOutput
- func (i GetRecommendationsRecommendationArray) ToGetRecommendationsRecommendationArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationArrayOutput
- type GetRecommendationsRecommendationArrayInput
- type GetRecommendationsRecommendationArrayOutput
- func (GetRecommendationsRecommendationArrayOutput) ElementType() reflect.Type
- func (o GetRecommendationsRecommendationArrayOutput) Index(i pulumi.IntInput) GetRecommendationsRecommendationOutput
- func (o GetRecommendationsRecommendationArrayOutput) ToGetRecommendationsRecommendationArrayOutput() GetRecommendationsRecommendationArrayOutput
- func (o GetRecommendationsRecommendationArrayOutput) ToGetRecommendationsRecommendationArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationArrayOutput
- type GetRecommendationsRecommendationInput
- type GetRecommendationsRecommendationOutput
- func (o GetRecommendationsRecommendationOutput) Category() pulumi.StringOutput
- func (o GetRecommendationsRecommendationOutput) Description() pulumi.StringOutput
- func (GetRecommendationsRecommendationOutput) ElementType() reflect.Type
- func (o GetRecommendationsRecommendationOutput) Impact() pulumi.StringOutput
- func (o GetRecommendationsRecommendationOutput) RecommendationName() pulumi.StringOutput
- func (o GetRecommendationsRecommendationOutput) RecommendationTypeId() pulumi.StringOutput
- func (o GetRecommendationsRecommendationOutput) ResourceName() pulumi.StringOutput
- func (o GetRecommendationsRecommendationOutput) ResourceType() pulumi.StringOutput
- func (o GetRecommendationsRecommendationOutput) SuppressionNames() pulumi.StringArrayOutput
- func (o GetRecommendationsRecommendationOutput) ToGetRecommendationsRecommendationOutput() GetRecommendationsRecommendationOutput
- func (o GetRecommendationsRecommendationOutput) ToGetRecommendationsRecommendationOutputWithContext(ctx context.Context) GetRecommendationsRecommendationOutput
- func (o GetRecommendationsRecommendationOutput) UpdatedTime() pulumi.StringOutput
- type GetRecommendationsResult
- type GetRecommendationsResultOutput
- func (GetRecommendationsResultOutput) ElementType() reflect.Type
- func (o GetRecommendationsResultOutput) FilterByCategories() pulumi.StringArrayOutput
- func (o GetRecommendationsResultOutput) FilterByResourceGroups() pulumi.StringArrayOutput
- func (o GetRecommendationsResultOutput) Id() pulumi.StringOutput
- func (o GetRecommendationsResultOutput) Recommendations() GetRecommendationsRecommendationArrayOutput
- func (o GetRecommendationsResultOutput) ToGetRecommendationsResultOutput() GetRecommendationsResultOutput
- func (o GetRecommendationsResultOutput) ToGetRecommendationsResultOutputWithContext(ctx context.Context) GetRecommendationsResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRecommendationsArgs ¶
type GetRecommendationsArgs struct { // Specifies a list of categories in which the Advisor Recommendations will be listed. Possible values are `HighAvailability`, `Security`, `Performance`, `Cost` and `OperationalExcellence`. FilterByCategories []string `pulumi:"filterByCategories"` // Specifies a list of resource groups about which the Advisor Recommendations will be listed. FilterByResourceGroups []string `pulumi:"filterByResourceGroups"` }
A collection of arguments for invoking getRecommendations.
type GetRecommendationsOutputArgs ¶ added in v4.20.0
type GetRecommendationsOutputArgs struct { // Specifies a list of categories in which the Advisor Recommendations will be listed. Possible values are `HighAvailability`, `Security`, `Performance`, `Cost` and `OperationalExcellence`. FilterByCategories pulumi.StringArrayInput `pulumi:"filterByCategories"` // Specifies a list of resource groups about which the Advisor Recommendations will be listed. FilterByResourceGroups pulumi.StringArrayInput `pulumi:"filterByResourceGroups"` }
A collection of arguments for invoking getRecommendations.
func (GetRecommendationsOutputArgs) ElementType ¶ added in v4.20.0
func (GetRecommendationsOutputArgs) ElementType() reflect.Type
type GetRecommendationsRecommendation ¶
type GetRecommendationsRecommendation struct { // The category of the recommendation. Category string `pulumi:"category"` // The description of the issue or the opportunity identified by the recommendation. Description string `pulumi:"description"` // The business impact of the recommendation. Impact string `pulumi:"impact"` // The name of the Advisor Recommendation. RecommendationName string `pulumi:"recommendationName"` // The recommendation type id of the Advisor Recommendation. RecommendationTypeId string `pulumi:"recommendationTypeId"` // The name of the identified resource of the Advisor Recommendation. ResourceName string `pulumi:"resourceName"` // The type of the identified resource of the Advisor Recommendation. ResourceType string `pulumi:"resourceType"` // A list of Advisor Suppression names of the Advisor Recommendation. SuppressionNames []string `pulumi:"suppressionNames"` // The most recent time that Advisor checked the validity of the recommendation.. UpdatedTime string `pulumi:"updatedTime"` }
type GetRecommendationsRecommendationArgs ¶
type GetRecommendationsRecommendationArgs struct { // The category of the recommendation. Category pulumi.StringInput `pulumi:"category"` // The description of the issue or the opportunity identified by the recommendation. Description pulumi.StringInput `pulumi:"description"` // The business impact of the recommendation. Impact pulumi.StringInput `pulumi:"impact"` // The name of the Advisor Recommendation. RecommendationName pulumi.StringInput `pulumi:"recommendationName"` // The recommendation type id of the Advisor Recommendation. RecommendationTypeId pulumi.StringInput `pulumi:"recommendationTypeId"` // The name of the identified resource of the Advisor Recommendation. ResourceName pulumi.StringInput `pulumi:"resourceName"` // The type of the identified resource of the Advisor Recommendation. ResourceType pulumi.StringInput `pulumi:"resourceType"` // A list of Advisor Suppression names of the Advisor Recommendation. SuppressionNames pulumi.StringArrayInput `pulumi:"suppressionNames"` // The most recent time that Advisor checked the validity of the recommendation.. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` }
func (GetRecommendationsRecommendationArgs) ElementType ¶
func (GetRecommendationsRecommendationArgs) ElementType() reflect.Type
func (GetRecommendationsRecommendationArgs) ToGetRecommendationsRecommendationOutput ¶
func (i GetRecommendationsRecommendationArgs) ToGetRecommendationsRecommendationOutput() GetRecommendationsRecommendationOutput
func (GetRecommendationsRecommendationArgs) ToGetRecommendationsRecommendationOutputWithContext ¶
func (i GetRecommendationsRecommendationArgs) ToGetRecommendationsRecommendationOutputWithContext(ctx context.Context) GetRecommendationsRecommendationOutput
type GetRecommendationsRecommendationArray ¶
type GetRecommendationsRecommendationArray []GetRecommendationsRecommendationInput
func (GetRecommendationsRecommendationArray) ElementType ¶
func (GetRecommendationsRecommendationArray) ElementType() reflect.Type
func (GetRecommendationsRecommendationArray) ToGetRecommendationsRecommendationArrayOutput ¶
func (i GetRecommendationsRecommendationArray) ToGetRecommendationsRecommendationArrayOutput() GetRecommendationsRecommendationArrayOutput
func (GetRecommendationsRecommendationArray) ToGetRecommendationsRecommendationArrayOutputWithContext ¶
func (i GetRecommendationsRecommendationArray) ToGetRecommendationsRecommendationArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationArrayOutput
type GetRecommendationsRecommendationArrayInput ¶
type GetRecommendationsRecommendationArrayInput interface { pulumi.Input ToGetRecommendationsRecommendationArrayOutput() GetRecommendationsRecommendationArrayOutput ToGetRecommendationsRecommendationArrayOutputWithContext(context.Context) GetRecommendationsRecommendationArrayOutput }
GetRecommendationsRecommendationArrayInput is an input type that accepts GetRecommendationsRecommendationArray and GetRecommendationsRecommendationArrayOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationArrayInput` via:
GetRecommendationsRecommendationArray{ GetRecommendationsRecommendationArgs{...} }
type GetRecommendationsRecommendationArrayOutput ¶
type GetRecommendationsRecommendationArrayOutput struct{ *pulumi.OutputState }
func (GetRecommendationsRecommendationArrayOutput) ElementType ¶
func (GetRecommendationsRecommendationArrayOutput) ElementType() reflect.Type
func (GetRecommendationsRecommendationArrayOutput) ToGetRecommendationsRecommendationArrayOutput ¶
func (o GetRecommendationsRecommendationArrayOutput) ToGetRecommendationsRecommendationArrayOutput() GetRecommendationsRecommendationArrayOutput
func (GetRecommendationsRecommendationArrayOutput) ToGetRecommendationsRecommendationArrayOutputWithContext ¶
func (o GetRecommendationsRecommendationArrayOutput) ToGetRecommendationsRecommendationArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationArrayOutput
type GetRecommendationsRecommendationInput ¶
type GetRecommendationsRecommendationInput interface { pulumi.Input ToGetRecommendationsRecommendationOutput() GetRecommendationsRecommendationOutput ToGetRecommendationsRecommendationOutputWithContext(context.Context) GetRecommendationsRecommendationOutput }
GetRecommendationsRecommendationInput is an input type that accepts GetRecommendationsRecommendationArgs and GetRecommendationsRecommendationOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationInput` via:
GetRecommendationsRecommendationArgs{...}
type GetRecommendationsRecommendationOutput ¶
type GetRecommendationsRecommendationOutput struct{ *pulumi.OutputState }
func (GetRecommendationsRecommendationOutput) Category ¶
func (o GetRecommendationsRecommendationOutput) Category() pulumi.StringOutput
The category of the recommendation.
func (GetRecommendationsRecommendationOutput) Description ¶
func (o GetRecommendationsRecommendationOutput) Description() pulumi.StringOutput
The description of the issue or the opportunity identified by the recommendation.
func (GetRecommendationsRecommendationOutput) ElementType ¶
func (GetRecommendationsRecommendationOutput) ElementType() reflect.Type
func (GetRecommendationsRecommendationOutput) Impact ¶
func (o GetRecommendationsRecommendationOutput) Impact() pulumi.StringOutput
The business impact of the recommendation.
func (GetRecommendationsRecommendationOutput) RecommendationName ¶
func (o GetRecommendationsRecommendationOutput) RecommendationName() pulumi.StringOutput
The name of the Advisor Recommendation.
func (GetRecommendationsRecommendationOutput) RecommendationTypeId ¶
func (o GetRecommendationsRecommendationOutput) RecommendationTypeId() pulumi.StringOutput
The recommendation type id of the Advisor Recommendation.
func (GetRecommendationsRecommendationOutput) ResourceName ¶
func (o GetRecommendationsRecommendationOutput) ResourceName() pulumi.StringOutput
The name of the identified resource of the Advisor Recommendation.
func (GetRecommendationsRecommendationOutput) ResourceType ¶
func (o GetRecommendationsRecommendationOutput) ResourceType() pulumi.StringOutput
The type of the identified resource of the Advisor Recommendation.
func (GetRecommendationsRecommendationOutput) SuppressionNames ¶
func (o GetRecommendationsRecommendationOutput) SuppressionNames() pulumi.StringArrayOutput
A list of Advisor Suppression names of the Advisor Recommendation.
func (GetRecommendationsRecommendationOutput) ToGetRecommendationsRecommendationOutput ¶
func (o GetRecommendationsRecommendationOutput) ToGetRecommendationsRecommendationOutput() GetRecommendationsRecommendationOutput
func (GetRecommendationsRecommendationOutput) ToGetRecommendationsRecommendationOutputWithContext ¶
func (o GetRecommendationsRecommendationOutput) ToGetRecommendationsRecommendationOutputWithContext(ctx context.Context) GetRecommendationsRecommendationOutput
func (GetRecommendationsRecommendationOutput) UpdatedTime ¶
func (o GetRecommendationsRecommendationOutput) UpdatedTime() pulumi.StringOutput
The most recent time that Advisor checked the validity of the recommendation..
type GetRecommendationsResult ¶
type GetRecommendationsResult struct { FilterByCategories []string `pulumi:"filterByCategories"` FilterByResourceGroups []string `pulumi:"filterByResourceGroups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // One or more `recommendations` blocks as defined below. Recommendations []GetRecommendationsRecommendation `pulumi:"recommendations"` }
A collection of values returned by getRecommendations.
func GetRecommendations ¶
func GetRecommendations(ctx *pulumi.Context, args *GetRecommendationsArgs, opts ...pulumi.InvokeOption) (*GetRecommendationsResult, error)
Use this data source to access information about an existing Advisor Recommendations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/advisor" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := advisor.GetRecommendations(ctx, &advisor.GetRecommendationsArgs{ FilterByCategories: []string{ "security", "cost", }, FilterByResourceGroups: []string{ "example-resgroups", }, }, nil) if err != nil { return err } ctx.Export("recommendations", example.Recommendations) return nil }) }
```
type GetRecommendationsResultOutput ¶ added in v4.20.0
type GetRecommendationsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRecommendations.
func GetRecommendationsOutput ¶ added in v4.20.0
func GetRecommendationsOutput(ctx *pulumi.Context, args GetRecommendationsOutputArgs, opts ...pulumi.InvokeOption) GetRecommendationsResultOutput
func (GetRecommendationsResultOutput) ElementType ¶ added in v4.20.0
func (GetRecommendationsResultOutput) ElementType() reflect.Type
func (GetRecommendationsResultOutput) FilterByCategories ¶ added in v4.20.0
func (o GetRecommendationsResultOutput) FilterByCategories() pulumi.StringArrayOutput
func (GetRecommendationsResultOutput) FilterByResourceGroups ¶ added in v4.20.0
func (o GetRecommendationsResultOutput) FilterByResourceGroups() pulumi.StringArrayOutput
func (GetRecommendationsResultOutput) Id ¶ added in v4.20.0
func (o GetRecommendationsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRecommendationsResultOutput) Recommendations ¶ added in v4.20.0
func (o GetRecommendationsResultOutput) Recommendations() GetRecommendationsRecommendationArrayOutput
One or more `recommendations` blocks as defined below.
func (GetRecommendationsResultOutput) ToGetRecommendationsResultOutput ¶ added in v4.20.0
func (o GetRecommendationsResultOutput) ToGetRecommendationsResultOutput() GetRecommendationsResultOutput
func (GetRecommendationsResultOutput) ToGetRecommendationsResultOutputWithContext ¶ added in v4.20.0
func (o GetRecommendationsResultOutput) ToGetRecommendationsResultOutputWithContext(ctx context.Context) GetRecommendationsResultOutput