Documentation ¶
Index ¶
- type CustomProvider
- type CustomProviderAction
- type CustomProviderActionArgs
- type CustomProviderActionArray
- type CustomProviderActionArrayInput
- type CustomProviderActionArrayOutput
- func (CustomProviderActionArrayOutput) ElementType() reflect.Type
- func (o CustomProviderActionArrayOutput) Index(i pulumi.IntInput) CustomProviderActionOutput
- func (o CustomProviderActionArrayOutput) ToCustomProviderActionArrayOutput() CustomProviderActionArrayOutput
- func (o CustomProviderActionArrayOutput) ToCustomProviderActionArrayOutputWithContext(ctx context.Context) CustomProviderActionArrayOutput
- type CustomProviderActionInput
- type CustomProviderActionOutput
- func (CustomProviderActionOutput) ElementType() reflect.Type
- func (o CustomProviderActionOutput) Endpoint() pulumi.StringOutput
- func (o CustomProviderActionOutput) Name() pulumi.StringOutput
- func (o CustomProviderActionOutput) ToCustomProviderActionOutput() CustomProviderActionOutput
- func (o CustomProviderActionOutput) ToCustomProviderActionOutputWithContext(ctx context.Context) CustomProviderActionOutput
- type CustomProviderArgs
- type CustomProviderArray
- type CustomProviderArrayInput
- type CustomProviderArrayOutput
- func (CustomProviderArrayOutput) ElementType() reflect.Type
- func (o CustomProviderArrayOutput) Index(i pulumi.IntInput) CustomProviderOutput
- func (o CustomProviderArrayOutput) ToCustomProviderArrayOutput() CustomProviderArrayOutput
- func (o CustomProviderArrayOutput) ToCustomProviderArrayOutputWithContext(ctx context.Context) CustomProviderArrayOutput
- type CustomProviderInput
- type CustomProviderMap
- type CustomProviderMapInput
- type CustomProviderMapOutput
- func (CustomProviderMapOutput) ElementType() reflect.Type
- func (o CustomProviderMapOutput) MapIndex(k pulumi.StringInput) CustomProviderOutput
- func (o CustomProviderMapOutput) ToCustomProviderMapOutput() CustomProviderMapOutput
- func (o CustomProviderMapOutput) ToCustomProviderMapOutputWithContext(ctx context.Context) CustomProviderMapOutput
- type CustomProviderOutput
- func (o CustomProviderOutput) Actions() CustomProviderActionArrayOutput
- func (CustomProviderOutput) ElementType() reflect.Type
- func (o CustomProviderOutput) Location() pulumi.StringOutput
- func (o CustomProviderOutput) Name() pulumi.StringOutput
- func (o CustomProviderOutput) ResourceGroupName() pulumi.StringOutput
- func (o CustomProviderOutput) ResourceTypes() CustomProviderResourceTypeArrayOutput
- func (o CustomProviderOutput) Tags() pulumi.StringMapOutput
- func (o CustomProviderOutput) ToCustomProviderOutput() CustomProviderOutput
- func (o CustomProviderOutput) ToCustomProviderOutputWithContext(ctx context.Context) CustomProviderOutput
- func (o CustomProviderOutput) Validations() CustomProviderValidationArrayOutput
- type CustomProviderResourceType
- type CustomProviderResourceTypeArgs
- func (CustomProviderResourceTypeArgs) ElementType() reflect.Type
- func (i CustomProviderResourceTypeArgs) ToCustomProviderResourceTypeOutput() CustomProviderResourceTypeOutput
- func (i CustomProviderResourceTypeArgs) ToCustomProviderResourceTypeOutputWithContext(ctx context.Context) CustomProviderResourceTypeOutput
- type CustomProviderResourceTypeArray
- func (CustomProviderResourceTypeArray) ElementType() reflect.Type
- func (i CustomProviderResourceTypeArray) ToCustomProviderResourceTypeArrayOutput() CustomProviderResourceTypeArrayOutput
- func (i CustomProviderResourceTypeArray) ToCustomProviderResourceTypeArrayOutputWithContext(ctx context.Context) CustomProviderResourceTypeArrayOutput
- type CustomProviderResourceTypeArrayInput
- type CustomProviderResourceTypeArrayOutput
- func (CustomProviderResourceTypeArrayOutput) ElementType() reflect.Type
- func (o CustomProviderResourceTypeArrayOutput) Index(i pulumi.IntInput) CustomProviderResourceTypeOutput
- func (o CustomProviderResourceTypeArrayOutput) ToCustomProviderResourceTypeArrayOutput() CustomProviderResourceTypeArrayOutput
- func (o CustomProviderResourceTypeArrayOutput) ToCustomProviderResourceTypeArrayOutputWithContext(ctx context.Context) CustomProviderResourceTypeArrayOutput
- type CustomProviderResourceTypeInput
- type CustomProviderResourceTypeOutput
- func (CustomProviderResourceTypeOutput) ElementType() reflect.Type
- func (o CustomProviderResourceTypeOutput) Endpoint() pulumi.StringOutput
- func (o CustomProviderResourceTypeOutput) Name() pulumi.StringOutput
- func (o CustomProviderResourceTypeOutput) RoutingType() pulumi.StringPtrOutput
- func (o CustomProviderResourceTypeOutput) ToCustomProviderResourceTypeOutput() CustomProviderResourceTypeOutput
- func (o CustomProviderResourceTypeOutput) ToCustomProviderResourceTypeOutputWithContext(ctx context.Context) CustomProviderResourceTypeOutput
- type CustomProviderState
- type CustomProviderValidation
- type CustomProviderValidationArgs
- func (CustomProviderValidationArgs) ElementType() reflect.Type
- func (i CustomProviderValidationArgs) ToCustomProviderValidationOutput() CustomProviderValidationOutput
- func (i CustomProviderValidationArgs) ToCustomProviderValidationOutputWithContext(ctx context.Context) CustomProviderValidationOutput
- type CustomProviderValidationArray
- func (CustomProviderValidationArray) ElementType() reflect.Type
- func (i CustomProviderValidationArray) ToCustomProviderValidationArrayOutput() CustomProviderValidationArrayOutput
- func (i CustomProviderValidationArray) ToCustomProviderValidationArrayOutputWithContext(ctx context.Context) CustomProviderValidationArrayOutput
- type CustomProviderValidationArrayInput
- type CustomProviderValidationArrayOutput
- func (CustomProviderValidationArrayOutput) ElementType() reflect.Type
- func (o CustomProviderValidationArrayOutput) Index(i pulumi.IntInput) CustomProviderValidationOutput
- func (o CustomProviderValidationArrayOutput) ToCustomProviderValidationArrayOutput() CustomProviderValidationArrayOutput
- func (o CustomProviderValidationArrayOutput) ToCustomProviderValidationArrayOutputWithContext(ctx context.Context) CustomProviderValidationArrayOutput
- type CustomProviderValidationInput
- type CustomProviderValidationOutput
- func (CustomProviderValidationOutput) ElementType() reflect.Type
- func (o CustomProviderValidationOutput) Specification() pulumi.StringOutput
- func (o CustomProviderValidationOutput) ToCustomProviderValidationOutput() CustomProviderValidationOutput
- func (o CustomProviderValidationOutput) ToCustomProviderValidationOutputWithContext(ctx context.Context) CustomProviderValidationOutput
- type GetClientConfigResult
- type GetClientConfigResultOutput
- func (o GetClientConfigResultOutput) ClientId() pulumi.StringOutput
- func (GetClientConfigResultOutput) ElementType() reflect.Type
- func (o GetClientConfigResultOutput) Id() pulumi.StringOutput
- func (o GetClientConfigResultOutput) ObjectId() pulumi.StringOutput
- func (o GetClientConfigResultOutput) SubscriptionId() pulumi.StringOutput
- func (o GetClientConfigResultOutput) TenantId() pulumi.StringOutput
- func (o GetClientConfigResultOutput) ToGetClientConfigResultOutput() GetClientConfigResultOutput
- func (o GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext(ctx context.Context) GetClientConfigResultOutput
- type GetExtendedLocationsArgs
- type GetExtendedLocationsOutputArgs
- type GetExtendedLocationsResult
- type GetExtendedLocationsResultOutput
- func (GetExtendedLocationsResultOutput) ElementType() reflect.Type
- func (o GetExtendedLocationsResultOutput) ExtendedLocations() pulumi.StringArrayOutput
- func (o GetExtendedLocationsResultOutput) Id() pulumi.StringOutput
- func (o GetExtendedLocationsResultOutput) Location() pulumi.StringOutput
- func (o GetExtendedLocationsResultOutput) ToGetExtendedLocationsResultOutput() GetExtendedLocationsResultOutput
- func (o GetExtendedLocationsResultOutput) ToGetExtendedLocationsResultOutputWithContext(ctx context.Context) GetExtendedLocationsResultOutput
- type GetLocationArgs
- type GetLocationOutputArgs
- type GetLocationResult
- type GetLocationResultOutput
- func (o GetLocationResultOutput) DisplayName() pulumi.StringOutput
- func (GetLocationResultOutput) ElementType() reflect.Type
- func (o GetLocationResultOutput) Id() pulumi.StringOutput
- func (o GetLocationResultOutput) Location() pulumi.StringOutput
- func (o GetLocationResultOutput) ToGetLocationResultOutput() GetLocationResultOutput
- func (o GetLocationResultOutput) ToGetLocationResultOutputWithContext(ctx context.Context) GetLocationResultOutput
- func (o GetLocationResultOutput) ZoneMappings() GetLocationZoneMappingArrayOutput
- type GetLocationZoneMapping
- type GetLocationZoneMappingArgs
- type GetLocationZoneMappingArray
- func (GetLocationZoneMappingArray) ElementType() reflect.Type
- func (i GetLocationZoneMappingArray) ToGetLocationZoneMappingArrayOutput() GetLocationZoneMappingArrayOutput
- func (i GetLocationZoneMappingArray) ToGetLocationZoneMappingArrayOutputWithContext(ctx context.Context) GetLocationZoneMappingArrayOutput
- type GetLocationZoneMappingArrayInput
- type GetLocationZoneMappingArrayOutput
- func (GetLocationZoneMappingArrayOutput) ElementType() reflect.Type
- func (o GetLocationZoneMappingArrayOutput) Index(i pulumi.IntInput) GetLocationZoneMappingOutput
- func (o GetLocationZoneMappingArrayOutput) ToGetLocationZoneMappingArrayOutput() GetLocationZoneMappingArrayOutput
- func (o GetLocationZoneMappingArrayOutput) ToGetLocationZoneMappingArrayOutputWithContext(ctx context.Context) GetLocationZoneMappingArrayOutput
- type GetLocationZoneMappingInput
- type GetLocationZoneMappingOutput
- func (GetLocationZoneMappingOutput) ElementType() reflect.Type
- func (o GetLocationZoneMappingOutput) LogicalZone() pulumi.StringOutput
- func (o GetLocationZoneMappingOutput) PhysicalZone() pulumi.StringOutput
- func (o GetLocationZoneMappingOutput) ToGetLocationZoneMappingOutput() GetLocationZoneMappingOutput
- func (o GetLocationZoneMappingOutput) ToGetLocationZoneMappingOutputWithContext(ctx context.Context) GetLocationZoneMappingOutput
- type GetResourcesArgs
- type GetResourcesOutputArgs
- type GetResourcesResource
- type GetResourcesResourceArgs
- type GetResourcesResourceArray
- type GetResourcesResourceArrayInput
- type GetResourcesResourceArrayOutput
- func (GetResourcesResourceArrayOutput) ElementType() reflect.Type
- func (o GetResourcesResourceArrayOutput) Index(i pulumi.IntInput) GetResourcesResourceOutput
- func (o GetResourcesResourceArrayOutput) ToGetResourcesResourceArrayOutput() GetResourcesResourceArrayOutput
- func (o GetResourcesResourceArrayOutput) ToGetResourcesResourceArrayOutputWithContext(ctx context.Context) GetResourcesResourceArrayOutput
- type GetResourcesResourceInput
- type GetResourcesResourceOutput
- func (GetResourcesResourceOutput) ElementType() reflect.Type
- func (o GetResourcesResourceOutput) Id() pulumi.StringOutput
- func (o GetResourcesResourceOutput) Location() pulumi.StringOutput
- func (o GetResourcesResourceOutput) Name() pulumi.StringOutput
- func (o GetResourcesResourceOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetResourcesResourceOutput) Tags() pulumi.StringMapOutput
- func (o GetResourcesResourceOutput) ToGetResourcesResourceOutput() GetResourcesResourceOutput
- func (o GetResourcesResourceOutput) ToGetResourcesResourceOutputWithContext(ctx context.Context) GetResourcesResourceOutput
- func (o GetResourcesResourceOutput) Type() pulumi.StringOutput
- type GetResourcesResult
- type GetResourcesResultOutput
- func (GetResourcesResultOutput) ElementType() reflect.Type
- func (o GetResourcesResultOutput) Id() pulumi.StringOutput
- func (o GetResourcesResultOutput) Name() pulumi.StringOutput
- func (o GetResourcesResultOutput) RequiredTags() pulumi.StringMapOutput
- func (o GetResourcesResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetResourcesResultOutput) Resources() GetResourcesResourceArrayOutput
- func (o GetResourcesResultOutput) ToGetResourcesResultOutput() GetResourcesResultOutput
- func (o GetResourcesResultOutput) ToGetResourcesResultOutputWithContext(ctx context.Context) GetResourcesResultOutput
- func (o GetResourcesResultOutput) Type() pulumi.StringOutput
- type GetSubscriptionsArgs
- type GetSubscriptionsOutputArgs
- type GetSubscriptionsResult
- type GetSubscriptionsResultOutput
- func (o GetSubscriptionsResultOutput) DisplayNameContains() pulumi.StringPtrOutput
- func (o GetSubscriptionsResultOutput) DisplayNamePrefix() pulumi.StringPtrOutput
- func (GetSubscriptionsResultOutput) ElementType() reflect.Type
- func (o GetSubscriptionsResultOutput) Id() pulumi.StringOutput
- func (o GetSubscriptionsResultOutput) Subscriptions() GetSubscriptionsSubscriptionArrayOutput
- func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput() GetSubscriptionsResultOutput
- func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext(ctx context.Context) GetSubscriptionsResultOutput
- type GetSubscriptionsSubscription
- type GetSubscriptionsSubscriptionArgs
- func (GetSubscriptionsSubscriptionArgs) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
- func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
- type GetSubscriptionsSubscriptionArray
- func (GetSubscriptionsSubscriptionArray) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
- func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
- type GetSubscriptionsSubscriptionArrayInput
- type GetSubscriptionsSubscriptionArrayOutput
- func (GetSubscriptionsSubscriptionArrayOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
- func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
- type GetSubscriptionsSubscriptionInput
- type GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionOutput) DisplayName() pulumi.StringOutput
- func (GetSubscriptionsSubscriptionOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionOutput) Id() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) LocationPlacementId() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) QuotaId() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) SpendingLimit() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) State() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) SubscriptionId() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) Tags() pulumi.StringMapOutput
- func (o GetSubscriptionsSubscriptionOutput) TenantId() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
- type GetTemplateSpecVersionArgs
- type GetTemplateSpecVersionOutputArgs
- type GetTemplateSpecVersionResult
- type GetTemplateSpecVersionResultOutput
- func (GetTemplateSpecVersionResultOutput) ElementType() reflect.Type
- func (o GetTemplateSpecVersionResultOutput) Id() pulumi.StringOutput
- func (o GetTemplateSpecVersionResultOutput) Name() pulumi.StringOutput
- func (o GetTemplateSpecVersionResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetTemplateSpecVersionResultOutput) Tags() pulumi.StringMapOutput
- func (o GetTemplateSpecVersionResultOutput) TemplateBody() pulumi.StringOutput
- func (o GetTemplateSpecVersionResultOutput) ToGetTemplateSpecVersionResultOutput() GetTemplateSpecVersionResultOutput
- func (o GetTemplateSpecVersionResultOutput) ToGetTemplateSpecVersionResultOutputWithContext(ctx context.Context) GetTemplateSpecVersionResultOutput
- func (o GetTemplateSpecVersionResultOutput) Version() pulumi.StringOutput
- type GetUserAssignedIdentityArgs
- type GetUserAssignedIdentityOutputArgs
- type GetUserAssignedIdentityResult
- type GetUserAssignedIdentityResultOutput
- func (o GetUserAssignedIdentityResultOutput) ClientId() pulumi.StringOutput
- func (GetUserAssignedIdentityResultOutput) ElementType() reflect.Type
- func (o GetUserAssignedIdentityResultOutput) Id() pulumi.StringOutput
- func (o GetUserAssignedIdentityResultOutput) Location() pulumi.StringOutput
- func (o GetUserAssignedIdentityResultOutput) Name() pulumi.StringOutput
- func (o GetUserAssignedIdentityResultOutput) PrincipalId() pulumi.StringOutput
- func (o GetUserAssignedIdentityResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetUserAssignedIdentityResultOutput) Tags() pulumi.StringMapOutput
- func (o GetUserAssignedIdentityResultOutput) TenantId() pulumi.StringOutput
- func (o GetUserAssignedIdentityResultOutput) ToGetUserAssignedIdentityResultOutput() GetUserAssignedIdentityResultOutput
- func (o GetUserAssignedIdentityResultOutput) ToGetUserAssignedIdentityResultOutputWithContext(ctx context.Context) GetUserAssignedIdentityResultOutput
- type LookupResourceGroupArgs
- type LookupResourceGroupOutputArgs
- type LookupResourceGroupResult
- type LookupResourceGroupResultOutput
- func (LookupResourceGroupResultOutput) ElementType() reflect.Type
- func (o LookupResourceGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupResourceGroupResultOutput) Location() pulumi.StringOutput
- func (o LookupResourceGroupResultOutput) ManagedBy() pulumi.StringOutput
- func (o LookupResourceGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupResourceGroupResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupResourceGroupResultOutput) ToLookupResourceGroupResultOutput() LookupResourceGroupResultOutput
- func (o LookupResourceGroupResultOutput) ToLookupResourceGroupResultOutputWithContext(ctx context.Context) LookupResourceGroupResultOutput
- type LookupResourceGroupTemplateDeploymentArgs
- type LookupResourceGroupTemplateDeploymentOutputArgs
- type LookupResourceGroupTemplateDeploymentResult
- type LookupResourceGroupTemplateDeploymentResultOutput
- func (LookupResourceGroupTemplateDeploymentResultOutput) ElementType() reflect.Type
- func (o LookupResourceGroupTemplateDeploymentResultOutput) Id() pulumi.StringOutput
- func (o LookupResourceGroupTemplateDeploymentResultOutput) Name() pulumi.StringOutput
- func (o LookupResourceGroupTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
- func (o LookupResourceGroupTemplateDeploymentResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupResourceGroupTemplateDeploymentResultOutput) ToLookupResourceGroupTemplateDeploymentResultOutput() LookupResourceGroupTemplateDeploymentResultOutput
- func (o LookupResourceGroupTemplateDeploymentResultOutput) ToLookupResourceGroupTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupResourceGroupTemplateDeploymentResultOutput
- type LookupSubscriptionArgs
- type LookupSubscriptionOutputArgs
- type LookupSubscriptionResult
- type LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) DisplayName() pulumi.StringOutput
- func (LookupSubscriptionResultOutput) ElementType() reflect.Type
- func (o LookupSubscriptionResultOutput) Id() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) LocationPlacementId() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) QuotaId() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) SpendingLimit() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) State() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) SubscriptionId() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSubscriptionResultOutput) TenantId() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
- type LookupSubscriptionTemplateDeploymentArgs
- type LookupSubscriptionTemplateDeploymentOutputArgs
- type LookupSubscriptionTemplateDeploymentResult
- type LookupSubscriptionTemplateDeploymentResultOutput
- func (LookupSubscriptionTemplateDeploymentResultOutput) ElementType() reflect.Type
- func (o LookupSubscriptionTemplateDeploymentResultOutput) Id() pulumi.StringOutput
- func (o LookupSubscriptionTemplateDeploymentResultOutput) Name() pulumi.StringOutput
- func (o LookupSubscriptionTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
- func (o LookupSubscriptionTemplateDeploymentResultOutput) ToLookupSubscriptionTemplateDeploymentResultOutput() LookupSubscriptionTemplateDeploymentResultOutput
- func (o LookupSubscriptionTemplateDeploymentResultOutput) ToLookupSubscriptionTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupSubscriptionTemplateDeploymentResultOutput
- type LookupTenantTemplateDeploymentArgs
- type LookupTenantTemplateDeploymentOutputArgs
- type LookupTenantTemplateDeploymentResult
- type LookupTenantTemplateDeploymentResultOutput
- func (LookupTenantTemplateDeploymentResultOutput) ElementType() reflect.Type
- func (o LookupTenantTemplateDeploymentResultOutput) Id() pulumi.StringOutput
- func (o LookupTenantTemplateDeploymentResultOutput) Name() pulumi.StringOutput
- func (o LookupTenantTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
- func (o LookupTenantTemplateDeploymentResultOutput) ToLookupTenantTemplateDeploymentResultOutput() LookupTenantTemplateDeploymentResultOutput
- func (o LookupTenantTemplateDeploymentResultOutput) ToLookupTenantTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupTenantTemplateDeploymentResultOutput
- type PortalTenantConfiguration
- type PortalTenantConfigurationArgs
- type PortalTenantConfigurationArray
- func (PortalTenantConfigurationArray) ElementType() reflect.Type
- func (i PortalTenantConfigurationArray) ToPortalTenantConfigurationArrayOutput() PortalTenantConfigurationArrayOutput
- func (i PortalTenantConfigurationArray) ToPortalTenantConfigurationArrayOutputWithContext(ctx context.Context) PortalTenantConfigurationArrayOutput
- type PortalTenantConfigurationArrayInput
- type PortalTenantConfigurationArrayOutput
- func (PortalTenantConfigurationArrayOutput) ElementType() reflect.Type
- func (o PortalTenantConfigurationArrayOutput) Index(i pulumi.IntInput) PortalTenantConfigurationOutput
- func (o PortalTenantConfigurationArrayOutput) ToPortalTenantConfigurationArrayOutput() PortalTenantConfigurationArrayOutput
- func (o PortalTenantConfigurationArrayOutput) ToPortalTenantConfigurationArrayOutputWithContext(ctx context.Context) PortalTenantConfigurationArrayOutput
- type PortalTenantConfigurationInput
- type PortalTenantConfigurationMap
- func (PortalTenantConfigurationMap) ElementType() reflect.Type
- func (i PortalTenantConfigurationMap) ToPortalTenantConfigurationMapOutput() PortalTenantConfigurationMapOutput
- func (i PortalTenantConfigurationMap) ToPortalTenantConfigurationMapOutputWithContext(ctx context.Context) PortalTenantConfigurationMapOutput
- type PortalTenantConfigurationMapInput
- type PortalTenantConfigurationMapOutput
- func (PortalTenantConfigurationMapOutput) ElementType() reflect.Type
- func (o PortalTenantConfigurationMapOutput) MapIndex(k pulumi.StringInput) PortalTenantConfigurationOutput
- func (o PortalTenantConfigurationMapOutput) ToPortalTenantConfigurationMapOutput() PortalTenantConfigurationMapOutput
- func (o PortalTenantConfigurationMapOutput) ToPortalTenantConfigurationMapOutputWithContext(ctx context.Context) PortalTenantConfigurationMapOutput
- type PortalTenantConfigurationOutput
- func (PortalTenantConfigurationOutput) ElementType() reflect.Type
- func (o PortalTenantConfigurationOutput) PrivateMarkdownStorageEnforced() pulumi.BoolOutput
- func (o PortalTenantConfigurationOutput) ToPortalTenantConfigurationOutput() PortalTenantConfigurationOutput
- func (o PortalTenantConfigurationOutput) ToPortalTenantConfigurationOutputWithContext(ctx context.Context) PortalTenantConfigurationOutput
- type PortalTenantConfigurationState
- type ResourceDeploymentScriptAzureCli
- func GetResourceDeploymentScriptAzureCli(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ResourceDeploymentScriptAzureCli, error)
- func NewResourceDeploymentScriptAzureCli(ctx *pulumi.Context, name string, args *ResourceDeploymentScriptAzureCliArgs, ...) (*ResourceDeploymentScriptAzureCli, error)
- func (*ResourceDeploymentScriptAzureCli) ElementType() reflect.Type
- func (i *ResourceDeploymentScriptAzureCli) ToResourceDeploymentScriptAzureCliOutput() ResourceDeploymentScriptAzureCliOutput
- func (i *ResourceDeploymentScriptAzureCli) ToResourceDeploymentScriptAzureCliOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliOutput
- type ResourceDeploymentScriptAzureCliArgs
- type ResourceDeploymentScriptAzureCliArray
- func (ResourceDeploymentScriptAzureCliArray) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliArray) ToResourceDeploymentScriptAzureCliArrayOutput() ResourceDeploymentScriptAzureCliArrayOutput
- func (i ResourceDeploymentScriptAzureCliArray) ToResourceDeploymentScriptAzureCliArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliArrayOutput
- type ResourceDeploymentScriptAzureCliArrayInput
- type ResourceDeploymentScriptAzureCliArrayOutput
- func (ResourceDeploymentScriptAzureCliArrayOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliArrayOutput) Index(i pulumi.IntInput) ResourceDeploymentScriptAzureCliOutput
- func (o ResourceDeploymentScriptAzureCliArrayOutput) ToResourceDeploymentScriptAzureCliArrayOutput() ResourceDeploymentScriptAzureCliArrayOutput
- func (o ResourceDeploymentScriptAzureCliArrayOutput) ToResourceDeploymentScriptAzureCliArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliArrayOutput
- type ResourceDeploymentScriptAzureCliContainer
- type ResourceDeploymentScriptAzureCliContainerArgs
- func (ResourceDeploymentScriptAzureCliContainerArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerOutput() ResourceDeploymentScriptAzureCliContainerOutput
- func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerOutput
- func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput
- func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput
- type ResourceDeploymentScriptAzureCliContainerInput
- type ResourceDeploymentScriptAzureCliContainerOutput
- func (o ResourceDeploymentScriptAzureCliContainerOutput) ContainerGroupName() pulumi.StringPtrOutput
- func (ResourceDeploymentScriptAzureCliContainerOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerOutput() ResourceDeploymentScriptAzureCliContainerOutput
- func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerOutput
- func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput
- func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput
- type ResourceDeploymentScriptAzureCliContainerPtrInput
- type ResourceDeploymentScriptAzureCliContainerPtrOutput
- func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) ContainerGroupName() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) Elem() ResourceDeploymentScriptAzureCliContainerOutput
- func (ResourceDeploymentScriptAzureCliContainerPtrOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput
- func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput
- type ResourceDeploymentScriptAzureCliEnvironmentVariable
- type ResourceDeploymentScriptAzureCliEnvironmentVariableArgs
- func (ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
- func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
- type ResourceDeploymentScriptAzureCliEnvironmentVariableArray
- func (ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
- func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
- type ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput
- type ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
- func (ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
- type ResourceDeploymentScriptAzureCliEnvironmentVariableInput
- type ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
- func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) Name() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) SecureValue() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
- func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) Value() pulumi.StringPtrOutput
- type ResourceDeploymentScriptAzureCliIdentity
- type ResourceDeploymentScriptAzureCliIdentityArgs
- func (ResourceDeploymentScriptAzureCliIdentityArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityOutput() ResourceDeploymentScriptAzureCliIdentityOutput
- func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityOutput
- func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput
- type ResourceDeploymentScriptAzureCliIdentityInput
- type ResourceDeploymentScriptAzureCliIdentityOutput
- func (ResourceDeploymentScriptAzureCliIdentityOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityOutput() ResourceDeploymentScriptAzureCliIdentityOutput
- func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityOutput
- func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (o ResourceDeploymentScriptAzureCliIdentityOutput) Type() pulumi.StringOutput
- type ResourceDeploymentScriptAzureCliIdentityPtrInput
- type ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) Elem() ResourceDeploymentScriptAzureCliIdentityOutput
- func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ResourceDeploymentScriptAzureCliInput
- type ResourceDeploymentScriptAzureCliMap
- func (ResourceDeploymentScriptAzureCliMap) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliMap) ToResourceDeploymentScriptAzureCliMapOutput() ResourceDeploymentScriptAzureCliMapOutput
- func (i ResourceDeploymentScriptAzureCliMap) ToResourceDeploymentScriptAzureCliMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliMapOutput
- type ResourceDeploymentScriptAzureCliMapInput
- type ResourceDeploymentScriptAzureCliMapOutput
- func (ResourceDeploymentScriptAzureCliMapOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliMapOutput) MapIndex(k pulumi.StringInput) ResourceDeploymentScriptAzureCliOutput
- func (o ResourceDeploymentScriptAzureCliMapOutput) ToResourceDeploymentScriptAzureCliMapOutput() ResourceDeploymentScriptAzureCliMapOutput
- func (o ResourceDeploymentScriptAzureCliMapOutput) ToResourceDeploymentScriptAzureCliMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliMapOutput
- type ResourceDeploymentScriptAzureCliOutput
- func (o ResourceDeploymentScriptAzureCliOutput) CleanupPreference() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) CommandLine() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Container() ResourceDeploymentScriptAzureCliContainerPtrOutput
- func (ResourceDeploymentScriptAzureCliOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliOutput) EnvironmentVariables() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
- func (o ResourceDeploymentScriptAzureCliOutput) ForceUpdateTag() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Identity() ResourceDeploymentScriptAzureCliIdentityPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Location() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Name() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Outputs() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliOutput) PrimaryScriptUri() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) ResourceGroupName() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliOutput) RetentionInterval() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliOutput) ScriptContent() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) StorageAccount() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) SupportingScriptUris() pulumi.StringArrayOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Tags() pulumi.StringMapOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Timeout() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliOutput) ToResourceDeploymentScriptAzureCliOutput() ResourceDeploymentScriptAzureCliOutput
- func (o ResourceDeploymentScriptAzureCliOutput) ToResourceDeploymentScriptAzureCliOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliOutput
- func (o ResourceDeploymentScriptAzureCliOutput) Version() pulumi.StringOutput
- type ResourceDeploymentScriptAzureCliState
- type ResourceDeploymentScriptAzureCliStorageAccount
- type ResourceDeploymentScriptAzureCliStorageAccountArgs
- func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountOutput() ResourceDeploymentScriptAzureCliStorageAccountOutput
- func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountOutput
- func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- type ResourceDeploymentScriptAzureCliStorageAccountInput
- type ResourceDeploymentScriptAzureCliStorageAccountOutput
- func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) Key() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) Name() pulumi.StringOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountOutput() ResourceDeploymentScriptAzureCliStorageAccountOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- type ResourceDeploymentScriptAzureCliStorageAccountPtrInput
- type ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) Elem() ResourceDeploymentScriptAzureCliStorageAccountOutput
- func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) Key() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) Name() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
- type ResourceDeploymentScriptPowerShell
- func GetResourceDeploymentScriptPowerShell(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ResourceDeploymentScriptPowerShell, error)
- func NewResourceDeploymentScriptPowerShell(ctx *pulumi.Context, name string, args *ResourceDeploymentScriptPowerShellArgs, ...) (*ResourceDeploymentScriptPowerShell, error)
- func (*ResourceDeploymentScriptPowerShell) ElementType() reflect.Type
- func (i *ResourceDeploymentScriptPowerShell) ToResourceDeploymentScriptPowerShellOutput() ResourceDeploymentScriptPowerShellOutput
- func (i *ResourceDeploymentScriptPowerShell) ToResourceDeploymentScriptPowerShellOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellOutput
- type ResourceDeploymentScriptPowerShellArgs
- type ResourceDeploymentScriptPowerShellArray
- func (ResourceDeploymentScriptPowerShellArray) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellArray) ToResourceDeploymentScriptPowerShellArrayOutput() ResourceDeploymentScriptPowerShellArrayOutput
- func (i ResourceDeploymentScriptPowerShellArray) ToResourceDeploymentScriptPowerShellArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellArrayOutput
- type ResourceDeploymentScriptPowerShellArrayInput
- type ResourceDeploymentScriptPowerShellArrayOutput
- func (ResourceDeploymentScriptPowerShellArrayOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellArrayOutput) Index(i pulumi.IntInput) ResourceDeploymentScriptPowerShellOutput
- func (o ResourceDeploymentScriptPowerShellArrayOutput) ToResourceDeploymentScriptPowerShellArrayOutput() ResourceDeploymentScriptPowerShellArrayOutput
- func (o ResourceDeploymentScriptPowerShellArrayOutput) ToResourceDeploymentScriptPowerShellArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellArrayOutput
- type ResourceDeploymentScriptPowerShellContainer
- type ResourceDeploymentScriptPowerShellContainerArgs
- func (ResourceDeploymentScriptPowerShellContainerArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerOutput() ResourceDeploymentScriptPowerShellContainerOutput
- func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerOutput
- func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput
- func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput
- type ResourceDeploymentScriptPowerShellContainerInput
- type ResourceDeploymentScriptPowerShellContainerOutput
- func (o ResourceDeploymentScriptPowerShellContainerOutput) ContainerGroupName() pulumi.StringPtrOutput
- func (ResourceDeploymentScriptPowerShellContainerOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerOutput() ResourceDeploymentScriptPowerShellContainerOutput
- func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerOutput
- func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput
- func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput
- type ResourceDeploymentScriptPowerShellContainerPtrInput
- type ResourceDeploymentScriptPowerShellContainerPtrOutput
- func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) ContainerGroupName() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) Elem() ResourceDeploymentScriptPowerShellContainerOutput
- func (ResourceDeploymentScriptPowerShellContainerPtrOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput
- func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput
- type ResourceDeploymentScriptPowerShellEnvironmentVariable
- type ResourceDeploymentScriptPowerShellEnvironmentVariableArgs
- func (ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
- func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
- type ResourceDeploymentScriptPowerShellEnvironmentVariableArray
- func (ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
- func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
- type ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput
- type ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
- func (ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
- type ResourceDeploymentScriptPowerShellEnvironmentVariableInput
- type ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
- func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) Name() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) SecureValue() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
- func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) Value() pulumi.StringPtrOutput
- type ResourceDeploymentScriptPowerShellIdentity
- type ResourceDeploymentScriptPowerShellIdentityArgs
- func (ResourceDeploymentScriptPowerShellIdentityArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityOutput() ResourceDeploymentScriptPowerShellIdentityOutput
- func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityOutput
- func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput
- type ResourceDeploymentScriptPowerShellIdentityInput
- type ResourceDeploymentScriptPowerShellIdentityOutput
- func (ResourceDeploymentScriptPowerShellIdentityOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityOutput() ResourceDeploymentScriptPowerShellIdentityOutput
- func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityOutput
- func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (o ResourceDeploymentScriptPowerShellIdentityOutput) Type() pulumi.StringOutput
- type ResourceDeploymentScriptPowerShellIdentityPtrInput
- type ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) Elem() ResourceDeploymentScriptPowerShellIdentityOutput
- func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ResourceDeploymentScriptPowerShellInput
- type ResourceDeploymentScriptPowerShellMap
- func (ResourceDeploymentScriptPowerShellMap) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellMap) ToResourceDeploymentScriptPowerShellMapOutput() ResourceDeploymentScriptPowerShellMapOutput
- func (i ResourceDeploymentScriptPowerShellMap) ToResourceDeploymentScriptPowerShellMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellMapOutput
- type ResourceDeploymentScriptPowerShellMapInput
- type ResourceDeploymentScriptPowerShellMapOutput
- func (ResourceDeploymentScriptPowerShellMapOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellMapOutput) MapIndex(k pulumi.StringInput) ResourceDeploymentScriptPowerShellOutput
- func (o ResourceDeploymentScriptPowerShellMapOutput) ToResourceDeploymentScriptPowerShellMapOutput() ResourceDeploymentScriptPowerShellMapOutput
- func (o ResourceDeploymentScriptPowerShellMapOutput) ToResourceDeploymentScriptPowerShellMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellMapOutput
- type ResourceDeploymentScriptPowerShellOutput
- func (o ResourceDeploymentScriptPowerShellOutput) CleanupPreference() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) CommandLine() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Container() ResourceDeploymentScriptPowerShellContainerPtrOutput
- func (ResourceDeploymentScriptPowerShellOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellOutput) EnvironmentVariables() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
- func (o ResourceDeploymentScriptPowerShellOutput) ForceUpdateTag() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Identity() ResourceDeploymentScriptPowerShellIdentityPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Location() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Name() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Outputs() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellOutput) PrimaryScriptUri() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) ResourceGroupName() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellOutput) RetentionInterval() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellOutput) ScriptContent() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) StorageAccount() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) SupportingScriptUris() pulumi.StringArrayOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Tags() pulumi.StringMapOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Timeout() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellOutput) ToResourceDeploymentScriptPowerShellOutput() ResourceDeploymentScriptPowerShellOutput
- func (o ResourceDeploymentScriptPowerShellOutput) ToResourceDeploymentScriptPowerShellOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellOutput
- func (o ResourceDeploymentScriptPowerShellOutput) Version() pulumi.StringOutput
- type ResourceDeploymentScriptPowerShellState
- type ResourceDeploymentScriptPowerShellStorageAccount
- type ResourceDeploymentScriptPowerShellStorageAccountArgs
- func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ElementType() reflect.Type
- func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountOutput() ResourceDeploymentScriptPowerShellStorageAccountOutput
- func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountOutput
- func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- type ResourceDeploymentScriptPowerShellStorageAccountInput
- type ResourceDeploymentScriptPowerShellStorageAccountOutput
- func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) Key() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) Name() pulumi.StringOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountOutput() ResourceDeploymentScriptPowerShellStorageAccountOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- type ResourceDeploymentScriptPowerShellStorageAccountPtrInput
- type ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) Elem() ResourceDeploymentScriptPowerShellStorageAccountOutput
- func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ElementType() reflect.Type
- func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) Key() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) Name() pulumi.StringPtrOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
- type ResourceGroup
- type ResourceGroupArgs
- type ResourceGroupArray
- type ResourceGroupArrayInput
- type ResourceGroupArrayOutput
- func (ResourceGroupArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupArrayOutput) Index(i pulumi.IntInput) ResourceGroupOutput
- func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
- func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
- type ResourceGroupCostManagementExport
- func GetResourceGroupCostManagementExport(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ResourceGroupCostManagementExport, error)
- func NewResourceGroupCostManagementExport(ctx *pulumi.Context, name string, args *ResourceGroupCostManagementExportArgs, ...) (*ResourceGroupCostManagementExport, error)
- func (*ResourceGroupCostManagementExport) ElementType() reflect.Type
- func (i *ResourceGroupCostManagementExport) ToResourceGroupCostManagementExportOutput() ResourceGroupCostManagementExportOutput
- func (i *ResourceGroupCostManagementExport) ToResourceGroupCostManagementExportOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportOutput
- type ResourceGroupCostManagementExportArgs
- type ResourceGroupCostManagementExportArray
- func (ResourceGroupCostManagementExportArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementExportArray) ToResourceGroupCostManagementExportArrayOutput() ResourceGroupCostManagementExportArrayOutput
- func (i ResourceGroupCostManagementExportArray) ToResourceGroupCostManagementExportArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportArrayOutput
- type ResourceGroupCostManagementExportArrayInput
- type ResourceGroupCostManagementExportArrayOutput
- func (ResourceGroupCostManagementExportArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementExportOutput
- func (o ResourceGroupCostManagementExportArrayOutput) ToResourceGroupCostManagementExportArrayOutput() ResourceGroupCostManagementExportArrayOutput
- func (o ResourceGroupCostManagementExportArrayOutput) ToResourceGroupCostManagementExportArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportArrayOutput
- type ResourceGroupCostManagementExportExportDataOptions
- type ResourceGroupCostManagementExportExportDataOptionsArgs
- func (ResourceGroupCostManagementExportExportDataOptionsArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsOutput() ResourceGroupCostManagementExportExportDataOptionsOutput
- func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsOutput
- func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- type ResourceGroupCostManagementExportExportDataOptionsInput
- type ResourceGroupCostManagementExportExportDataOptionsOutput
- func (ResourceGroupCostManagementExportExportDataOptionsOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportExportDataOptionsOutput) TimeFrame() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsOutput() ResourceGroupCostManagementExportExportDataOptionsOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsOutput) Type() pulumi.StringOutput
- type ResourceGroupCostManagementExportExportDataOptionsPtrInput
- type ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) Elem() ResourceGroupCostManagementExportExportDataOptionsOutput
- func (ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) TimeFrame() pulumi.StringPtrOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput
- func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) Type() pulumi.StringPtrOutput
- type ResourceGroupCostManagementExportExportDataStorageLocation
- type ResourceGroupCostManagementExportExportDataStorageLocationArgs
- func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationOutput() ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- type ResourceGroupCostManagementExportExportDataStorageLocationInput
- type ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ContainerId() pulumi.StringOutput
- func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) RootFolderPath() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationOutput() ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- type ResourceGroupCostManagementExportExportDataStorageLocationPtrInput
- type ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ContainerId() pulumi.StringPtrOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) Elem() ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath() pulumi.StringPtrOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
- type ResourceGroupCostManagementExportInput
- type ResourceGroupCostManagementExportMap
- func (ResourceGroupCostManagementExportMap) ElementType() reflect.Type
- func (i ResourceGroupCostManagementExportMap) ToResourceGroupCostManagementExportMapOutput() ResourceGroupCostManagementExportMapOutput
- func (i ResourceGroupCostManagementExportMap) ToResourceGroupCostManagementExportMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportMapOutput
- type ResourceGroupCostManagementExportMapInput
- type ResourceGroupCostManagementExportMapOutput
- func (ResourceGroupCostManagementExportMapOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupCostManagementExportOutput
- func (o ResourceGroupCostManagementExportMapOutput) ToResourceGroupCostManagementExportMapOutput() ResourceGroupCostManagementExportMapOutput
- func (o ResourceGroupCostManagementExportMapOutput) ToResourceGroupCostManagementExportMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportMapOutput
- type ResourceGroupCostManagementExportOutput
- func (o ResourceGroupCostManagementExportOutput) Active() pulumi.BoolPtrOutput
- func (ResourceGroupCostManagementExportOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementExportOutput) ExportDataOptions() ResourceGroupCostManagementExportExportDataOptionsOutput
- func (o ResourceGroupCostManagementExportOutput) ExportDataStorageLocation() ResourceGroupCostManagementExportExportDataStorageLocationOutput
- func (o ResourceGroupCostManagementExportOutput) Name() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportOutput) RecurrencePeriodEndDate() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportOutput) RecurrencePeriodStartDate() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportOutput) RecurrenceType() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportOutput) ResourceGroupId() pulumi.StringOutput
- func (o ResourceGroupCostManagementExportOutput) ToResourceGroupCostManagementExportOutput() ResourceGroupCostManagementExportOutput
- func (o ResourceGroupCostManagementExportOutput) ToResourceGroupCostManagementExportOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportOutput
- type ResourceGroupCostManagementExportState
- type ResourceGroupCostManagementView
- func GetResourceGroupCostManagementView(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ResourceGroupCostManagementView, error)
- func NewResourceGroupCostManagementView(ctx *pulumi.Context, name string, args *ResourceGroupCostManagementViewArgs, ...) (*ResourceGroupCostManagementView, error)
- func (*ResourceGroupCostManagementView) ElementType() reflect.Type
- func (i *ResourceGroupCostManagementView) ToResourceGroupCostManagementViewOutput() ResourceGroupCostManagementViewOutput
- func (i *ResourceGroupCostManagementView) ToResourceGroupCostManagementViewOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewOutput
- type ResourceGroupCostManagementViewArgs
- type ResourceGroupCostManagementViewArray
- func (ResourceGroupCostManagementViewArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewArray) ToResourceGroupCostManagementViewArrayOutput() ResourceGroupCostManagementViewArrayOutput
- func (i ResourceGroupCostManagementViewArray) ToResourceGroupCostManagementViewArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewArrayOutput
- type ResourceGroupCostManagementViewArrayInput
- type ResourceGroupCostManagementViewArrayOutput
- func (ResourceGroupCostManagementViewArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementViewOutput
- func (o ResourceGroupCostManagementViewArrayOutput) ToResourceGroupCostManagementViewArrayOutput() ResourceGroupCostManagementViewArrayOutput
- func (o ResourceGroupCostManagementViewArrayOutput) ToResourceGroupCostManagementViewArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewArrayOutput
- type ResourceGroupCostManagementViewDataset
- type ResourceGroupCostManagementViewDatasetAggregation
- type ResourceGroupCostManagementViewDatasetAggregationArgs
- func (ResourceGroupCostManagementViewDatasetAggregationArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetAggregationArgs) ToResourceGroupCostManagementViewDatasetAggregationOutput() ResourceGroupCostManagementViewDatasetAggregationOutput
- func (i ResourceGroupCostManagementViewDatasetAggregationArgs) ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationOutput
- type ResourceGroupCostManagementViewDatasetAggregationArray
- func (ResourceGroupCostManagementViewDatasetAggregationArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetAggregationArray) ToResourceGroupCostManagementViewDatasetAggregationArrayOutput() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- func (i ResourceGroupCostManagementViewDatasetAggregationArray) ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- type ResourceGroupCostManagementViewDatasetAggregationArrayInput
- type ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- func (ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetAggregationArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementViewDatasetAggregationOutput
- func (o ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ToResourceGroupCostManagementViewDatasetAggregationArrayOutput() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- func (o ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- type ResourceGroupCostManagementViewDatasetAggregationInput
- type ResourceGroupCostManagementViewDatasetAggregationOutput
- func (o ResourceGroupCostManagementViewDatasetAggregationOutput) ColumnName() pulumi.StringOutput
- func (ResourceGroupCostManagementViewDatasetAggregationOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetAggregationOutput) Name() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewDatasetAggregationOutput) ToResourceGroupCostManagementViewDatasetAggregationOutput() ResourceGroupCostManagementViewDatasetAggregationOutput
- func (o ResourceGroupCostManagementViewDatasetAggregationOutput) ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationOutput
- type ResourceGroupCostManagementViewDatasetArgs
- func (ResourceGroupCostManagementViewDatasetArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetOutput() ResourceGroupCostManagementViewDatasetOutput
- func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetOutput
- func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput
- func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetPtrOutput
- type ResourceGroupCostManagementViewDatasetGrouping
- type ResourceGroupCostManagementViewDatasetGroupingArgs
- func (ResourceGroupCostManagementViewDatasetGroupingArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetGroupingArgs) ToResourceGroupCostManagementViewDatasetGroupingOutput() ResourceGroupCostManagementViewDatasetGroupingOutput
- func (i ResourceGroupCostManagementViewDatasetGroupingArgs) ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingOutput
- type ResourceGroupCostManagementViewDatasetGroupingArray
- func (ResourceGroupCostManagementViewDatasetGroupingArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetGroupingArray) ToResourceGroupCostManagementViewDatasetGroupingArrayOutput() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- func (i ResourceGroupCostManagementViewDatasetGroupingArray) ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- type ResourceGroupCostManagementViewDatasetGroupingArrayInput
- type ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- func (ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetGroupingArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementViewDatasetGroupingOutput
- func (o ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ToResourceGroupCostManagementViewDatasetGroupingArrayOutput() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- func (o ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- type ResourceGroupCostManagementViewDatasetGroupingInput
- type ResourceGroupCostManagementViewDatasetGroupingOutput
- func (ResourceGroupCostManagementViewDatasetGroupingOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetGroupingOutput) Name() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewDatasetGroupingOutput) ToResourceGroupCostManagementViewDatasetGroupingOutput() ResourceGroupCostManagementViewDatasetGroupingOutput
- func (o ResourceGroupCostManagementViewDatasetGroupingOutput) ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingOutput
- func (o ResourceGroupCostManagementViewDatasetGroupingOutput) Type() pulumi.StringOutput
- type ResourceGroupCostManagementViewDatasetInput
- type ResourceGroupCostManagementViewDatasetOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) Aggregations() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- func (ResourceGroupCostManagementViewDatasetOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetOutput) Granularity() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) Groupings() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) Sortings() ResourceGroupCostManagementViewDatasetSortingArrayOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetOutput() ResourceGroupCostManagementViewDatasetOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput
- func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetPtrOutput
- type ResourceGroupCostManagementViewDatasetPtrInput
- type ResourceGroupCostManagementViewDatasetPtrOutput
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) Aggregations() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) Elem() ResourceGroupCostManagementViewDatasetOutput
- func (ResourceGroupCostManagementViewDatasetPtrOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) Granularity() pulumi.StringPtrOutput
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) Groupings() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) Sortings() ResourceGroupCostManagementViewDatasetSortingArrayOutput
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput
- func (o ResourceGroupCostManagementViewDatasetPtrOutput) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetPtrOutput
- type ResourceGroupCostManagementViewDatasetSorting
- type ResourceGroupCostManagementViewDatasetSortingArgs
- func (ResourceGroupCostManagementViewDatasetSortingArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetSortingArgs) ToResourceGroupCostManagementViewDatasetSortingOutput() ResourceGroupCostManagementViewDatasetSortingOutput
- func (i ResourceGroupCostManagementViewDatasetSortingArgs) ToResourceGroupCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingOutput
- type ResourceGroupCostManagementViewDatasetSortingArray
- func (ResourceGroupCostManagementViewDatasetSortingArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewDatasetSortingArray) ToResourceGroupCostManagementViewDatasetSortingArrayOutput() ResourceGroupCostManagementViewDatasetSortingArrayOutput
- func (i ResourceGroupCostManagementViewDatasetSortingArray) ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingArrayOutput
- type ResourceGroupCostManagementViewDatasetSortingArrayInput
- type ResourceGroupCostManagementViewDatasetSortingArrayOutput
- func (ResourceGroupCostManagementViewDatasetSortingArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetSortingArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementViewDatasetSortingOutput
- func (o ResourceGroupCostManagementViewDatasetSortingArrayOutput) ToResourceGroupCostManagementViewDatasetSortingArrayOutput() ResourceGroupCostManagementViewDatasetSortingArrayOutput
- func (o ResourceGroupCostManagementViewDatasetSortingArrayOutput) ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingArrayOutput
- type ResourceGroupCostManagementViewDatasetSortingInput
- type ResourceGroupCostManagementViewDatasetSortingOutput
- func (o ResourceGroupCostManagementViewDatasetSortingOutput) Direction() pulumi.StringOutput
- func (ResourceGroupCostManagementViewDatasetSortingOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewDatasetSortingOutput) Name() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewDatasetSortingOutput) ToResourceGroupCostManagementViewDatasetSortingOutput() ResourceGroupCostManagementViewDatasetSortingOutput
- func (o ResourceGroupCostManagementViewDatasetSortingOutput) ToResourceGroupCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingOutput
- type ResourceGroupCostManagementViewInput
- type ResourceGroupCostManagementViewKpi
- type ResourceGroupCostManagementViewKpiArgs
- func (ResourceGroupCostManagementViewKpiArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewKpiArgs) ToResourceGroupCostManagementViewKpiOutput() ResourceGroupCostManagementViewKpiOutput
- func (i ResourceGroupCostManagementViewKpiArgs) ToResourceGroupCostManagementViewKpiOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiOutput
- type ResourceGroupCostManagementViewKpiArray
- func (ResourceGroupCostManagementViewKpiArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewKpiArray) ToResourceGroupCostManagementViewKpiArrayOutput() ResourceGroupCostManagementViewKpiArrayOutput
- func (i ResourceGroupCostManagementViewKpiArray) ToResourceGroupCostManagementViewKpiArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiArrayOutput
- type ResourceGroupCostManagementViewKpiArrayInput
- type ResourceGroupCostManagementViewKpiArrayOutput
- func (ResourceGroupCostManagementViewKpiArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewKpiArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementViewKpiOutput
- func (o ResourceGroupCostManagementViewKpiArrayOutput) ToResourceGroupCostManagementViewKpiArrayOutput() ResourceGroupCostManagementViewKpiArrayOutput
- func (o ResourceGroupCostManagementViewKpiArrayOutput) ToResourceGroupCostManagementViewKpiArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiArrayOutput
- type ResourceGroupCostManagementViewKpiInput
- type ResourceGroupCostManagementViewKpiOutput
- func (ResourceGroupCostManagementViewKpiOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewKpiOutput) ToResourceGroupCostManagementViewKpiOutput() ResourceGroupCostManagementViewKpiOutput
- func (o ResourceGroupCostManagementViewKpiOutput) ToResourceGroupCostManagementViewKpiOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiOutput
- func (o ResourceGroupCostManagementViewKpiOutput) Type() pulumi.StringOutput
- type ResourceGroupCostManagementViewMap
- func (ResourceGroupCostManagementViewMap) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewMap) ToResourceGroupCostManagementViewMapOutput() ResourceGroupCostManagementViewMapOutput
- func (i ResourceGroupCostManagementViewMap) ToResourceGroupCostManagementViewMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewMapOutput
- type ResourceGroupCostManagementViewMapInput
- type ResourceGroupCostManagementViewMapOutput
- func (ResourceGroupCostManagementViewMapOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupCostManagementViewOutput
- func (o ResourceGroupCostManagementViewMapOutput) ToResourceGroupCostManagementViewMapOutput() ResourceGroupCostManagementViewMapOutput
- func (o ResourceGroupCostManagementViewMapOutput) ToResourceGroupCostManagementViewMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewMapOutput
- type ResourceGroupCostManagementViewOutput
- func (o ResourceGroupCostManagementViewOutput) Accumulated() pulumi.BoolOutput
- func (o ResourceGroupCostManagementViewOutput) ChartType() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewOutput) Dataset() ResourceGroupCostManagementViewDatasetOutput
- func (o ResourceGroupCostManagementViewOutput) DisplayName() pulumi.StringOutput
- func (ResourceGroupCostManagementViewOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewOutput) Kpis() ResourceGroupCostManagementViewKpiArrayOutput
- func (o ResourceGroupCostManagementViewOutput) Name() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewOutput) Pivots() ResourceGroupCostManagementViewPivotArrayOutput
- func (o ResourceGroupCostManagementViewOutput) ReportType() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewOutput) ResourceGroupId() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewOutput) Timeframe() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewOutput) ToResourceGroupCostManagementViewOutput() ResourceGroupCostManagementViewOutput
- func (o ResourceGroupCostManagementViewOutput) ToResourceGroupCostManagementViewOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewOutput
- type ResourceGroupCostManagementViewPivot
- type ResourceGroupCostManagementViewPivotArgs
- func (ResourceGroupCostManagementViewPivotArgs) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewPivotArgs) ToResourceGroupCostManagementViewPivotOutput() ResourceGroupCostManagementViewPivotOutput
- func (i ResourceGroupCostManagementViewPivotArgs) ToResourceGroupCostManagementViewPivotOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotOutput
- type ResourceGroupCostManagementViewPivotArray
- func (ResourceGroupCostManagementViewPivotArray) ElementType() reflect.Type
- func (i ResourceGroupCostManagementViewPivotArray) ToResourceGroupCostManagementViewPivotArrayOutput() ResourceGroupCostManagementViewPivotArrayOutput
- func (i ResourceGroupCostManagementViewPivotArray) ToResourceGroupCostManagementViewPivotArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotArrayOutput
- type ResourceGroupCostManagementViewPivotArrayInput
- type ResourceGroupCostManagementViewPivotArrayOutput
- func (ResourceGroupCostManagementViewPivotArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewPivotArrayOutput) Index(i pulumi.IntInput) ResourceGroupCostManagementViewPivotOutput
- func (o ResourceGroupCostManagementViewPivotArrayOutput) ToResourceGroupCostManagementViewPivotArrayOutput() ResourceGroupCostManagementViewPivotArrayOutput
- func (o ResourceGroupCostManagementViewPivotArrayOutput) ToResourceGroupCostManagementViewPivotArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotArrayOutput
- type ResourceGroupCostManagementViewPivotInput
- type ResourceGroupCostManagementViewPivotOutput
- func (ResourceGroupCostManagementViewPivotOutput) ElementType() reflect.Type
- func (o ResourceGroupCostManagementViewPivotOutput) Name() pulumi.StringOutput
- func (o ResourceGroupCostManagementViewPivotOutput) ToResourceGroupCostManagementViewPivotOutput() ResourceGroupCostManagementViewPivotOutput
- func (o ResourceGroupCostManagementViewPivotOutput) ToResourceGroupCostManagementViewPivotOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotOutput
- func (o ResourceGroupCostManagementViewPivotOutput) Type() pulumi.StringOutput
- type ResourceGroupCostManagementViewState
- type ResourceGroupInput
- type ResourceGroupMap
- type ResourceGroupMapInput
- type ResourceGroupMapOutput
- func (ResourceGroupMapOutput) ElementType() reflect.Type
- func (o ResourceGroupMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupOutput
- func (o ResourceGroupMapOutput) ToResourceGroupMapOutput() ResourceGroupMapOutput
- func (o ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
- type ResourceGroupOutput
- func (ResourceGroupOutput) ElementType() reflect.Type
- func (o ResourceGroupOutput) Location() pulumi.StringOutput
- func (o ResourceGroupOutput) ManagedBy() pulumi.StringPtrOutput
- func (o ResourceGroupOutput) Name() pulumi.StringOutput
- func (o ResourceGroupOutput) Tags() pulumi.StringMapOutput
- func (o ResourceGroupOutput) ToResourceGroupOutput() ResourceGroupOutput
- func (o ResourceGroupOutput) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
- type ResourceGroupPolicyAssignment
- func (*ResourceGroupPolicyAssignment) ElementType() reflect.Type
- func (i *ResourceGroupPolicyAssignment) ToResourceGroupPolicyAssignmentOutput() ResourceGroupPolicyAssignmentOutput
- func (i *ResourceGroupPolicyAssignment) ToResourceGroupPolicyAssignmentOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOutput
- type ResourceGroupPolicyAssignmentArgs
- type ResourceGroupPolicyAssignmentArray
- func (ResourceGroupPolicyAssignmentArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentArray) ToResourceGroupPolicyAssignmentArrayOutput() ResourceGroupPolicyAssignmentArrayOutput
- func (i ResourceGroupPolicyAssignmentArray) ToResourceGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentArrayOutput
- type ResourceGroupPolicyAssignmentArrayInput
- type ResourceGroupPolicyAssignmentArrayOutput
- func (ResourceGroupPolicyAssignmentArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyAssignmentOutput
- func (o ResourceGroupPolicyAssignmentArrayOutput) ToResourceGroupPolicyAssignmentArrayOutput() ResourceGroupPolicyAssignmentArrayOutput
- func (o ResourceGroupPolicyAssignmentArrayOutput) ToResourceGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentArrayOutput
- type ResourceGroupPolicyAssignmentIdentity
- type ResourceGroupPolicyAssignmentIdentityArgs
- func (ResourceGroupPolicyAssignmentIdentityArgs) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityOutput() ResourceGroupPolicyAssignmentIdentityOutput
- func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityOutput
- func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput
- type ResourceGroupPolicyAssignmentIdentityInput
- type ResourceGroupPolicyAssignmentIdentityOutput
- func (ResourceGroupPolicyAssignmentIdentityOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityOutput() ResourceGroupPolicyAssignmentIdentityOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
- type ResourceGroupPolicyAssignmentIdentityPtrInput
- type ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) Elem() ResourceGroupPolicyAssignmentIdentityOutput
- func (ResourceGroupPolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ResourceGroupPolicyAssignmentInput
- type ResourceGroupPolicyAssignmentMap
- func (ResourceGroupPolicyAssignmentMap) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentMap) ToResourceGroupPolicyAssignmentMapOutput() ResourceGroupPolicyAssignmentMapOutput
- func (i ResourceGroupPolicyAssignmentMap) ToResourceGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentMapOutput
- type ResourceGroupPolicyAssignmentMapInput
- type ResourceGroupPolicyAssignmentMapOutput
- func (ResourceGroupPolicyAssignmentMapOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupPolicyAssignmentOutput
- func (o ResourceGroupPolicyAssignmentMapOutput) ToResourceGroupPolicyAssignmentMapOutput() ResourceGroupPolicyAssignmentMapOutput
- func (o ResourceGroupPolicyAssignmentMapOutput) ToResourceGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentMapOutput
- type ResourceGroupPolicyAssignmentNonComplianceMessage
- type ResourceGroupPolicyAssignmentNonComplianceMessageArgs
- func (ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ToResourceGroupPolicyAssignmentNonComplianceMessageOutput() ResourceGroupPolicyAssignmentNonComplianceMessageOutput
- func (i ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageOutput
- type ResourceGroupPolicyAssignmentNonComplianceMessageArray
- func (ResourceGroupPolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentNonComplianceMessageArray) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (i ResourceGroupPolicyAssignmentNonComplianceMessageArray) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
- type ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput
- type ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyAssignmentNonComplianceMessageOutput
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
- type ResourceGroupPolicyAssignmentNonComplianceMessageInput
- type ResourceGroupPolicyAssignmentNonComplianceMessageOutput
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
- func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageOutput() ResourceGroupPolicyAssignmentNonComplianceMessageOutput
- func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageOutput
- type ResourceGroupPolicyAssignmentOutput
- func (o ResourceGroupPolicyAssignmentOutput) Description() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
- func (ResourceGroupPolicyAssignmentOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
- func (o ResourceGroupPolicyAssignmentOutput) Identity() ResourceGroupPolicyAssignmentIdentityPtrOutput
- func (o ResourceGroupPolicyAssignmentOutput) Location() pulumi.StringOutput
- func (o ResourceGroupPolicyAssignmentOutput) Metadata() pulumi.StringOutput
- func (o ResourceGroupPolicyAssignmentOutput) Name() pulumi.StringOutput
- func (o ResourceGroupPolicyAssignmentOutput) NonComplianceMessages() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (o ResourceGroupPolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentOutput) Overrides() ResourceGroupPolicyAssignmentOverrideArrayOutput
- func (o ResourceGroupPolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
- func (o ResourceGroupPolicyAssignmentOutput) ResourceGroupId() pulumi.StringOutput
- func (o ResourceGroupPolicyAssignmentOutput) ResourceSelectors() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
- func (o ResourceGroupPolicyAssignmentOutput) ToResourceGroupPolicyAssignmentOutput() ResourceGroupPolicyAssignmentOutput
- func (o ResourceGroupPolicyAssignmentOutput) ToResourceGroupPolicyAssignmentOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOutput
- type ResourceGroupPolicyAssignmentOverride
- type ResourceGroupPolicyAssignmentOverrideArgs
- func (ResourceGroupPolicyAssignmentOverrideArgs) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentOverrideArgs) ToResourceGroupPolicyAssignmentOverrideOutput() ResourceGroupPolicyAssignmentOverrideOutput
- func (i ResourceGroupPolicyAssignmentOverrideArgs) ToResourceGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideOutput
- type ResourceGroupPolicyAssignmentOverrideArray
- func (ResourceGroupPolicyAssignmentOverrideArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentOverrideArray) ToResourceGroupPolicyAssignmentOverrideArrayOutput() ResourceGroupPolicyAssignmentOverrideArrayOutput
- func (i ResourceGroupPolicyAssignmentOverrideArray) ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideArrayOutput
- type ResourceGroupPolicyAssignmentOverrideArrayInput
- type ResourceGroupPolicyAssignmentOverrideArrayOutput
- func (ResourceGroupPolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentOverrideArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyAssignmentOverrideOutput
- func (o ResourceGroupPolicyAssignmentOverrideArrayOutput) ToResourceGroupPolicyAssignmentOverrideArrayOutput() ResourceGroupPolicyAssignmentOverrideArrayOutput
- func (o ResourceGroupPolicyAssignmentOverrideArrayOutput) ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideArrayOutput
- type ResourceGroupPolicyAssignmentOverrideInput
- type ResourceGroupPolicyAssignmentOverrideOutput
- func (ResourceGroupPolicyAssignmentOverrideOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentOverrideOutput) Selectors() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
- func (o ResourceGroupPolicyAssignmentOverrideOutput) ToResourceGroupPolicyAssignmentOverrideOutput() ResourceGroupPolicyAssignmentOverrideOutput
- func (o ResourceGroupPolicyAssignmentOverrideOutput) ToResourceGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideOutput
- func (o ResourceGroupPolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
- type ResourceGroupPolicyAssignmentOverrideSelector
- type ResourceGroupPolicyAssignmentOverrideSelectorArgs
- func (ResourceGroupPolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentOverrideSelectorArgs) ToResourceGroupPolicyAssignmentOverrideSelectorOutput() ResourceGroupPolicyAssignmentOverrideSelectorOutput
- func (i ResourceGroupPolicyAssignmentOverrideSelectorArgs) ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorOutput
- type ResourceGroupPolicyAssignmentOverrideSelectorArray
- func (ResourceGroupPolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentOverrideSelectorArray) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
- func (i ResourceGroupPolicyAssignmentOverrideSelectorArray) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
- type ResourceGroupPolicyAssignmentOverrideSelectorArrayInput
- type ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
- func (ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyAssignmentOverrideSelectorOutput
- func (o ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
- func (o ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
- type ResourceGroupPolicyAssignmentOverrideSelectorInput
- type ResourceGroupPolicyAssignmentOverrideSelectorOutput
- func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) ToResourceGroupPolicyAssignmentOverrideSelectorOutput() ResourceGroupPolicyAssignmentOverrideSelectorOutput
- func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorOutput
- type ResourceGroupPolicyAssignmentResourceSelector
- type ResourceGroupPolicyAssignmentResourceSelectorArgs
- func (ResourceGroupPolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentResourceSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorOutput
- func (i ResourceGroupPolicyAssignmentResourceSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorOutput
- type ResourceGroupPolicyAssignmentResourceSelectorArray
- func (ResourceGroupPolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentResourceSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
- func (i ResourceGroupPolicyAssignmentResourceSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
- type ResourceGroupPolicyAssignmentResourceSelectorArrayInput
- type ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
- func (ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyAssignmentResourceSelectorOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
- type ResourceGroupPolicyAssignmentResourceSelectorInput
- type ResourceGroupPolicyAssignmentResourceSelectorOutput
- func (ResourceGroupPolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) Selectors() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorOutput
- type ResourceGroupPolicyAssignmentResourceSelectorSelector
- type ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs
- func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
- func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
- type ResourceGroupPolicyAssignmentResourceSelectorSelectorArray
- func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- type ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayInput
- type ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- type ResourceGroupPolicyAssignmentResourceSelectorSelectorInput
- type ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
- func (ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) Kind() pulumi.StringOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
- func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
- type ResourceGroupPolicyAssignmentState
- type ResourceGroupPolicyExemption
- func (*ResourceGroupPolicyExemption) ElementType() reflect.Type
- func (i *ResourceGroupPolicyExemption) ToResourceGroupPolicyExemptionOutput() ResourceGroupPolicyExemptionOutput
- func (i *ResourceGroupPolicyExemption) ToResourceGroupPolicyExemptionOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionOutput
- type ResourceGroupPolicyExemptionArgs
- type ResourceGroupPolicyExemptionArray
- func (ResourceGroupPolicyExemptionArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyExemptionArray) ToResourceGroupPolicyExemptionArrayOutput() ResourceGroupPolicyExemptionArrayOutput
- func (i ResourceGroupPolicyExemptionArray) ToResourceGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionArrayOutput
- type ResourceGroupPolicyExemptionArrayInput
- type ResourceGroupPolicyExemptionArrayOutput
- func (ResourceGroupPolicyExemptionArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyExemptionArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyExemptionOutput
- func (o ResourceGroupPolicyExemptionArrayOutput) ToResourceGroupPolicyExemptionArrayOutput() ResourceGroupPolicyExemptionArrayOutput
- func (o ResourceGroupPolicyExemptionArrayOutput) ToResourceGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionArrayOutput
- type ResourceGroupPolicyExemptionInput
- type ResourceGroupPolicyExemptionMap
- func (ResourceGroupPolicyExemptionMap) ElementType() reflect.Type
- func (i ResourceGroupPolicyExemptionMap) ToResourceGroupPolicyExemptionMapOutput() ResourceGroupPolicyExemptionMapOutput
- func (i ResourceGroupPolicyExemptionMap) ToResourceGroupPolicyExemptionMapOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionMapOutput
- type ResourceGroupPolicyExemptionMapInput
- type ResourceGroupPolicyExemptionMapOutput
- func (ResourceGroupPolicyExemptionMapOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupPolicyExemptionOutput
- func (o ResourceGroupPolicyExemptionMapOutput) ToResourceGroupPolicyExemptionMapOutput() ResourceGroupPolicyExemptionMapOutput
- func (o ResourceGroupPolicyExemptionMapOutput) ToResourceGroupPolicyExemptionMapOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionMapOutput
- type ResourceGroupPolicyExemptionOutput
- func (o ResourceGroupPolicyExemptionOutput) Description() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
- func (ResourceGroupPolicyExemptionOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
- func (o ResourceGroupPolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyExemptionOutput) Metadata() pulumi.StringOutput
- func (o ResourceGroupPolicyExemptionOutput) Name() pulumi.StringOutput
- func (o ResourceGroupPolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o ResourceGroupPolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyExemptionOutput) ResourceGroupId() pulumi.StringOutput
- func (o ResourceGroupPolicyExemptionOutput) ToResourceGroupPolicyExemptionOutput() ResourceGroupPolicyExemptionOutput
- func (o ResourceGroupPolicyExemptionOutput) ToResourceGroupPolicyExemptionOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionOutput
- type ResourceGroupPolicyExemptionState
- type ResourceGroupPolicyRemediation
- func (*ResourceGroupPolicyRemediation) ElementType() reflect.Type
- func (i *ResourceGroupPolicyRemediation) ToResourceGroupPolicyRemediationOutput() ResourceGroupPolicyRemediationOutput
- func (i *ResourceGroupPolicyRemediation) ToResourceGroupPolicyRemediationOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationOutput
- type ResourceGroupPolicyRemediationArgs
- type ResourceGroupPolicyRemediationArray
- func (ResourceGroupPolicyRemediationArray) ElementType() reflect.Type
- func (i ResourceGroupPolicyRemediationArray) ToResourceGroupPolicyRemediationArrayOutput() ResourceGroupPolicyRemediationArrayOutput
- func (i ResourceGroupPolicyRemediationArray) ToResourceGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationArrayOutput
- type ResourceGroupPolicyRemediationArrayInput
- type ResourceGroupPolicyRemediationArrayOutput
- func (ResourceGroupPolicyRemediationArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyRemediationArrayOutput) Index(i pulumi.IntInput) ResourceGroupPolicyRemediationOutput
- func (o ResourceGroupPolicyRemediationArrayOutput) ToResourceGroupPolicyRemediationArrayOutput() ResourceGroupPolicyRemediationArrayOutput
- func (o ResourceGroupPolicyRemediationArrayOutput) ToResourceGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationArrayOutput
- type ResourceGroupPolicyRemediationInput
- type ResourceGroupPolicyRemediationMap
- func (ResourceGroupPolicyRemediationMap) ElementType() reflect.Type
- func (i ResourceGroupPolicyRemediationMap) ToResourceGroupPolicyRemediationMapOutput() ResourceGroupPolicyRemediationMapOutput
- func (i ResourceGroupPolicyRemediationMap) ToResourceGroupPolicyRemediationMapOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationMapOutput
- type ResourceGroupPolicyRemediationMapInput
- type ResourceGroupPolicyRemediationMapOutput
- func (ResourceGroupPolicyRemediationMapOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupPolicyRemediationOutput
- func (o ResourceGroupPolicyRemediationMapOutput) ToResourceGroupPolicyRemediationMapOutput() ResourceGroupPolicyRemediationMapOutput
- func (o ResourceGroupPolicyRemediationMapOutput) ToResourceGroupPolicyRemediationMapOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationMapOutput
- type ResourceGroupPolicyRemediationOutput
- func (ResourceGroupPolicyRemediationOutput) ElementType() reflect.Type
- func (o ResourceGroupPolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
- func (o ResourceGroupPolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
- func (o ResourceGroupPolicyRemediationOutput) Name() pulumi.StringOutput
- func (o ResourceGroupPolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
- func (o ResourceGroupPolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o ResourceGroupPolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutputdeprecated
- func (o ResourceGroupPolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
- func (o ResourceGroupPolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
- func (o ResourceGroupPolicyRemediationOutput) ResourceGroupId() pulumi.StringOutput
- func (o ResourceGroupPolicyRemediationOutput) ToResourceGroupPolicyRemediationOutput() ResourceGroupPolicyRemediationOutput
- func (o ResourceGroupPolicyRemediationOutput) ToResourceGroupPolicyRemediationOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationOutput
- type ResourceGroupPolicyRemediationState
- type ResourceGroupState
- type ResourceGroupTemplateDeployment
- func GetResourceGroupTemplateDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ResourceGroupTemplateDeployment, error)
- func NewResourceGroupTemplateDeployment(ctx *pulumi.Context, name string, args *ResourceGroupTemplateDeploymentArgs, ...) (*ResourceGroupTemplateDeployment, error)
- func (*ResourceGroupTemplateDeployment) ElementType() reflect.Type
- func (i *ResourceGroupTemplateDeployment) ToResourceGroupTemplateDeploymentOutput() ResourceGroupTemplateDeploymentOutput
- func (i *ResourceGroupTemplateDeployment) ToResourceGroupTemplateDeploymentOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentOutput
- type ResourceGroupTemplateDeploymentArgs
- type ResourceGroupTemplateDeploymentArray
- func (ResourceGroupTemplateDeploymentArray) ElementType() reflect.Type
- func (i ResourceGroupTemplateDeploymentArray) ToResourceGroupTemplateDeploymentArrayOutput() ResourceGroupTemplateDeploymentArrayOutput
- func (i ResourceGroupTemplateDeploymentArray) ToResourceGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentArrayOutput
- type ResourceGroupTemplateDeploymentArrayInput
- type ResourceGroupTemplateDeploymentArrayOutput
- func (ResourceGroupTemplateDeploymentArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupTemplateDeploymentArrayOutput) Index(i pulumi.IntInput) ResourceGroupTemplateDeploymentOutput
- func (o ResourceGroupTemplateDeploymentArrayOutput) ToResourceGroupTemplateDeploymentArrayOutput() ResourceGroupTemplateDeploymentArrayOutput
- func (o ResourceGroupTemplateDeploymentArrayOutput) ToResourceGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentArrayOutput
- type ResourceGroupTemplateDeploymentInput
- type ResourceGroupTemplateDeploymentMap
- func (ResourceGroupTemplateDeploymentMap) ElementType() reflect.Type
- func (i ResourceGroupTemplateDeploymentMap) ToResourceGroupTemplateDeploymentMapOutput() ResourceGroupTemplateDeploymentMapOutput
- func (i ResourceGroupTemplateDeploymentMap) ToResourceGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentMapOutput
- type ResourceGroupTemplateDeploymentMapInput
- type ResourceGroupTemplateDeploymentMapOutput
- func (ResourceGroupTemplateDeploymentMapOutput) ElementType() reflect.Type
- func (o ResourceGroupTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupTemplateDeploymentOutput
- func (o ResourceGroupTemplateDeploymentMapOutput) ToResourceGroupTemplateDeploymentMapOutput() ResourceGroupTemplateDeploymentMapOutput
- func (o ResourceGroupTemplateDeploymentMapOutput) ToResourceGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentMapOutput
- type ResourceGroupTemplateDeploymentOutput
- func (o ResourceGroupTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
- func (o ResourceGroupTemplateDeploymentOutput) DeploymentMode() pulumi.StringOutput
- func (ResourceGroupTemplateDeploymentOutput) ElementType() reflect.Type
- func (o ResourceGroupTemplateDeploymentOutput) Name() pulumi.StringOutput
- func (o ResourceGroupTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
- func (o ResourceGroupTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
- func (o ResourceGroupTemplateDeploymentOutput) ResourceGroupName() pulumi.StringOutput
- func (o ResourceGroupTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
- func (o ResourceGroupTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
- func (o ResourceGroupTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
- func (o ResourceGroupTemplateDeploymentOutput) ToResourceGroupTemplateDeploymentOutput() ResourceGroupTemplateDeploymentOutput
- func (o ResourceGroupTemplateDeploymentOutput) ToResourceGroupTemplateDeploymentOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentOutput
- type ResourceGroupTemplateDeploymentState
- type ResourcePolicyAssignment
- type ResourcePolicyAssignmentArgs
- type ResourcePolicyAssignmentArray
- func (ResourcePolicyAssignmentArray) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentArray) ToResourcePolicyAssignmentArrayOutput() ResourcePolicyAssignmentArrayOutput
- func (i ResourcePolicyAssignmentArray) ToResourcePolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentArrayOutput
- type ResourcePolicyAssignmentArrayInput
- type ResourcePolicyAssignmentArrayOutput
- func (ResourcePolicyAssignmentArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentOutput
- func (o ResourcePolicyAssignmentArrayOutput) ToResourcePolicyAssignmentArrayOutput() ResourcePolicyAssignmentArrayOutput
- func (o ResourcePolicyAssignmentArrayOutput) ToResourcePolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentArrayOutput
- type ResourcePolicyAssignmentIdentity
- type ResourcePolicyAssignmentIdentityArgs
- func (ResourcePolicyAssignmentIdentityArgs) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityOutput() ResourcePolicyAssignmentIdentityOutput
- func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityOutput
- func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput
- func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityPtrOutput
- type ResourcePolicyAssignmentIdentityInput
- type ResourcePolicyAssignmentIdentityOutput
- func (ResourcePolicyAssignmentIdentityOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityOutput() ResourcePolicyAssignmentIdentityOutput
- func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityOutput
- func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput
- func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityPtrOutput
- func (o ResourcePolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
- type ResourcePolicyAssignmentIdentityPtrInput
- type ResourcePolicyAssignmentIdentityPtrOutput
- func (o ResourcePolicyAssignmentIdentityPtrOutput) Elem() ResourcePolicyAssignmentIdentityOutput
- func (ResourcePolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentIdentityPtrOutput) ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput
- func (o ResourcePolicyAssignmentIdentityPtrOutput) ToResourcePolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityPtrOutput
- func (o ResourcePolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ResourcePolicyAssignmentInput
- type ResourcePolicyAssignmentMap
- func (ResourcePolicyAssignmentMap) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentMap) ToResourcePolicyAssignmentMapOutput() ResourcePolicyAssignmentMapOutput
- func (i ResourcePolicyAssignmentMap) ToResourcePolicyAssignmentMapOutputWithContext(ctx context.Context) ResourcePolicyAssignmentMapOutput
- type ResourcePolicyAssignmentMapInput
- type ResourcePolicyAssignmentMapOutput
- func (ResourcePolicyAssignmentMapOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyAssignmentOutput
- func (o ResourcePolicyAssignmentMapOutput) ToResourcePolicyAssignmentMapOutput() ResourcePolicyAssignmentMapOutput
- func (o ResourcePolicyAssignmentMapOutput) ToResourcePolicyAssignmentMapOutputWithContext(ctx context.Context) ResourcePolicyAssignmentMapOutput
- type ResourcePolicyAssignmentNonComplianceMessage
- type ResourcePolicyAssignmentNonComplianceMessageArgs
- func (ResourcePolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentNonComplianceMessageArgs) ToResourcePolicyAssignmentNonComplianceMessageOutput() ResourcePolicyAssignmentNonComplianceMessageOutput
- func (i ResourcePolicyAssignmentNonComplianceMessageArgs) ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageOutput
- type ResourcePolicyAssignmentNonComplianceMessageArray
- func (ResourcePolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentNonComplianceMessageArray) ToResourcePolicyAssignmentNonComplianceMessageArrayOutput() ResourcePolicyAssignmentNonComplianceMessageArrayOutput
- func (i ResourcePolicyAssignmentNonComplianceMessageArray) ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageArrayOutput
- type ResourcePolicyAssignmentNonComplianceMessageArrayInput
- type ResourcePolicyAssignmentNonComplianceMessageArrayOutput
- func (ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentNonComplianceMessageArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentNonComplianceMessageOutput
- func (o ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ToResourcePolicyAssignmentNonComplianceMessageArrayOutput() ResourcePolicyAssignmentNonComplianceMessageArrayOutput
- func (o ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageArrayOutput
- type ResourcePolicyAssignmentNonComplianceMessageInput
- type ResourcePolicyAssignmentNonComplianceMessageOutput
- func (o ResourcePolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
- func (ResourcePolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentNonComplianceMessageOutput) ToResourcePolicyAssignmentNonComplianceMessageOutput() ResourcePolicyAssignmentNonComplianceMessageOutput
- func (o ResourcePolicyAssignmentNonComplianceMessageOutput) ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageOutput
- type ResourcePolicyAssignmentOutput
- func (o ResourcePolicyAssignmentOutput) Description() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
- func (ResourcePolicyAssignmentOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
- func (o ResourcePolicyAssignmentOutput) Identity() ResourcePolicyAssignmentIdentityPtrOutput
- func (o ResourcePolicyAssignmentOutput) Location() pulumi.StringOutput
- func (o ResourcePolicyAssignmentOutput) Metadata() pulumi.StringOutput
- func (o ResourcePolicyAssignmentOutput) Name() pulumi.StringOutput
- func (o ResourcePolicyAssignmentOutput) NonComplianceMessages() ResourcePolicyAssignmentNonComplianceMessageArrayOutput
- func (o ResourcePolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentOutput) Overrides() ResourcePolicyAssignmentOverrideArrayOutput
- func (o ResourcePolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
- func (o ResourcePolicyAssignmentOutput) ResourceId() pulumi.StringOutput
- func (o ResourcePolicyAssignmentOutput) ResourceSelectors() ResourcePolicyAssignmentResourceSelectorArrayOutput
- func (o ResourcePolicyAssignmentOutput) ToResourcePolicyAssignmentOutput() ResourcePolicyAssignmentOutput
- func (o ResourcePolicyAssignmentOutput) ToResourcePolicyAssignmentOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOutput
- type ResourcePolicyAssignmentOverride
- type ResourcePolicyAssignmentOverrideArgs
- func (ResourcePolicyAssignmentOverrideArgs) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentOverrideArgs) ToResourcePolicyAssignmentOverrideOutput() ResourcePolicyAssignmentOverrideOutput
- func (i ResourcePolicyAssignmentOverrideArgs) ToResourcePolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideOutput
- type ResourcePolicyAssignmentOverrideArray
- func (ResourcePolicyAssignmentOverrideArray) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentOverrideArray) ToResourcePolicyAssignmentOverrideArrayOutput() ResourcePolicyAssignmentOverrideArrayOutput
- func (i ResourcePolicyAssignmentOverrideArray) ToResourcePolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideArrayOutput
- type ResourcePolicyAssignmentOverrideArrayInput
- type ResourcePolicyAssignmentOverrideArrayOutput
- func (ResourcePolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentOverrideArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentOverrideOutput
- func (o ResourcePolicyAssignmentOverrideArrayOutput) ToResourcePolicyAssignmentOverrideArrayOutput() ResourcePolicyAssignmentOverrideArrayOutput
- func (o ResourcePolicyAssignmentOverrideArrayOutput) ToResourcePolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideArrayOutput
- type ResourcePolicyAssignmentOverrideInput
- type ResourcePolicyAssignmentOverrideOutput
- func (ResourcePolicyAssignmentOverrideOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentOverrideOutput) Selectors() ResourcePolicyAssignmentOverrideSelectorArrayOutput
- func (o ResourcePolicyAssignmentOverrideOutput) ToResourcePolicyAssignmentOverrideOutput() ResourcePolicyAssignmentOverrideOutput
- func (o ResourcePolicyAssignmentOverrideOutput) ToResourcePolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideOutput
- func (o ResourcePolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
- type ResourcePolicyAssignmentOverrideSelector
- type ResourcePolicyAssignmentOverrideSelectorArgs
- func (ResourcePolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentOverrideSelectorArgs) ToResourcePolicyAssignmentOverrideSelectorOutput() ResourcePolicyAssignmentOverrideSelectorOutput
- func (i ResourcePolicyAssignmentOverrideSelectorArgs) ToResourcePolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorOutput
- type ResourcePolicyAssignmentOverrideSelectorArray
- func (ResourcePolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentOverrideSelectorArray) ToResourcePolicyAssignmentOverrideSelectorArrayOutput() ResourcePolicyAssignmentOverrideSelectorArrayOutput
- func (i ResourcePolicyAssignmentOverrideSelectorArray) ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorArrayOutput
- type ResourcePolicyAssignmentOverrideSelectorArrayInput
- type ResourcePolicyAssignmentOverrideSelectorArrayOutput
- func (ResourcePolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentOverrideSelectorArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentOverrideSelectorOutput
- func (o ResourcePolicyAssignmentOverrideSelectorArrayOutput) ToResourcePolicyAssignmentOverrideSelectorArrayOutput() ResourcePolicyAssignmentOverrideSelectorArrayOutput
- func (o ResourcePolicyAssignmentOverrideSelectorArrayOutput) ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorArrayOutput
- type ResourcePolicyAssignmentOverrideSelectorInput
- type ResourcePolicyAssignmentOverrideSelectorOutput
- func (ResourcePolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentOverrideSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentOverrideSelectorOutput) ToResourcePolicyAssignmentOverrideSelectorOutput() ResourcePolicyAssignmentOverrideSelectorOutput
- func (o ResourcePolicyAssignmentOverrideSelectorOutput) ToResourcePolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorOutput
- type ResourcePolicyAssignmentResourceSelector
- type ResourcePolicyAssignmentResourceSelectorArgs
- func (ResourcePolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentResourceSelectorArgs) ToResourcePolicyAssignmentResourceSelectorOutput() ResourcePolicyAssignmentResourceSelectorOutput
- func (i ResourcePolicyAssignmentResourceSelectorArgs) ToResourcePolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorOutput
- type ResourcePolicyAssignmentResourceSelectorArray
- func (ResourcePolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentResourceSelectorArray) ToResourcePolicyAssignmentResourceSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorArrayOutput
- func (i ResourcePolicyAssignmentResourceSelectorArray) ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorArrayOutput
- type ResourcePolicyAssignmentResourceSelectorArrayInput
- type ResourcePolicyAssignmentResourceSelectorArrayOutput
- func (ResourcePolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentResourceSelectorArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentResourceSelectorOutput
- func (o ResourcePolicyAssignmentResourceSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorArrayOutput
- func (o ResourcePolicyAssignmentResourceSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorArrayOutput
- type ResourcePolicyAssignmentResourceSelectorInput
- type ResourcePolicyAssignmentResourceSelectorOutput
- func (ResourcePolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
- func (o ResourcePolicyAssignmentResourceSelectorOutput) Selectors() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o ResourcePolicyAssignmentResourceSelectorOutput) ToResourcePolicyAssignmentResourceSelectorOutput() ResourcePolicyAssignmentResourceSelectorOutput
- func (o ResourcePolicyAssignmentResourceSelectorOutput) ToResourcePolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorOutput
- type ResourcePolicyAssignmentResourceSelectorSelector
- type ResourcePolicyAssignmentResourceSelectorSelectorArgs
- func (ResourcePolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentResourceSelectorSelectorArgs) ToResourcePolicyAssignmentResourceSelectorSelectorOutput() ResourcePolicyAssignmentResourceSelectorSelectorOutput
- func (i ResourcePolicyAssignmentResourceSelectorSelectorArgs) ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorOutput
- type ResourcePolicyAssignmentResourceSelectorSelectorArray
- func (ResourcePolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
- func (i ResourcePolicyAssignmentResourceSelectorSelectorArray) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
- func (i ResourcePolicyAssignmentResourceSelectorSelectorArray) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
- type ResourcePolicyAssignmentResourceSelectorSelectorArrayInput
- type ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
- func (ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentResourceSelectorSelectorOutput
- func (o ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
- type ResourcePolicyAssignmentResourceSelectorSelectorInput
- type ResourcePolicyAssignmentResourceSelectorSelectorOutput
- func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
- func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) Kind() pulumi.StringOutput
- func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) ToResourcePolicyAssignmentResourceSelectorSelectorOutput() ResourcePolicyAssignmentResourceSelectorSelectorOutput
- func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorOutput
- type ResourcePolicyAssignmentState
- type ResourcePolicyExemption
- type ResourcePolicyExemptionArgs
- type ResourcePolicyExemptionArray
- func (ResourcePolicyExemptionArray) ElementType() reflect.Type
- func (i ResourcePolicyExemptionArray) ToResourcePolicyExemptionArrayOutput() ResourcePolicyExemptionArrayOutput
- func (i ResourcePolicyExemptionArray) ToResourcePolicyExemptionArrayOutputWithContext(ctx context.Context) ResourcePolicyExemptionArrayOutput
- type ResourcePolicyExemptionArrayInput
- type ResourcePolicyExemptionArrayOutput
- func (ResourcePolicyExemptionArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyExemptionArrayOutput) Index(i pulumi.IntInput) ResourcePolicyExemptionOutput
- func (o ResourcePolicyExemptionArrayOutput) ToResourcePolicyExemptionArrayOutput() ResourcePolicyExemptionArrayOutput
- func (o ResourcePolicyExemptionArrayOutput) ToResourcePolicyExemptionArrayOutputWithContext(ctx context.Context) ResourcePolicyExemptionArrayOutput
- type ResourcePolicyExemptionInput
- type ResourcePolicyExemptionMap
- func (ResourcePolicyExemptionMap) ElementType() reflect.Type
- func (i ResourcePolicyExemptionMap) ToResourcePolicyExemptionMapOutput() ResourcePolicyExemptionMapOutput
- func (i ResourcePolicyExemptionMap) ToResourcePolicyExemptionMapOutputWithContext(ctx context.Context) ResourcePolicyExemptionMapOutput
- type ResourcePolicyExemptionMapInput
- type ResourcePolicyExemptionMapOutput
- func (ResourcePolicyExemptionMapOutput) ElementType() reflect.Type
- func (o ResourcePolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyExemptionOutput
- func (o ResourcePolicyExemptionMapOutput) ToResourcePolicyExemptionMapOutput() ResourcePolicyExemptionMapOutput
- func (o ResourcePolicyExemptionMapOutput) ToResourcePolicyExemptionMapOutputWithContext(ctx context.Context) ResourcePolicyExemptionMapOutput
- type ResourcePolicyExemptionOutput
- func (o ResourcePolicyExemptionOutput) Description() pulumi.StringPtrOutput
- func (o ResourcePolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
- func (ResourcePolicyExemptionOutput) ElementType() reflect.Type
- func (o ResourcePolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
- func (o ResourcePolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
- func (o ResourcePolicyExemptionOutput) Metadata() pulumi.StringOutput
- func (o ResourcePolicyExemptionOutput) Name() pulumi.StringOutput
- func (o ResourcePolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o ResourcePolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
- func (o ResourcePolicyExemptionOutput) ResourceId() pulumi.StringOutput
- func (o ResourcePolicyExemptionOutput) ToResourcePolicyExemptionOutput() ResourcePolicyExemptionOutput
- func (o ResourcePolicyExemptionOutput) ToResourcePolicyExemptionOutputWithContext(ctx context.Context) ResourcePolicyExemptionOutput
- type ResourcePolicyExemptionState
- type ResourcePolicyRemediation
- type ResourcePolicyRemediationArgs
- type ResourcePolicyRemediationArray
- func (ResourcePolicyRemediationArray) ElementType() reflect.Type
- func (i ResourcePolicyRemediationArray) ToResourcePolicyRemediationArrayOutput() ResourcePolicyRemediationArrayOutput
- func (i ResourcePolicyRemediationArray) ToResourcePolicyRemediationArrayOutputWithContext(ctx context.Context) ResourcePolicyRemediationArrayOutput
- type ResourcePolicyRemediationArrayInput
- type ResourcePolicyRemediationArrayOutput
- func (ResourcePolicyRemediationArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyRemediationArrayOutput) Index(i pulumi.IntInput) ResourcePolicyRemediationOutput
- func (o ResourcePolicyRemediationArrayOutput) ToResourcePolicyRemediationArrayOutput() ResourcePolicyRemediationArrayOutput
- func (o ResourcePolicyRemediationArrayOutput) ToResourcePolicyRemediationArrayOutputWithContext(ctx context.Context) ResourcePolicyRemediationArrayOutput
- type ResourcePolicyRemediationInput
- type ResourcePolicyRemediationMap
- func (ResourcePolicyRemediationMap) ElementType() reflect.Type
- func (i ResourcePolicyRemediationMap) ToResourcePolicyRemediationMapOutput() ResourcePolicyRemediationMapOutput
- func (i ResourcePolicyRemediationMap) ToResourcePolicyRemediationMapOutputWithContext(ctx context.Context) ResourcePolicyRemediationMapOutput
- type ResourcePolicyRemediationMapInput
- type ResourcePolicyRemediationMapOutput
- func (ResourcePolicyRemediationMapOutput) ElementType() reflect.Type
- func (o ResourcePolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyRemediationOutput
- func (o ResourcePolicyRemediationMapOutput) ToResourcePolicyRemediationMapOutput() ResourcePolicyRemediationMapOutput
- func (o ResourcePolicyRemediationMapOutput) ToResourcePolicyRemediationMapOutputWithContext(ctx context.Context) ResourcePolicyRemediationMapOutput
- type ResourcePolicyRemediationOutput
- func (ResourcePolicyRemediationOutput) ElementType() reflect.Type
- func (o ResourcePolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
- func (o ResourcePolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
- func (o ResourcePolicyRemediationOutput) Name() pulumi.StringOutput
- func (o ResourcePolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
- func (o ResourcePolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o ResourcePolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutputdeprecated
- func (o ResourcePolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o ResourcePolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
- func (o ResourcePolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
- func (o ResourcePolicyRemediationOutput) ResourceId() pulumi.StringOutput
- func (o ResourcePolicyRemediationOutput) ToResourcePolicyRemediationOutput() ResourcePolicyRemediationOutput
- func (o ResourcePolicyRemediationOutput) ToResourcePolicyRemediationOutputWithContext(ctx context.Context) ResourcePolicyRemediationOutput
- type ResourcePolicyRemediationState
- type ResourceProviderRegistration
- func (*ResourceProviderRegistration) ElementType() reflect.Type
- func (i *ResourceProviderRegistration) ToResourceProviderRegistrationOutput() ResourceProviderRegistrationOutput
- func (i *ResourceProviderRegistration) ToResourceProviderRegistrationOutputWithContext(ctx context.Context) ResourceProviderRegistrationOutput
- type ResourceProviderRegistrationArgs
- type ResourceProviderRegistrationArray
- func (ResourceProviderRegistrationArray) ElementType() reflect.Type
- func (i ResourceProviderRegistrationArray) ToResourceProviderRegistrationArrayOutput() ResourceProviderRegistrationArrayOutput
- func (i ResourceProviderRegistrationArray) ToResourceProviderRegistrationArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationArrayOutput
- type ResourceProviderRegistrationArrayInput
- type ResourceProviderRegistrationArrayOutput
- func (ResourceProviderRegistrationArrayOutput) ElementType() reflect.Type
- func (o ResourceProviderRegistrationArrayOutput) Index(i pulumi.IntInput) ResourceProviderRegistrationOutput
- func (o ResourceProviderRegistrationArrayOutput) ToResourceProviderRegistrationArrayOutput() ResourceProviderRegistrationArrayOutput
- func (o ResourceProviderRegistrationArrayOutput) ToResourceProviderRegistrationArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationArrayOutput
- type ResourceProviderRegistrationFeature
- type ResourceProviderRegistrationFeatureArgs
- func (ResourceProviderRegistrationFeatureArgs) ElementType() reflect.Type
- func (i ResourceProviderRegistrationFeatureArgs) ToResourceProviderRegistrationFeatureOutput() ResourceProviderRegistrationFeatureOutput
- func (i ResourceProviderRegistrationFeatureArgs) ToResourceProviderRegistrationFeatureOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureOutput
- type ResourceProviderRegistrationFeatureArray
- func (ResourceProviderRegistrationFeatureArray) ElementType() reflect.Type
- func (i ResourceProviderRegistrationFeatureArray) ToResourceProviderRegistrationFeatureArrayOutput() ResourceProviderRegistrationFeatureArrayOutput
- func (i ResourceProviderRegistrationFeatureArray) ToResourceProviderRegistrationFeatureArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureArrayOutput
- type ResourceProviderRegistrationFeatureArrayInput
- type ResourceProviderRegistrationFeatureArrayOutput
- func (ResourceProviderRegistrationFeatureArrayOutput) ElementType() reflect.Type
- func (o ResourceProviderRegistrationFeatureArrayOutput) Index(i pulumi.IntInput) ResourceProviderRegistrationFeatureOutput
- func (o ResourceProviderRegistrationFeatureArrayOutput) ToResourceProviderRegistrationFeatureArrayOutput() ResourceProviderRegistrationFeatureArrayOutput
- func (o ResourceProviderRegistrationFeatureArrayOutput) ToResourceProviderRegistrationFeatureArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureArrayOutput
- type ResourceProviderRegistrationFeatureInput
- type ResourceProviderRegistrationFeatureOutput
- func (ResourceProviderRegistrationFeatureOutput) ElementType() reflect.Type
- func (o ResourceProviderRegistrationFeatureOutput) Name() pulumi.StringOutput
- func (o ResourceProviderRegistrationFeatureOutput) Registered() pulumi.BoolOutput
- func (o ResourceProviderRegistrationFeatureOutput) ToResourceProviderRegistrationFeatureOutput() ResourceProviderRegistrationFeatureOutput
- func (o ResourceProviderRegistrationFeatureOutput) ToResourceProviderRegistrationFeatureOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureOutput
- type ResourceProviderRegistrationInput
- type ResourceProviderRegistrationMap
- func (ResourceProviderRegistrationMap) ElementType() reflect.Type
- func (i ResourceProviderRegistrationMap) ToResourceProviderRegistrationMapOutput() ResourceProviderRegistrationMapOutput
- func (i ResourceProviderRegistrationMap) ToResourceProviderRegistrationMapOutputWithContext(ctx context.Context) ResourceProviderRegistrationMapOutput
- type ResourceProviderRegistrationMapInput
- type ResourceProviderRegistrationMapOutput
- func (ResourceProviderRegistrationMapOutput) ElementType() reflect.Type
- func (o ResourceProviderRegistrationMapOutput) MapIndex(k pulumi.StringInput) ResourceProviderRegistrationOutput
- func (o ResourceProviderRegistrationMapOutput) ToResourceProviderRegistrationMapOutput() ResourceProviderRegistrationMapOutput
- func (o ResourceProviderRegistrationMapOutput) ToResourceProviderRegistrationMapOutputWithContext(ctx context.Context) ResourceProviderRegistrationMapOutput
- type ResourceProviderRegistrationOutput
- func (ResourceProviderRegistrationOutput) ElementType() reflect.Type
- func (o ResourceProviderRegistrationOutput) Features() ResourceProviderRegistrationFeatureArrayOutput
- func (o ResourceProviderRegistrationOutput) Name() pulumi.StringOutput
- func (o ResourceProviderRegistrationOutput) ToResourceProviderRegistrationOutput() ResourceProviderRegistrationOutput
- func (o ResourceProviderRegistrationOutput) ToResourceProviderRegistrationOutputWithContext(ctx context.Context) ResourceProviderRegistrationOutput
- type ResourceProviderRegistrationState
- type Subscription
- type SubscriptionArgs
- type SubscriptionArray
- type SubscriptionArrayInput
- type SubscriptionArrayOutput
- func (SubscriptionArrayOutput) ElementType() reflect.Type
- func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput
- func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput
- func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
- type SubscriptionCostManagementExport
- func GetSubscriptionCostManagementExport(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*SubscriptionCostManagementExport, error)
- func NewSubscriptionCostManagementExport(ctx *pulumi.Context, name string, args *SubscriptionCostManagementExportArgs, ...) (*SubscriptionCostManagementExport, error)
- func (*SubscriptionCostManagementExport) ElementType() reflect.Type
- func (i *SubscriptionCostManagementExport) ToSubscriptionCostManagementExportOutput() SubscriptionCostManagementExportOutput
- func (i *SubscriptionCostManagementExport) ToSubscriptionCostManagementExportOutputWithContext(ctx context.Context) SubscriptionCostManagementExportOutput
- type SubscriptionCostManagementExportArgs
- type SubscriptionCostManagementExportArray
- func (SubscriptionCostManagementExportArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementExportArray) ToSubscriptionCostManagementExportArrayOutput() SubscriptionCostManagementExportArrayOutput
- func (i SubscriptionCostManagementExportArray) ToSubscriptionCostManagementExportArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementExportArrayOutput
- type SubscriptionCostManagementExportArrayInput
- type SubscriptionCostManagementExportArrayOutput
- func (SubscriptionCostManagementExportArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementExportOutput
- func (o SubscriptionCostManagementExportArrayOutput) ToSubscriptionCostManagementExportArrayOutput() SubscriptionCostManagementExportArrayOutput
- func (o SubscriptionCostManagementExportArrayOutput) ToSubscriptionCostManagementExportArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementExportArrayOutput
- type SubscriptionCostManagementExportExportDataOptions
- type SubscriptionCostManagementExportExportDataOptionsArgs
- func (SubscriptionCostManagementExportExportDataOptionsArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsOutput() SubscriptionCostManagementExportExportDataOptionsOutput
- func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsOutput
- func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput
- func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput
- type SubscriptionCostManagementExportExportDataOptionsInput
- type SubscriptionCostManagementExportExportDataOptionsOutput
- func (SubscriptionCostManagementExportExportDataOptionsOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportExportDataOptionsOutput) TimeFrame() pulumi.StringOutput
- func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsOutput() SubscriptionCostManagementExportExportDataOptionsOutput
- func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsOutput
- func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput
- func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput
- func (o SubscriptionCostManagementExportExportDataOptionsOutput) Type() pulumi.StringOutput
- type SubscriptionCostManagementExportExportDataOptionsPtrInput
- type SubscriptionCostManagementExportExportDataOptionsPtrOutput
- func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) Elem() SubscriptionCostManagementExportExportDataOptionsOutput
- func (SubscriptionCostManagementExportExportDataOptionsPtrOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) TimeFrame() pulumi.StringPtrOutput
- func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput
- func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput
- func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) Type() pulumi.StringPtrOutput
- type SubscriptionCostManagementExportExportDataStorageLocation
- type SubscriptionCostManagementExportExportDataStorageLocationArgs
- func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationOutput() SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- type SubscriptionCostManagementExportExportDataStorageLocationInput
- type SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ContainerId() pulumi.StringOutput
- func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) RootFolderPath() pulumi.StringOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationOutput() SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- type SubscriptionCostManagementExportExportDataStorageLocationPtrInput
- type SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ContainerId() pulumi.StringPtrOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) Elem() SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath() pulumi.StringPtrOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
- type SubscriptionCostManagementExportInput
- type SubscriptionCostManagementExportMap
- func (SubscriptionCostManagementExportMap) ElementType() reflect.Type
- func (i SubscriptionCostManagementExportMap) ToSubscriptionCostManagementExportMapOutput() SubscriptionCostManagementExportMapOutput
- func (i SubscriptionCostManagementExportMap) ToSubscriptionCostManagementExportMapOutputWithContext(ctx context.Context) SubscriptionCostManagementExportMapOutput
- type SubscriptionCostManagementExportMapInput
- type SubscriptionCostManagementExportMapOutput
- func (SubscriptionCostManagementExportMapOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportMapOutput) MapIndex(k pulumi.StringInput) SubscriptionCostManagementExportOutput
- func (o SubscriptionCostManagementExportMapOutput) ToSubscriptionCostManagementExportMapOutput() SubscriptionCostManagementExportMapOutput
- func (o SubscriptionCostManagementExportMapOutput) ToSubscriptionCostManagementExportMapOutputWithContext(ctx context.Context) SubscriptionCostManagementExportMapOutput
- type SubscriptionCostManagementExportOutput
- func (o SubscriptionCostManagementExportOutput) Active() pulumi.BoolPtrOutput
- func (SubscriptionCostManagementExportOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementExportOutput) ExportDataOptions() SubscriptionCostManagementExportExportDataOptionsOutput
- func (o SubscriptionCostManagementExportOutput) ExportDataStorageLocation() SubscriptionCostManagementExportExportDataStorageLocationOutput
- func (o SubscriptionCostManagementExportOutput) Name() pulumi.StringOutput
- func (o SubscriptionCostManagementExportOutput) RecurrencePeriodEndDate() pulumi.StringOutput
- func (o SubscriptionCostManagementExportOutput) RecurrencePeriodStartDate() pulumi.StringOutput
- func (o SubscriptionCostManagementExportOutput) RecurrenceType() pulumi.StringOutput
- func (o SubscriptionCostManagementExportOutput) SubscriptionId() pulumi.StringOutput
- func (o SubscriptionCostManagementExportOutput) ToSubscriptionCostManagementExportOutput() SubscriptionCostManagementExportOutput
- func (o SubscriptionCostManagementExportOutput) ToSubscriptionCostManagementExportOutputWithContext(ctx context.Context) SubscriptionCostManagementExportOutput
- type SubscriptionCostManagementExportState
- type SubscriptionCostManagementView
- func (*SubscriptionCostManagementView) ElementType() reflect.Type
- func (i *SubscriptionCostManagementView) ToSubscriptionCostManagementViewOutput() SubscriptionCostManagementViewOutput
- func (i *SubscriptionCostManagementView) ToSubscriptionCostManagementViewOutputWithContext(ctx context.Context) SubscriptionCostManagementViewOutput
- type SubscriptionCostManagementViewArgs
- type SubscriptionCostManagementViewArray
- func (SubscriptionCostManagementViewArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewArray) ToSubscriptionCostManagementViewArrayOutput() SubscriptionCostManagementViewArrayOutput
- func (i SubscriptionCostManagementViewArray) ToSubscriptionCostManagementViewArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewArrayOutput
- type SubscriptionCostManagementViewArrayInput
- type SubscriptionCostManagementViewArrayOutput
- func (SubscriptionCostManagementViewArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementViewOutput
- func (o SubscriptionCostManagementViewArrayOutput) ToSubscriptionCostManagementViewArrayOutput() SubscriptionCostManagementViewArrayOutput
- func (o SubscriptionCostManagementViewArrayOutput) ToSubscriptionCostManagementViewArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewArrayOutput
- type SubscriptionCostManagementViewDataset
- type SubscriptionCostManagementViewDatasetAggregation
- type SubscriptionCostManagementViewDatasetAggregationArgs
- func (SubscriptionCostManagementViewDatasetAggregationArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetAggregationArgs) ToSubscriptionCostManagementViewDatasetAggregationOutput() SubscriptionCostManagementViewDatasetAggregationOutput
- func (i SubscriptionCostManagementViewDatasetAggregationArgs) ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationOutput
- type SubscriptionCostManagementViewDatasetAggregationArray
- func (SubscriptionCostManagementViewDatasetAggregationArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetAggregationArray) ToSubscriptionCostManagementViewDatasetAggregationArrayOutput() SubscriptionCostManagementViewDatasetAggregationArrayOutput
- func (i SubscriptionCostManagementViewDatasetAggregationArray) ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationArrayOutput
- type SubscriptionCostManagementViewDatasetAggregationArrayInput
- type SubscriptionCostManagementViewDatasetAggregationArrayOutput
- func (SubscriptionCostManagementViewDatasetAggregationArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetAggregationArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementViewDatasetAggregationOutput
- func (o SubscriptionCostManagementViewDatasetAggregationArrayOutput) ToSubscriptionCostManagementViewDatasetAggregationArrayOutput() SubscriptionCostManagementViewDatasetAggregationArrayOutput
- func (o SubscriptionCostManagementViewDatasetAggregationArrayOutput) ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationArrayOutput
- type SubscriptionCostManagementViewDatasetAggregationInput
- type SubscriptionCostManagementViewDatasetAggregationOutput
- func (o SubscriptionCostManagementViewDatasetAggregationOutput) ColumnName() pulumi.StringOutput
- func (SubscriptionCostManagementViewDatasetAggregationOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetAggregationOutput) Name() pulumi.StringOutput
- func (o SubscriptionCostManagementViewDatasetAggregationOutput) ToSubscriptionCostManagementViewDatasetAggregationOutput() SubscriptionCostManagementViewDatasetAggregationOutput
- func (o SubscriptionCostManagementViewDatasetAggregationOutput) ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationOutput
- type SubscriptionCostManagementViewDatasetArgs
- func (SubscriptionCostManagementViewDatasetArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetOutput() SubscriptionCostManagementViewDatasetOutput
- func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetOutput
- func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput
- func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetPtrOutput
- type SubscriptionCostManagementViewDatasetGrouping
- type SubscriptionCostManagementViewDatasetGroupingArgs
- func (SubscriptionCostManagementViewDatasetGroupingArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetGroupingArgs) ToSubscriptionCostManagementViewDatasetGroupingOutput() SubscriptionCostManagementViewDatasetGroupingOutput
- func (i SubscriptionCostManagementViewDatasetGroupingArgs) ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingOutput
- type SubscriptionCostManagementViewDatasetGroupingArray
- func (SubscriptionCostManagementViewDatasetGroupingArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetGroupingArray) ToSubscriptionCostManagementViewDatasetGroupingArrayOutput() SubscriptionCostManagementViewDatasetGroupingArrayOutput
- func (i SubscriptionCostManagementViewDatasetGroupingArray) ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingArrayOutput
- type SubscriptionCostManagementViewDatasetGroupingArrayInput
- type SubscriptionCostManagementViewDatasetGroupingArrayOutput
- func (SubscriptionCostManagementViewDatasetGroupingArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetGroupingArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementViewDatasetGroupingOutput
- func (o SubscriptionCostManagementViewDatasetGroupingArrayOutput) ToSubscriptionCostManagementViewDatasetGroupingArrayOutput() SubscriptionCostManagementViewDatasetGroupingArrayOutput
- func (o SubscriptionCostManagementViewDatasetGroupingArrayOutput) ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingArrayOutput
- type SubscriptionCostManagementViewDatasetGroupingInput
- type SubscriptionCostManagementViewDatasetGroupingOutput
- func (SubscriptionCostManagementViewDatasetGroupingOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetGroupingOutput) Name() pulumi.StringOutput
- func (o SubscriptionCostManagementViewDatasetGroupingOutput) ToSubscriptionCostManagementViewDatasetGroupingOutput() SubscriptionCostManagementViewDatasetGroupingOutput
- func (o SubscriptionCostManagementViewDatasetGroupingOutput) ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingOutput
- func (o SubscriptionCostManagementViewDatasetGroupingOutput) Type() pulumi.StringOutput
- type SubscriptionCostManagementViewDatasetInput
- type SubscriptionCostManagementViewDatasetOutput
- func (o SubscriptionCostManagementViewDatasetOutput) Aggregations() SubscriptionCostManagementViewDatasetAggregationArrayOutput
- func (SubscriptionCostManagementViewDatasetOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetOutput) Granularity() pulumi.StringOutput
- func (o SubscriptionCostManagementViewDatasetOutput) Groupings() SubscriptionCostManagementViewDatasetGroupingArrayOutput
- func (o SubscriptionCostManagementViewDatasetOutput) Sortings() SubscriptionCostManagementViewDatasetSortingArrayOutput
- func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetOutput() SubscriptionCostManagementViewDatasetOutput
- func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetOutput
- func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput
- func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetPtrOutput
- type SubscriptionCostManagementViewDatasetPtrInput
- type SubscriptionCostManagementViewDatasetPtrOutput
- func (o SubscriptionCostManagementViewDatasetPtrOutput) Aggregations() SubscriptionCostManagementViewDatasetAggregationArrayOutput
- func (o SubscriptionCostManagementViewDatasetPtrOutput) Elem() SubscriptionCostManagementViewDatasetOutput
- func (SubscriptionCostManagementViewDatasetPtrOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetPtrOutput) Granularity() pulumi.StringPtrOutput
- func (o SubscriptionCostManagementViewDatasetPtrOutput) Groupings() SubscriptionCostManagementViewDatasetGroupingArrayOutput
- func (o SubscriptionCostManagementViewDatasetPtrOutput) Sortings() SubscriptionCostManagementViewDatasetSortingArrayOutput
- func (o SubscriptionCostManagementViewDatasetPtrOutput) ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput
- func (o SubscriptionCostManagementViewDatasetPtrOutput) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetPtrOutput
- type SubscriptionCostManagementViewDatasetSorting
- type SubscriptionCostManagementViewDatasetSortingArgs
- func (SubscriptionCostManagementViewDatasetSortingArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetSortingArgs) ToSubscriptionCostManagementViewDatasetSortingOutput() SubscriptionCostManagementViewDatasetSortingOutput
- func (i SubscriptionCostManagementViewDatasetSortingArgs) ToSubscriptionCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingOutput
- type SubscriptionCostManagementViewDatasetSortingArray
- func (SubscriptionCostManagementViewDatasetSortingArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewDatasetSortingArray) ToSubscriptionCostManagementViewDatasetSortingArrayOutput() SubscriptionCostManagementViewDatasetSortingArrayOutput
- func (i SubscriptionCostManagementViewDatasetSortingArray) ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingArrayOutput
- type SubscriptionCostManagementViewDatasetSortingArrayInput
- type SubscriptionCostManagementViewDatasetSortingArrayOutput
- func (SubscriptionCostManagementViewDatasetSortingArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetSortingArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementViewDatasetSortingOutput
- func (o SubscriptionCostManagementViewDatasetSortingArrayOutput) ToSubscriptionCostManagementViewDatasetSortingArrayOutput() SubscriptionCostManagementViewDatasetSortingArrayOutput
- func (o SubscriptionCostManagementViewDatasetSortingArrayOutput) ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingArrayOutput
- type SubscriptionCostManagementViewDatasetSortingInput
- type SubscriptionCostManagementViewDatasetSortingOutput
- func (o SubscriptionCostManagementViewDatasetSortingOutput) Direction() pulumi.StringOutput
- func (SubscriptionCostManagementViewDatasetSortingOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewDatasetSortingOutput) Name() pulumi.StringOutput
- func (o SubscriptionCostManagementViewDatasetSortingOutput) ToSubscriptionCostManagementViewDatasetSortingOutput() SubscriptionCostManagementViewDatasetSortingOutput
- func (o SubscriptionCostManagementViewDatasetSortingOutput) ToSubscriptionCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingOutput
- type SubscriptionCostManagementViewInput
- type SubscriptionCostManagementViewKpi
- type SubscriptionCostManagementViewKpiArgs
- func (SubscriptionCostManagementViewKpiArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewKpiArgs) ToSubscriptionCostManagementViewKpiOutput() SubscriptionCostManagementViewKpiOutput
- func (i SubscriptionCostManagementViewKpiArgs) ToSubscriptionCostManagementViewKpiOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiOutput
- type SubscriptionCostManagementViewKpiArray
- func (SubscriptionCostManagementViewKpiArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewKpiArray) ToSubscriptionCostManagementViewKpiArrayOutput() SubscriptionCostManagementViewKpiArrayOutput
- func (i SubscriptionCostManagementViewKpiArray) ToSubscriptionCostManagementViewKpiArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiArrayOutput
- type SubscriptionCostManagementViewKpiArrayInput
- type SubscriptionCostManagementViewKpiArrayOutput
- func (SubscriptionCostManagementViewKpiArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewKpiArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementViewKpiOutput
- func (o SubscriptionCostManagementViewKpiArrayOutput) ToSubscriptionCostManagementViewKpiArrayOutput() SubscriptionCostManagementViewKpiArrayOutput
- func (o SubscriptionCostManagementViewKpiArrayOutput) ToSubscriptionCostManagementViewKpiArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiArrayOutput
- type SubscriptionCostManagementViewKpiInput
- type SubscriptionCostManagementViewKpiOutput
- func (SubscriptionCostManagementViewKpiOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewKpiOutput) ToSubscriptionCostManagementViewKpiOutput() SubscriptionCostManagementViewKpiOutput
- func (o SubscriptionCostManagementViewKpiOutput) ToSubscriptionCostManagementViewKpiOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiOutput
- func (o SubscriptionCostManagementViewKpiOutput) Type() pulumi.StringOutput
- type SubscriptionCostManagementViewMap
- func (SubscriptionCostManagementViewMap) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewMap) ToSubscriptionCostManagementViewMapOutput() SubscriptionCostManagementViewMapOutput
- func (i SubscriptionCostManagementViewMap) ToSubscriptionCostManagementViewMapOutputWithContext(ctx context.Context) SubscriptionCostManagementViewMapOutput
- type SubscriptionCostManagementViewMapInput
- type SubscriptionCostManagementViewMapOutput
- func (SubscriptionCostManagementViewMapOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewMapOutput) MapIndex(k pulumi.StringInput) SubscriptionCostManagementViewOutput
- func (o SubscriptionCostManagementViewMapOutput) ToSubscriptionCostManagementViewMapOutput() SubscriptionCostManagementViewMapOutput
- func (o SubscriptionCostManagementViewMapOutput) ToSubscriptionCostManagementViewMapOutputWithContext(ctx context.Context) SubscriptionCostManagementViewMapOutput
- type SubscriptionCostManagementViewOutput
- func (o SubscriptionCostManagementViewOutput) Accumulated() pulumi.BoolOutput
- func (o SubscriptionCostManagementViewOutput) ChartType() pulumi.StringOutput
- func (o SubscriptionCostManagementViewOutput) Dataset() SubscriptionCostManagementViewDatasetOutput
- func (o SubscriptionCostManagementViewOutput) DisplayName() pulumi.StringOutput
- func (SubscriptionCostManagementViewOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewOutput) Kpis() SubscriptionCostManagementViewKpiArrayOutput
- func (o SubscriptionCostManagementViewOutput) Name() pulumi.StringOutput
- func (o SubscriptionCostManagementViewOutput) Pivots() SubscriptionCostManagementViewPivotArrayOutput
- func (o SubscriptionCostManagementViewOutput) ReportType() pulumi.StringOutput
- func (o SubscriptionCostManagementViewOutput) SubscriptionId() pulumi.StringOutput
- func (o SubscriptionCostManagementViewOutput) Timeframe() pulumi.StringOutput
- func (o SubscriptionCostManagementViewOutput) ToSubscriptionCostManagementViewOutput() SubscriptionCostManagementViewOutput
- func (o SubscriptionCostManagementViewOutput) ToSubscriptionCostManagementViewOutputWithContext(ctx context.Context) SubscriptionCostManagementViewOutput
- type SubscriptionCostManagementViewPivot
- type SubscriptionCostManagementViewPivotArgs
- func (SubscriptionCostManagementViewPivotArgs) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewPivotArgs) ToSubscriptionCostManagementViewPivotOutput() SubscriptionCostManagementViewPivotOutput
- func (i SubscriptionCostManagementViewPivotArgs) ToSubscriptionCostManagementViewPivotOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotOutput
- type SubscriptionCostManagementViewPivotArray
- func (SubscriptionCostManagementViewPivotArray) ElementType() reflect.Type
- func (i SubscriptionCostManagementViewPivotArray) ToSubscriptionCostManagementViewPivotArrayOutput() SubscriptionCostManagementViewPivotArrayOutput
- func (i SubscriptionCostManagementViewPivotArray) ToSubscriptionCostManagementViewPivotArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotArrayOutput
- type SubscriptionCostManagementViewPivotArrayInput
- type SubscriptionCostManagementViewPivotArrayOutput
- func (SubscriptionCostManagementViewPivotArrayOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewPivotArrayOutput) Index(i pulumi.IntInput) SubscriptionCostManagementViewPivotOutput
- func (o SubscriptionCostManagementViewPivotArrayOutput) ToSubscriptionCostManagementViewPivotArrayOutput() SubscriptionCostManagementViewPivotArrayOutput
- func (o SubscriptionCostManagementViewPivotArrayOutput) ToSubscriptionCostManagementViewPivotArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotArrayOutput
- type SubscriptionCostManagementViewPivotInput
- type SubscriptionCostManagementViewPivotOutput
- func (SubscriptionCostManagementViewPivotOutput) ElementType() reflect.Type
- func (o SubscriptionCostManagementViewPivotOutput) Name() pulumi.StringOutput
- func (o SubscriptionCostManagementViewPivotOutput) ToSubscriptionCostManagementViewPivotOutput() SubscriptionCostManagementViewPivotOutput
- func (o SubscriptionCostManagementViewPivotOutput) ToSubscriptionCostManagementViewPivotOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotOutput
- func (o SubscriptionCostManagementViewPivotOutput) Type() pulumi.StringOutput
- type SubscriptionCostManagementViewState
- type SubscriptionInput
- type SubscriptionMap
- type SubscriptionMapInput
- type SubscriptionMapOutput
- func (SubscriptionMapOutput) ElementType() reflect.Type
- func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput
- func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput
- func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
- type SubscriptionOutput
- func (o SubscriptionOutput) Alias() pulumi.StringOutput
- func (o SubscriptionOutput) BillingScopeId() pulumi.StringPtrOutput
- func (SubscriptionOutput) ElementType() reflect.Type
- func (o SubscriptionOutput) SubscriptionId() pulumi.StringOutput
- func (o SubscriptionOutput) SubscriptionName() pulumi.StringOutput
- func (o SubscriptionOutput) Tags() pulumi.StringMapOutput
- func (o SubscriptionOutput) TenantId() pulumi.StringOutput
- func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput
- func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
- func (o SubscriptionOutput) Workload() pulumi.StringPtrOutput
- type SubscriptionPolicyAssignment
- func (*SubscriptionPolicyAssignment) ElementType() reflect.Type
- func (i *SubscriptionPolicyAssignment) ToSubscriptionPolicyAssignmentOutput() SubscriptionPolicyAssignmentOutput
- func (i *SubscriptionPolicyAssignment) ToSubscriptionPolicyAssignmentOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOutput
- type SubscriptionPolicyAssignmentArgs
- type SubscriptionPolicyAssignmentArray
- func (SubscriptionPolicyAssignmentArray) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentArray) ToSubscriptionPolicyAssignmentArrayOutput() SubscriptionPolicyAssignmentArrayOutput
- func (i SubscriptionPolicyAssignmentArray) ToSubscriptionPolicyAssignmentArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentArrayOutput
- type SubscriptionPolicyAssignmentArrayInput
- type SubscriptionPolicyAssignmentArrayOutput
- func (SubscriptionPolicyAssignmentArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyAssignmentOutput
- func (o SubscriptionPolicyAssignmentArrayOutput) ToSubscriptionPolicyAssignmentArrayOutput() SubscriptionPolicyAssignmentArrayOutput
- func (o SubscriptionPolicyAssignmentArrayOutput) ToSubscriptionPolicyAssignmentArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentArrayOutput
- type SubscriptionPolicyAssignmentIdentity
- type SubscriptionPolicyAssignmentIdentityArgs
- func (SubscriptionPolicyAssignmentIdentityArgs) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityOutput() SubscriptionPolicyAssignmentIdentityOutput
- func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityOutput
- func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput
- func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput
- type SubscriptionPolicyAssignmentIdentityInput
- type SubscriptionPolicyAssignmentIdentityOutput
- func (SubscriptionPolicyAssignmentIdentityOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityOutput() SubscriptionPolicyAssignmentIdentityOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
- type SubscriptionPolicyAssignmentIdentityPtrInput
- type SubscriptionPolicyAssignmentIdentityPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) Elem() SubscriptionPolicyAssignmentIdentityOutput
- func (SubscriptionPolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput
- func (o SubscriptionPolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type SubscriptionPolicyAssignmentInput
- type SubscriptionPolicyAssignmentMap
- func (SubscriptionPolicyAssignmentMap) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentMap) ToSubscriptionPolicyAssignmentMapOutput() SubscriptionPolicyAssignmentMapOutput
- func (i SubscriptionPolicyAssignmentMap) ToSubscriptionPolicyAssignmentMapOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentMapOutput
- type SubscriptionPolicyAssignmentMapInput
- type SubscriptionPolicyAssignmentMapOutput
- func (SubscriptionPolicyAssignmentMapOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPolicyAssignmentOutput
- func (o SubscriptionPolicyAssignmentMapOutput) ToSubscriptionPolicyAssignmentMapOutput() SubscriptionPolicyAssignmentMapOutput
- func (o SubscriptionPolicyAssignmentMapOutput) ToSubscriptionPolicyAssignmentMapOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentMapOutput
- type SubscriptionPolicyAssignmentNonComplianceMessage
- type SubscriptionPolicyAssignmentNonComplianceMessageArgs
- func (SubscriptionPolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentNonComplianceMessageArgs) ToSubscriptionPolicyAssignmentNonComplianceMessageOutput() SubscriptionPolicyAssignmentNonComplianceMessageOutput
- func (i SubscriptionPolicyAssignmentNonComplianceMessageArgs) ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageOutput
- type SubscriptionPolicyAssignmentNonComplianceMessageArray
- func (SubscriptionPolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentNonComplianceMessageArray) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
- func (i SubscriptionPolicyAssignmentNonComplianceMessageArray) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
- type SubscriptionPolicyAssignmentNonComplianceMessageArrayInput
- type SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
- func (SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyAssignmentNonComplianceMessageOutput
- func (o SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
- func (o SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
- type SubscriptionPolicyAssignmentNonComplianceMessageInput
- type SubscriptionPolicyAssignmentNonComplianceMessageOutput
- func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
- func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageOutput() SubscriptionPolicyAssignmentNonComplianceMessageOutput
- func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageOutput
- type SubscriptionPolicyAssignmentOutput
- func (o SubscriptionPolicyAssignmentOutput) Description() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
- func (SubscriptionPolicyAssignmentOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
- func (o SubscriptionPolicyAssignmentOutput) Identity() SubscriptionPolicyAssignmentIdentityPtrOutput
- func (o SubscriptionPolicyAssignmentOutput) Location() pulumi.StringOutput
- func (o SubscriptionPolicyAssignmentOutput) Metadata() pulumi.StringOutput
- func (o SubscriptionPolicyAssignmentOutput) Name() pulumi.StringOutput
- func (o SubscriptionPolicyAssignmentOutput) NonComplianceMessages() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
- func (o SubscriptionPolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentOutput) Overrides() SubscriptionPolicyAssignmentOverrideArrayOutput
- func (o SubscriptionPolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
- func (o SubscriptionPolicyAssignmentOutput) ResourceSelectors() SubscriptionPolicyAssignmentResourceSelectorArrayOutput
- func (o SubscriptionPolicyAssignmentOutput) SubscriptionId() pulumi.StringOutput
- func (o SubscriptionPolicyAssignmentOutput) ToSubscriptionPolicyAssignmentOutput() SubscriptionPolicyAssignmentOutput
- func (o SubscriptionPolicyAssignmentOutput) ToSubscriptionPolicyAssignmentOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOutput
- type SubscriptionPolicyAssignmentOverride
- type SubscriptionPolicyAssignmentOverrideArgs
- func (SubscriptionPolicyAssignmentOverrideArgs) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentOverrideArgs) ToSubscriptionPolicyAssignmentOverrideOutput() SubscriptionPolicyAssignmentOverrideOutput
- func (i SubscriptionPolicyAssignmentOverrideArgs) ToSubscriptionPolicyAssignmentOverrideOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideOutput
- type SubscriptionPolicyAssignmentOverrideArray
- func (SubscriptionPolicyAssignmentOverrideArray) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentOverrideArray) ToSubscriptionPolicyAssignmentOverrideArrayOutput() SubscriptionPolicyAssignmentOverrideArrayOutput
- func (i SubscriptionPolicyAssignmentOverrideArray) ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideArrayOutput
- type SubscriptionPolicyAssignmentOverrideArrayInput
- type SubscriptionPolicyAssignmentOverrideArrayOutput
- func (SubscriptionPolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentOverrideArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyAssignmentOverrideOutput
- func (o SubscriptionPolicyAssignmentOverrideArrayOutput) ToSubscriptionPolicyAssignmentOverrideArrayOutput() SubscriptionPolicyAssignmentOverrideArrayOutput
- func (o SubscriptionPolicyAssignmentOverrideArrayOutput) ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideArrayOutput
- type SubscriptionPolicyAssignmentOverrideInput
- type SubscriptionPolicyAssignmentOverrideOutput
- func (SubscriptionPolicyAssignmentOverrideOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentOverrideOutput) Selectors() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
- func (o SubscriptionPolicyAssignmentOverrideOutput) ToSubscriptionPolicyAssignmentOverrideOutput() SubscriptionPolicyAssignmentOverrideOutput
- func (o SubscriptionPolicyAssignmentOverrideOutput) ToSubscriptionPolicyAssignmentOverrideOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideOutput
- func (o SubscriptionPolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
- type SubscriptionPolicyAssignmentOverrideSelector
- type SubscriptionPolicyAssignmentOverrideSelectorArgs
- func (SubscriptionPolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentOverrideSelectorArgs) ToSubscriptionPolicyAssignmentOverrideSelectorOutput() SubscriptionPolicyAssignmentOverrideSelectorOutput
- func (i SubscriptionPolicyAssignmentOverrideSelectorArgs) ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorOutput
- type SubscriptionPolicyAssignmentOverrideSelectorArray
- func (SubscriptionPolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentOverrideSelectorArray) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
- func (i SubscriptionPolicyAssignmentOverrideSelectorArray) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
- type SubscriptionPolicyAssignmentOverrideSelectorArrayInput
- type SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
- func (SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyAssignmentOverrideSelectorOutput
- func (o SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
- func (o SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
- type SubscriptionPolicyAssignmentOverrideSelectorInput
- type SubscriptionPolicyAssignmentOverrideSelectorOutput
- func (SubscriptionPolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) ToSubscriptionPolicyAssignmentOverrideSelectorOutput() SubscriptionPolicyAssignmentOverrideSelectorOutput
- func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorOutput
- type SubscriptionPolicyAssignmentResourceSelector
- type SubscriptionPolicyAssignmentResourceSelectorArgs
- func (SubscriptionPolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentResourceSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorOutput
- func (i SubscriptionPolicyAssignmentResourceSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorOutput
- type SubscriptionPolicyAssignmentResourceSelectorArray
- func (SubscriptionPolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentResourceSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorArrayOutput
- func (i SubscriptionPolicyAssignmentResourceSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorArrayOutput
- type SubscriptionPolicyAssignmentResourceSelectorArrayInput
- type SubscriptionPolicyAssignmentResourceSelectorArrayOutput
- func (SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentResourceSelectorArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyAssignmentResourceSelectorOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorArrayOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorArrayOutput
- type SubscriptionPolicyAssignmentResourceSelectorInput
- type SubscriptionPolicyAssignmentResourceSelectorOutput
- func (SubscriptionPolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorOutput) Selectors() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorOutput
- type SubscriptionPolicyAssignmentResourceSelectorSelector
- type SubscriptionPolicyAssignmentResourceSelectorSelectorArgs
- func (SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
- func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
- type SubscriptionPolicyAssignmentResourceSelectorSelectorArray
- func (SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
- func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
- type SubscriptionPolicyAssignmentResourceSelectorSelectorArrayInput
- type SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
- type SubscriptionPolicyAssignmentResourceSelectorSelectorInput
- type SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
- func (SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) Kind() pulumi.StringOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
- func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
- type SubscriptionPolicyAssignmentState
- type SubscriptionPolicyExemption
- func (*SubscriptionPolicyExemption) ElementType() reflect.Type
- func (i *SubscriptionPolicyExemption) ToSubscriptionPolicyExemptionOutput() SubscriptionPolicyExemptionOutput
- func (i *SubscriptionPolicyExemption) ToSubscriptionPolicyExemptionOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionOutput
- type SubscriptionPolicyExemptionArgs
- type SubscriptionPolicyExemptionArray
- func (SubscriptionPolicyExemptionArray) ElementType() reflect.Type
- func (i SubscriptionPolicyExemptionArray) ToSubscriptionPolicyExemptionArrayOutput() SubscriptionPolicyExemptionArrayOutput
- func (i SubscriptionPolicyExemptionArray) ToSubscriptionPolicyExemptionArrayOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionArrayOutput
- type SubscriptionPolicyExemptionArrayInput
- type SubscriptionPolicyExemptionArrayOutput
- func (SubscriptionPolicyExemptionArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyExemptionArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyExemptionOutput
- func (o SubscriptionPolicyExemptionArrayOutput) ToSubscriptionPolicyExemptionArrayOutput() SubscriptionPolicyExemptionArrayOutput
- func (o SubscriptionPolicyExemptionArrayOutput) ToSubscriptionPolicyExemptionArrayOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionArrayOutput
- type SubscriptionPolicyExemptionInput
- type SubscriptionPolicyExemptionMap
- func (SubscriptionPolicyExemptionMap) ElementType() reflect.Type
- func (i SubscriptionPolicyExemptionMap) ToSubscriptionPolicyExemptionMapOutput() SubscriptionPolicyExemptionMapOutput
- func (i SubscriptionPolicyExemptionMap) ToSubscriptionPolicyExemptionMapOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionMapOutput
- type SubscriptionPolicyExemptionMapInput
- type SubscriptionPolicyExemptionMapOutput
- func (SubscriptionPolicyExemptionMapOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPolicyExemptionOutput
- func (o SubscriptionPolicyExemptionMapOutput) ToSubscriptionPolicyExemptionMapOutput() SubscriptionPolicyExemptionMapOutput
- func (o SubscriptionPolicyExemptionMapOutput) ToSubscriptionPolicyExemptionMapOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionMapOutput
- type SubscriptionPolicyExemptionOutput
- func (o SubscriptionPolicyExemptionOutput) Description() pulumi.StringPtrOutput
- func (o SubscriptionPolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
- func (SubscriptionPolicyExemptionOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
- func (o SubscriptionPolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
- func (o SubscriptionPolicyExemptionOutput) Metadata() pulumi.StringOutput
- func (o SubscriptionPolicyExemptionOutput) Name() pulumi.StringOutput
- func (o SubscriptionPolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o SubscriptionPolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
- func (o SubscriptionPolicyExemptionOutput) SubscriptionId() pulumi.StringOutput
- func (o SubscriptionPolicyExemptionOutput) ToSubscriptionPolicyExemptionOutput() SubscriptionPolicyExemptionOutput
- func (o SubscriptionPolicyExemptionOutput) ToSubscriptionPolicyExemptionOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionOutput
- type SubscriptionPolicyExemptionState
- type SubscriptionPolicyRemediation
- func (*SubscriptionPolicyRemediation) ElementType() reflect.Type
- func (i *SubscriptionPolicyRemediation) ToSubscriptionPolicyRemediationOutput() SubscriptionPolicyRemediationOutput
- func (i *SubscriptionPolicyRemediation) ToSubscriptionPolicyRemediationOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationOutput
- type SubscriptionPolicyRemediationArgs
- type SubscriptionPolicyRemediationArray
- func (SubscriptionPolicyRemediationArray) ElementType() reflect.Type
- func (i SubscriptionPolicyRemediationArray) ToSubscriptionPolicyRemediationArrayOutput() SubscriptionPolicyRemediationArrayOutput
- func (i SubscriptionPolicyRemediationArray) ToSubscriptionPolicyRemediationArrayOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationArrayOutput
- type SubscriptionPolicyRemediationArrayInput
- type SubscriptionPolicyRemediationArrayOutput
- func (SubscriptionPolicyRemediationArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyRemediationArrayOutput) Index(i pulumi.IntInput) SubscriptionPolicyRemediationOutput
- func (o SubscriptionPolicyRemediationArrayOutput) ToSubscriptionPolicyRemediationArrayOutput() SubscriptionPolicyRemediationArrayOutput
- func (o SubscriptionPolicyRemediationArrayOutput) ToSubscriptionPolicyRemediationArrayOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationArrayOutput
- type SubscriptionPolicyRemediationInput
- type SubscriptionPolicyRemediationMap
- func (SubscriptionPolicyRemediationMap) ElementType() reflect.Type
- func (i SubscriptionPolicyRemediationMap) ToSubscriptionPolicyRemediationMapOutput() SubscriptionPolicyRemediationMapOutput
- func (i SubscriptionPolicyRemediationMap) ToSubscriptionPolicyRemediationMapOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationMapOutput
- type SubscriptionPolicyRemediationMapInput
- type SubscriptionPolicyRemediationMapOutput
- func (SubscriptionPolicyRemediationMapOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPolicyRemediationOutput
- func (o SubscriptionPolicyRemediationMapOutput) ToSubscriptionPolicyRemediationMapOutput() SubscriptionPolicyRemediationMapOutput
- func (o SubscriptionPolicyRemediationMapOutput) ToSubscriptionPolicyRemediationMapOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationMapOutput
- type SubscriptionPolicyRemediationOutput
- func (SubscriptionPolicyRemediationOutput) ElementType() reflect.Type
- func (o SubscriptionPolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
- func (o SubscriptionPolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
- func (o SubscriptionPolicyRemediationOutput) Name() pulumi.StringOutput
- func (o SubscriptionPolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
- func (o SubscriptionPolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o SubscriptionPolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutputdeprecated
- func (o SubscriptionPolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o SubscriptionPolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
- func (o SubscriptionPolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
- func (o SubscriptionPolicyRemediationOutput) SubscriptionId() pulumi.StringOutput
- func (o SubscriptionPolicyRemediationOutput) ToSubscriptionPolicyRemediationOutput() SubscriptionPolicyRemediationOutput
- func (o SubscriptionPolicyRemediationOutput) ToSubscriptionPolicyRemediationOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationOutput
- type SubscriptionPolicyRemediationState
- type SubscriptionState
- type SubscriptionTemplateDeployment
- func (*SubscriptionTemplateDeployment) ElementType() reflect.Type
- func (i *SubscriptionTemplateDeployment) ToSubscriptionTemplateDeploymentOutput() SubscriptionTemplateDeploymentOutput
- func (i *SubscriptionTemplateDeployment) ToSubscriptionTemplateDeploymentOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentOutput
- type SubscriptionTemplateDeploymentArgs
- type SubscriptionTemplateDeploymentArray
- func (SubscriptionTemplateDeploymentArray) ElementType() reflect.Type
- func (i SubscriptionTemplateDeploymentArray) ToSubscriptionTemplateDeploymentArrayOutput() SubscriptionTemplateDeploymentArrayOutput
- func (i SubscriptionTemplateDeploymentArray) ToSubscriptionTemplateDeploymentArrayOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentArrayOutput
- type SubscriptionTemplateDeploymentArrayInput
- type SubscriptionTemplateDeploymentArrayOutput
- func (SubscriptionTemplateDeploymentArrayOutput) ElementType() reflect.Type
- func (o SubscriptionTemplateDeploymentArrayOutput) Index(i pulumi.IntInput) SubscriptionTemplateDeploymentOutput
- func (o SubscriptionTemplateDeploymentArrayOutput) ToSubscriptionTemplateDeploymentArrayOutput() SubscriptionTemplateDeploymentArrayOutput
- func (o SubscriptionTemplateDeploymentArrayOutput) ToSubscriptionTemplateDeploymentArrayOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentArrayOutput
- type SubscriptionTemplateDeploymentInput
- type SubscriptionTemplateDeploymentMap
- func (SubscriptionTemplateDeploymentMap) ElementType() reflect.Type
- func (i SubscriptionTemplateDeploymentMap) ToSubscriptionTemplateDeploymentMapOutput() SubscriptionTemplateDeploymentMapOutput
- func (i SubscriptionTemplateDeploymentMap) ToSubscriptionTemplateDeploymentMapOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentMapOutput
- type SubscriptionTemplateDeploymentMapInput
- type SubscriptionTemplateDeploymentMapOutput
- func (SubscriptionTemplateDeploymentMapOutput) ElementType() reflect.Type
- func (o SubscriptionTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) SubscriptionTemplateDeploymentOutput
- func (o SubscriptionTemplateDeploymentMapOutput) ToSubscriptionTemplateDeploymentMapOutput() SubscriptionTemplateDeploymentMapOutput
- func (o SubscriptionTemplateDeploymentMapOutput) ToSubscriptionTemplateDeploymentMapOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentMapOutput
- type SubscriptionTemplateDeploymentOutput
- func (o SubscriptionTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
- func (SubscriptionTemplateDeploymentOutput) ElementType() reflect.Type
- func (o SubscriptionTemplateDeploymentOutput) Location() pulumi.StringOutput
- func (o SubscriptionTemplateDeploymentOutput) Name() pulumi.StringOutput
- func (o SubscriptionTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
- func (o SubscriptionTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
- func (o SubscriptionTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
- func (o SubscriptionTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
- func (o SubscriptionTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
- func (o SubscriptionTemplateDeploymentOutput) ToSubscriptionTemplateDeploymentOutput() SubscriptionTemplateDeploymentOutput
- func (o SubscriptionTemplateDeploymentOutput) ToSubscriptionTemplateDeploymentOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentOutput
- type SubscriptionTemplateDeploymentState
- type TemplateDeployment
- type TemplateDeploymentArgs
- type TemplateDeploymentArray
- type TemplateDeploymentArrayInput
- type TemplateDeploymentArrayOutput
- func (TemplateDeploymentArrayOutput) ElementType() reflect.Type
- func (o TemplateDeploymentArrayOutput) Index(i pulumi.IntInput) TemplateDeploymentOutput
- func (o TemplateDeploymentArrayOutput) ToTemplateDeploymentArrayOutput() TemplateDeploymentArrayOutput
- func (o TemplateDeploymentArrayOutput) ToTemplateDeploymentArrayOutputWithContext(ctx context.Context) TemplateDeploymentArrayOutput
- type TemplateDeploymentInput
- type TemplateDeploymentMap
- type TemplateDeploymentMapInput
- type TemplateDeploymentMapOutput
- func (TemplateDeploymentMapOutput) ElementType() reflect.Type
- func (o TemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) TemplateDeploymentOutput
- func (o TemplateDeploymentMapOutput) ToTemplateDeploymentMapOutput() TemplateDeploymentMapOutput
- func (o TemplateDeploymentMapOutput) ToTemplateDeploymentMapOutputWithContext(ctx context.Context) TemplateDeploymentMapOutput
- type TemplateDeploymentOutput
- func (o TemplateDeploymentOutput) DeploymentMode() pulumi.StringOutput
- func (TemplateDeploymentOutput) ElementType() reflect.Type
- func (o TemplateDeploymentOutput) Name() pulumi.StringOutput
- func (o TemplateDeploymentOutput) Outputs() pulumi.StringMapOutput
- func (o TemplateDeploymentOutput) Parameters() pulumi.StringMapOutput
- func (o TemplateDeploymentOutput) ParametersBody() pulumi.StringPtrOutput
- func (o TemplateDeploymentOutput) ResourceGroupName() pulumi.StringOutput
- func (o TemplateDeploymentOutput) TemplateBody() pulumi.StringOutput
- func (o TemplateDeploymentOutput) ToTemplateDeploymentOutput() TemplateDeploymentOutput
- func (o TemplateDeploymentOutput) ToTemplateDeploymentOutputWithContext(ctx context.Context) TemplateDeploymentOutput
- type TemplateDeploymentState
- type TenantTemplateDeployment
- type TenantTemplateDeploymentArgs
- type TenantTemplateDeploymentArray
- func (TenantTemplateDeploymentArray) ElementType() reflect.Type
- func (i TenantTemplateDeploymentArray) ToTenantTemplateDeploymentArrayOutput() TenantTemplateDeploymentArrayOutput
- func (i TenantTemplateDeploymentArray) ToTenantTemplateDeploymentArrayOutputWithContext(ctx context.Context) TenantTemplateDeploymentArrayOutput
- type TenantTemplateDeploymentArrayInput
- type TenantTemplateDeploymentArrayOutput
- func (TenantTemplateDeploymentArrayOutput) ElementType() reflect.Type
- func (o TenantTemplateDeploymentArrayOutput) Index(i pulumi.IntInput) TenantTemplateDeploymentOutput
- func (o TenantTemplateDeploymentArrayOutput) ToTenantTemplateDeploymentArrayOutput() TenantTemplateDeploymentArrayOutput
- func (o TenantTemplateDeploymentArrayOutput) ToTenantTemplateDeploymentArrayOutputWithContext(ctx context.Context) TenantTemplateDeploymentArrayOutput
- type TenantTemplateDeploymentInput
- type TenantTemplateDeploymentMap
- func (TenantTemplateDeploymentMap) ElementType() reflect.Type
- func (i TenantTemplateDeploymentMap) ToTenantTemplateDeploymentMapOutput() TenantTemplateDeploymentMapOutput
- func (i TenantTemplateDeploymentMap) ToTenantTemplateDeploymentMapOutputWithContext(ctx context.Context) TenantTemplateDeploymentMapOutput
- type TenantTemplateDeploymentMapInput
- type TenantTemplateDeploymentMapOutput
- func (TenantTemplateDeploymentMapOutput) ElementType() reflect.Type
- func (o TenantTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) TenantTemplateDeploymentOutput
- func (o TenantTemplateDeploymentMapOutput) ToTenantTemplateDeploymentMapOutput() TenantTemplateDeploymentMapOutput
- func (o TenantTemplateDeploymentMapOutput) ToTenantTemplateDeploymentMapOutputWithContext(ctx context.Context) TenantTemplateDeploymentMapOutput
- type TenantTemplateDeploymentOutput
- func (o TenantTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
- func (TenantTemplateDeploymentOutput) ElementType() reflect.Type
- func (o TenantTemplateDeploymentOutput) Location() pulumi.StringOutput
- func (o TenantTemplateDeploymentOutput) Name() pulumi.StringOutput
- func (o TenantTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
- func (o TenantTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
- func (o TenantTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
- func (o TenantTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
- func (o TenantTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
- func (o TenantTemplateDeploymentOutput) ToTenantTemplateDeploymentOutput() TenantTemplateDeploymentOutput
- func (o TenantTemplateDeploymentOutput) ToTenantTemplateDeploymentOutputWithContext(ctx context.Context) TenantTemplateDeploymentOutput
- type TenantTemplateDeploymentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomProvider ¶
type CustomProvider struct { pulumi.CustomResourceState // Any number of `action` block as defined below. One of `resourceType` or `action` must be specified. Actions CustomProviderActionArrayOutput `pulumi:"actions"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Custom Provider. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the Custom Provider. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Any number of `resourceType` block as defined below. One of `resourceType` or `action` must be specified. ResourceTypes CustomProviderResourceTypeArrayOutput `pulumi:"resourceTypes"` // A mapping of tags to assign to the resource. Changing this forces a new resource to be created. Tags pulumi.StringMapOutput `pulumi:"tags"` // Any number of `validation` block as defined below. Validations CustomProviderValidationArrayOutput `pulumi:"validations"` }
Manages an Azure Custom Provider.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = core.NewCustomProvider(ctx, "example", &core.CustomProviderArgs{ Name: pulumi.String("example_provider"), Location: example.Location, ResourceGroupName: example.Name, ResourceTypes: core.CustomProviderResourceTypeArray{ &core.CustomProviderResourceTypeArgs{ Name: pulumi.String("dEf1"), Endpoint: pulumi.String("https://testendpoint.com/"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Custom Provider can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/customProvider:CustomProvider example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.CustomProviders/resourceProviders/example ```
func GetCustomProvider ¶
func GetCustomProvider(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CustomProviderState, opts ...pulumi.ResourceOption) (*CustomProvider, error)
GetCustomProvider gets an existing CustomProvider resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCustomProvider ¶
func NewCustomProvider(ctx *pulumi.Context, name string, args *CustomProviderArgs, opts ...pulumi.ResourceOption) (*CustomProvider, error)
NewCustomProvider registers a new resource with the given unique name, arguments, and options.
func (*CustomProvider) ElementType ¶
func (*CustomProvider) ElementType() reflect.Type
func (*CustomProvider) ToCustomProviderOutput ¶
func (i *CustomProvider) ToCustomProviderOutput() CustomProviderOutput
func (*CustomProvider) ToCustomProviderOutputWithContext ¶
func (i *CustomProvider) ToCustomProviderOutputWithContext(ctx context.Context) CustomProviderOutput
type CustomProviderAction ¶
type CustomProviderActionArgs ¶
type CustomProviderActionArgs struct { // Specifies the endpoint of the action. Endpoint pulumi.StringInput `pulumi:"endpoint"` // Specifies the name of the action. Name pulumi.StringInput `pulumi:"name"` }
func (CustomProviderActionArgs) ElementType ¶
func (CustomProviderActionArgs) ElementType() reflect.Type
func (CustomProviderActionArgs) ToCustomProviderActionOutput ¶
func (i CustomProviderActionArgs) ToCustomProviderActionOutput() CustomProviderActionOutput
func (CustomProviderActionArgs) ToCustomProviderActionOutputWithContext ¶
func (i CustomProviderActionArgs) ToCustomProviderActionOutputWithContext(ctx context.Context) CustomProviderActionOutput
type CustomProviderActionArray ¶
type CustomProviderActionArray []CustomProviderActionInput
func (CustomProviderActionArray) ElementType ¶
func (CustomProviderActionArray) ElementType() reflect.Type
func (CustomProviderActionArray) ToCustomProviderActionArrayOutput ¶
func (i CustomProviderActionArray) ToCustomProviderActionArrayOutput() CustomProviderActionArrayOutput
func (CustomProviderActionArray) ToCustomProviderActionArrayOutputWithContext ¶
func (i CustomProviderActionArray) ToCustomProviderActionArrayOutputWithContext(ctx context.Context) CustomProviderActionArrayOutput
type CustomProviderActionArrayInput ¶
type CustomProviderActionArrayInput interface { pulumi.Input ToCustomProviderActionArrayOutput() CustomProviderActionArrayOutput ToCustomProviderActionArrayOutputWithContext(context.Context) CustomProviderActionArrayOutput }
CustomProviderActionArrayInput is an input type that accepts CustomProviderActionArray and CustomProviderActionArrayOutput values. You can construct a concrete instance of `CustomProviderActionArrayInput` via:
CustomProviderActionArray{ CustomProviderActionArgs{...} }
type CustomProviderActionArrayOutput ¶
type CustomProviderActionArrayOutput struct{ *pulumi.OutputState }
func (CustomProviderActionArrayOutput) ElementType ¶
func (CustomProviderActionArrayOutput) ElementType() reflect.Type
func (CustomProviderActionArrayOutput) Index ¶
func (o CustomProviderActionArrayOutput) Index(i pulumi.IntInput) CustomProviderActionOutput
func (CustomProviderActionArrayOutput) ToCustomProviderActionArrayOutput ¶
func (o CustomProviderActionArrayOutput) ToCustomProviderActionArrayOutput() CustomProviderActionArrayOutput
func (CustomProviderActionArrayOutput) ToCustomProviderActionArrayOutputWithContext ¶
func (o CustomProviderActionArrayOutput) ToCustomProviderActionArrayOutputWithContext(ctx context.Context) CustomProviderActionArrayOutput
type CustomProviderActionInput ¶
type CustomProviderActionInput interface { pulumi.Input ToCustomProviderActionOutput() CustomProviderActionOutput ToCustomProviderActionOutputWithContext(context.Context) CustomProviderActionOutput }
CustomProviderActionInput is an input type that accepts CustomProviderActionArgs and CustomProviderActionOutput values. You can construct a concrete instance of `CustomProviderActionInput` via:
CustomProviderActionArgs{...}
type CustomProviderActionOutput ¶
type CustomProviderActionOutput struct{ *pulumi.OutputState }
func (CustomProviderActionOutput) ElementType ¶
func (CustomProviderActionOutput) ElementType() reflect.Type
func (CustomProviderActionOutput) Endpoint ¶
func (o CustomProviderActionOutput) Endpoint() pulumi.StringOutput
Specifies the endpoint of the action.
func (CustomProviderActionOutput) Name ¶
func (o CustomProviderActionOutput) Name() pulumi.StringOutput
Specifies the name of the action.
func (CustomProviderActionOutput) ToCustomProviderActionOutput ¶
func (o CustomProviderActionOutput) ToCustomProviderActionOutput() CustomProviderActionOutput
func (CustomProviderActionOutput) ToCustomProviderActionOutputWithContext ¶
func (o CustomProviderActionOutput) ToCustomProviderActionOutputWithContext(ctx context.Context) CustomProviderActionOutput
type CustomProviderArgs ¶
type CustomProviderArgs struct { // Any number of `action` block as defined below. One of `resourceType` or `action` must be specified. Actions CustomProviderActionArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Custom Provider. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to create the Custom Provider. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Any number of `resourceType` block as defined below. One of `resourceType` or `action` must be specified. ResourceTypes CustomProviderResourceTypeArrayInput // A mapping of tags to assign to the resource. Changing this forces a new resource to be created. Tags pulumi.StringMapInput // Any number of `validation` block as defined below. Validations CustomProviderValidationArrayInput }
The set of arguments for constructing a CustomProvider resource.
func (CustomProviderArgs) ElementType ¶
func (CustomProviderArgs) ElementType() reflect.Type
type CustomProviderArray ¶
type CustomProviderArray []CustomProviderInput
func (CustomProviderArray) ElementType ¶
func (CustomProviderArray) ElementType() reflect.Type
func (CustomProviderArray) ToCustomProviderArrayOutput ¶
func (i CustomProviderArray) ToCustomProviderArrayOutput() CustomProviderArrayOutput
func (CustomProviderArray) ToCustomProviderArrayOutputWithContext ¶
func (i CustomProviderArray) ToCustomProviderArrayOutputWithContext(ctx context.Context) CustomProviderArrayOutput
type CustomProviderArrayInput ¶
type CustomProviderArrayInput interface { pulumi.Input ToCustomProviderArrayOutput() CustomProviderArrayOutput ToCustomProviderArrayOutputWithContext(context.Context) CustomProviderArrayOutput }
CustomProviderArrayInput is an input type that accepts CustomProviderArray and CustomProviderArrayOutput values. You can construct a concrete instance of `CustomProviderArrayInput` via:
CustomProviderArray{ CustomProviderArgs{...} }
type CustomProviderArrayOutput ¶
type CustomProviderArrayOutput struct{ *pulumi.OutputState }
func (CustomProviderArrayOutput) ElementType ¶
func (CustomProviderArrayOutput) ElementType() reflect.Type
func (CustomProviderArrayOutput) Index ¶
func (o CustomProviderArrayOutput) Index(i pulumi.IntInput) CustomProviderOutput
func (CustomProviderArrayOutput) ToCustomProviderArrayOutput ¶
func (o CustomProviderArrayOutput) ToCustomProviderArrayOutput() CustomProviderArrayOutput
func (CustomProviderArrayOutput) ToCustomProviderArrayOutputWithContext ¶
func (o CustomProviderArrayOutput) ToCustomProviderArrayOutputWithContext(ctx context.Context) CustomProviderArrayOutput
type CustomProviderInput ¶
type CustomProviderInput interface { pulumi.Input ToCustomProviderOutput() CustomProviderOutput ToCustomProviderOutputWithContext(ctx context.Context) CustomProviderOutput }
type CustomProviderMap ¶
type CustomProviderMap map[string]CustomProviderInput
func (CustomProviderMap) ElementType ¶
func (CustomProviderMap) ElementType() reflect.Type
func (CustomProviderMap) ToCustomProviderMapOutput ¶
func (i CustomProviderMap) ToCustomProviderMapOutput() CustomProviderMapOutput
func (CustomProviderMap) ToCustomProviderMapOutputWithContext ¶
func (i CustomProviderMap) ToCustomProviderMapOutputWithContext(ctx context.Context) CustomProviderMapOutput
type CustomProviderMapInput ¶
type CustomProviderMapInput interface { pulumi.Input ToCustomProviderMapOutput() CustomProviderMapOutput ToCustomProviderMapOutputWithContext(context.Context) CustomProviderMapOutput }
CustomProviderMapInput is an input type that accepts CustomProviderMap and CustomProviderMapOutput values. You can construct a concrete instance of `CustomProviderMapInput` via:
CustomProviderMap{ "key": CustomProviderArgs{...} }
type CustomProviderMapOutput ¶
type CustomProviderMapOutput struct{ *pulumi.OutputState }
func (CustomProviderMapOutput) ElementType ¶
func (CustomProviderMapOutput) ElementType() reflect.Type
func (CustomProviderMapOutput) MapIndex ¶
func (o CustomProviderMapOutput) MapIndex(k pulumi.StringInput) CustomProviderOutput
func (CustomProviderMapOutput) ToCustomProviderMapOutput ¶
func (o CustomProviderMapOutput) ToCustomProviderMapOutput() CustomProviderMapOutput
func (CustomProviderMapOutput) ToCustomProviderMapOutputWithContext ¶
func (o CustomProviderMapOutput) ToCustomProviderMapOutputWithContext(ctx context.Context) CustomProviderMapOutput
type CustomProviderOutput ¶
type CustomProviderOutput struct{ *pulumi.OutputState }
func (CustomProviderOutput) Actions ¶ added in v5.5.0
func (o CustomProviderOutput) Actions() CustomProviderActionArrayOutput
Any number of `action` block as defined below. One of `resourceType` or `action` must be specified.
func (CustomProviderOutput) ElementType ¶
func (CustomProviderOutput) ElementType() reflect.Type
func (CustomProviderOutput) Location ¶ added in v5.5.0
func (o CustomProviderOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (CustomProviderOutput) Name ¶ added in v5.5.0
func (o CustomProviderOutput) Name() pulumi.StringOutput
Specifies the name of the Custom Provider. Changing this forces a new resource to be created.
func (CustomProviderOutput) ResourceGroupName ¶ added in v5.5.0
func (o CustomProviderOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the Custom Provider. Changing this forces a new resource to be created.
func (CustomProviderOutput) ResourceTypes ¶ added in v5.5.0
func (o CustomProviderOutput) ResourceTypes() CustomProviderResourceTypeArrayOutput
Any number of `resourceType` block as defined below. One of `resourceType` or `action` must be specified.
func (CustomProviderOutput) Tags ¶ added in v5.5.0
func (o CustomProviderOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
func (CustomProviderOutput) ToCustomProviderOutput ¶
func (o CustomProviderOutput) ToCustomProviderOutput() CustomProviderOutput
func (CustomProviderOutput) ToCustomProviderOutputWithContext ¶
func (o CustomProviderOutput) ToCustomProviderOutputWithContext(ctx context.Context) CustomProviderOutput
func (CustomProviderOutput) Validations ¶ added in v5.5.0
func (o CustomProviderOutput) Validations() CustomProviderValidationArrayOutput
Any number of `validation` block as defined below.
type CustomProviderResourceType ¶
type CustomProviderResourceType struct { // Specifies the endpoint of the route definition. Endpoint string `pulumi:"endpoint"` // Specifies the name of the route definition. Name string `pulumi:"name"` // The routing type that is supported for the resource request. Valid values are `Proxy` and `Proxy,Cache`. Defaults to `Proxy`. RoutingType *string `pulumi:"routingType"` }
type CustomProviderResourceTypeArgs ¶
type CustomProviderResourceTypeArgs struct { // Specifies the endpoint of the route definition. Endpoint pulumi.StringInput `pulumi:"endpoint"` // Specifies the name of the route definition. Name pulumi.StringInput `pulumi:"name"` // The routing type that is supported for the resource request. Valid values are `Proxy` and `Proxy,Cache`. Defaults to `Proxy`. RoutingType pulumi.StringPtrInput `pulumi:"routingType"` }
func (CustomProviderResourceTypeArgs) ElementType ¶
func (CustomProviderResourceTypeArgs) ElementType() reflect.Type
func (CustomProviderResourceTypeArgs) ToCustomProviderResourceTypeOutput ¶
func (i CustomProviderResourceTypeArgs) ToCustomProviderResourceTypeOutput() CustomProviderResourceTypeOutput
func (CustomProviderResourceTypeArgs) ToCustomProviderResourceTypeOutputWithContext ¶
func (i CustomProviderResourceTypeArgs) ToCustomProviderResourceTypeOutputWithContext(ctx context.Context) CustomProviderResourceTypeOutput
type CustomProviderResourceTypeArray ¶
type CustomProviderResourceTypeArray []CustomProviderResourceTypeInput
func (CustomProviderResourceTypeArray) ElementType ¶
func (CustomProviderResourceTypeArray) ElementType() reflect.Type
func (CustomProviderResourceTypeArray) ToCustomProviderResourceTypeArrayOutput ¶
func (i CustomProviderResourceTypeArray) ToCustomProviderResourceTypeArrayOutput() CustomProviderResourceTypeArrayOutput
func (CustomProviderResourceTypeArray) ToCustomProviderResourceTypeArrayOutputWithContext ¶
func (i CustomProviderResourceTypeArray) ToCustomProviderResourceTypeArrayOutputWithContext(ctx context.Context) CustomProviderResourceTypeArrayOutput
type CustomProviderResourceTypeArrayInput ¶
type CustomProviderResourceTypeArrayInput interface { pulumi.Input ToCustomProviderResourceTypeArrayOutput() CustomProviderResourceTypeArrayOutput ToCustomProviderResourceTypeArrayOutputWithContext(context.Context) CustomProviderResourceTypeArrayOutput }
CustomProviderResourceTypeArrayInput is an input type that accepts CustomProviderResourceTypeArray and CustomProviderResourceTypeArrayOutput values. You can construct a concrete instance of `CustomProviderResourceTypeArrayInput` via:
CustomProviderResourceTypeArray{ CustomProviderResourceTypeArgs{...} }
type CustomProviderResourceTypeArrayOutput ¶
type CustomProviderResourceTypeArrayOutput struct{ *pulumi.OutputState }
func (CustomProviderResourceTypeArrayOutput) ElementType ¶
func (CustomProviderResourceTypeArrayOutput) ElementType() reflect.Type
func (CustomProviderResourceTypeArrayOutput) Index ¶
func (o CustomProviderResourceTypeArrayOutput) Index(i pulumi.IntInput) CustomProviderResourceTypeOutput
func (CustomProviderResourceTypeArrayOutput) ToCustomProviderResourceTypeArrayOutput ¶
func (o CustomProviderResourceTypeArrayOutput) ToCustomProviderResourceTypeArrayOutput() CustomProviderResourceTypeArrayOutput
func (CustomProviderResourceTypeArrayOutput) ToCustomProviderResourceTypeArrayOutputWithContext ¶
func (o CustomProviderResourceTypeArrayOutput) ToCustomProviderResourceTypeArrayOutputWithContext(ctx context.Context) CustomProviderResourceTypeArrayOutput
type CustomProviderResourceTypeInput ¶
type CustomProviderResourceTypeInput interface { pulumi.Input ToCustomProviderResourceTypeOutput() CustomProviderResourceTypeOutput ToCustomProviderResourceTypeOutputWithContext(context.Context) CustomProviderResourceTypeOutput }
CustomProviderResourceTypeInput is an input type that accepts CustomProviderResourceTypeArgs and CustomProviderResourceTypeOutput values. You can construct a concrete instance of `CustomProviderResourceTypeInput` via:
CustomProviderResourceTypeArgs{...}
type CustomProviderResourceTypeOutput ¶
type CustomProviderResourceTypeOutput struct{ *pulumi.OutputState }
func (CustomProviderResourceTypeOutput) ElementType ¶
func (CustomProviderResourceTypeOutput) ElementType() reflect.Type
func (CustomProviderResourceTypeOutput) Endpoint ¶
func (o CustomProviderResourceTypeOutput) Endpoint() pulumi.StringOutput
Specifies the endpoint of the route definition.
func (CustomProviderResourceTypeOutput) Name ¶
func (o CustomProviderResourceTypeOutput) Name() pulumi.StringOutput
Specifies the name of the route definition.
func (CustomProviderResourceTypeOutput) RoutingType ¶
func (o CustomProviderResourceTypeOutput) RoutingType() pulumi.StringPtrOutput
The routing type that is supported for the resource request. Valid values are `Proxy` and `Proxy,Cache`. Defaults to `Proxy`.
func (CustomProviderResourceTypeOutput) ToCustomProviderResourceTypeOutput ¶
func (o CustomProviderResourceTypeOutput) ToCustomProviderResourceTypeOutput() CustomProviderResourceTypeOutput
func (CustomProviderResourceTypeOutput) ToCustomProviderResourceTypeOutputWithContext ¶
func (o CustomProviderResourceTypeOutput) ToCustomProviderResourceTypeOutputWithContext(ctx context.Context) CustomProviderResourceTypeOutput
type CustomProviderState ¶
type CustomProviderState struct { // Any number of `action` block as defined below. One of `resourceType` or `action` must be specified. Actions CustomProviderActionArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Custom Provider. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to create the Custom Provider. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Any number of `resourceType` block as defined below. One of `resourceType` or `action` must be specified. ResourceTypes CustomProviderResourceTypeArrayInput // A mapping of tags to assign to the resource. Changing this forces a new resource to be created. Tags pulumi.StringMapInput // Any number of `validation` block as defined below. Validations CustomProviderValidationArrayInput }
func (CustomProviderState) ElementType ¶
func (CustomProviderState) ElementType() reflect.Type
type CustomProviderValidation ¶
type CustomProviderValidation struct { // The endpoint where the validation specification is located. Specification string `pulumi:"specification"` }
type CustomProviderValidationArgs ¶
type CustomProviderValidationArgs struct { // The endpoint where the validation specification is located. Specification pulumi.StringInput `pulumi:"specification"` }
func (CustomProviderValidationArgs) ElementType ¶
func (CustomProviderValidationArgs) ElementType() reflect.Type
func (CustomProviderValidationArgs) ToCustomProviderValidationOutput ¶
func (i CustomProviderValidationArgs) ToCustomProviderValidationOutput() CustomProviderValidationOutput
func (CustomProviderValidationArgs) ToCustomProviderValidationOutputWithContext ¶
func (i CustomProviderValidationArgs) ToCustomProviderValidationOutputWithContext(ctx context.Context) CustomProviderValidationOutput
type CustomProviderValidationArray ¶
type CustomProviderValidationArray []CustomProviderValidationInput
func (CustomProviderValidationArray) ElementType ¶
func (CustomProviderValidationArray) ElementType() reflect.Type
func (CustomProviderValidationArray) ToCustomProviderValidationArrayOutput ¶
func (i CustomProviderValidationArray) ToCustomProviderValidationArrayOutput() CustomProviderValidationArrayOutput
func (CustomProviderValidationArray) ToCustomProviderValidationArrayOutputWithContext ¶
func (i CustomProviderValidationArray) ToCustomProviderValidationArrayOutputWithContext(ctx context.Context) CustomProviderValidationArrayOutput
type CustomProviderValidationArrayInput ¶
type CustomProviderValidationArrayInput interface { pulumi.Input ToCustomProviderValidationArrayOutput() CustomProviderValidationArrayOutput ToCustomProviderValidationArrayOutputWithContext(context.Context) CustomProviderValidationArrayOutput }
CustomProviderValidationArrayInput is an input type that accepts CustomProviderValidationArray and CustomProviderValidationArrayOutput values. You can construct a concrete instance of `CustomProviderValidationArrayInput` via:
CustomProviderValidationArray{ CustomProviderValidationArgs{...} }
type CustomProviderValidationArrayOutput ¶
type CustomProviderValidationArrayOutput struct{ *pulumi.OutputState }
func (CustomProviderValidationArrayOutput) ElementType ¶
func (CustomProviderValidationArrayOutput) ElementType() reflect.Type
func (CustomProviderValidationArrayOutput) Index ¶
func (o CustomProviderValidationArrayOutput) Index(i pulumi.IntInput) CustomProviderValidationOutput
func (CustomProviderValidationArrayOutput) ToCustomProviderValidationArrayOutput ¶
func (o CustomProviderValidationArrayOutput) ToCustomProviderValidationArrayOutput() CustomProviderValidationArrayOutput
func (CustomProviderValidationArrayOutput) ToCustomProviderValidationArrayOutputWithContext ¶
func (o CustomProviderValidationArrayOutput) ToCustomProviderValidationArrayOutputWithContext(ctx context.Context) CustomProviderValidationArrayOutput
type CustomProviderValidationInput ¶
type CustomProviderValidationInput interface { pulumi.Input ToCustomProviderValidationOutput() CustomProviderValidationOutput ToCustomProviderValidationOutputWithContext(context.Context) CustomProviderValidationOutput }
CustomProviderValidationInput is an input type that accepts CustomProviderValidationArgs and CustomProviderValidationOutput values. You can construct a concrete instance of `CustomProviderValidationInput` via:
CustomProviderValidationArgs{...}
type CustomProviderValidationOutput ¶
type CustomProviderValidationOutput struct{ *pulumi.OutputState }
func (CustomProviderValidationOutput) ElementType ¶
func (CustomProviderValidationOutput) ElementType() reflect.Type
func (CustomProviderValidationOutput) Specification ¶
func (o CustomProviderValidationOutput) Specification() pulumi.StringOutput
The endpoint where the validation specification is located.
func (CustomProviderValidationOutput) ToCustomProviderValidationOutput ¶
func (o CustomProviderValidationOutput) ToCustomProviderValidationOutput() CustomProviderValidationOutput
func (CustomProviderValidationOutput) ToCustomProviderValidationOutputWithContext ¶
func (o CustomProviderValidationOutput) ToCustomProviderValidationOutputWithContext(ctx context.Context) CustomProviderValidationOutput
type GetClientConfigResult ¶
type GetClientConfigResult struct { // is set to the Azure Client ID (Application Object ID). ClientId string `pulumi:"clientId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // is set to the Azure Object ID. ObjectId string `pulumi:"objectId"` // is set to the Azure Subscription ID. SubscriptionId string `pulumi:"subscriptionId"` // is set to the Azure Tenant ID. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getClientConfig.
func GetClientConfig ¶
func GetClientConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetClientConfigResult, error)
Use this data source to access the configuration of the AzureRM provider.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } ctx.Export("accountId", current.ClientId) return nil }) }
```
type GetClientConfigResultOutput ¶ added in v5.53.0
type GetClientConfigResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClientConfig.
func GetClientConfigOutput ¶ added in v5.53.0
func GetClientConfigOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetClientConfigResultOutput
func (GetClientConfigResultOutput) ClientId ¶ added in v5.53.0
func (o GetClientConfigResultOutput) ClientId() pulumi.StringOutput
is set to the Azure Client ID (Application Object ID).
func (GetClientConfigResultOutput) ElementType ¶ added in v5.53.0
func (GetClientConfigResultOutput) ElementType() reflect.Type
func (GetClientConfigResultOutput) Id ¶ added in v5.53.0
func (o GetClientConfigResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClientConfigResultOutput) ObjectId ¶ added in v5.53.0
func (o GetClientConfigResultOutput) ObjectId() pulumi.StringOutput
is set to the Azure Object ID.
func (GetClientConfigResultOutput) SubscriptionId ¶ added in v5.53.0
func (o GetClientConfigResultOutput) SubscriptionId() pulumi.StringOutput
is set to the Azure Subscription ID.
func (GetClientConfigResultOutput) TenantId ¶ added in v5.53.0
func (o GetClientConfigResultOutput) TenantId() pulumi.StringOutput
is set to the Azure Tenant ID.
func (GetClientConfigResultOutput) ToGetClientConfigResultOutput ¶ added in v5.53.0
func (o GetClientConfigResultOutput) ToGetClientConfigResultOutput() GetClientConfigResultOutput
func (GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext ¶ added in v5.53.0
func (o GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext(ctx context.Context) GetClientConfigResultOutput
type GetExtendedLocationsArgs ¶
type GetExtendedLocationsArgs struct { // The Azure location to retrieve the Extended Locations for. Location string `pulumi:"location"` }
A collection of arguments for invoking getExtendedLocations.
type GetExtendedLocationsOutputArgs ¶
type GetExtendedLocationsOutputArgs struct { // The Azure location to retrieve the Extended Locations for. Location pulumi.StringInput `pulumi:"location"` }
A collection of arguments for invoking getExtendedLocations.
func (GetExtendedLocationsOutputArgs) ElementType ¶
func (GetExtendedLocationsOutputArgs) ElementType() reflect.Type
type GetExtendedLocationsResult ¶
type GetExtendedLocationsResult struct { // The available extended locations for the Azure Location. ExtendedLocations []string `pulumi:"extendedLocations"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` }
A collection of values returned by getExtendedLocations.
func GetExtendedLocations ¶
func GetExtendedLocations(ctx *pulumi.Context, args *GetExtendedLocationsArgs, opts ...pulumi.InvokeOption) (*GetExtendedLocationsResult, error)
This data source return the available Extended Locations for a specific Azure Region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.GetExtendedLocations(ctx, &core.GetExtendedLocationsArgs{ Location: "West Europe", }, nil) if err != nil { return err } return nil }) }
```
type GetExtendedLocationsResultOutput ¶
type GetExtendedLocationsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getExtendedLocations.
func GetExtendedLocationsOutput ¶
func GetExtendedLocationsOutput(ctx *pulumi.Context, args GetExtendedLocationsOutputArgs, opts ...pulumi.InvokeOption) GetExtendedLocationsResultOutput
func (GetExtendedLocationsResultOutput) ElementType ¶
func (GetExtendedLocationsResultOutput) ElementType() reflect.Type
func (GetExtendedLocationsResultOutput) ExtendedLocations ¶
func (o GetExtendedLocationsResultOutput) ExtendedLocations() pulumi.StringArrayOutput
The available extended locations for the Azure Location.
func (GetExtendedLocationsResultOutput) Id ¶
func (o GetExtendedLocationsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetExtendedLocationsResultOutput) Location ¶
func (o GetExtendedLocationsResultOutput) Location() pulumi.StringOutput
func (GetExtendedLocationsResultOutput) ToGetExtendedLocationsResultOutput ¶
func (o GetExtendedLocationsResultOutput) ToGetExtendedLocationsResultOutput() GetExtendedLocationsResultOutput
func (GetExtendedLocationsResultOutput) ToGetExtendedLocationsResultOutputWithContext ¶
func (o GetExtendedLocationsResultOutput) ToGetExtendedLocationsResultOutputWithContext(ctx context.Context) GetExtendedLocationsResultOutput
type GetLocationArgs ¶ added in v5.60.0
type GetLocationArgs struct { // Specifies the supported Azure location where the resource exists. Location string `pulumi:"location"` }
A collection of arguments for invoking getLocation.
type GetLocationOutputArgs ¶ added in v5.60.0
type GetLocationOutputArgs struct { // Specifies the supported Azure location where the resource exists. Location pulumi.StringInput `pulumi:"location"` }
A collection of arguments for invoking getLocation.
func (GetLocationOutputArgs) ElementType ¶ added in v5.60.0
func (GetLocationOutputArgs) ElementType() reflect.Type
type GetLocationResult ¶ added in v5.60.0
type GetLocationResult struct { // The display name of the location. DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` // A `zoneMappings` block as defined below. ZoneMappings []GetLocationZoneMapping `pulumi:"zoneMappings"` }
A collection of values returned by getLocation.
func GetLocation ¶ added in v5.60.0
func GetLocation(ctx *pulumi.Context, args *GetLocationArgs, opts ...pulumi.InvokeOption) (*GetLocationResult, error)
Use this data source to access information of a specific physical location.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.GetLocation(ctx, &core.GetLocationArgs{ Location: "West Europe", }, nil) if err != nil { return err } return nil }) }
```
type GetLocationResultOutput ¶ added in v5.60.0
type GetLocationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocation.
func GetLocationOutput ¶ added in v5.60.0
func GetLocationOutput(ctx *pulumi.Context, args GetLocationOutputArgs, opts ...pulumi.InvokeOption) GetLocationResultOutput
func (GetLocationResultOutput) DisplayName ¶ added in v5.60.0
func (o GetLocationResultOutput) DisplayName() pulumi.StringOutput
The display name of the location.
func (GetLocationResultOutput) ElementType ¶ added in v5.60.0
func (GetLocationResultOutput) ElementType() reflect.Type
func (GetLocationResultOutput) Id ¶ added in v5.60.0
func (o GetLocationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocationResultOutput) Location ¶ added in v5.60.0
func (o GetLocationResultOutput) Location() pulumi.StringOutput
func (GetLocationResultOutput) ToGetLocationResultOutput ¶ added in v5.60.0
func (o GetLocationResultOutput) ToGetLocationResultOutput() GetLocationResultOutput
func (GetLocationResultOutput) ToGetLocationResultOutputWithContext ¶ added in v5.60.0
func (o GetLocationResultOutput) ToGetLocationResultOutputWithContext(ctx context.Context) GetLocationResultOutput
func (GetLocationResultOutput) ZoneMappings ¶ added in v5.60.0
func (o GetLocationResultOutput) ZoneMappings() GetLocationZoneMappingArrayOutput
A `zoneMappings` block as defined below.
type GetLocationZoneMapping ¶ added in v5.60.0
type GetLocationZoneMappingArgs ¶ added in v5.60.0
type GetLocationZoneMappingArgs struct { // The logical zone id for the availability zone LogicalZone pulumi.StringInput `pulumi:"logicalZone"` // The fully qualified physical zone id of availability zone to which logical zone id is mapped to PhysicalZone pulumi.StringInput `pulumi:"physicalZone"` }
func (GetLocationZoneMappingArgs) ElementType ¶ added in v5.60.0
func (GetLocationZoneMappingArgs) ElementType() reflect.Type
func (GetLocationZoneMappingArgs) ToGetLocationZoneMappingOutput ¶ added in v5.60.0
func (i GetLocationZoneMappingArgs) ToGetLocationZoneMappingOutput() GetLocationZoneMappingOutput
func (GetLocationZoneMappingArgs) ToGetLocationZoneMappingOutputWithContext ¶ added in v5.60.0
func (i GetLocationZoneMappingArgs) ToGetLocationZoneMappingOutputWithContext(ctx context.Context) GetLocationZoneMappingOutput
type GetLocationZoneMappingArray ¶ added in v5.60.0
type GetLocationZoneMappingArray []GetLocationZoneMappingInput
func (GetLocationZoneMappingArray) ElementType ¶ added in v5.60.0
func (GetLocationZoneMappingArray) ElementType() reflect.Type
func (GetLocationZoneMappingArray) ToGetLocationZoneMappingArrayOutput ¶ added in v5.60.0
func (i GetLocationZoneMappingArray) ToGetLocationZoneMappingArrayOutput() GetLocationZoneMappingArrayOutput
func (GetLocationZoneMappingArray) ToGetLocationZoneMappingArrayOutputWithContext ¶ added in v5.60.0
func (i GetLocationZoneMappingArray) ToGetLocationZoneMappingArrayOutputWithContext(ctx context.Context) GetLocationZoneMappingArrayOutput
type GetLocationZoneMappingArrayInput ¶ added in v5.60.0
type GetLocationZoneMappingArrayInput interface { pulumi.Input ToGetLocationZoneMappingArrayOutput() GetLocationZoneMappingArrayOutput ToGetLocationZoneMappingArrayOutputWithContext(context.Context) GetLocationZoneMappingArrayOutput }
GetLocationZoneMappingArrayInput is an input type that accepts GetLocationZoneMappingArray and GetLocationZoneMappingArrayOutput values. You can construct a concrete instance of `GetLocationZoneMappingArrayInput` via:
GetLocationZoneMappingArray{ GetLocationZoneMappingArgs{...} }
type GetLocationZoneMappingArrayOutput ¶ added in v5.60.0
type GetLocationZoneMappingArrayOutput struct{ *pulumi.OutputState }
func (GetLocationZoneMappingArrayOutput) ElementType ¶ added in v5.60.0
func (GetLocationZoneMappingArrayOutput) ElementType() reflect.Type
func (GetLocationZoneMappingArrayOutput) Index ¶ added in v5.60.0
func (o GetLocationZoneMappingArrayOutput) Index(i pulumi.IntInput) GetLocationZoneMappingOutput
func (GetLocationZoneMappingArrayOutput) ToGetLocationZoneMappingArrayOutput ¶ added in v5.60.0
func (o GetLocationZoneMappingArrayOutput) ToGetLocationZoneMappingArrayOutput() GetLocationZoneMappingArrayOutput
func (GetLocationZoneMappingArrayOutput) ToGetLocationZoneMappingArrayOutputWithContext ¶ added in v5.60.0
func (o GetLocationZoneMappingArrayOutput) ToGetLocationZoneMappingArrayOutputWithContext(ctx context.Context) GetLocationZoneMappingArrayOutput
type GetLocationZoneMappingInput ¶ added in v5.60.0
type GetLocationZoneMappingInput interface { pulumi.Input ToGetLocationZoneMappingOutput() GetLocationZoneMappingOutput ToGetLocationZoneMappingOutputWithContext(context.Context) GetLocationZoneMappingOutput }
GetLocationZoneMappingInput is an input type that accepts GetLocationZoneMappingArgs and GetLocationZoneMappingOutput values. You can construct a concrete instance of `GetLocationZoneMappingInput` via:
GetLocationZoneMappingArgs{...}
type GetLocationZoneMappingOutput ¶ added in v5.60.0
type GetLocationZoneMappingOutput struct{ *pulumi.OutputState }
func (GetLocationZoneMappingOutput) ElementType ¶ added in v5.60.0
func (GetLocationZoneMappingOutput) ElementType() reflect.Type
func (GetLocationZoneMappingOutput) LogicalZone ¶ added in v5.60.0
func (o GetLocationZoneMappingOutput) LogicalZone() pulumi.StringOutput
The logical zone id for the availability zone
func (GetLocationZoneMappingOutput) PhysicalZone ¶ added in v5.60.0
func (o GetLocationZoneMappingOutput) PhysicalZone() pulumi.StringOutput
The fully qualified physical zone id of availability zone to which logical zone id is mapped to
func (GetLocationZoneMappingOutput) ToGetLocationZoneMappingOutput ¶ added in v5.60.0
func (o GetLocationZoneMappingOutput) ToGetLocationZoneMappingOutput() GetLocationZoneMappingOutput
func (GetLocationZoneMappingOutput) ToGetLocationZoneMappingOutputWithContext ¶ added in v5.60.0
func (o GetLocationZoneMappingOutput) ToGetLocationZoneMappingOutputWithContext(ctx context.Context) GetLocationZoneMappingOutput
type GetResourcesArgs ¶
type GetResourcesArgs struct { // The name of the Resource. Name *string `pulumi:"name"` // A mapping of tags which the resource has to have in order to be included in the result. RequiredTags map[string]string `pulumi:"requiredTags"` // The name of the Resource group where the Resources are located. ResourceGroupName *string `pulumi:"resourceGroupName"` // The Resource Type of the Resources you want to list (e.g. `Microsoft.Network/virtualNetworks`). A resource type's name follows the format: `{resource-provider}/{resource-type}`. The resource type for a key vault is `Microsoft.KeyVault/vaults`. A full list of available Resource Providers can be found [here](https://docs.microsoft.com/azure/azure-resource-manager/azure-services-resource-providers). A full list of Resources Types can be found [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). Type *string `pulumi:"type"` }
A collection of arguments for invoking getResources.
type GetResourcesOutputArgs ¶
type GetResourcesOutputArgs struct { // The name of the Resource. Name pulumi.StringPtrInput `pulumi:"name"` // A mapping of tags which the resource has to have in order to be included in the result. RequiredTags pulumi.StringMapInput `pulumi:"requiredTags"` // The name of the Resource group where the Resources are located. ResourceGroupName pulumi.StringPtrInput `pulumi:"resourceGroupName"` // The Resource Type of the Resources you want to list (e.g. `Microsoft.Network/virtualNetworks`). A resource type's name follows the format: `{resource-provider}/{resource-type}`. The resource type for a key vault is `Microsoft.KeyVault/vaults`. A full list of available Resource Providers can be found [here](https://docs.microsoft.com/azure/azure-resource-manager/azure-services-resource-providers). A full list of Resources Types can be found [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking getResources.
func (GetResourcesOutputArgs) ElementType ¶
func (GetResourcesOutputArgs) ElementType() reflect.Type
type GetResourcesResource ¶
type GetResourcesResource struct { // The ID of this Resource. Id string `pulumi:"id"` // The Azure Region in which this Resource exists. Location string `pulumi:"location"` // The name of the Resource. Name string `pulumi:"name"` // The name of the Resource group where the Resources are located. ResourceGroupName string `pulumi:"resourceGroupName"` // A map of tags assigned to this Resource. Tags map[string]string `pulumi:"tags"` // The Resource Type of the Resources you want to list (e.g. `Microsoft.Network/virtualNetworks`). A resource type's name follows the format: `{resource-provider}/{resource-type}`. The resource type for a key vault is `Microsoft.KeyVault/vaults`. A full list of available Resource Providers can be found [here](https://docs.microsoft.com/azure/azure-resource-manager/azure-services-resource-providers). A full list of Resources Types can be found [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). Type string `pulumi:"type"` }
type GetResourcesResourceArgs ¶
type GetResourcesResourceArgs struct { // The ID of this Resource. Id pulumi.StringInput `pulumi:"id"` // The Azure Region in which this Resource exists. Location pulumi.StringInput `pulumi:"location"` // The name of the Resource. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource group where the Resources are located. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // A map of tags assigned to this Resource. Tags pulumi.StringMapInput `pulumi:"tags"` // The Resource Type of the Resources you want to list (e.g. `Microsoft.Network/virtualNetworks`). A resource type's name follows the format: `{resource-provider}/{resource-type}`. The resource type for a key vault is `Microsoft.KeyVault/vaults`. A full list of available Resource Providers can be found [here](https://docs.microsoft.com/azure/azure-resource-manager/azure-services-resource-providers). A full list of Resources Types can be found [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). Type pulumi.StringInput `pulumi:"type"` }
func (GetResourcesResourceArgs) ElementType ¶
func (GetResourcesResourceArgs) ElementType() reflect.Type
func (GetResourcesResourceArgs) ToGetResourcesResourceOutput ¶
func (i GetResourcesResourceArgs) ToGetResourcesResourceOutput() GetResourcesResourceOutput
func (GetResourcesResourceArgs) ToGetResourcesResourceOutputWithContext ¶
func (i GetResourcesResourceArgs) ToGetResourcesResourceOutputWithContext(ctx context.Context) GetResourcesResourceOutput
type GetResourcesResourceArray ¶
type GetResourcesResourceArray []GetResourcesResourceInput
func (GetResourcesResourceArray) ElementType ¶
func (GetResourcesResourceArray) ElementType() reflect.Type
func (GetResourcesResourceArray) ToGetResourcesResourceArrayOutput ¶
func (i GetResourcesResourceArray) ToGetResourcesResourceArrayOutput() GetResourcesResourceArrayOutput
func (GetResourcesResourceArray) ToGetResourcesResourceArrayOutputWithContext ¶
func (i GetResourcesResourceArray) ToGetResourcesResourceArrayOutputWithContext(ctx context.Context) GetResourcesResourceArrayOutput
type GetResourcesResourceArrayInput ¶
type GetResourcesResourceArrayInput interface { pulumi.Input ToGetResourcesResourceArrayOutput() GetResourcesResourceArrayOutput ToGetResourcesResourceArrayOutputWithContext(context.Context) GetResourcesResourceArrayOutput }
GetResourcesResourceArrayInput is an input type that accepts GetResourcesResourceArray and GetResourcesResourceArrayOutput values. You can construct a concrete instance of `GetResourcesResourceArrayInput` via:
GetResourcesResourceArray{ GetResourcesResourceArgs{...} }
type GetResourcesResourceArrayOutput ¶
type GetResourcesResourceArrayOutput struct{ *pulumi.OutputState }
func (GetResourcesResourceArrayOutput) ElementType ¶
func (GetResourcesResourceArrayOutput) ElementType() reflect.Type
func (GetResourcesResourceArrayOutput) Index ¶
func (o GetResourcesResourceArrayOutput) Index(i pulumi.IntInput) GetResourcesResourceOutput
func (GetResourcesResourceArrayOutput) ToGetResourcesResourceArrayOutput ¶
func (o GetResourcesResourceArrayOutput) ToGetResourcesResourceArrayOutput() GetResourcesResourceArrayOutput
func (GetResourcesResourceArrayOutput) ToGetResourcesResourceArrayOutputWithContext ¶
func (o GetResourcesResourceArrayOutput) ToGetResourcesResourceArrayOutputWithContext(ctx context.Context) GetResourcesResourceArrayOutput
type GetResourcesResourceInput ¶
type GetResourcesResourceInput interface { pulumi.Input ToGetResourcesResourceOutput() GetResourcesResourceOutput ToGetResourcesResourceOutputWithContext(context.Context) GetResourcesResourceOutput }
GetResourcesResourceInput is an input type that accepts GetResourcesResourceArgs and GetResourcesResourceOutput values. You can construct a concrete instance of `GetResourcesResourceInput` via:
GetResourcesResourceArgs{...}
type GetResourcesResourceOutput ¶
type GetResourcesResourceOutput struct{ *pulumi.OutputState }
func (GetResourcesResourceOutput) ElementType ¶
func (GetResourcesResourceOutput) ElementType() reflect.Type
func (GetResourcesResourceOutput) Id ¶
func (o GetResourcesResourceOutput) Id() pulumi.StringOutput
The ID of this Resource.
func (GetResourcesResourceOutput) Location ¶
func (o GetResourcesResourceOutput) Location() pulumi.StringOutput
The Azure Region in which this Resource exists.
func (GetResourcesResourceOutput) Name ¶
func (o GetResourcesResourceOutput) Name() pulumi.StringOutput
The name of the Resource.
func (GetResourcesResourceOutput) ResourceGroupName ¶ added in v5.44.0
func (o GetResourcesResourceOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource group where the Resources are located.
func (GetResourcesResourceOutput) Tags ¶
func (o GetResourcesResourceOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to this Resource.
func (GetResourcesResourceOutput) ToGetResourcesResourceOutput ¶
func (o GetResourcesResourceOutput) ToGetResourcesResourceOutput() GetResourcesResourceOutput
func (GetResourcesResourceOutput) ToGetResourcesResourceOutputWithContext ¶
func (o GetResourcesResourceOutput) ToGetResourcesResourceOutputWithContext(ctx context.Context) GetResourcesResourceOutput
func (GetResourcesResourceOutput) Type ¶
func (o GetResourcesResourceOutput) Type() pulumi.StringOutput
The Resource Type of the Resources you want to list (e.g. `Microsoft.Network/virtualNetworks`). A resource type's name follows the format: `{resource-provider}/{resource-type}`. The resource type for a key vault is `Microsoft.KeyVault/vaults`. A full list of available Resource Providers can be found [here](https://docs.microsoft.com/azure/azure-resource-manager/azure-services-resource-providers). A full list of Resources Types can be found [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources).
type GetResourcesResult ¶
type GetResourcesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of this Resource. Name string `pulumi:"name"` RequiredTags map[string]string `pulumi:"requiredTags"` // The name of the Resource Group in which this Resource exists. ResourceGroupName string `pulumi:"resourceGroupName"` // One or more `resource` blocks as defined below. Resources []GetResourcesResource `pulumi:"resources"` // The type of this Resource. (e.g. `Microsoft.Network/virtualNetworks`). Type string `pulumi:"type"` }
A collection of values returned by getResources.
func GetResources ¶
func GetResources(ctx *pulumi.Context, args *GetResourcesArgs, opts ...pulumi.InvokeOption) (*GetResourcesResult, error)
Use this data source to access information about existing resources.
type GetResourcesResultOutput ¶
type GetResourcesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResources.
func GetResourcesOutput ¶
func GetResourcesOutput(ctx *pulumi.Context, args GetResourcesOutputArgs, opts ...pulumi.InvokeOption) GetResourcesResultOutput
func (GetResourcesResultOutput) ElementType ¶
func (GetResourcesResultOutput) ElementType() reflect.Type
func (GetResourcesResultOutput) Id ¶
func (o GetResourcesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResourcesResultOutput) Name ¶
func (o GetResourcesResultOutput) Name() pulumi.StringOutput
The name of this Resource.
func (GetResourcesResultOutput) RequiredTags ¶
func (o GetResourcesResultOutput) RequiredTags() pulumi.StringMapOutput
func (GetResourcesResultOutput) ResourceGroupName ¶
func (o GetResourcesResultOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group in which this Resource exists.
func (GetResourcesResultOutput) Resources ¶
func (o GetResourcesResultOutput) Resources() GetResourcesResourceArrayOutput
One or more `resource` blocks as defined below.
func (GetResourcesResultOutput) ToGetResourcesResultOutput ¶
func (o GetResourcesResultOutput) ToGetResourcesResultOutput() GetResourcesResultOutput
func (GetResourcesResultOutput) ToGetResourcesResultOutputWithContext ¶
func (o GetResourcesResultOutput) ToGetResourcesResultOutputWithContext(ctx context.Context) GetResourcesResultOutput
func (GetResourcesResultOutput) Type ¶
func (o GetResourcesResultOutput) Type() pulumi.StringOutput
The type of this Resource. (e.g. `Microsoft.Network/virtualNetworks`).
type GetSubscriptionsArgs ¶
type GetSubscriptionsArgs struct { // A case-insensitive value which must be contained within the `displayName` field, used to filter the results DisplayNameContains *string `pulumi:"displayNameContains"` // A case-insensitive prefix which can be used to filter on the `displayName` field DisplayNamePrefix *string `pulumi:"displayNamePrefix"` }
A collection of arguments for invoking getSubscriptions.
type GetSubscriptionsOutputArgs ¶
type GetSubscriptionsOutputArgs struct { // A case-insensitive value which must be contained within the `displayName` field, used to filter the results DisplayNameContains pulumi.StringPtrInput `pulumi:"displayNameContains"` // A case-insensitive prefix which can be used to filter on the `displayName` field DisplayNamePrefix pulumi.StringPtrInput `pulumi:"displayNamePrefix"` }
A collection of arguments for invoking getSubscriptions.
func (GetSubscriptionsOutputArgs) ElementType ¶
func (GetSubscriptionsOutputArgs) ElementType() reflect.Type
type GetSubscriptionsResult ¶
type GetSubscriptionsResult struct { DisplayNameContains *string `pulumi:"displayNameContains"` DisplayNamePrefix *string `pulumi:"displayNamePrefix"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // One or more `subscription` blocks as defined below. Subscriptions []GetSubscriptionsSubscription `pulumi:"subscriptions"` }
A collection of values returned by getSubscriptions.
func GetSubscriptions ¶
func GetSubscriptions(ctx *pulumi.Context, args *GetSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionsResult, error)
Use this data source to access information about all the Subscriptions currently available.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { available, err := core.GetSubscriptions(ctx, nil, nil) if err != nil { return err } ctx.Export("availableSubscriptions", available.Subscriptions) ctx.Export("firstAvailableSubscriptionDisplayName", available.Subscriptions[0].DisplayName) return nil }) }
```
type GetSubscriptionsResultOutput ¶
type GetSubscriptionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscriptions.
func GetSubscriptionsOutput ¶
func GetSubscriptionsOutput(ctx *pulumi.Context, args GetSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionsResultOutput
func (GetSubscriptionsResultOutput) DisplayNameContains ¶
func (o GetSubscriptionsResultOutput) DisplayNameContains() pulumi.StringPtrOutput
func (GetSubscriptionsResultOutput) DisplayNamePrefix ¶
func (o GetSubscriptionsResultOutput) DisplayNamePrefix() pulumi.StringPtrOutput
func (GetSubscriptionsResultOutput) ElementType ¶
func (GetSubscriptionsResultOutput) ElementType() reflect.Type
func (GetSubscriptionsResultOutput) Id ¶
func (o GetSubscriptionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSubscriptionsResultOutput) Subscriptions ¶
func (o GetSubscriptionsResultOutput) Subscriptions() GetSubscriptionsSubscriptionArrayOutput
One or more `subscription` blocks as defined below.
func (GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput ¶
func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput() GetSubscriptionsResultOutput
func (GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext ¶
func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext(ctx context.Context) GetSubscriptionsResultOutput
type GetSubscriptionsSubscription ¶
type GetSubscriptionsSubscription struct { // The subscription display name. DisplayName string `pulumi:"displayName"` // The ID of this subscription. Id string `pulumi:"id"` // The subscription location placement ID. LocationPlacementId string `pulumi:"locationPlacementId"` // The subscription quota ID. QuotaId string `pulumi:"quotaId"` // The subscription spending limit. SpendingLimit string `pulumi:"spendingLimit"` // The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. State string `pulumi:"state"` // The subscription GUID. SubscriptionId string `pulumi:"subscriptionId"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The subscription tenant ID. TenantId string `pulumi:"tenantId"` }
type GetSubscriptionsSubscriptionArgs ¶
type GetSubscriptionsSubscriptionArgs struct { // The subscription display name. DisplayName pulumi.StringInput `pulumi:"displayName"` // The ID of this subscription. Id pulumi.StringInput `pulumi:"id"` // The subscription location placement ID. LocationPlacementId pulumi.StringInput `pulumi:"locationPlacementId"` // The subscription quota ID. QuotaId pulumi.StringInput `pulumi:"quotaId"` // The subscription spending limit. SpendingLimit pulumi.StringInput `pulumi:"spendingLimit"` // The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. State pulumi.StringInput `pulumi:"state"` // The subscription GUID. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` // A mapping of tags assigned to the resource. Tags pulumi.StringMapInput `pulumi:"tags"` // The subscription tenant ID. TenantId pulumi.StringInput `pulumi:"tenantId"` }
func (GetSubscriptionsSubscriptionArgs) ElementType ¶
func (GetSubscriptionsSubscriptionArgs) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutput ¶
func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
func (GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutputWithContext ¶
func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
type GetSubscriptionsSubscriptionArray ¶
type GetSubscriptionsSubscriptionArray []GetSubscriptionsSubscriptionInput
func (GetSubscriptionsSubscriptionArray) ElementType ¶
func (GetSubscriptionsSubscriptionArray) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutput ¶
func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
func (GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutputWithContext ¶
func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
type GetSubscriptionsSubscriptionArrayInput ¶
type GetSubscriptionsSubscriptionArrayInput interface { pulumi.Input ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput ToGetSubscriptionsSubscriptionArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionArrayOutput }
GetSubscriptionsSubscriptionArrayInput is an input type that accepts GetSubscriptionsSubscriptionArray and GetSubscriptionsSubscriptionArrayOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionArrayInput` via:
GetSubscriptionsSubscriptionArray{ GetSubscriptionsSubscriptionArgs{...} }
type GetSubscriptionsSubscriptionArrayOutput ¶
type GetSubscriptionsSubscriptionArrayOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionArrayOutput) ElementType ¶
func (GetSubscriptionsSubscriptionArrayOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutput ¶
func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
func (GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutputWithContext ¶
func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
type GetSubscriptionsSubscriptionInput ¶
type GetSubscriptionsSubscriptionInput interface { pulumi.Input ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput ToGetSubscriptionsSubscriptionOutputWithContext(context.Context) GetSubscriptionsSubscriptionOutput }
GetSubscriptionsSubscriptionInput is an input type that accepts GetSubscriptionsSubscriptionArgs and GetSubscriptionsSubscriptionOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionInput` via:
GetSubscriptionsSubscriptionArgs{...}
type GetSubscriptionsSubscriptionOutput ¶
type GetSubscriptionsSubscriptionOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionOutput) DisplayName ¶
func (o GetSubscriptionsSubscriptionOutput) DisplayName() pulumi.StringOutput
The subscription display name.
func (GetSubscriptionsSubscriptionOutput) ElementType ¶
func (GetSubscriptionsSubscriptionOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionOutput) Id ¶
func (o GetSubscriptionsSubscriptionOutput) Id() pulumi.StringOutput
The ID of this subscription.
func (GetSubscriptionsSubscriptionOutput) LocationPlacementId ¶
func (o GetSubscriptionsSubscriptionOutput) LocationPlacementId() pulumi.StringOutput
The subscription location placement ID.
func (GetSubscriptionsSubscriptionOutput) QuotaId ¶
func (o GetSubscriptionsSubscriptionOutput) QuotaId() pulumi.StringOutput
The subscription quota ID.
func (GetSubscriptionsSubscriptionOutput) SpendingLimit ¶
func (o GetSubscriptionsSubscriptionOutput) SpendingLimit() pulumi.StringOutput
The subscription spending limit.
func (GetSubscriptionsSubscriptionOutput) State ¶
func (o GetSubscriptionsSubscriptionOutput) State() pulumi.StringOutput
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
func (GetSubscriptionsSubscriptionOutput) SubscriptionId ¶
func (o GetSubscriptionsSubscriptionOutput) SubscriptionId() pulumi.StringOutput
The subscription GUID.
func (GetSubscriptionsSubscriptionOutput) Tags ¶
func (o GetSubscriptionsSubscriptionOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetSubscriptionsSubscriptionOutput) TenantId ¶
func (o GetSubscriptionsSubscriptionOutput) TenantId() pulumi.StringOutput
The subscription tenant ID.
func (GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutput ¶
func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
func (GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutputWithContext ¶
func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
type GetTemplateSpecVersionArgs ¶
type GetTemplateSpecVersionArgs struct { // The name of this Template Spec. Name string `pulumi:"name"` // The name of the Resource Group where the Template Spec exists. ResourceGroupName string `pulumi:"resourceGroupName"` // The Version Name of the Template Spec. Version string `pulumi:"version"` }
A collection of arguments for invoking getTemplateSpecVersion.
type GetTemplateSpecVersionOutputArgs ¶
type GetTemplateSpecVersionOutputArgs struct { // The name of this Template Spec. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the Template Spec exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The Version Name of the Template Spec. Version pulumi.StringInput `pulumi:"version"` }
A collection of arguments for invoking getTemplateSpecVersion.
func (GetTemplateSpecVersionOutputArgs) ElementType ¶
func (GetTemplateSpecVersionOutputArgs) ElementType() reflect.Type
type GetTemplateSpecVersionResult ¶
type GetTemplateSpecVersionResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Template. Tags map[string]string `pulumi:"tags"` // The ARM Template body of the Template Spec Version. TemplateBody string `pulumi:"templateBody"` Version string `pulumi:"version"` }
A collection of values returned by getTemplateSpecVersion.
func GetTemplateSpecVersion ¶
func GetTemplateSpecVersion(ctx *pulumi.Context, args *GetTemplateSpecVersionArgs, opts ...pulumi.InvokeOption) (*GetTemplateSpecVersionResult, error)
Use this data source to access information about an existing Template Spec Version.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.GetTemplateSpecVersion(ctx, &core.GetTemplateSpecVersionArgs{ Name: "exampleTemplateSpec", ResourceGroupName: "MyResourceGroup", Version: "v1.0.4", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type GetTemplateSpecVersionResultOutput ¶
type GetTemplateSpecVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTemplateSpecVersion.
func GetTemplateSpecVersionOutput ¶
func GetTemplateSpecVersionOutput(ctx *pulumi.Context, args GetTemplateSpecVersionOutputArgs, opts ...pulumi.InvokeOption) GetTemplateSpecVersionResultOutput
func (GetTemplateSpecVersionResultOutput) ElementType ¶
func (GetTemplateSpecVersionResultOutput) ElementType() reflect.Type
func (GetTemplateSpecVersionResultOutput) Id ¶
func (o GetTemplateSpecVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTemplateSpecVersionResultOutput) Name ¶
func (o GetTemplateSpecVersionResultOutput) Name() pulumi.StringOutput
func (GetTemplateSpecVersionResultOutput) ResourceGroupName ¶
func (o GetTemplateSpecVersionResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetTemplateSpecVersionResultOutput) Tags ¶
func (o GetTemplateSpecVersionResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Template.
func (GetTemplateSpecVersionResultOutput) TemplateBody ¶
func (o GetTemplateSpecVersionResultOutput) TemplateBody() pulumi.StringOutput
The ARM Template body of the Template Spec Version.
func (GetTemplateSpecVersionResultOutput) ToGetTemplateSpecVersionResultOutput ¶
func (o GetTemplateSpecVersionResultOutput) ToGetTemplateSpecVersionResultOutput() GetTemplateSpecVersionResultOutput
func (GetTemplateSpecVersionResultOutput) ToGetTemplateSpecVersionResultOutputWithContext ¶
func (o GetTemplateSpecVersionResultOutput) ToGetTemplateSpecVersionResultOutputWithContext(ctx context.Context) GetTemplateSpecVersionResultOutput
func (GetTemplateSpecVersionResultOutput) Version ¶
func (o GetTemplateSpecVersionResultOutput) Version() pulumi.StringOutput
type GetUserAssignedIdentityArgs ¶
type GetUserAssignedIdentityArgs struct { // The name of the User Assigned Identity. Name string `pulumi:"name"` // The name of the Resource Group in which the User Assigned Identity exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getUserAssignedIdentity.
type GetUserAssignedIdentityOutputArgs ¶
type GetUserAssignedIdentityOutputArgs struct { // The name of the User Assigned Identity. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group in which the User Assigned Identity exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getUserAssignedIdentity.
func (GetUserAssignedIdentityOutputArgs) ElementType ¶
func (GetUserAssignedIdentityOutputArgs) ElementType() reflect.Type
type GetUserAssignedIdentityResult ¶
type GetUserAssignedIdentityResult struct { // The Client ID of the User Assigned Identity. ClientId string `pulumi:"clientId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure location where the User Assigned Identity exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // The Service Principal ID of the User Assigned Identity. PrincipalId string `pulumi:"principalId"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the User Assigned Identity. Tags map[string]string `pulumi:"tags"` // The Tenant ID of the User Assigned Identity. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getUserAssignedIdentity.
func GetUserAssignedIdentity
deprecated
func GetUserAssignedIdentity(ctx *pulumi.Context, args *GetUserAssignedIdentityArgs, opts ...pulumi.InvokeOption) (*GetUserAssignedIdentityResult, error)
Use this data source to access information about an existing User Assigned Identity.
## Example Usage
### Reference An Existing)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := authorization.LookupUserAssignedIdentity(ctx, &authorization.LookupUserAssignedIdentityArgs{ Name: "name_of_user_assigned_identity", ResourceGroupName: "name_of_resource_group", }, nil) if err != nil { return err } ctx.Export("uaiClientId", example.ClientId) ctx.Export("uaiPrincipalId", example.PrincipalId) ctx.Export("uaiTenantId", example.TenantId) return nil }) }
```
Deprecated: azure.core.getUserAssignedIdentity has been deprecated in favor of azure.authorization.getUserAssignedIdentity
type GetUserAssignedIdentityResultOutput ¶
type GetUserAssignedIdentityResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUserAssignedIdentity.
func GetUserAssignedIdentityOutput ¶
func GetUserAssignedIdentityOutput(ctx *pulumi.Context, args GetUserAssignedIdentityOutputArgs, opts ...pulumi.InvokeOption) GetUserAssignedIdentityResultOutput
func (GetUserAssignedIdentityResultOutput) ClientId ¶
func (o GetUserAssignedIdentityResultOutput) ClientId() pulumi.StringOutput
The Client ID of the User Assigned Identity.
func (GetUserAssignedIdentityResultOutput) ElementType ¶
func (GetUserAssignedIdentityResultOutput) ElementType() reflect.Type
func (GetUserAssignedIdentityResultOutput) Id ¶
func (o GetUserAssignedIdentityResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetUserAssignedIdentityResultOutput) Location ¶
func (o GetUserAssignedIdentityResultOutput) Location() pulumi.StringOutput
The Azure location where the User Assigned Identity exists.
func (GetUserAssignedIdentityResultOutput) Name ¶
func (o GetUserAssignedIdentityResultOutput) Name() pulumi.StringOutput
func (GetUserAssignedIdentityResultOutput) PrincipalId ¶
func (o GetUserAssignedIdentityResultOutput) PrincipalId() pulumi.StringOutput
The Service Principal ID of the User Assigned Identity.
func (GetUserAssignedIdentityResultOutput) ResourceGroupName ¶
func (o GetUserAssignedIdentityResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetUserAssignedIdentityResultOutput) Tags ¶
func (o GetUserAssignedIdentityResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the User Assigned Identity.
func (GetUserAssignedIdentityResultOutput) TenantId ¶
func (o GetUserAssignedIdentityResultOutput) TenantId() pulumi.StringOutput
The Tenant ID of the User Assigned Identity.
func (GetUserAssignedIdentityResultOutput) ToGetUserAssignedIdentityResultOutput ¶
func (o GetUserAssignedIdentityResultOutput) ToGetUserAssignedIdentityResultOutput() GetUserAssignedIdentityResultOutput
func (GetUserAssignedIdentityResultOutput) ToGetUserAssignedIdentityResultOutputWithContext ¶
func (o GetUserAssignedIdentityResultOutput) ToGetUserAssignedIdentityResultOutputWithContext(ctx context.Context) GetUserAssignedIdentityResultOutput
type LookupResourceGroupArgs ¶
type LookupResourceGroupArgs struct { // The Name of this Resource Group. Name string `pulumi:"name"` }
A collection of arguments for invoking getResourceGroup.
type LookupResourceGroupOutputArgs ¶
type LookupResourceGroupOutputArgs struct { // The Name of this Resource Group. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getResourceGroup.
func (LookupResourceGroupOutputArgs) ElementType ¶
func (LookupResourceGroupOutputArgs) ElementType() reflect.Type
type LookupResourceGroupResult ¶
type LookupResourceGroupResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the Resource Group exists. Location string `pulumi:"location"` ManagedBy string `pulumi:"managedBy"` Name string `pulumi:"name"` // A mapping of tags assigned to the Resource Group. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getResourceGroup.
func LookupResourceGroup ¶
func LookupResourceGroup(ctx *pulumi.Context, args *LookupResourceGroupArgs, opts ...pulumi.InvokeOption) (*LookupResourceGroupResult, error)
Use this data source to access information about an existing Resource Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{ Name: "existing", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupResourceGroupResultOutput ¶
type LookupResourceGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResourceGroup.
func LookupResourceGroupOutput ¶
func LookupResourceGroupOutput(ctx *pulumi.Context, args LookupResourceGroupOutputArgs, opts ...pulumi.InvokeOption) LookupResourceGroupResultOutput
func (LookupResourceGroupResultOutput) ElementType ¶
func (LookupResourceGroupResultOutput) ElementType() reflect.Type
func (LookupResourceGroupResultOutput) Id ¶
func (o LookupResourceGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResourceGroupResultOutput) Location ¶
func (o LookupResourceGroupResultOutput) Location() pulumi.StringOutput
The Azure Region where the Resource Group exists.
func (LookupResourceGroupResultOutput) ManagedBy ¶ added in v5.45.0
func (o LookupResourceGroupResultOutput) ManagedBy() pulumi.StringOutput
func (LookupResourceGroupResultOutput) Name ¶
func (o LookupResourceGroupResultOutput) Name() pulumi.StringOutput
func (LookupResourceGroupResultOutput) Tags ¶
func (o LookupResourceGroupResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Resource Group.
func (LookupResourceGroupResultOutput) ToLookupResourceGroupResultOutput ¶
func (o LookupResourceGroupResultOutput) ToLookupResourceGroupResultOutput() LookupResourceGroupResultOutput
func (LookupResourceGroupResultOutput) ToLookupResourceGroupResultOutputWithContext ¶
func (o LookupResourceGroupResultOutput) ToLookupResourceGroupResultOutputWithContext(ctx context.Context) LookupResourceGroupResultOutput
type LookupResourceGroupTemplateDeploymentArgs ¶ added in v5.11.0
type LookupResourceGroupTemplateDeploymentArgs struct { // The name of this Resource Group Template Deployment. Name string `pulumi:"name"` // The name of the Resource Group to which the Resource Group Template Deployment was applied. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getResourceGroupTemplateDeployment.
type LookupResourceGroupTemplateDeploymentOutputArgs ¶ added in v5.11.0
type LookupResourceGroupTemplateDeploymentOutputArgs struct { // The name of this Resource Group Template Deployment. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group to which the Resource Group Template Deployment was applied. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getResourceGroupTemplateDeployment.
func (LookupResourceGroupTemplateDeploymentOutputArgs) ElementType ¶ added in v5.11.0
func (LookupResourceGroupTemplateDeploymentOutputArgs) ElementType() reflect.Type
type LookupResourceGroupTemplateDeploymentResult ¶ added in v5.11.0
type LookupResourceGroupTemplateDeploymentResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent string `pulumi:"outputContent"` ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of values returned by getResourceGroupTemplateDeployment.
func LookupResourceGroupTemplateDeployment ¶ added in v5.11.0
func LookupResourceGroupTemplateDeployment(ctx *pulumi.Context, args *LookupResourceGroupTemplateDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupResourceGroupTemplateDeploymentResult, error)
Use this data source to access information about an existing Resource Group Template Deployment.
type LookupResourceGroupTemplateDeploymentResultOutput ¶ added in v5.11.0
type LookupResourceGroupTemplateDeploymentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResourceGroupTemplateDeployment.
func LookupResourceGroupTemplateDeploymentOutput ¶ added in v5.11.0
func LookupResourceGroupTemplateDeploymentOutput(ctx *pulumi.Context, args LookupResourceGroupTemplateDeploymentOutputArgs, opts ...pulumi.InvokeOption) LookupResourceGroupTemplateDeploymentResultOutput
func (LookupResourceGroupTemplateDeploymentResultOutput) ElementType ¶ added in v5.11.0
func (LookupResourceGroupTemplateDeploymentResultOutput) ElementType() reflect.Type
func (LookupResourceGroupTemplateDeploymentResultOutput) Id ¶ added in v5.11.0
The provider-assigned unique ID for this managed resource.
func (LookupResourceGroupTemplateDeploymentResultOutput) Name ¶ added in v5.11.0
func (o LookupResourceGroupTemplateDeploymentResultOutput) Name() pulumi.StringOutput
func (LookupResourceGroupTemplateDeploymentResultOutput) OutputContent ¶ added in v5.11.0
func (o LookupResourceGroupTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (LookupResourceGroupTemplateDeploymentResultOutput) ResourceGroupName ¶ added in v5.11.0
func (o LookupResourceGroupTemplateDeploymentResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupResourceGroupTemplateDeploymentResultOutput) ToLookupResourceGroupTemplateDeploymentResultOutput ¶ added in v5.11.0
func (o LookupResourceGroupTemplateDeploymentResultOutput) ToLookupResourceGroupTemplateDeploymentResultOutput() LookupResourceGroupTemplateDeploymentResultOutput
func (LookupResourceGroupTemplateDeploymentResultOutput) ToLookupResourceGroupTemplateDeploymentResultOutputWithContext ¶ added in v5.11.0
func (o LookupResourceGroupTemplateDeploymentResultOutput) ToLookupResourceGroupTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupResourceGroupTemplateDeploymentResultOutput
type LookupSubscriptionArgs ¶
type LookupSubscriptionArgs struct { // Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used. SubscriptionId *string `pulumi:"subscriptionId"` }
A collection of arguments for invoking getSubscription.
type LookupSubscriptionOutputArgs ¶
type LookupSubscriptionOutputArgs struct { // Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used. SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` }
A collection of arguments for invoking getSubscription.
func (LookupSubscriptionOutputArgs) ElementType ¶
func (LookupSubscriptionOutputArgs) ElementType() reflect.Type
type LookupSubscriptionResult ¶
type LookupSubscriptionResult struct { // The subscription display name. DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The subscription location placement ID. LocationPlacementId string `pulumi:"locationPlacementId"` // The subscription quota ID. QuotaId string `pulumi:"quotaId"` // The subscription spending limit. SpendingLimit string `pulumi:"spendingLimit"` // The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. State string `pulumi:"state"` // The subscription GUID. SubscriptionId string `pulumi:"subscriptionId"` // A mapping of tags assigned to the Subscription. Tags map[string]string `pulumi:"tags"` // The subscription tenant ID. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getSubscription.
func LookupSubscription ¶
func LookupSubscription(ctx *pulumi.Context, args *LookupSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionResult, error)
Use this data source to access information about an existing Subscription.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } ctx.Export("currentSubscriptionDisplayName", current.DisplayName) return nil }) }
```
type LookupSubscriptionResultOutput ¶
type LookupSubscriptionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscription.
func LookupSubscriptionOutput ¶
func LookupSubscriptionOutput(ctx *pulumi.Context, args LookupSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) DisplayName ¶
func (o LookupSubscriptionResultOutput) DisplayName() pulumi.StringOutput
The subscription display name.
func (LookupSubscriptionResultOutput) ElementType ¶
func (LookupSubscriptionResultOutput) ElementType() reflect.Type
func (LookupSubscriptionResultOutput) Id ¶
func (o LookupSubscriptionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSubscriptionResultOutput) LocationPlacementId ¶
func (o LookupSubscriptionResultOutput) LocationPlacementId() pulumi.StringOutput
The subscription location placement ID.
func (LookupSubscriptionResultOutput) QuotaId ¶
func (o LookupSubscriptionResultOutput) QuotaId() pulumi.StringOutput
The subscription quota ID.
func (LookupSubscriptionResultOutput) SpendingLimit ¶
func (o LookupSubscriptionResultOutput) SpendingLimit() pulumi.StringOutput
The subscription spending limit.
func (LookupSubscriptionResultOutput) State ¶
func (o LookupSubscriptionResultOutput) State() pulumi.StringOutput
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
func (LookupSubscriptionResultOutput) SubscriptionId ¶
func (o LookupSubscriptionResultOutput) SubscriptionId() pulumi.StringOutput
The subscription GUID.
func (LookupSubscriptionResultOutput) Tags ¶
func (o LookupSubscriptionResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Subscription.
func (LookupSubscriptionResultOutput) TenantId ¶
func (o LookupSubscriptionResultOutput) TenantId() pulumi.StringOutput
The subscription tenant ID.
func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput ¶
func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext ¶
func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
type LookupSubscriptionTemplateDeploymentArgs ¶ added in v5.11.0
type LookupSubscriptionTemplateDeploymentArgs struct { // The name of this Subscription Template Deployment. Name string `pulumi:"name"` }
A collection of arguments for invoking getSubscriptionTemplateDeployment.
type LookupSubscriptionTemplateDeploymentOutputArgs ¶ added in v5.11.0
type LookupSubscriptionTemplateDeploymentOutputArgs struct { // The name of this Subscription Template Deployment. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getSubscriptionTemplateDeployment.
func (LookupSubscriptionTemplateDeploymentOutputArgs) ElementType ¶ added in v5.11.0
func (LookupSubscriptionTemplateDeploymentOutputArgs) ElementType() reflect.Type
type LookupSubscriptionTemplateDeploymentResult ¶ added in v5.11.0
type LookupSubscriptionTemplateDeploymentResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent string `pulumi:"outputContent"` }
A collection of values returned by getSubscriptionTemplateDeployment.
func LookupSubscriptionTemplateDeployment ¶ added in v5.11.0
func LookupSubscriptionTemplateDeployment(ctx *pulumi.Context, args *LookupSubscriptionTemplateDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionTemplateDeploymentResult, error)
Use this data source to access information about an existing Subscription Template Deployment.
type LookupSubscriptionTemplateDeploymentResultOutput ¶ added in v5.11.0
type LookupSubscriptionTemplateDeploymentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscriptionTemplateDeployment.
func LookupSubscriptionTemplateDeploymentOutput ¶ added in v5.11.0
func LookupSubscriptionTemplateDeploymentOutput(ctx *pulumi.Context, args LookupSubscriptionTemplateDeploymentOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionTemplateDeploymentResultOutput
func (LookupSubscriptionTemplateDeploymentResultOutput) ElementType ¶ added in v5.11.0
func (LookupSubscriptionTemplateDeploymentResultOutput) ElementType() reflect.Type
func (LookupSubscriptionTemplateDeploymentResultOutput) Id ¶ added in v5.11.0
The provider-assigned unique ID for this managed resource.
func (LookupSubscriptionTemplateDeploymentResultOutput) Name ¶ added in v5.11.0
func (o LookupSubscriptionTemplateDeploymentResultOutput) Name() pulumi.StringOutput
func (LookupSubscriptionTemplateDeploymentResultOutput) OutputContent ¶ added in v5.11.0
func (o LookupSubscriptionTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (LookupSubscriptionTemplateDeploymentResultOutput) ToLookupSubscriptionTemplateDeploymentResultOutput ¶ added in v5.11.0
func (o LookupSubscriptionTemplateDeploymentResultOutput) ToLookupSubscriptionTemplateDeploymentResultOutput() LookupSubscriptionTemplateDeploymentResultOutput
func (LookupSubscriptionTemplateDeploymentResultOutput) ToLookupSubscriptionTemplateDeploymentResultOutputWithContext ¶ added in v5.11.0
func (o LookupSubscriptionTemplateDeploymentResultOutput) ToLookupSubscriptionTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupSubscriptionTemplateDeploymentResultOutput
type LookupTenantTemplateDeploymentArgs ¶ added in v5.11.0
type LookupTenantTemplateDeploymentArgs struct { // The name of this Tenant Template Deployment. Name string `pulumi:"name"` }
A collection of arguments for invoking getTenantTemplateDeployment.
type LookupTenantTemplateDeploymentOutputArgs ¶ added in v5.11.0
type LookupTenantTemplateDeploymentOutputArgs struct { // The name of this Tenant Template Deployment. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getTenantTemplateDeployment.
func (LookupTenantTemplateDeploymentOutputArgs) ElementType ¶ added in v5.11.0
func (LookupTenantTemplateDeploymentOutputArgs) ElementType() reflect.Type
type LookupTenantTemplateDeploymentResult ¶ added in v5.11.0
type LookupTenantTemplateDeploymentResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent string `pulumi:"outputContent"` }
A collection of values returned by getTenantTemplateDeployment.
func LookupTenantTemplateDeployment ¶ added in v5.11.0
func LookupTenantTemplateDeployment(ctx *pulumi.Context, args *LookupTenantTemplateDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupTenantTemplateDeploymentResult, error)
Use this data source to access information about an existing Tenant Template Deployment.
type LookupTenantTemplateDeploymentResultOutput ¶ added in v5.11.0
type LookupTenantTemplateDeploymentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTenantTemplateDeployment.
func LookupTenantTemplateDeploymentOutput ¶ added in v5.11.0
func LookupTenantTemplateDeploymentOutput(ctx *pulumi.Context, args LookupTenantTemplateDeploymentOutputArgs, opts ...pulumi.InvokeOption) LookupTenantTemplateDeploymentResultOutput
func (LookupTenantTemplateDeploymentResultOutput) ElementType ¶ added in v5.11.0
func (LookupTenantTemplateDeploymentResultOutput) ElementType() reflect.Type
func (LookupTenantTemplateDeploymentResultOutput) Id ¶ added in v5.11.0
func (o LookupTenantTemplateDeploymentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTenantTemplateDeploymentResultOutput) Name ¶ added in v5.11.0
func (o LookupTenantTemplateDeploymentResultOutput) Name() pulumi.StringOutput
func (LookupTenantTemplateDeploymentResultOutput) OutputContent ¶ added in v5.11.0
func (o LookupTenantTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (LookupTenantTemplateDeploymentResultOutput) ToLookupTenantTemplateDeploymentResultOutput ¶ added in v5.11.0
func (o LookupTenantTemplateDeploymentResultOutput) ToLookupTenantTemplateDeploymentResultOutput() LookupTenantTemplateDeploymentResultOutput
func (LookupTenantTemplateDeploymentResultOutput) ToLookupTenantTemplateDeploymentResultOutputWithContext ¶ added in v5.11.0
func (o LookupTenantTemplateDeploymentResultOutput) ToLookupTenantTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupTenantTemplateDeploymentResultOutput
type PortalTenantConfiguration ¶
type PortalTenantConfiguration struct { pulumi.CustomResourceState // Is the private tile markdown storage which used to display custom dynamic and static content enabled? // // > **Note:** When `privateMarkdownStorageEnforced` is set to `true`, only external storage configuration (URI) is allowed for Markdown tiles. Inline content configuration will be prohibited. PrivateMarkdownStorageEnforced pulumi.BoolOutput `pulumi:"privateMarkdownStorageEnforced"` }
Manages Portal Tenant Configuration.
> **Note:** User has to be `Contributor` or `Owner` at scope `/` for managing this resource.
> **Note:** The Service Principal with Tenant Admin can be created by `az ad sp create-for-rbac --name "<sp name>" --role="Contributor" --scopes="/"`.
> **Note:** The Service Principal can be granted Tenant Admin permission by `az role assignment create --assignee "<app id>" --role "Contributor" --scope "/"`.
> **Note:** While assigning the role to the existing/new Service Principal at the Tenant Scope, the user assigning role must already have the `Owner` role assigned at the Tenant Scope.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewPortalTenantConfiguration(ctx, "example", &core.PortalTenantConfigurationArgs{ PrivateMarkdownStorageEnforced: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Portal Tenant Configurations can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/portalTenantConfiguration:PortalTenantConfiguration example /providers/Microsoft.Portal/tenantConfigurations/default ```
func GetPortalTenantConfiguration ¶
func GetPortalTenantConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PortalTenantConfigurationState, opts ...pulumi.ResourceOption) (*PortalTenantConfiguration, error)
GetPortalTenantConfiguration gets an existing PortalTenantConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPortalTenantConfiguration ¶
func NewPortalTenantConfiguration(ctx *pulumi.Context, name string, args *PortalTenantConfigurationArgs, opts ...pulumi.ResourceOption) (*PortalTenantConfiguration, error)
NewPortalTenantConfiguration registers a new resource with the given unique name, arguments, and options.
func (*PortalTenantConfiguration) ElementType ¶
func (*PortalTenantConfiguration) ElementType() reflect.Type
func (*PortalTenantConfiguration) ToPortalTenantConfigurationOutput ¶
func (i *PortalTenantConfiguration) ToPortalTenantConfigurationOutput() PortalTenantConfigurationOutput
func (*PortalTenantConfiguration) ToPortalTenantConfigurationOutputWithContext ¶
func (i *PortalTenantConfiguration) ToPortalTenantConfigurationOutputWithContext(ctx context.Context) PortalTenantConfigurationOutput
type PortalTenantConfigurationArgs ¶
type PortalTenantConfigurationArgs struct { // Is the private tile markdown storage which used to display custom dynamic and static content enabled? // // > **Note:** When `privateMarkdownStorageEnforced` is set to `true`, only external storage configuration (URI) is allowed for Markdown tiles. Inline content configuration will be prohibited. PrivateMarkdownStorageEnforced pulumi.BoolInput }
The set of arguments for constructing a PortalTenantConfiguration resource.
func (PortalTenantConfigurationArgs) ElementType ¶
func (PortalTenantConfigurationArgs) ElementType() reflect.Type
type PortalTenantConfigurationArray ¶
type PortalTenantConfigurationArray []PortalTenantConfigurationInput
func (PortalTenantConfigurationArray) ElementType ¶
func (PortalTenantConfigurationArray) ElementType() reflect.Type
func (PortalTenantConfigurationArray) ToPortalTenantConfigurationArrayOutput ¶
func (i PortalTenantConfigurationArray) ToPortalTenantConfigurationArrayOutput() PortalTenantConfigurationArrayOutput
func (PortalTenantConfigurationArray) ToPortalTenantConfigurationArrayOutputWithContext ¶
func (i PortalTenantConfigurationArray) ToPortalTenantConfigurationArrayOutputWithContext(ctx context.Context) PortalTenantConfigurationArrayOutput
type PortalTenantConfigurationArrayInput ¶
type PortalTenantConfigurationArrayInput interface { pulumi.Input ToPortalTenantConfigurationArrayOutput() PortalTenantConfigurationArrayOutput ToPortalTenantConfigurationArrayOutputWithContext(context.Context) PortalTenantConfigurationArrayOutput }
PortalTenantConfigurationArrayInput is an input type that accepts PortalTenantConfigurationArray and PortalTenantConfigurationArrayOutput values. You can construct a concrete instance of `PortalTenantConfigurationArrayInput` via:
PortalTenantConfigurationArray{ PortalTenantConfigurationArgs{...} }
type PortalTenantConfigurationArrayOutput ¶
type PortalTenantConfigurationArrayOutput struct{ *pulumi.OutputState }
func (PortalTenantConfigurationArrayOutput) ElementType ¶
func (PortalTenantConfigurationArrayOutput) ElementType() reflect.Type
func (PortalTenantConfigurationArrayOutput) Index ¶
func (o PortalTenantConfigurationArrayOutput) Index(i pulumi.IntInput) PortalTenantConfigurationOutput
func (PortalTenantConfigurationArrayOutput) ToPortalTenantConfigurationArrayOutput ¶
func (o PortalTenantConfigurationArrayOutput) ToPortalTenantConfigurationArrayOutput() PortalTenantConfigurationArrayOutput
func (PortalTenantConfigurationArrayOutput) ToPortalTenantConfigurationArrayOutputWithContext ¶
func (o PortalTenantConfigurationArrayOutput) ToPortalTenantConfigurationArrayOutputWithContext(ctx context.Context) PortalTenantConfigurationArrayOutput
type PortalTenantConfigurationInput ¶
type PortalTenantConfigurationInput interface { pulumi.Input ToPortalTenantConfigurationOutput() PortalTenantConfigurationOutput ToPortalTenantConfigurationOutputWithContext(ctx context.Context) PortalTenantConfigurationOutput }
type PortalTenantConfigurationMap ¶
type PortalTenantConfigurationMap map[string]PortalTenantConfigurationInput
func (PortalTenantConfigurationMap) ElementType ¶
func (PortalTenantConfigurationMap) ElementType() reflect.Type
func (PortalTenantConfigurationMap) ToPortalTenantConfigurationMapOutput ¶
func (i PortalTenantConfigurationMap) ToPortalTenantConfigurationMapOutput() PortalTenantConfigurationMapOutput
func (PortalTenantConfigurationMap) ToPortalTenantConfigurationMapOutputWithContext ¶
func (i PortalTenantConfigurationMap) ToPortalTenantConfigurationMapOutputWithContext(ctx context.Context) PortalTenantConfigurationMapOutput
type PortalTenantConfigurationMapInput ¶
type PortalTenantConfigurationMapInput interface { pulumi.Input ToPortalTenantConfigurationMapOutput() PortalTenantConfigurationMapOutput ToPortalTenantConfigurationMapOutputWithContext(context.Context) PortalTenantConfigurationMapOutput }
PortalTenantConfigurationMapInput is an input type that accepts PortalTenantConfigurationMap and PortalTenantConfigurationMapOutput values. You can construct a concrete instance of `PortalTenantConfigurationMapInput` via:
PortalTenantConfigurationMap{ "key": PortalTenantConfigurationArgs{...} }
type PortalTenantConfigurationMapOutput ¶
type PortalTenantConfigurationMapOutput struct{ *pulumi.OutputState }
func (PortalTenantConfigurationMapOutput) ElementType ¶
func (PortalTenantConfigurationMapOutput) ElementType() reflect.Type
func (PortalTenantConfigurationMapOutput) MapIndex ¶
func (o PortalTenantConfigurationMapOutput) MapIndex(k pulumi.StringInput) PortalTenantConfigurationOutput
func (PortalTenantConfigurationMapOutput) ToPortalTenantConfigurationMapOutput ¶
func (o PortalTenantConfigurationMapOutput) ToPortalTenantConfigurationMapOutput() PortalTenantConfigurationMapOutput
func (PortalTenantConfigurationMapOutput) ToPortalTenantConfigurationMapOutputWithContext ¶
func (o PortalTenantConfigurationMapOutput) ToPortalTenantConfigurationMapOutputWithContext(ctx context.Context) PortalTenantConfigurationMapOutput
type PortalTenantConfigurationOutput ¶
type PortalTenantConfigurationOutput struct{ *pulumi.OutputState }
func (PortalTenantConfigurationOutput) ElementType ¶
func (PortalTenantConfigurationOutput) ElementType() reflect.Type
func (PortalTenantConfigurationOutput) PrivateMarkdownStorageEnforced ¶ added in v5.5.0
func (o PortalTenantConfigurationOutput) PrivateMarkdownStorageEnforced() pulumi.BoolOutput
Is the private tile markdown storage which used to display custom dynamic and static content enabled?
> **Note:** When `privateMarkdownStorageEnforced` is set to `true`, only external storage configuration (URI) is allowed for Markdown tiles. Inline content configuration will be prohibited.
func (PortalTenantConfigurationOutput) ToPortalTenantConfigurationOutput ¶
func (o PortalTenantConfigurationOutput) ToPortalTenantConfigurationOutput() PortalTenantConfigurationOutput
func (PortalTenantConfigurationOutput) ToPortalTenantConfigurationOutputWithContext ¶
func (o PortalTenantConfigurationOutput) ToPortalTenantConfigurationOutputWithContext(ctx context.Context) PortalTenantConfigurationOutput
type PortalTenantConfigurationState ¶
type PortalTenantConfigurationState struct { // Is the private tile markdown storage which used to display custom dynamic and static content enabled? // // > **Note:** When `privateMarkdownStorageEnforced` is set to `true`, only external storage configuration (URI) is allowed for Markdown tiles. Inline content configuration will be prohibited. PrivateMarkdownStorageEnforced pulumi.BoolPtrInput }
func (PortalTenantConfigurationState) ElementType ¶
func (PortalTenantConfigurationState) ElementType() reflect.Type
type ResourceDeploymentScriptAzureCli ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCli struct { pulumi.CustomResourceState // Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created. CleanupPreference pulumi.StringPtrOutput `pulumi:"cleanupPreference"` // Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created. CommandLine pulumi.StringPtrOutput `pulumi:"commandLine"` // A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created. Container ResourceDeploymentScriptAzureCliContainerPtrOutput `pulumi:"container"` // An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created. EnvironmentVariables ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput `pulumi:"environmentVariables"` // Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created. ForceUpdateTag pulumi.StringPtrOutput `pulumi:"forceUpdateTag"` // An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created. Identity ResourceDeploymentScriptAzureCliIdentityPtrOutput `pulumi:"identity"` // Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created. Name pulumi.StringOutput `pulumi:"name"` // List of script outputs. Outputs pulumi.StringOutput `pulumi:"outputs"` // Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created. PrimaryScriptUri pulumi.StringPtrOutput `pulumi:"primaryScriptUri"` // Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created. RetentionInterval pulumi.StringOutput `pulumi:"retentionInterval"` // Script body. Changing this forces a new Resource Deployment Script to be created. ScriptContent pulumi.StringPtrOutput `pulumi:"scriptContent"` // A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created. StorageAccount ResourceDeploymentScriptAzureCliStorageAccountPtrOutput `pulumi:"storageAccount"` // Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created. SupportingScriptUris pulumi.StringArrayOutput `pulumi:"supportingScriptUris"` // A mapping of tags which should be assigned to the Resource Deployment Script. Tags pulumi.StringMapOutput `pulumi:"tags"` // Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created. Timeout pulumi.StringPtrOutput `pulumi:"timeout"` // Specifies the version of the Azure CLI that should be used in the format `X.Y.Z` (e.g. `2.30.0`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-cli/tags/list). Changing this forces a new Resource Deployment Script to be created. Version pulumi.StringOutput `pulumi:"version"` }
Manages a Resource Deployment Script of Azure Cli.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{ Name: pulumi.String("example-uai"), Location: example.Location, ResourceGroupName: example.Name, }) if err != nil { return err } _, err = core.NewResourceDeploymentScriptAzureCli(ctx, "example", &core.ResourceDeploymentScriptAzureCliArgs{ Name: pulumi.String("example-rdsac"), ResourceGroupName: example.Name, Location: pulumi.String("West Europe"), Version: pulumi.String("2.40.0"), RetentionInterval: pulumi.String("P1D"), CommandLine: pulumi.String("'foo' 'bar'"), CleanupPreference: pulumi.String("OnSuccess"), ForceUpdateTag: pulumi.String("1"), Timeout: pulumi.String("PT30M"), ScriptContent: pulumi.String(" echo \"{\\\"name\\\":{\\\"displayName\\\":\\\"$1 $2\\\"}}\" > $AZ_SCRIPTS_OUTPUT_PATH\n"), Identity: &core.ResourceDeploymentScriptAzureCliIdentityArgs{ Type: pulumi.String("UserAssigned"), IdentityIds: pulumi.StringArray{ exampleUserAssignedIdentity.ID(), }, }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Resource Deployment Script can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceDeploymentScriptAzureCli:ResourceDeploymentScriptAzureCli example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Resources/deploymentScripts/script1 ```
func GetResourceDeploymentScriptAzureCli ¶ added in v5.29.0
func GetResourceDeploymentScriptAzureCli(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceDeploymentScriptAzureCliState, opts ...pulumi.ResourceOption) (*ResourceDeploymentScriptAzureCli, error)
GetResourceDeploymentScriptAzureCli gets an existing ResourceDeploymentScriptAzureCli resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceDeploymentScriptAzureCli ¶ added in v5.29.0
func NewResourceDeploymentScriptAzureCli(ctx *pulumi.Context, name string, args *ResourceDeploymentScriptAzureCliArgs, opts ...pulumi.ResourceOption) (*ResourceDeploymentScriptAzureCli, error)
NewResourceDeploymentScriptAzureCli registers a new resource with the given unique name, arguments, and options.
func (*ResourceDeploymentScriptAzureCli) ElementType ¶ added in v5.29.0
func (*ResourceDeploymentScriptAzureCli) ElementType() reflect.Type
func (*ResourceDeploymentScriptAzureCli) ToResourceDeploymentScriptAzureCliOutput ¶ added in v5.29.0
func (i *ResourceDeploymentScriptAzureCli) ToResourceDeploymentScriptAzureCliOutput() ResourceDeploymentScriptAzureCliOutput
func (*ResourceDeploymentScriptAzureCli) ToResourceDeploymentScriptAzureCliOutputWithContext ¶ added in v5.29.0
func (i *ResourceDeploymentScriptAzureCli) ToResourceDeploymentScriptAzureCliOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliOutput
type ResourceDeploymentScriptAzureCliArgs ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliArgs struct { // Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created. CleanupPreference pulumi.StringPtrInput // Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created. CommandLine pulumi.StringPtrInput // A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created. Container ResourceDeploymentScriptAzureCliContainerPtrInput // An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created. EnvironmentVariables ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput // Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created. ForceUpdateTag pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created. Identity ResourceDeploymentScriptAzureCliIdentityPtrInput // Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created. Name pulumi.StringPtrInput // Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created. PrimaryScriptUri pulumi.StringPtrInput // Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. ResourceGroupName pulumi.StringInput // Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created. RetentionInterval pulumi.StringInput // Script body. Changing this forces a new Resource Deployment Script to be created. ScriptContent pulumi.StringPtrInput // A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created. StorageAccount ResourceDeploymentScriptAzureCliStorageAccountPtrInput // Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created. SupportingScriptUris pulumi.StringArrayInput // A mapping of tags which should be assigned to the Resource Deployment Script. Tags pulumi.StringMapInput // Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created. Timeout pulumi.StringPtrInput // Specifies the version of the Azure CLI that should be used in the format `X.Y.Z` (e.g. `2.30.0`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-cli/tags/list). Changing this forces a new Resource Deployment Script to be created. Version pulumi.StringInput }
The set of arguments for constructing a ResourceDeploymentScriptAzureCli resource.
func (ResourceDeploymentScriptAzureCliArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliArgs) ElementType() reflect.Type
type ResourceDeploymentScriptAzureCliArray ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliArray []ResourceDeploymentScriptAzureCliInput
func (ResourceDeploymentScriptAzureCliArray) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliArray) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliArray) ToResourceDeploymentScriptAzureCliArrayOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliArray) ToResourceDeploymentScriptAzureCliArrayOutput() ResourceDeploymentScriptAzureCliArrayOutput
func (ResourceDeploymentScriptAzureCliArray) ToResourceDeploymentScriptAzureCliArrayOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliArray) ToResourceDeploymentScriptAzureCliArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliArrayOutput
type ResourceDeploymentScriptAzureCliArrayInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliArrayInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliArrayOutput() ResourceDeploymentScriptAzureCliArrayOutput ToResourceDeploymentScriptAzureCliArrayOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliArrayOutput }
ResourceDeploymentScriptAzureCliArrayInput is an input type that accepts ResourceDeploymentScriptAzureCliArray and ResourceDeploymentScriptAzureCliArrayOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliArrayInput` via:
ResourceDeploymentScriptAzureCliArray{ ResourceDeploymentScriptAzureCliArgs{...} }
type ResourceDeploymentScriptAzureCliArrayOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliArrayOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliArrayOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliArrayOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliArrayOutput) ToResourceDeploymentScriptAzureCliArrayOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliArrayOutput) ToResourceDeploymentScriptAzureCliArrayOutput() ResourceDeploymentScriptAzureCliArrayOutput
func (ResourceDeploymentScriptAzureCliArrayOutput) ToResourceDeploymentScriptAzureCliArrayOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliArrayOutput) ToResourceDeploymentScriptAzureCliArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliArrayOutput
type ResourceDeploymentScriptAzureCliContainer ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliContainer struct { // Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation. ContainerGroupName *string `pulumi:"containerGroupName"` }
type ResourceDeploymentScriptAzureCliContainerArgs ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliContainerArgs struct { // Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation. ContainerGroupName pulumi.StringPtrInput `pulumi:"containerGroupName"` }
func (ResourceDeploymentScriptAzureCliContainerArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliContainerArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerOutput() ResourceDeploymentScriptAzureCliContainerOutput
func (ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerOutput
func (ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerPtrOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput
func (ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliContainerArgs) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput
type ResourceDeploymentScriptAzureCliContainerInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliContainerInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliContainerOutput() ResourceDeploymentScriptAzureCliContainerOutput ToResourceDeploymentScriptAzureCliContainerOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliContainerOutput }
ResourceDeploymentScriptAzureCliContainerInput is an input type that accepts ResourceDeploymentScriptAzureCliContainerArgs and ResourceDeploymentScriptAzureCliContainerOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliContainerInput` via:
ResourceDeploymentScriptAzureCliContainerArgs{...}
type ResourceDeploymentScriptAzureCliContainerOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliContainerOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliContainerOutput) ContainerGroupName ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerOutput) ContainerGroupName() pulumi.StringPtrOutput
Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation.
func (ResourceDeploymentScriptAzureCliContainerOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliContainerOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerOutput() ResourceDeploymentScriptAzureCliContainerOutput
func (ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerOutput
func (ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput
func (ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput
type ResourceDeploymentScriptAzureCliContainerPtrInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliContainerPtrInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput }
ResourceDeploymentScriptAzureCliContainerPtrInput is an input type that accepts ResourceDeploymentScriptAzureCliContainerArgs, ResourceDeploymentScriptAzureCliContainerPtr and ResourceDeploymentScriptAzureCliContainerPtrOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliContainerPtrInput` via:
ResourceDeploymentScriptAzureCliContainerArgs{...} or: nil
func ResourceDeploymentScriptAzureCliContainerPtr ¶ added in v5.29.0
func ResourceDeploymentScriptAzureCliContainerPtr(v *ResourceDeploymentScriptAzureCliContainerArgs) ResourceDeploymentScriptAzureCliContainerPtrInput
type ResourceDeploymentScriptAzureCliContainerPtrOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliContainerPtrOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliContainerPtrOutput) ContainerGroupName ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) ContainerGroupName() pulumi.StringPtrOutput
Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation.
func (ResourceDeploymentScriptAzureCliContainerPtrOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliContainerPtrOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliContainerPtrOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutput() ResourceDeploymentScriptAzureCliContainerPtrOutput
func (ResourceDeploymentScriptAzureCliContainerPtrOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliContainerPtrOutput) ToResourceDeploymentScriptAzureCliContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliContainerPtrOutput
type ResourceDeploymentScriptAzureCliEnvironmentVariable ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariable struct { // Specifies the name of the environment variable. Name string `pulumi:"name"` // Specifies the value of the secure environment variable. SecureValue *string `pulumi:"secureValue"` // Specifies the value of the environment variable. Value *string `pulumi:"value"` }
type ResourceDeploymentScriptAzureCliEnvironmentVariableArgs ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariableArgs struct { // Specifies the name of the environment variable. Name pulumi.StringInput `pulumi:"name"` // Specifies the value of the secure environment variable. SecureValue pulumi.StringPtrInput `pulumi:"secureValue"` // Specifies the value of the environment variable. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArgs) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
type ResourceDeploymentScriptAzureCliEnvironmentVariableArray ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariableArray []ResourceDeploymentScriptAzureCliEnvironmentVariableInput
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliEnvironmentVariableArray) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
type ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput }
ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput is an input type that accepts ResourceDeploymentScriptAzureCliEnvironmentVariableArray and ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput` via:
ResourceDeploymentScriptAzureCliEnvironmentVariableArray{ ResourceDeploymentScriptAzureCliEnvironmentVariableArgs{...} }
type ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
func (ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
type ResourceDeploymentScriptAzureCliEnvironmentVariableInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariableInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableOutput ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableOutput }
ResourceDeploymentScriptAzureCliEnvironmentVariableInput is an input type that accepts ResourceDeploymentScriptAzureCliEnvironmentVariableArgs and ResourceDeploymentScriptAzureCliEnvironmentVariableOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliEnvironmentVariableInput` via:
ResourceDeploymentScriptAzureCliEnvironmentVariableArgs{...}
type ResourceDeploymentScriptAzureCliEnvironmentVariableOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliEnvironmentVariableOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) Name ¶ added in v5.29.0
Specifies the name of the environment variable.
func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) SecureValue ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) SecureValue() pulumi.StringPtrOutput
Specifies the value of the secure environment variable.
func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutput() ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
func (ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliEnvironmentVariableOutput) ToResourceDeploymentScriptAzureCliEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliEnvironmentVariableOutput
type ResourceDeploymentScriptAzureCliIdentity ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliIdentity struct { // Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created. IdentityIds []string `pulumi:"identityIds"` // Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created. Type string `pulumi:"type"` }
type ResourceDeploymentScriptAzureCliIdentityArgs ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliIdentityArgs struct { // Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceDeploymentScriptAzureCliIdentityArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliIdentityArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityOutput() ResourceDeploymentScriptAzureCliIdentityOutput
func (ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityOutput
func (ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityPtrOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput
func (ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliIdentityArgs) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput
type ResourceDeploymentScriptAzureCliIdentityInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliIdentityInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliIdentityOutput() ResourceDeploymentScriptAzureCliIdentityOutput ToResourceDeploymentScriptAzureCliIdentityOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliIdentityOutput }
ResourceDeploymentScriptAzureCliIdentityInput is an input type that accepts ResourceDeploymentScriptAzureCliIdentityArgs and ResourceDeploymentScriptAzureCliIdentityOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliIdentityInput` via:
ResourceDeploymentScriptAzureCliIdentityArgs{...}
type ResourceDeploymentScriptAzureCliIdentityOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliIdentityOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliIdentityOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliIdentityOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliIdentityOutput) IdentityIds ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityOutput) IdentityIds() pulumi.StringArrayOutput
Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
func (ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityOutput() ResourceDeploymentScriptAzureCliIdentityOutput
func (ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityOutput
func (ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput
func (ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput
func (ResourceDeploymentScriptAzureCliIdentityOutput) Type ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityOutput) Type() pulumi.StringOutput
Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
type ResourceDeploymentScriptAzureCliIdentityPtrInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliIdentityPtrInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput }
ResourceDeploymentScriptAzureCliIdentityPtrInput is an input type that accepts ResourceDeploymentScriptAzureCliIdentityArgs, ResourceDeploymentScriptAzureCliIdentityPtr and ResourceDeploymentScriptAzureCliIdentityPtrOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliIdentityPtrInput` via:
ResourceDeploymentScriptAzureCliIdentityArgs{...} or: nil
func ResourceDeploymentScriptAzureCliIdentityPtr ¶ added in v5.29.0
func ResourceDeploymentScriptAzureCliIdentityPtr(v *ResourceDeploymentScriptAzureCliIdentityArgs) ResourceDeploymentScriptAzureCliIdentityPtrInput
type ResourceDeploymentScriptAzureCliIdentityPtrOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliIdentityPtrOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) IdentityIds ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutput() ResourceDeploymentScriptAzureCliIdentityPtrOutput
func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) ToResourceDeploymentScriptAzureCliIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliIdentityPtrOutput
func (ResourceDeploymentScriptAzureCliIdentityPtrOutput) Type ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliIdentityPtrOutput) Type() pulumi.StringPtrOutput
Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
type ResourceDeploymentScriptAzureCliInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliOutput() ResourceDeploymentScriptAzureCliOutput ToResourceDeploymentScriptAzureCliOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliOutput }
type ResourceDeploymentScriptAzureCliMap ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliMap map[string]ResourceDeploymentScriptAzureCliInput
func (ResourceDeploymentScriptAzureCliMap) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliMap) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliMap) ToResourceDeploymentScriptAzureCliMapOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliMap) ToResourceDeploymentScriptAzureCliMapOutput() ResourceDeploymentScriptAzureCliMapOutput
func (ResourceDeploymentScriptAzureCliMap) ToResourceDeploymentScriptAzureCliMapOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliMap) ToResourceDeploymentScriptAzureCliMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliMapOutput
type ResourceDeploymentScriptAzureCliMapInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliMapInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliMapOutput() ResourceDeploymentScriptAzureCliMapOutput ToResourceDeploymentScriptAzureCliMapOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliMapOutput }
ResourceDeploymentScriptAzureCliMapInput is an input type that accepts ResourceDeploymentScriptAzureCliMap and ResourceDeploymentScriptAzureCliMapOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliMapInput` via:
ResourceDeploymentScriptAzureCliMap{ "key": ResourceDeploymentScriptAzureCliArgs{...} }
type ResourceDeploymentScriptAzureCliMapOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliMapOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliMapOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliMapOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliMapOutput) MapIndex ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliMapOutput) MapIndex(k pulumi.StringInput) ResourceDeploymentScriptAzureCliOutput
func (ResourceDeploymentScriptAzureCliMapOutput) ToResourceDeploymentScriptAzureCliMapOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliMapOutput) ToResourceDeploymentScriptAzureCliMapOutput() ResourceDeploymentScriptAzureCliMapOutput
func (ResourceDeploymentScriptAzureCliMapOutput) ToResourceDeploymentScriptAzureCliMapOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliMapOutput) ToResourceDeploymentScriptAzureCliMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliMapOutput
type ResourceDeploymentScriptAzureCliOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliOutput) CleanupPreference ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) CleanupPreference() pulumi.StringPtrOutput
Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) CommandLine ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) CommandLine() pulumi.StringPtrOutput
Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) Container ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Container() ResourceDeploymentScriptAzureCliContainerPtrOutput
A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliOutput) EnvironmentVariables ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) EnvironmentVariables() ResourceDeploymentScriptAzureCliEnvironmentVariableArrayOutput
An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) ForceUpdateTag ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) ForceUpdateTag() pulumi.StringPtrOutput
Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) Identity ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Identity() ResourceDeploymentScriptAzureCliIdentityPtrOutput
An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) Location ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) Name ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) Outputs ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Outputs() pulumi.StringOutput
List of script outputs.
func (ResourceDeploymentScriptAzureCliOutput) PrimaryScriptUri ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) PrimaryScriptUri() pulumi.StringPtrOutput
Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) ResourceGroupName ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) RetentionInterval ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) RetentionInterval() pulumi.StringOutput
Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) ScriptContent ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) ScriptContent() pulumi.StringPtrOutput
Script body. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) StorageAccount ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) StorageAccount() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) SupportingScriptUris ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) SupportingScriptUris() pulumi.StringArrayOutput
Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) Tags ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Resource Deployment Script.
func (ResourceDeploymentScriptAzureCliOutput) Timeout ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Timeout() pulumi.StringPtrOutput
Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptAzureCliOutput) ToResourceDeploymentScriptAzureCliOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) ToResourceDeploymentScriptAzureCliOutput() ResourceDeploymentScriptAzureCliOutput
func (ResourceDeploymentScriptAzureCliOutput) ToResourceDeploymentScriptAzureCliOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) ToResourceDeploymentScriptAzureCliOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliOutput
func (ResourceDeploymentScriptAzureCliOutput) Version ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliOutput) Version() pulumi.StringOutput
Specifies the version of the Azure CLI that should be used in the format `X.Y.Z` (e.g. `2.30.0`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-cli/tags/list). Changing this forces a new Resource Deployment Script to be created.
type ResourceDeploymentScriptAzureCliState ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliState struct { // Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created. CleanupPreference pulumi.StringPtrInput // Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created. CommandLine pulumi.StringPtrInput // A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created. Container ResourceDeploymentScriptAzureCliContainerPtrInput // An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created. EnvironmentVariables ResourceDeploymentScriptAzureCliEnvironmentVariableArrayInput // Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created. ForceUpdateTag pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created. Identity ResourceDeploymentScriptAzureCliIdentityPtrInput // Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created. Name pulumi.StringPtrInput // List of script outputs. Outputs pulumi.StringPtrInput // Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created. PrimaryScriptUri pulumi.StringPtrInput // Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. ResourceGroupName pulumi.StringPtrInput // Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created. RetentionInterval pulumi.StringPtrInput // Script body. Changing this forces a new Resource Deployment Script to be created. ScriptContent pulumi.StringPtrInput // A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created. StorageAccount ResourceDeploymentScriptAzureCliStorageAccountPtrInput // Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created. SupportingScriptUris pulumi.StringArrayInput // A mapping of tags which should be assigned to the Resource Deployment Script. Tags pulumi.StringMapInput // Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created. Timeout pulumi.StringPtrInput // Specifies the version of the Azure CLI that should be used in the format `X.Y.Z` (e.g. `2.30.0`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-cli/tags/list). Changing this forces a new Resource Deployment Script to be created. Version pulumi.StringPtrInput }
func (ResourceDeploymentScriptAzureCliState) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliState) ElementType() reflect.Type
type ResourceDeploymentScriptAzureCliStorageAccount ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliStorageAccountArgs ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliStorageAccountArgs struct { // Specifies the storage account access key. Key pulumi.StringInput `pulumi:"key"` // Specifies the storage account name. Name pulumi.StringInput `pulumi:"name"` }
func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountOutput() ResourceDeploymentScriptAzureCliStorageAccountOutput
func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountOutput
func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
func (ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptAzureCliStorageAccountArgs) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
type ResourceDeploymentScriptAzureCliStorageAccountInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliStorageAccountInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliStorageAccountOutput() ResourceDeploymentScriptAzureCliStorageAccountOutput ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliStorageAccountOutput }
ResourceDeploymentScriptAzureCliStorageAccountInput is an input type that accepts ResourceDeploymentScriptAzureCliStorageAccountArgs and ResourceDeploymentScriptAzureCliStorageAccountOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliStorageAccountInput` via:
ResourceDeploymentScriptAzureCliStorageAccountArgs{...}
type ResourceDeploymentScriptAzureCliStorageAccountOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliStorageAccountOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) Key ¶ added in v5.29.0
Specifies the storage account access key.
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) Name ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) Name() pulumi.StringOutput
Specifies the storage account name.
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountOutput() ResourceDeploymentScriptAzureCliStorageAccountOutput
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountOutput
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
func (ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
type ResourceDeploymentScriptAzureCliStorageAccountPtrInput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliStorageAccountPtrInput interface { pulumi.Input ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput }
ResourceDeploymentScriptAzureCliStorageAccountPtrInput is an input type that accepts ResourceDeploymentScriptAzureCliStorageAccountArgs, ResourceDeploymentScriptAzureCliStorageAccountPtr and ResourceDeploymentScriptAzureCliStorageAccountPtrOutput values. You can construct a concrete instance of `ResourceDeploymentScriptAzureCliStorageAccountPtrInput` via:
ResourceDeploymentScriptAzureCliStorageAccountArgs{...} or: nil
func ResourceDeploymentScriptAzureCliStorageAccountPtr ¶ added in v5.29.0
func ResourceDeploymentScriptAzureCliStorageAccountPtr(v *ResourceDeploymentScriptAzureCliStorageAccountArgs) ResourceDeploymentScriptAzureCliStorageAccountPtrInput
type ResourceDeploymentScriptAzureCliStorageAccountPtrOutput ¶ added in v5.29.0
type ResourceDeploymentScriptAzureCliStorageAccountPtrOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) Key ¶ added in v5.29.0
Specifies the storage account access key.
func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) Name ¶ added in v5.29.0
Specifies the storage account name.
func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutput() ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
func (ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptAzureCliStorageAccountPtrOutput) ToResourceDeploymentScriptAzureCliStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptAzureCliStorageAccountPtrOutput
type ResourceDeploymentScriptPowerShell ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShell struct { pulumi.CustomResourceState // Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created. CleanupPreference pulumi.StringPtrOutput `pulumi:"cleanupPreference"` // Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created. CommandLine pulumi.StringPtrOutput `pulumi:"commandLine"` // A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created. Container ResourceDeploymentScriptPowerShellContainerPtrOutput `pulumi:"container"` // An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created. EnvironmentVariables ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput `pulumi:"environmentVariables"` // Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created. ForceUpdateTag pulumi.StringPtrOutput `pulumi:"forceUpdateTag"` // An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created. Identity ResourceDeploymentScriptPowerShellIdentityPtrOutput `pulumi:"identity"` // Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created. Name pulumi.StringOutput `pulumi:"name"` // List of script outputs. Outputs pulumi.StringOutput `pulumi:"outputs"` // Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created. PrimaryScriptUri pulumi.StringPtrOutput `pulumi:"primaryScriptUri"` // Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created. RetentionInterval pulumi.StringOutput `pulumi:"retentionInterval"` // Script body. Changing this forces a new Resource Deployment Script to be created. ScriptContent pulumi.StringPtrOutput `pulumi:"scriptContent"` // A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created. StorageAccount ResourceDeploymentScriptPowerShellStorageAccountPtrOutput `pulumi:"storageAccount"` // Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created. SupportingScriptUris pulumi.StringArrayOutput `pulumi:"supportingScriptUris"` // A mapping of tags which should be assigned to the Resource Deployment Script. Tags pulumi.StringMapOutput `pulumi:"tags"` // Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created. Timeout pulumi.StringPtrOutput `pulumi:"timeout"` // Specifies the version of the Azure PowerShell that should be used in the format `X.Y` (e.g. `9.7`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-powershell/tags/list). Changing this forces a new Resource Deployment Script to be created. Version pulumi.StringOutput `pulumi:"version"` }
Manages a Resource Deployment Script of Azure PowerShell.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{ Name: pulumi.String("example-uai"), Location: example.Location, ResourceGroupName: example.Name, }) if err != nil { return err } _, err = core.NewResourceDeploymentScriptPowerShell(ctx, "example", &core.ResourceDeploymentScriptPowerShellArgs{ Name: pulumi.String("example-rdsaps"), ResourceGroupName: example.Name, Location: pulumi.String("West Europe"), Version: pulumi.String("8.3"), RetentionInterval: pulumi.String("P1D"), CommandLine: pulumi.String("-name \"John Dole\""), CleanupPreference: pulumi.String("OnSuccess"), ForceUpdateTag: pulumi.String("1"), Timeout: pulumi.String("PT30M"), ScriptContent: pulumi.String(` param([string] $name) $output = 'Hello {0}.' -f $name Write-Output $output $DeploymentScriptOutputs = @{} $DeploymentScriptOutputs['text'] = $output
`),
Identity: &core.ResourceDeploymentScriptPowerShellIdentityArgs{ Type: pulumi.String("UserAssigned"), IdentityIds: pulumi.StringArray{ exampleUserAssignedIdentity.ID(), }, }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Resource Deployment Script can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceDeploymentScriptPowerShell:ResourceDeploymentScriptPowerShell example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Resources/deploymentScripts/script1 ```
func GetResourceDeploymentScriptPowerShell ¶ added in v5.29.0
func GetResourceDeploymentScriptPowerShell(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceDeploymentScriptPowerShellState, opts ...pulumi.ResourceOption) (*ResourceDeploymentScriptPowerShell, error)
GetResourceDeploymentScriptPowerShell gets an existing ResourceDeploymentScriptPowerShell resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceDeploymentScriptPowerShell ¶ added in v5.29.0
func NewResourceDeploymentScriptPowerShell(ctx *pulumi.Context, name string, args *ResourceDeploymentScriptPowerShellArgs, opts ...pulumi.ResourceOption) (*ResourceDeploymentScriptPowerShell, error)
NewResourceDeploymentScriptPowerShell registers a new resource with the given unique name, arguments, and options.
func (*ResourceDeploymentScriptPowerShell) ElementType ¶ added in v5.29.0
func (*ResourceDeploymentScriptPowerShell) ElementType() reflect.Type
func (*ResourceDeploymentScriptPowerShell) ToResourceDeploymentScriptPowerShellOutput ¶ added in v5.29.0
func (i *ResourceDeploymentScriptPowerShell) ToResourceDeploymentScriptPowerShellOutput() ResourceDeploymentScriptPowerShellOutput
func (*ResourceDeploymentScriptPowerShell) ToResourceDeploymentScriptPowerShellOutputWithContext ¶ added in v5.29.0
func (i *ResourceDeploymentScriptPowerShell) ToResourceDeploymentScriptPowerShellOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellOutput
type ResourceDeploymentScriptPowerShellArgs ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellArgs struct { // Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created. CleanupPreference pulumi.StringPtrInput // Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created. CommandLine pulumi.StringPtrInput // A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created. Container ResourceDeploymentScriptPowerShellContainerPtrInput // An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created. EnvironmentVariables ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput // Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created. ForceUpdateTag pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created. Identity ResourceDeploymentScriptPowerShellIdentityPtrInput // Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created. Name pulumi.StringPtrInput // Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created. PrimaryScriptUri pulumi.StringPtrInput // Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. ResourceGroupName pulumi.StringInput // Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created. RetentionInterval pulumi.StringInput // Script body. Changing this forces a new Resource Deployment Script to be created. ScriptContent pulumi.StringPtrInput // A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created. StorageAccount ResourceDeploymentScriptPowerShellStorageAccountPtrInput // Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created. SupportingScriptUris pulumi.StringArrayInput // A mapping of tags which should be assigned to the Resource Deployment Script. Tags pulumi.StringMapInput // Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created. Timeout pulumi.StringPtrInput // Specifies the version of the Azure PowerShell that should be used in the format `X.Y` (e.g. `9.7`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-powershell/tags/list). Changing this forces a new Resource Deployment Script to be created. Version pulumi.StringInput }
The set of arguments for constructing a ResourceDeploymentScriptPowerShell resource.
func (ResourceDeploymentScriptPowerShellArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellArgs) ElementType() reflect.Type
type ResourceDeploymentScriptPowerShellArray ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellArray []ResourceDeploymentScriptPowerShellInput
func (ResourceDeploymentScriptPowerShellArray) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellArray) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellArray) ToResourceDeploymentScriptPowerShellArrayOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellArray) ToResourceDeploymentScriptPowerShellArrayOutput() ResourceDeploymentScriptPowerShellArrayOutput
func (ResourceDeploymentScriptPowerShellArray) ToResourceDeploymentScriptPowerShellArrayOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellArray) ToResourceDeploymentScriptPowerShellArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellArrayOutput
type ResourceDeploymentScriptPowerShellArrayInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellArrayInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellArrayOutput() ResourceDeploymentScriptPowerShellArrayOutput ToResourceDeploymentScriptPowerShellArrayOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellArrayOutput }
ResourceDeploymentScriptPowerShellArrayInput is an input type that accepts ResourceDeploymentScriptPowerShellArray and ResourceDeploymentScriptPowerShellArrayOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellArrayInput` via:
ResourceDeploymentScriptPowerShellArray{ ResourceDeploymentScriptPowerShellArgs{...} }
type ResourceDeploymentScriptPowerShellArrayOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellArrayOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellArrayOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellArrayOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellArrayOutput) ToResourceDeploymentScriptPowerShellArrayOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellArrayOutput) ToResourceDeploymentScriptPowerShellArrayOutput() ResourceDeploymentScriptPowerShellArrayOutput
func (ResourceDeploymentScriptPowerShellArrayOutput) ToResourceDeploymentScriptPowerShellArrayOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellArrayOutput) ToResourceDeploymentScriptPowerShellArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellArrayOutput
type ResourceDeploymentScriptPowerShellContainer ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellContainer struct { // Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation. ContainerGroupName *string `pulumi:"containerGroupName"` }
type ResourceDeploymentScriptPowerShellContainerArgs ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellContainerArgs struct { // Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation. ContainerGroupName pulumi.StringPtrInput `pulumi:"containerGroupName"` }
func (ResourceDeploymentScriptPowerShellContainerArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellContainerArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerOutput() ResourceDeploymentScriptPowerShellContainerOutput
func (ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerOutput
func (ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerPtrOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput
func (ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellContainerArgs) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput
type ResourceDeploymentScriptPowerShellContainerInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellContainerInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellContainerOutput() ResourceDeploymentScriptPowerShellContainerOutput ToResourceDeploymentScriptPowerShellContainerOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellContainerOutput }
ResourceDeploymentScriptPowerShellContainerInput is an input type that accepts ResourceDeploymentScriptPowerShellContainerArgs and ResourceDeploymentScriptPowerShellContainerOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellContainerInput` via:
ResourceDeploymentScriptPowerShellContainerArgs{...}
type ResourceDeploymentScriptPowerShellContainerOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellContainerOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellContainerOutput) ContainerGroupName ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerOutput) ContainerGroupName() pulumi.StringPtrOutput
Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation.
func (ResourceDeploymentScriptPowerShellContainerOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellContainerOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerOutput() ResourceDeploymentScriptPowerShellContainerOutput
func (ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerOutput
func (ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput
func (ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput
type ResourceDeploymentScriptPowerShellContainerPtrInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellContainerPtrInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput }
ResourceDeploymentScriptPowerShellContainerPtrInput is an input type that accepts ResourceDeploymentScriptPowerShellContainerArgs, ResourceDeploymentScriptPowerShellContainerPtr and ResourceDeploymentScriptPowerShellContainerPtrOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellContainerPtrInput` via:
ResourceDeploymentScriptPowerShellContainerArgs{...} or: nil
func ResourceDeploymentScriptPowerShellContainerPtr ¶ added in v5.29.0
func ResourceDeploymentScriptPowerShellContainerPtr(v *ResourceDeploymentScriptPowerShellContainerArgs) ResourceDeploymentScriptPowerShellContainerPtrInput
type ResourceDeploymentScriptPowerShellContainerPtrOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellContainerPtrOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellContainerPtrOutput) ContainerGroupName ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) ContainerGroupName() pulumi.StringPtrOutput
Container group name, if not specified then the name will get auto-generated. For more information, please refer to the [Container Configuration](https://learn.microsoft.com/en-us/rest/api/resources/deployment-scripts/create?tabs=HTTP#containerconfiguration) documentation.
func (ResourceDeploymentScriptPowerShellContainerPtrOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellContainerPtrOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellContainerPtrOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutput() ResourceDeploymentScriptPowerShellContainerPtrOutput
func (ResourceDeploymentScriptPowerShellContainerPtrOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellContainerPtrOutput) ToResourceDeploymentScriptPowerShellContainerPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellContainerPtrOutput
type ResourceDeploymentScriptPowerShellEnvironmentVariable ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariable struct { // Specifies the name of the environment variable. Name string `pulumi:"name"` // Specifies the value of the secure environment variable. SecureValue *string `pulumi:"secureValue"` // Specifies the value of the environment variable. Value *string `pulumi:"value"` }
type ResourceDeploymentScriptPowerShellEnvironmentVariableArgs ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariableArgs struct { // Specifies the name of the environment variable. Name pulumi.StringInput `pulumi:"name"` // Specifies the value of the secure environment variable. SecureValue pulumi.StringPtrInput `pulumi:"secureValue"` // Specifies the value of the environment variable. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArgs) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
type ResourceDeploymentScriptPowerShellEnvironmentVariableArray ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariableArray []ResourceDeploymentScriptPowerShellEnvironmentVariableInput
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellEnvironmentVariableArray) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
type ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput }
ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput is an input type that accepts ResourceDeploymentScriptPowerShellEnvironmentVariableArray and ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput` via:
ResourceDeploymentScriptPowerShellEnvironmentVariableArray{ ResourceDeploymentScriptPowerShellEnvironmentVariableArgs{...} }
type ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
func (ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
type ResourceDeploymentScriptPowerShellEnvironmentVariableInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariableInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableOutput ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableOutput }
ResourceDeploymentScriptPowerShellEnvironmentVariableInput is an input type that accepts ResourceDeploymentScriptPowerShellEnvironmentVariableArgs and ResourceDeploymentScriptPowerShellEnvironmentVariableOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellEnvironmentVariableInput` via:
ResourceDeploymentScriptPowerShellEnvironmentVariableArgs{...}
type ResourceDeploymentScriptPowerShellEnvironmentVariableOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellEnvironmentVariableOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) Name ¶ added in v5.29.0
Specifies the name of the environment variable.
func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) SecureValue ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) SecureValue() pulumi.StringPtrOutput
Specifies the value of the secure environment variable.
func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutput() ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
func (ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellEnvironmentVariableOutput) ToResourceDeploymentScriptPowerShellEnvironmentVariableOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellEnvironmentVariableOutput
type ResourceDeploymentScriptPowerShellIdentity ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellIdentity struct { // Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created. IdentityIds []string `pulumi:"identityIds"` // Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created. Type string `pulumi:"type"` }
type ResourceDeploymentScriptPowerShellIdentityArgs ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellIdentityArgs struct { // Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceDeploymentScriptPowerShellIdentityArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellIdentityArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityOutput() ResourceDeploymentScriptPowerShellIdentityOutput
func (ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityOutput
func (ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityPtrOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput
func (ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellIdentityArgs) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput
type ResourceDeploymentScriptPowerShellIdentityInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellIdentityInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellIdentityOutput() ResourceDeploymentScriptPowerShellIdentityOutput ToResourceDeploymentScriptPowerShellIdentityOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellIdentityOutput }
ResourceDeploymentScriptPowerShellIdentityInput is an input type that accepts ResourceDeploymentScriptPowerShellIdentityArgs and ResourceDeploymentScriptPowerShellIdentityOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellIdentityInput` via:
ResourceDeploymentScriptPowerShellIdentityArgs{...}
type ResourceDeploymentScriptPowerShellIdentityOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellIdentityOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellIdentityOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellIdentityOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellIdentityOutput) IdentityIds ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityOutput) IdentityIds() pulumi.StringArrayOutput
Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
func (ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityOutput() ResourceDeploymentScriptPowerShellIdentityOutput
func (ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityOutput
func (ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput
func (ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput
func (ResourceDeploymentScriptPowerShellIdentityOutput) Type ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityOutput) Type() pulumi.StringOutput
Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
type ResourceDeploymentScriptPowerShellIdentityPtrInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellIdentityPtrInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput }
ResourceDeploymentScriptPowerShellIdentityPtrInput is an input type that accepts ResourceDeploymentScriptPowerShellIdentityArgs, ResourceDeploymentScriptPowerShellIdentityPtr and ResourceDeploymentScriptPowerShellIdentityPtrOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellIdentityPtrInput` via:
ResourceDeploymentScriptPowerShellIdentityArgs{...} or: nil
func ResourceDeploymentScriptPowerShellIdentityPtr ¶ added in v5.29.0
func ResourceDeploymentScriptPowerShellIdentityPtr(v *ResourceDeploymentScriptPowerShellIdentityArgs) ResourceDeploymentScriptPowerShellIdentityPtrInput
type ResourceDeploymentScriptPowerShellIdentityPtrOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellIdentityPtrOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) IdentityIds ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutput() ResourceDeploymentScriptPowerShellIdentityPtrOutput
func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) ToResourceDeploymentScriptPowerShellIdentityPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellIdentityPtrOutput
func (ResourceDeploymentScriptPowerShellIdentityPtrOutput) Type ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellIdentityPtrOutput) Type() pulumi.StringPtrOutput
Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
type ResourceDeploymentScriptPowerShellInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellOutput() ResourceDeploymentScriptPowerShellOutput ToResourceDeploymentScriptPowerShellOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellOutput }
type ResourceDeploymentScriptPowerShellMap ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellMap map[string]ResourceDeploymentScriptPowerShellInput
func (ResourceDeploymentScriptPowerShellMap) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellMap) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellMap) ToResourceDeploymentScriptPowerShellMapOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellMap) ToResourceDeploymentScriptPowerShellMapOutput() ResourceDeploymentScriptPowerShellMapOutput
func (ResourceDeploymentScriptPowerShellMap) ToResourceDeploymentScriptPowerShellMapOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellMap) ToResourceDeploymentScriptPowerShellMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellMapOutput
type ResourceDeploymentScriptPowerShellMapInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellMapInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellMapOutput() ResourceDeploymentScriptPowerShellMapOutput ToResourceDeploymentScriptPowerShellMapOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellMapOutput }
ResourceDeploymentScriptPowerShellMapInput is an input type that accepts ResourceDeploymentScriptPowerShellMap and ResourceDeploymentScriptPowerShellMapOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellMapInput` via:
ResourceDeploymentScriptPowerShellMap{ "key": ResourceDeploymentScriptPowerShellArgs{...} }
type ResourceDeploymentScriptPowerShellMapOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellMapOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellMapOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellMapOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellMapOutput) ToResourceDeploymentScriptPowerShellMapOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellMapOutput) ToResourceDeploymentScriptPowerShellMapOutput() ResourceDeploymentScriptPowerShellMapOutput
func (ResourceDeploymentScriptPowerShellMapOutput) ToResourceDeploymentScriptPowerShellMapOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellMapOutput) ToResourceDeploymentScriptPowerShellMapOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellMapOutput
type ResourceDeploymentScriptPowerShellOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellOutput) CleanupPreference ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) CleanupPreference() pulumi.StringPtrOutput
Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) CommandLine ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) CommandLine() pulumi.StringPtrOutput
Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) Container ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Container() ResourceDeploymentScriptPowerShellContainerPtrOutput
A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellOutput) EnvironmentVariables ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) EnvironmentVariables() ResourceDeploymentScriptPowerShellEnvironmentVariableArrayOutput
An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) ForceUpdateTag ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) ForceUpdateTag() pulumi.StringPtrOutput
Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) Identity ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Identity() ResourceDeploymentScriptPowerShellIdentityPtrOutput
An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) Location ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) Name ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) Outputs ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Outputs() pulumi.StringOutput
List of script outputs.
func (ResourceDeploymentScriptPowerShellOutput) PrimaryScriptUri ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) PrimaryScriptUri() pulumi.StringPtrOutput
Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) ResourceGroupName ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) RetentionInterval ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) RetentionInterval() pulumi.StringOutput
Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) ScriptContent ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) ScriptContent() pulumi.StringPtrOutput
Script body. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) StorageAccount ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) StorageAccount() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) SupportingScriptUris ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) SupportingScriptUris() pulumi.StringArrayOutput
Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) Tags ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Resource Deployment Script.
func (ResourceDeploymentScriptPowerShellOutput) Timeout ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Timeout() pulumi.StringPtrOutput
Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created.
func (ResourceDeploymentScriptPowerShellOutput) ToResourceDeploymentScriptPowerShellOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) ToResourceDeploymentScriptPowerShellOutput() ResourceDeploymentScriptPowerShellOutput
func (ResourceDeploymentScriptPowerShellOutput) ToResourceDeploymentScriptPowerShellOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) ToResourceDeploymentScriptPowerShellOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellOutput
func (ResourceDeploymentScriptPowerShellOutput) Version ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellOutput) Version() pulumi.StringOutput
Specifies the version of the Azure PowerShell that should be used in the format `X.Y` (e.g. `9.7`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-powershell/tags/list). Changing this forces a new Resource Deployment Script to be created.
type ResourceDeploymentScriptPowerShellState ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellState struct { // Specifies the cleanup preference when the script execution gets in a terminal state. Possible values are `Always`, `OnExpiration`, `OnSuccess`. Defaults to `Always`. Changing this forces a new Resource Deployment Script to be created. CleanupPreference pulumi.StringPtrInput // Command line arguments to pass to the script. Changing this forces a new Resource Deployment Script to be created. CommandLine pulumi.StringPtrInput // A `container` block as defined below. Changing this forces a new Resource Deployment Script to be created. Container ResourceDeploymentScriptPowerShellContainerPtrInput // An `environmentVariable` block as defined below. Changing this forces a new Resource Deployment Script to be created. EnvironmentVariables ResourceDeploymentScriptPowerShellEnvironmentVariableArrayInput // Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID. Changing this forces a new Resource Deployment Script to be created. ForceUpdateTag pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Resource Deployment Script to be created. Identity ResourceDeploymentScriptPowerShellIdentityPtrInput // Specifies the Azure Region where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Resource Deployment Script. The name length must be from 1 to 260 characters. The name can only contain alphanumeric, underscore, parentheses, hyphen and period, and it cannot end with a period. Changing this forces a new Resource Deployment Script to be created. Name pulumi.StringPtrInput // List of script outputs. Outputs pulumi.StringPtrInput // Uri for the script. This is the entry point for the external script. Changing this forces a new Resource Deployment Script to be created. PrimaryScriptUri pulumi.StringPtrInput // Specifies the name of the Resource Group where the Resource Deployment Script should exist. Changing this forces a new Resource Deployment Script to be created. ResourceGroupName pulumi.StringPtrInput // Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. The time duration should be between `1` hour and `26` hours (inclusive) and should be specified in ISO 8601 format. Changing this forces a new Resource Deployment Script to be created. RetentionInterval pulumi.StringPtrInput // Script body. Changing this forces a new Resource Deployment Script to be created. ScriptContent pulumi.StringPtrInput // A `storageAccount` block as defined below. Changing this forces a new Resource Deployment Script to be created. StorageAccount ResourceDeploymentScriptPowerShellStorageAccountPtrInput // Supporting files for the external script. Changing this forces a new Resource Deployment Script to be created. SupportingScriptUris pulumi.StringArrayInput // A mapping of tags which should be assigned to the Resource Deployment Script. Tags pulumi.StringMapInput // Maximum allowed script execution time specified in ISO 8601 format. Needs to be greater than 0 and smaller than 1 day. Defaults to `P1D`. Changing this forces a new Resource Deployment Script to be created. Timeout pulumi.StringPtrInput // Specifies the version of the Azure PowerShell that should be used in the format `X.Y` (e.g. `9.7`). A canonical list of versions [is available from the Microsoft Container Registry API](https://mcr.microsoft.com/v2/azure-powershell/tags/list). Changing this forces a new Resource Deployment Script to be created. Version pulumi.StringPtrInput }
func (ResourceDeploymentScriptPowerShellState) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellState) ElementType() reflect.Type
type ResourceDeploymentScriptPowerShellStorageAccount ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellStorageAccountArgs ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellStorageAccountArgs struct { // Specifies the storage account access key. Key pulumi.StringInput `pulumi:"key"` // Specifies the storage account name. Name pulumi.StringInput `pulumi:"name"` }
func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountOutput() ResourceDeploymentScriptPowerShellStorageAccountOutput
func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountOutput
func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
func (ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext ¶ added in v5.29.0
func (i ResourceDeploymentScriptPowerShellStorageAccountArgs) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
type ResourceDeploymentScriptPowerShellStorageAccountInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellStorageAccountInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellStorageAccountOutput() ResourceDeploymentScriptPowerShellStorageAccountOutput ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellStorageAccountOutput }
ResourceDeploymentScriptPowerShellStorageAccountInput is an input type that accepts ResourceDeploymentScriptPowerShellStorageAccountArgs and ResourceDeploymentScriptPowerShellStorageAccountOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellStorageAccountInput` via:
ResourceDeploymentScriptPowerShellStorageAccountArgs{...}
type ResourceDeploymentScriptPowerShellStorageAccountOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellStorageAccountOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) Key ¶ added in v5.29.0
Specifies the storage account access key.
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) Name ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) Name() pulumi.StringOutput
Specifies the storage account name.
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountOutput() ResourceDeploymentScriptPowerShellStorageAccountOutput
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountOutput
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
func (ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
type ResourceDeploymentScriptPowerShellStorageAccountPtrInput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellStorageAccountPtrInput interface { pulumi.Input ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput }
ResourceDeploymentScriptPowerShellStorageAccountPtrInput is an input type that accepts ResourceDeploymentScriptPowerShellStorageAccountArgs, ResourceDeploymentScriptPowerShellStorageAccountPtr and ResourceDeploymentScriptPowerShellStorageAccountPtrOutput values. You can construct a concrete instance of `ResourceDeploymentScriptPowerShellStorageAccountPtrInput` via:
ResourceDeploymentScriptPowerShellStorageAccountArgs{...} or: nil
func ResourceDeploymentScriptPowerShellStorageAccountPtr ¶ added in v5.29.0
func ResourceDeploymentScriptPowerShellStorageAccountPtr(v *ResourceDeploymentScriptPowerShellStorageAccountArgs) ResourceDeploymentScriptPowerShellStorageAccountPtrInput
type ResourceDeploymentScriptPowerShellStorageAccountPtrOutput ¶ added in v5.29.0
type ResourceDeploymentScriptPowerShellStorageAccountPtrOutput struct{ *pulumi.OutputState }
func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ElementType ¶ added in v5.29.0
func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ElementType() reflect.Type
func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) Key ¶ added in v5.29.0
Specifies the storage account access key.
func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) Name ¶ added in v5.29.0
Specifies the storage account name.
func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutput() ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
func (ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext ¶ added in v5.29.0
func (o ResourceDeploymentScriptPowerShellStorageAccountPtrOutput) ToResourceDeploymentScriptPowerShellStorageAccountPtrOutputWithContext(ctx context.Context) ResourceDeploymentScriptPowerShellStorageAccountPtrOutput
type ResourceGroup ¶
type ResourceGroup struct { pulumi.CustomResourceState // The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. Location pulumi.StringOutput `pulumi:"location"` // The ID of the resource or application that manages this Resource Group. ManagedBy pulumi.StringPtrOutput `pulumi:"managedBy"` // The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created. Name pulumi.StringOutput `pulumi:"name"` // A mapping of tags which should be assigned to the Resource Group. Tags pulumi.StringMapOutput `pulumi:"tags"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example"), Location: pulumi.String("West Europe"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Groups can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroup:ResourceGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1 ```
func GetResourceGroup ¶
func GetResourceGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupState, opts ...pulumi.ResourceOption) (*ResourceGroup, error)
GetResourceGroup gets an existing ResourceGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroup ¶
func NewResourceGroup(ctx *pulumi.Context, name string, args *ResourceGroupArgs, opts ...pulumi.ResourceOption) (*ResourceGroup, error)
NewResourceGroup registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroup) ElementType ¶
func (*ResourceGroup) ElementType() reflect.Type
func (*ResourceGroup) ToResourceGroupOutput ¶
func (i *ResourceGroup) ToResourceGroupOutput() ResourceGroupOutput
func (*ResourceGroup) ToResourceGroupOutputWithContext ¶
func (i *ResourceGroup) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
type ResourceGroupArgs ¶
type ResourceGroupArgs struct { // The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. Location pulumi.StringPtrInput // The ID of the resource or application that manages this Resource Group. ManagedBy pulumi.StringPtrInput // The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created. Name pulumi.StringPtrInput // A mapping of tags which should be assigned to the Resource Group. Tags pulumi.StringMapInput }
The set of arguments for constructing a ResourceGroup resource.
func (ResourceGroupArgs) ElementType ¶
func (ResourceGroupArgs) ElementType() reflect.Type
type ResourceGroupArray ¶
type ResourceGroupArray []ResourceGroupInput
func (ResourceGroupArray) ElementType ¶
func (ResourceGroupArray) ElementType() reflect.Type
func (ResourceGroupArray) ToResourceGroupArrayOutput ¶
func (i ResourceGroupArray) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
func (ResourceGroupArray) ToResourceGroupArrayOutputWithContext ¶
func (i ResourceGroupArray) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
type ResourceGroupArrayInput ¶
type ResourceGroupArrayInput interface { pulumi.Input ToResourceGroupArrayOutput() ResourceGroupArrayOutput ToResourceGroupArrayOutputWithContext(context.Context) ResourceGroupArrayOutput }
ResourceGroupArrayInput is an input type that accepts ResourceGroupArray and ResourceGroupArrayOutput values. You can construct a concrete instance of `ResourceGroupArrayInput` via:
ResourceGroupArray{ ResourceGroupArgs{...} }
type ResourceGroupArrayOutput ¶
type ResourceGroupArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupArrayOutput) ElementType ¶
func (ResourceGroupArrayOutput) ElementType() reflect.Type
func (ResourceGroupArrayOutput) Index ¶
func (o ResourceGroupArrayOutput) Index(i pulumi.IntInput) ResourceGroupOutput
func (ResourceGroupArrayOutput) ToResourceGroupArrayOutput ¶
func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
func (ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext ¶
func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
type ResourceGroupCostManagementExport ¶
type ResourceGroupCostManagementExport struct { pulumi.CustomResourceState // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // A `exportDataOptions` block as defined below. ExportDataOptions ResourceGroupCostManagementExportExportDataOptionsOutput `pulumi:"exportDataOptions"` // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation ResourceGroupCostManagementExportExportDataStorageLocationOutput `pulumi:"exportDataStorageLocation"` // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringOutput `pulumi:"recurrencePeriodEndDate"` // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringOutput `pulumi:"recurrencePeriodStartDate"` // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringOutput `pulumi:"recurrenceType"` // The id of the resource group on which to create an export. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` }
Manages a Cost Management Export for a Resource Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("examplecontainer"), StorageAccountName: exampleAccount.Name, }) if err != nil { return err } _, err = core.NewResourceGroupCostManagementExport(ctx, "example", &core.ResourceGroupCostManagementExportArgs{ Name: pulumi.String("example"), ResourceGroupId: example.ID(), RecurrenceType: pulumi.String("Monthly"), RecurrencePeriodStartDate: pulumi.String("2020-08-18T00:00:00Z"), RecurrencePeriodEndDate: pulumi.String("2020-09-18T00:00:00Z"), ExportDataStorageLocation: &core.ResourceGroupCostManagementExportExportDataStorageLocationArgs{ ContainerId: exampleContainer.ResourceManagerId, RootFolderPath: pulumi.String("/root/updated"), }, ExportDataOptions: &core.ResourceGroupCostManagementExportExportDataOptionsArgs{ Type: pulumi.String("Usage"), TimeFrame: pulumi.String("WeekToDate"), }, }) if err != nil { return err } return nil }) }
```
## Import
Cost Management Export for a Resource Group can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroupCostManagementExport:ResourceGroupCostManagementExport example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.CostManagement/exports/export1 ```
func GetResourceGroupCostManagementExport ¶
func GetResourceGroupCostManagementExport(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupCostManagementExportState, opts ...pulumi.ResourceOption) (*ResourceGroupCostManagementExport, error)
GetResourceGroupCostManagementExport gets an existing ResourceGroupCostManagementExport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroupCostManagementExport ¶
func NewResourceGroupCostManagementExport(ctx *pulumi.Context, name string, args *ResourceGroupCostManagementExportArgs, opts ...pulumi.ResourceOption) (*ResourceGroupCostManagementExport, error)
NewResourceGroupCostManagementExport registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroupCostManagementExport) ElementType ¶
func (*ResourceGroupCostManagementExport) ElementType() reflect.Type
func (*ResourceGroupCostManagementExport) ToResourceGroupCostManagementExportOutput ¶
func (i *ResourceGroupCostManagementExport) ToResourceGroupCostManagementExportOutput() ResourceGroupCostManagementExportOutput
func (*ResourceGroupCostManagementExport) ToResourceGroupCostManagementExportOutputWithContext ¶
func (i *ResourceGroupCostManagementExport) ToResourceGroupCostManagementExportOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportOutput
type ResourceGroupCostManagementExportArgs ¶
type ResourceGroupCostManagementExportArgs struct { // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrInput // A `exportDataOptions` block as defined below. ExportDataOptions ResourceGroupCostManagementExportExportDataOptionsInput // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation ResourceGroupCostManagementExportExportDataStorageLocationInput // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringInput // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringInput // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringInput // The id of the resource group on which to create an export. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringInput }
The set of arguments for constructing a ResourceGroupCostManagementExport resource.
func (ResourceGroupCostManagementExportArgs) ElementType ¶
func (ResourceGroupCostManagementExportArgs) ElementType() reflect.Type
type ResourceGroupCostManagementExportArray ¶
type ResourceGroupCostManagementExportArray []ResourceGroupCostManagementExportInput
func (ResourceGroupCostManagementExportArray) ElementType ¶
func (ResourceGroupCostManagementExportArray) ElementType() reflect.Type
func (ResourceGroupCostManagementExportArray) ToResourceGroupCostManagementExportArrayOutput ¶
func (i ResourceGroupCostManagementExportArray) ToResourceGroupCostManagementExportArrayOutput() ResourceGroupCostManagementExportArrayOutput
func (ResourceGroupCostManagementExportArray) ToResourceGroupCostManagementExportArrayOutputWithContext ¶
func (i ResourceGroupCostManagementExportArray) ToResourceGroupCostManagementExportArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportArrayOutput
type ResourceGroupCostManagementExportArrayInput ¶
type ResourceGroupCostManagementExportArrayInput interface { pulumi.Input ToResourceGroupCostManagementExportArrayOutput() ResourceGroupCostManagementExportArrayOutput ToResourceGroupCostManagementExportArrayOutputWithContext(context.Context) ResourceGroupCostManagementExportArrayOutput }
ResourceGroupCostManagementExportArrayInput is an input type that accepts ResourceGroupCostManagementExportArray and ResourceGroupCostManagementExportArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementExportArrayInput` via:
ResourceGroupCostManagementExportArray{ ResourceGroupCostManagementExportArgs{...} }
type ResourceGroupCostManagementExportArrayOutput ¶
type ResourceGroupCostManagementExportArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportArrayOutput) ElementType ¶
func (ResourceGroupCostManagementExportArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportArrayOutput) ToResourceGroupCostManagementExportArrayOutput ¶
func (o ResourceGroupCostManagementExportArrayOutput) ToResourceGroupCostManagementExportArrayOutput() ResourceGroupCostManagementExportArrayOutput
func (ResourceGroupCostManagementExportArrayOutput) ToResourceGroupCostManagementExportArrayOutputWithContext ¶
func (o ResourceGroupCostManagementExportArrayOutput) ToResourceGroupCostManagementExportArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportArrayOutput
type ResourceGroupCostManagementExportExportDataOptions ¶
type ResourceGroupCostManagementExportExportDataOptions struct { // The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`. TimeFrame string `pulumi:"timeFrame"` // The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`. Type string `pulumi:"type"` }
type ResourceGroupCostManagementExportExportDataOptionsArgs ¶
type ResourceGroupCostManagementExportExportDataOptionsArgs struct { // The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`. TimeFrame pulumi.StringInput `pulumi:"timeFrame"` // The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceGroupCostManagementExportExportDataOptionsArgs) ElementType ¶
func (ResourceGroupCostManagementExportExportDataOptionsArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsOutput ¶
func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsOutput() ResourceGroupCostManagementExportExportDataOptionsOutput
func (ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext ¶
func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsOutput
func (ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput ¶
func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput
func (ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext ¶
func (i ResourceGroupCostManagementExportExportDataOptionsArgs) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput
type ResourceGroupCostManagementExportExportDataOptionsInput ¶
type ResourceGroupCostManagementExportExportDataOptionsInput interface { pulumi.Input ToResourceGroupCostManagementExportExportDataOptionsOutput() ResourceGroupCostManagementExportExportDataOptionsOutput ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext(context.Context) ResourceGroupCostManagementExportExportDataOptionsOutput }
ResourceGroupCostManagementExportExportDataOptionsInput is an input type that accepts ResourceGroupCostManagementExportExportDataOptionsArgs and ResourceGroupCostManagementExportExportDataOptionsOutput values. You can construct a concrete instance of `ResourceGroupCostManagementExportExportDataOptionsInput` via:
ResourceGroupCostManagementExportExportDataOptionsArgs{...}
type ResourceGroupCostManagementExportExportDataOptionsOutput ¶
type ResourceGroupCostManagementExportExportDataOptionsOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportExportDataOptionsOutput) ElementType ¶
func (ResourceGroupCostManagementExportExportDataOptionsOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportExportDataOptionsOutput) TimeFrame ¶
func (o ResourceGroupCostManagementExportExportDataOptionsOutput) TimeFrame() pulumi.StringOutput
The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`.
func (ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsOutput ¶
func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsOutput() ResourceGroupCostManagementExportExportDataOptionsOutput
func (ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext ¶
func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsOutput
func (ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput ¶
func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput
func (ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext ¶
func (o ResourceGroupCostManagementExportExportDataOptionsOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput
type ResourceGroupCostManagementExportExportDataOptionsPtrInput ¶
type ResourceGroupCostManagementExportExportDataOptionsPtrInput interface { pulumi.Input ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput }
ResourceGroupCostManagementExportExportDataOptionsPtrInput is an input type that accepts ResourceGroupCostManagementExportExportDataOptionsArgs, ResourceGroupCostManagementExportExportDataOptionsPtr and ResourceGroupCostManagementExportExportDataOptionsPtrOutput values. You can construct a concrete instance of `ResourceGroupCostManagementExportExportDataOptionsPtrInput` via:
ResourceGroupCostManagementExportExportDataOptionsArgs{...} or: nil
func ResourceGroupCostManagementExportExportDataOptionsPtr ¶
func ResourceGroupCostManagementExportExportDataOptionsPtr(v *ResourceGroupCostManagementExportExportDataOptionsArgs) ResourceGroupCostManagementExportExportDataOptionsPtrInput
type ResourceGroupCostManagementExportExportDataOptionsPtrOutput ¶
type ResourceGroupCostManagementExportExportDataOptionsPtrOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ElementType ¶
func (ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportExportDataOptionsPtrOutput) TimeFrame ¶
func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) TimeFrame() pulumi.StringPtrOutput
The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`.
func (ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput ¶
func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutput() ResourceGroupCostManagementExportExportDataOptionsPtrOutput
func (ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext ¶
func (o ResourceGroupCostManagementExportExportDataOptionsPtrOutput) ToResourceGroupCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataOptionsPtrOutput
type ResourceGroupCostManagementExportExportDataStorageLocation ¶
type ResourceGroupCostManagementExportExportDataStorageLocation struct { // The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created. ContainerId string `pulumi:"containerId"` // The path of the directory where exports will be uploaded. Changing this forces a new resource to be created. // // > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource. RootFolderPath string `pulumi:"rootFolderPath"` }
type ResourceGroupCostManagementExportExportDataStorageLocationArgs ¶
type ResourceGroupCostManagementExportExportDataStorageLocationArgs struct { // The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created. ContainerId pulumi.StringInput `pulumi:"containerId"` // The path of the directory where exports will be uploaded. Changing this forces a new resource to be created. // // > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource. RootFolderPath pulumi.StringInput `pulumi:"rootFolderPath"` }
func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ElementType ¶
func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationOutput ¶
func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationOutput() ResourceGroupCostManagementExportExportDataStorageLocationOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext ¶
func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput ¶
func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶
func (i ResourceGroupCostManagementExportExportDataStorageLocationArgs) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
type ResourceGroupCostManagementExportExportDataStorageLocationInput ¶
type ResourceGroupCostManagementExportExportDataStorageLocationInput interface { pulumi.Input ToResourceGroupCostManagementExportExportDataStorageLocationOutput() ResourceGroupCostManagementExportExportDataStorageLocationOutput ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext(context.Context) ResourceGroupCostManagementExportExportDataStorageLocationOutput }
ResourceGroupCostManagementExportExportDataStorageLocationInput is an input type that accepts ResourceGroupCostManagementExportExportDataStorageLocationArgs and ResourceGroupCostManagementExportExportDataStorageLocationOutput values. You can construct a concrete instance of `ResourceGroupCostManagementExportExportDataStorageLocationInput` via:
ResourceGroupCostManagementExportExportDataStorageLocationArgs{...}
type ResourceGroupCostManagementExportExportDataStorageLocationOutput ¶
type ResourceGroupCostManagementExportExportDataStorageLocationOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ContainerId ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ContainerId() pulumi.StringOutput
The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ElementType ¶
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) RootFolderPath ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) RootFolderPath() pulumi.StringOutput
The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
> **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource.
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationOutput ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationOutput() ResourceGroupCostManagementExportExportDataStorageLocationOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
type ResourceGroupCostManagementExportExportDataStorageLocationPtrInput ¶
type ResourceGroupCostManagementExportExportDataStorageLocationPtrInput interface { pulumi.Input ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput }
ResourceGroupCostManagementExportExportDataStorageLocationPtrInput is an input type that accepts ResourceGroupCostManagementExportExportDataStorageLocationArgs, ResourceGroupCostManagementExportExportDataStorageLocationPtr and ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput values. You can construct a concrete instance of `ResourceGroupCostManagementExportExportDataStorageLocationPtrInput` via:
ResourceGroupCostManagementExportExportDataStorageLocationArgs{...} or: nil
func ResourceGroupCostManagementExportExportDataStorageLocationPtr ¶
func ResourceGroupCostManagementExportExportDataStorageLocationPtr(v *ResourceGroupCostManagementExportExportDataStorageLocationArgs) ResourceGroupCostManagementExportExportDataStorageLocationPtrInput
type ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput ¶
type ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ContainerId ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ContainerId() pulumi.StringPtrOutput
The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ElementType ¶
func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath() pulumi.StringPtrOutput
The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
> **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource.
func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutput() ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
func (ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶
func (o ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput) ToResourceGroupCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportExportDataStorageLocationPtrOutput
type ResourceGroupCostManagementExportInput ¶
type ResourceGroupCostManagementExportInput interface { pulumi.Input ToResourceGroupCostManagementExportOutput() ResourceGroupCostManagementExportOutput ToResourceGroupCostManagementExportOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportOutput }
type ResourceGroupCostManagementExportMap ¶
type ResourceGroupCostManagementExportMap map[string]ResourceGroupCostManagementExportInput
func (ResourceGroupCostManagementExportMap) ElementType ¶
func (ResourceGroupCostManagementExportMap) ElementType() reflect.Type
func (ResourceGroupCostManagementExportMap) ToResourceGroupCostManagementExportMapOutput ¶
func (i ResourceGroupCostManagementExportMap) ToResourceGroupCostManagementExportMapOutput() ResourceGroupCostManagementExportMapOutput
func (ResourceGroupCostManagementExportMap) ToResourceGroupCostManagementExportMapOutputWithContext ¶
func (i ResourceGroupCostManagementExportMap) ToResourceGroupCostManagementExportMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportMapOutput
type ResourceGroupCostManagementExportMapInput ¶
type ResourceGroupCostManagementExportMapInput interface { pulumi.Input ToResourceGroupCostManagementExportMapOutput() ResourceGroupCostManagementExportMapOutput ToResourceGroupCostManagementExportMapOutputWithContext(context.Context) ResourceGroupCostManagementExportMapOutput }
ResourceGroupCostManagementExportMapInput is an input type that accepts ResourceGroupCostManagementExportMap and ResourceGroupCostManagementExportMapOutput values. You can construct a concrete instance of `ResourceGroupCostManagementExportMapInput` via:
ResourceGroupCostManagementExportMap{ "key": ResourceGroupCostManagementExportArgs{...} }
type ResourceGroupCostManagementExportMapOutput ¶
type ResourceGroupCostManagementExportMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportMapOutput) ElementType ¶
func (ResourceGroupCostManagementExportMapOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportMapOutput) ToResourceGroupCostManagementExportMapOutput ¶
func (o ResourceGroupCostManagementExportMapOutput) ToResourceGroupCostManagementExportMapOutput() ResourceGroupCostManagementExportMapOutput
func (ResourceGroupCostManagementExportMapOutput) ToResourceGroupCostManagementExportMapOutputWithContext ¶
func (o ResourceGroupCostManagementExportMapOutput) ToResourceGroupCostManagementExportMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportMapOutput
type ResourceGroupCostManagementExportOutput ¶
type ResourceGroupCostManagementExportOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementExportOutput) Active ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) Active() pulumi.BoolPtrOutput
Is the cost management export active? Default is `true`.
func (ResourceGroupCostManagementExportOutput) ElementType ¶
func (ResourceGroupCostManagementExportOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementExportOutput) ExportDataOptions ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) ExportDataOptions() ResourceGroupCostManagementExportExportDataOptionsOutput
A `exportDataOptions` block as defined below.
func (ResourceGroupCostManagementExportOutput) ExportDataStorageLocation ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) ExportDataStorageLocation() ResourceGroupCostManagementExportExportDataStorageLocationOutput
A `exportDataStorageLocation` block as defined below.
func (ResourceGroupCostManagementExportOutput) Name ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) Name() pulumi.StringOutput
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
func (ResourceGroupCostManagementExportOutput) RecurrencePeriodEndDate ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) RecurrencePeriodEndDate() pulumi.StringOutput
The date the export will stop capturing information.
func (ResourceGroupCostManagementExportOutput) RecurrencePeriodStartDate ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) RecurrencePeriodStartDate() pulumi.StringOutput
The date the export will start capturing information.
func (ResourceGroupCostManagementExportOutput) RecurrenceType ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) RecurrenceType() pulumi.StringOutput
How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
func (ResourceGroupCostManagementExportOutput) ResourceGroupId ¶ added in v5.5.0
func (o ResourceGroupCostManagementExportOutput) ResourceGroupId() pulumi.StringOutput
The id of the resource group on which to create an export. Changing this forces a new resource to be created.
func (ResourceGroupCostManagementExportOutput) ToResourceGroupCostManagementExportOutput ¶
func (o ResourceGroupCostManagementExportOutput) ToResourceGroupCostManagementExportOutput() ResourceGroupCostManagementExportOutput
func (ResourceGroupCostManagementExportOutput) ToResourceGroupCostManagementExportOutputWithContext ¶
func (o ResourceGroupCostManagementExportOutput) ToResourceGroupCostManagementExportOutputWithContext(ctx context.Context) ResourceGroupCostManagementExportOutput
type ResourceGroupCostManagementExportState ¶
type ResourceGroupCostManagementExportState struct { // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrInput // A `exportDataOptions` block as defined below. ExportDataOptions ResourceGroupCostManagementExportExportDataOptionsPtrInput // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation ResourceGroupCostManagementExportExportDataStorageLocationPtrInput // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringPtrInput // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringPtrInput // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringPtrInput // The id of the resource group on which to create an export. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringPtrInput }
func (ResourceGroupCostManagementExportState) ElementType ¶
func (ResourceGroupCostManagementExportState) ElementType() reflect.Type
type ResourceGroupCostManagementView ¶ added in v5.40.0
type ResourceGroupCostManagementView struct { pulumi.CustomResourceState // Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Resource Group to be created. Accumulated pulumi.BoolOutput `pulumi:"accumulated"` // Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`. ChartType pulumi.StringOutput `pulumi:"chartType"` // A `dataset` block as defined below. Dataset ResourceGroupCostManagementViewDatasetOutput `pulumi:"dataset"` // User visible input name of the Cost Management View. DisplayName pulumi.StringOutput `pulumi:"displayName"` // One or more `kpi` blocks as defined below, to show in Cost Analysis UI. Kpis ResourceGroupCostManagementViewKpiArrayOutput `pulumi:"kpis"` // The name which should be used for this Cost Management View for a Resource Group. Changing this forces a new Cost Management View for a Resource Group to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots. Pivots ResourceGroupCostManagementViewPivotArrayOutput `pulumi:"pivots"` // The type of the report. The only possible value is `Usage`. ReportType pulumi.StringOutput `pulumi:"reportType"` // The ID of the Resource Group this View is scoped to. Changing this forces a new Cost Management View for a Resource Group to be created. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`. Timeframe pulumi.StringOutput `pulumi:"timeframe"` }
Manages an Azure Cost Management View for a Resource Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = core.NewResourceGroupCostManagementView(ctx, "example", &core.ResourceGroupCostManagementViewArgs{ Name: pulumi.String("example"), DisplayName: pulumi.String("Cost View per Month"), ChartType: pulumi.String("StackedColumn"), Accumulated: pulumi.Bool(false), ResourceGroupId: example.ID(), ReportType: pulumi.String("Usage"), Timeframe: pulumi.String("MonthToDate"), Dataset: &core.ResourceGroupCostManagementViewDatasetArgs{ Granularity: pulumi.String("Monthly"), Aggregations: core.ResourceGroupCostManagementViewDatasetAggregationArray{ &core.ResourceGroupCostManagementViewDatasetAggregationArgs{ Name: pulumi.String("totalCost"), ColumnName: pulumi.String("Cost"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cost Management View for a Resource Groups can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroupCostManagementView:ResourceGroupCostManagementView example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.CostManagement/views/costmanagementview ```
func GetResourceGroupCostManagementView ¶ added in v5.40.0
func GetResourceGroupCostManagementView(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupCostManagementViewState, opts ...pulumi.ResourceOption) (*ResourceGroupCostManagementView, error)
GetResourceGroupCostManagementView gets an existing ResourceGroupCostManagementView resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroupCostManagementView ¶ added in v5.40.0
func NewResourceGroupCostManagementView(ctx *pulumi.Context, name string, args *ResourceGroupCostManagementViewArgs, opts ...pulumi.ResourceOption) (*ResourceGroupCostManagementView, error)
NewResourceGroupCostManagementView registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroupCostManagementView) ElementType ¶ added in v5.40.0
func (*ResourceGroupCostManagementView) ElementType() reflect.Type
func (*ResourceGroupCostManagementView) ToResourceGroupCostManagementViewOutput ¶ added in v5.40.0
func (i *ResourceGroupCostManagementView) ToResourceGroupCostManagementViewOutput() ResourceGroupCostManagementViewOutput
func (*ResourceGroupCostManagementView) ToResourceGroupCostManagementViewOutputWithContext ¶ added in v5.40.0
func (i *ResourceGroupCostManagementView) ToResourceGroupCostManagementViewOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewOutput
type ResourceGroupCostManagementViewArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewArgs struct { // Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Resource Group to be created. Accumulated pulumi.BoolInput // Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`. ChartType pulumi.StringInput // A `dataset` block as defined below. Dataset ResourceGroupCostManagementViewDatasetInput // User visible input name of the Cost Management View. DisplayName pulumi.StringInput // One or more `kpi` blocks as defined below, to show in Cost Analysis UI. Kpis ResourceGroupCostManagementViewKpiArrayInput // The name which should be used for this Cost Management View for a Resource Group. Changing this forces a new Cost Management View for a Resource Group to be created. Name pulumi.StringPtrInput // One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots. Pivots ResourceGroupCostManagementViewPivotArrayInput // The type of the report. The only possible value is `Usage`. ReportType pulumi.StringInput // The ID of the Resource Group this View is scoped to. Changing this forces a new Cost Management View for a Resource Group to be created. ResourceGroupId pulumi.StringInput // The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`. Timeframe pulumi.StringInput }
The set of arguments for constructing a ResourceGroupCostManagementView resource.
func (ResourceGroupCostManagementViewArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewArgs) ElementType() reflect.Type
type ResourceGroupCostManagementViewArray ¶ added in v5.40.0
type ResourceGroupCostManagementViewArray []ResourceGroupCostManagementViewInput
func (ResourceGroupCostManagementViewArray) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewArray) ElementType() reflect.Type
func (ResourceGroupCostManagementViewArray) ToResourceGroupCostManagementViewArrayOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewArray) ToResourceGroupCostManagementViewArrayOutput() ResourceGroupCostManagementViewArrayOutput
func (ResourceGroupCostManagementViewArray) ToResourceGroupCostManagementViewArrayOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewArray) ToResourceGroupCostManagementViewArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewArrayOutput
type ResourceGroupCostManagementViewArrayInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewArrayInput interface { pulumi.Input ToResourceGroupCostManagementViewArrayOutput() ResourceGroupCostManagementViewArrayOutput ToResourceGroupCostManagementViewArrayOutputWithContext(context.Context) ResourceGroupCostManagementViewArrayOutput }
ResourceGroupCostManagementViewArrayInput is an input type that accepts ResourceGroupCostManagementViewArray and ResourceGroupCostManagementViewArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewArrayInput` via:
ResourceGroupCostManagementViewArray{ ResourceGroupCostManagementViewArgs{...} }
type ResourceGroupCostManagementViewArrayOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewArrayOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewArrayOutput) ToResourceGroupCostManagementViewArrayOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewArrayOutput) ToResourceGroupCostManagementViewArrayOutput() ResourceGroupCostManagementViewArrayOutput
func (ResourceGroupCostManagementViewArrayOutput) ToResourceGroupCostManagementViewArrayOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewArrayOutput) ToResourceGroupCostManagementViewArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewArrayOutput
type ResourceGroupCostManagementViewDataset ¶ added in v5.40.0
type ResourceGroupCostManagementViewDataset struct { // One or more `aggregation` blocks as defined above. Aggregations []ResourceGroupCostManagementViewDatasetAggregation `pulumi:"aggregations"` // The granularity of rows in the report. Possible values are `Daily` and `Monthly`. Granularity string `pulumi:"granularity"` // One or more `grouping` blocks as defined below. Groupings []ResourceGroupCostManagementViewDatasetGrouping `pulumi:"groupings"` // One or more `sorting` blocks as defined below, containing the order by expression to be used in the report Sortings []ResourceGroupCostManagementViewDatasetSorting `pulumi:"sortings"` }
type ResourceGroupCostManagementViewDatasetAggregation ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregation struct { // The name of the column to aggregate. Changing this forces a new Cost Management View for a Resource Group to be created. ColumnName string `pulumi:"columnName"` // The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Resource Group to be created. Name string `pulumi:"name"` }
type ResourceGroupCostManagementViewDatasetAggregationArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregationArgs struct { // The name of the column to aggregate. Changing this forces a new Cost Management View for a Resource Group to be created. ColumnName pulumi.StringInput `pulumi:"columnName"` // The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Resource Group to be created. Name pulumi.StringInput `pulumi:"name"` }
func (ResourceGroupCostManagementViewDatasetAggregationArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetAggregationArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetAggregationArgs) ToResourceGroupCostManagementViewDatasetAggregationOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetAggregationArgs) ToResourceGroupCostManagementViewDatasetAggregationOutput() ResourceGroupCostManagementViewDatasetAggregationOutput
func (ResourceGroupCostManagementViewDatasetAggregationArgs) ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetAggregationArgs) ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationOutput
type ResourceGroupCostManagementViewDatasetAggregationArray ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregationArray []ResourceGroupCostManagementViewDatasetAggregationInput
func (ResourceGroupCostManagementViewDatasetAggregationArray) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetAggregationArray) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetAggregationArray) ToResourceGroupCostManagementViewDatasetAggregationArrayOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetAggregationArray) ToResourceGroupCostManagementViewDatasetAggregationArrayOutput() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
func (ResourceGroupCostManagementViewDatasetAggregationArray) ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetAggregationArray) ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationArrayOutput
type ResourceGroupCostManagementViewDatasetAggregationArrayInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregationArrayInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetAggregationArrayOutput() ResourceGroupCostManagementViewDatasetAggregationArrayOutput ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetAggregationArrayOutput }
ResourceGroupCostManagementViewDatasetAggregationArrayInput is an input type that accepts ResourceGroupCostManagementViewDatasetAggregationArray and ResourceGroupCostManagementViewDatasetAggregationArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetAggregationArrayInput` via:
ResourceGroupCostManagementViewDatasetAggregationArray{ ResourceGroupCostManagementViewDatasetAggregationArgs{...} }
type ResourceGroupCostManagementViewDatasetAggregationArrayOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregationArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ToResourceGroupCostManagementViewDatasetAggregationArrayOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ToResourceGroupCostManagementViewDatasetAggregationArrayOutput() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
func (ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetAggregationArrayOutput) ToResourceGroupCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationArrayOutput
type ResourceGroupCostManagementViewDatasetAggregationInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregationInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetAggregationOutput() ResourceGroupCostManagementViewDatasetAggregationOutput ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetAggregationOutput }
ResourceGroupCostManagementViewDatasetAggregationInput is an input type that accepts ResourceGroupCostManagementViewDatasetAggregationArgs and ResourceGroupCostManagementViewDatasetAggregationOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetAggregationInput` via:
ResourceGroupCostManagementViewDatasetAggregationArgs{...}
type ResourceGroupCostManagementViewDatasetAggregationOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetAggregationOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetAggregationOutput) ColumnName ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetAggregationOutput) ColumnName() pulumi.StringOutput
The name of the column to aggregate. Changing this forces a new Cost Management View for a Resource Group to be created.
func (ResourceGroupCostManagementViewDatasetAggregationOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetAggregationOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetAggregationOutput) Name ¶ added in v5.40.0
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Resource Group to be created.
func (ResourceGroupCostManagementViewDatasetAggregationOutput) ToResourceGroupCostManagementViewDatasetAggregationOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetAggregationOutput) ToResourceGroupCostManagementViewDatasetAggregationOutput() ResourceGroupCostManagementViewDatasetAggregationOutput
func (ResourceGroupCostManagementViewDatasetAggregationOutput) ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetAggregationOutput) ToResourceGroupCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetAggregationOutput
type ResourceGroupCostManagementViewDatasetArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetArgs struct { // One or more `aggregation` blocks as defined above. Aggregations ResourceGroupCostManagementViewDatasetAggregationArrayInput `pulumi:"aggregations"` // The granularity of rows in the report. Possible values are `Daily` and `Monthly`. Granularity pulumi.StringInput `pulumi:"granularity"` // One or more `grouping` blocks as defined below. Groupings ResourceGroupCostManagementViewDatasetGroupingArrayInput `pulumi:"groupings"` // One or more `sorting` blocks as defined below, containing the order by expression to be used in the report Sortings ResourceGroupCostManagementViewDatasetSortingArrayInput `pulumi:"sortings"` }
func (ResourceGroupCostManagementViewDatasetArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetOutput() ResourceGroupCostManagementViewDatasetOutput
func (ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetOutput
func (ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput
func (ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetArgs) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetPtrOutput
type ResourceGroupCostManagementViewDatasetGrouping ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingArgs struct { // The name of the column to group. Name pulumi.StringInput `pulumi:"name"` // The type of the column. Possible values are `Dimension` and `TagKey`. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceGroupCostManagementViewDatasetGroupingArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetGroupingArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetGroupingArgs) ToResourceGroupCostManagementViewDatasetGroupingOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetGroupingArgs) ToResourceGroupCostManagementViewDatasetGroupingOutput() ResourceGroupCostManagementViewDatasetGroupingOutput
func (ResourceGroupCostManagementViewDatasetGroupingArgs) ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetGroupingArgs) ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingOutput
type ResourceGroupCostManagementViewDatasetGroupingArray ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingArray []ResourceGroupCostManagementViewDatasetGroupingInput
func (ResourceGroupCostManagementViewDatasetGroupingArray) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetGroupingArray) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetGroupingArray) ToResourceGroupCostManagementViewDatasetGroupingArrayOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetGroupingArray) ToResourceGroupCostManagementViewDatasetGroupingArrayOutput() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
func (ResourceGroupCostManagementViewDatasetGroupingArray) ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetGroupingArray) ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingArrayOutput
type ResourceGroupCostManagementViewDatasetGroupingArrayInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingArrayInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetGroupingArrayOutput() ResourceGroupCostManagementViewDatasetGroupingArrayOutput ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetGroupingArrayOutput }
ResourceGroupCostManagementViewDatasetGroupingArrayInput is an input type that accepts ResourceGroupCostManagementViewDatasetGroupingArray and ResourceGroupCostManagementViewDatasetGroupingArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetGroupingArrayInput` via:
ResourceGroupCostManagementViewDatasetGroupingArray{ ResourceGroupCostManagementViewDatasetGroupingArgs{...} }
type ResourceGroupCostManagementViewDatasetGroupingArrayOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ToResourceGroupCostManagementViewDatasetGroupingArrayOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ToResourceGroupCostManagementViewDatasetGroupingArrayOutput() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
func (ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetGroupingArrayOutput) ToResourceGroupCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingArrayOutput
type ResourceGroupCostManagementViewDatasetGroupingInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetGroupingOutput() ResourceGroupCostManagementViewDatasetGroupingOutput ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetGroupingOutput }
ResourceGroupCostManagementViewDatasetGroupingInput is an input type that accepts ResourceGroupCostManagementViewDatasetGroupingArgs and ResourceGroupCostManagementViewDatasetGroupingOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetGroupingInput` via:
ResourceGroupCostManagementViewDatasetGroupingArgs{...}
type ResourceGroupCostManagementViewDatasetGroupingOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetGroupingOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetGroupingOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetGroupingOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetGroupingOutput) Name ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetGroupingOutput) Name() pulumi.StringOutput
The name of the column to group.
func (ResourceGroupCostManagementViewDatasetGroupingOutput) ToResourceGroupCostManagementViewDatasetGroupingOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetGroupingOutput) ToResourceGroupCostManagementViewDatasetGroupingOutput() ResourceGroupCostManagementViewDatasetGroupingOutput
func (ResourceGroupCostManagementViewDatasetGroupingOutput) ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetGroupingOutput) ToResourceGroupCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetGroupingOutput
func (ResourceGroupCostManagementViewDatasetGroupingOutput) Type ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetGroupingOutput) Type() pulumi.StringOutput
The type of the column. Possible values are `Dimension` and `TagKey`.
type ResourceGroupCostManagementViewDatasetInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetOutput() ResourceGroupCostManagementViewDatasetOutput ToResourceGroupCostManagementViewDatasetOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetOutput }
ResourceGroupCostManagementViewDatasetInput is an input type that accepts ResourceGroupCostManagementViewDatasetArgs and ResourceGroupCostManagementViewDatasetOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetInput` via:
ResourceGroupCostManagementViewDatasetArgs{...}
type ResourceGroupCostManagementViewDatasetOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetOutput) Aggregations ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) Aggregations() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
One or more `aggregation` blocks as defined above.
func (ResourceGroupCostManagementViewDatasetOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetOutput) Granularity ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) Granularity() pulumi.StringOutput
The granularity of rows in the report. Possible values are `Daily` and `Monthly`.
func (ResourceGroupCostManagementViewDatasetOutput) Groupings ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) Groupings() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
One or more `grouping` blocks as defined below.
func (ResourceGroupCostManagementViewDatasetOutput) Sortings ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) Sortings() ResourceGroupCostManagementViewDatasetSortingArrayOutput
One or more `sorting` blocks as defined below, containing the order by expression to be used in the report
func (ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetOutput() ResourceGroupCostManagementViewDatasetOutput
func (ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetOutput
func (ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput
func (ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetOutput) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetPtrOutput
type ResourceGroupCostManagementViewDatasetPtrInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetPtrInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetPtrOutput }
ResourceGroupCostManagementViewDatasetPtrInput is an input type that accepts ResourceGroupCostManagementViewDatasetArgs, ResourceGroupCostManagementViewDatasetPtr and ResourceGroupCostManagementViewDatasetPtrOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetPtrInput` via:
ResourceGroupCostManagementViewDatasetArgs{...} or: nil
func ResourceGroupCostManagementViewDatasetPtr ¶ added in v5.40.0
func ResourceGroupCostManagementViewDatasetPtr(v *ResourceGroupCostManagementViewDatasetArgs) ResourceGroupCostManagementViewDatasetPtrInput
type ResourceGroupCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetPtrOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetPtrOutput) Aggregations ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetPtrOutput) Aggregations() ResourceGroupCostManagementViewDatasetAggregationArrayOutput
One or more `aggregation` blocks as defined above.
func (ResourceGroupCostManagementViewDatasetPtrOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetPtrOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetPtrOutput) Granularity ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetPtrOutput) Granularity() pulumi.StringPtrOutput
The granularity of rows in the report. Possible values are `Daily` and `Monthly`.
func (ResourceGroupCostManagementViewDatasetPtrOutput) Groupings ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetPtrOutput) Groupings() ResourceGroupCostManagementViewDatasetGroupingArrayOutput
One or more `grouping` blocks as defined below.
func (ResourceGroupCostManagementViewDatasetPtrOutput) Sortings ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetPtrOutput) Sortings() ResourceGroupCostManagementViewDatasetSortingArrayOutput
One or more `sorting` blocks as defined below, containing the order by expression to be used in the report
func (ResourceGroupCostManagementViewDatasetPtrOutput) ToResourceGroupCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetPtrOutput) ToResourceGroupCostManagementViewDatasetPtrOutput() ResourceGroupCostManagementViewDatasetPtrOutput
func (ResourceGroupCostManagementViewDatasetPtrOutput) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetPtrOutput) ToResourceGroupCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetPtrOutput
type ResourceGroupCostManagementViewDatasetSorting ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingArgs struct { // Direction of sort. Possible values are `Ascending` and `Descending`. Direction pulumi.StringInput `pulumi:"direction"` // The name of the column to sort. Name pulumi.StringInput `pulumi:"name"` }
func (ResourceGroupCostManagementViewDatasetSortingArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetSortingArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetSortingArgs) ToResourceGroupCostManagementViewDatasetSortingOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetSortingArgs) ToResourceGroupCostManagementViewDatasetSortingOutput() ResourceGroupCostManagementViewDatasetSortingOutput
func (ResourceGroupCostManagementViewDatasetSortingArgs) ToResourceGroupCostManagementViewDatasetSortingOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetSortingArgs) ToResourceGroupCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingOutput
type ResourceGroupCostManagementViewDatasetSortingArray ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingArray []ResourceGroupCostManagementViewDatasetSortingInput
func (ResourceGroupCostManagementViewDatasetSortingArray) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetSortingArray) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetSortingArray) ToResourceGroupCostManagementViewDatasetSortingArrayOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetSortingArray) ToResourceGroupCostManagementViewDatasetSortingArrayOutput() ResourceGroupCostManagementViewDatasetSortingArrayOutput
func (ResourceGroupCostManagementViewDatasetSortingArray) ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewDatasetSortingArray) ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingArrayOutput
type ResourceGroupCostManagementViewDatasetSortingArrayInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingArrayInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetSortingArrayOutput() ResourceGroupCostManagementViewDatasetSortingArrayOutput ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetSortingArrayOutput }
ResourceGroupCostManagementViewDatasetSortingArrayInput is an input type that accepts ResourceGroupCostManagementViewDatasetSortingArray and ResourceGroupCostManagementViewDatasetSortingArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetSortingArrayInput` via:
ResourceGroupCostManagementViewDatasetSortingArray{ ResourceGroupCostManagementViewDatasetSortingArgs{...} }
type ResourceGroupCostManagementViewDatasetSortingArrayOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetSortingArrayOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetSortingArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetSortingArrayOutput) ToResourceGroupCostManagementViewDatasetSortingArrayOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetSortingArrayOutput) ToResourceGroupCostManagementViewDatasetSortingArrayOutput() ResourceGroupCostManagementViewDatasetSortingArrayOutput
func (ResourceGroupCostManagementViewDatasetSortingArrayOutput) ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetSortingArrayOutput) ToResourceGroupCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingArrayOutput
type ResourceGroupCostManagementViewDatasetSortingInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingInput interface { pulumi.Input ToResourceGroupCostManagementViewDatasetSortingOutput() ResourceGroupCostManagementViewDatasetSortingOutput ToResourceGroupCostManagementViewDatasetSortingOutputWithContext(context.Context) ResourceGroupCostManagementViewDatasetSortingOutput }
ResourceGroupCostManagementViewDatasetSortingInput is an input type that accepts ResourceGroupCostManagementViewDatasetSortingArgs and ResourceGroupCostManagementViewDatasetSortingOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewDatasetSortingInput` via:
ResourceGroupCostManagementViewDatasetSortingArgs{...}
type ResourceGroupCostManagementViewDatasetSortingOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewDatasetSortingOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewDatasetSortingOutput) Direction ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetSortingOutput) Direction() pulumi.StringOutput
Direction of sort. Possible values are `Ascending` and `Descending`.
func (ResourceGroupCostManagementViewDatasetSortingOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewDatasetSortingOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewDatasetSortingOutput) Name ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetSortingOutput) Name() pulumi.StringOutput
The name of the column to sort.
func (ResourceGroupCostManagementViewDatasetSortingOutput) ToResourceGroupCostManagementViewDatasetSortingOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetSortingOutput) ToResourceGroupCostManagementViewDatasetSortingOutput() ResourceGroupCostManagementViewDatasetSortingOutput
func (ResourceGroupCostManagementViewDatasetSortingOutput) ToResourceGroupCostManagementViewDatasetSortingOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewDatasetSortingOutput) ToResourceGroupCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewDatasetSortingOutput
type ResourceGroupCostManagementViewInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewInput interface { pulumi.Input ToResourceGroupCostManagementViewOutput() ResourceGroupCostManagementViewOutput ToResourceGroupCostManagementViewOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewOutput }
type ResourceGroupCostManagementViewKpi ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpi struct { // KPI type. Possible values are `Budget` and `Forecast`. Type string `pulumi:"type"` }
type ResourceGroupCostManagementViewKpiArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpiArgs struct { // KPI type. Possible values are `Budget` and `Forecast`. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceGroupCostManagementViewKpiArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewKpiArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementViewKpiArgs) ToResourceGroupCostManagementViewKpiOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewKpiArgs) ToResourceGroupCostManagementViewKpiOutput() ResourceGroupCostManagementViewKpiOutput
func (ResourceGroupCostManagementViewKpiArgs) ToResourceGroupCostManagementViewKpiOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewKpiArgs) ToResourceGroupCostManagementViewKpiOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiOutput
type ResourceGroupCostManagementViewKpiArray ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpiArray []ResourceGroupCostManagementViewKpiInput
func (ResourceGroupCostManagementViewKpiArray) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewKpiArray) ElementType() reflect.Type
func (ResourceGroupCostManagementViewKpiArray) ToResourceGroupCostManagementViewKpiArrayOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewKpiArray) ToResourceGroupCostManagementViewKpiArrayOutput() ResourceGroupCostManagementViewKpiArrayOutput
func (ResourceGroupCostManagementViewKpiArray) ToResourceGroupCostManagementViewKpiArrayOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewKpiArray) ToResourceGroupCostManagementViewKpiArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiArrayOutput
type ResourceGroupCostManagementViewKpiArrayInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpiArrayInput interface { pulumi.Input ToResourceGroupCostManagementViewKpiArrayOutput() ResourceGroupCostManagementViewKpiArrayOutput ToResourceGroupCostManagementViewKpiArrayOutputWithContext(context.Context) ResourceGroupCostManagementViewKpiArrayOutput }
ResourceGroupCostManagementViewKpiArrayInput is an input type that accepts ResourceGroupCostManagementViewKpiArray and ResourceGroupCostManagementViewKpiArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewKpiArrayInput` via:
ResourceGroupCostManagementViewKpiArray{ ResourceGroupCostManagementViewKpiArgs{...} }
type ResourceGroupCostManagementViewKpiArrayOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpiArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewKpiArrayOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewKpiArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewKpiArrayOutput) ToResourceGroupCostManagementViewKpiArrayOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewKpiArrayOutput) ToResourceGroupCostManagementViewKpiArrayOutput() ResourceGroupCostManagementViewKpiArrayOutput
func (ResourceGroupCostManagementViewKpiArrayOutput) ToResourceGroupCostManagementViewKpiArrayOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewKpiArrayOutput) ToResourceGroupCostManagementViewKpiArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiArrayOutput
type ResourceGroupCostManagementViewKpiInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpiInput interface { pulumi.Input ToResourceGroupCostManagementViewKpiOutput() ResourceGroupCostManagementViewKpiOutput ToResourceGroupCostManagementViewKpiOutputWithContext(context.Context) ResourceGroupCostManagementViewKpiOutput }
ResourceGroupCostManagementViewKpiInput is an input type that accepts ResourceGroupCostManagementViewKpiArgs and ResourceGroupCostManagementViewKpiOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewKpiInput` via:
ResourceGroupCostManagementViewKpiArgs{...}
type ResourceGroupCostManagementViewKpiOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewKpiOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewKpiOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewKpiOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewKpiOutput) ToResourceGroupCostManagementViewKpiOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewKpiOutput) ToResourceGroupCostManagementViewKpiOutput() ResourceGroupCostManagementViewKpiOutput
func (ResourceGroupCostManagementViewKpiOutput) ToResourceGroupCostManagementViewKpiOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewKpiOutput) ToResourceGroupCostManagementViewKpiOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewKpiOutput
func (ResourceGroupCostManagementViewKpiOutput) Type ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewKpiOutput) Type() pulumi.StringOutput
KPI type. Possible values are `Budget` and `Forecast`.
type ResourceGroupCostManagementViewMap ¶ added in v5.40.0
type ResourceGroupCostManagementViewMap map[string]ResourceGroupCostManagementViewInput
func (ResourceGroupCostManagementViewMap) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewMap) ElementType() reflect.Type
func (ResourceGroupCostManagementViewMap) ToResourceGroupCostManagementViewMapOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewMap) ToResourceGroupCostManagementViewMapOutput() ResourceGroupCostManagementViewMapOutput
func (ResourceGroupCostManagementViewMap) ToResourceGroupCostManagementViewMapOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewMap) ToResourceGroupCostManagementViewMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewMapOutput
type ResourceGroupCostManagementViewMapInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewMapInput interface { pulumi.Input ToResourceGroupCostManagementViewMapOutput() ResourceGroupCostManagementViewMapOutput ToResourceGroupCostManagementViewMapOutputWithContext(context.Context) ResourceGroupCostManagementViewMapOutput }
ResourceGroupCostManagementViewMapInput is an input type that accepts ResourceGroupCostManagementViewMap and ResourceGroupCostManagementViewMapOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewMapInput` via:
ResourceGroupCostManagementViewMap{ "key": ResourceGroupCostManagementViewArgs{...} }
type ResourceGroupCostManagementViewMapOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewMapOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewMapOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewMapOutput) MapIndex ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupCostManagementViewOutput
func (ResourceGroupCostManagementViewMapOutput) ToResourceGroupCostManagementViewMapOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewMapOutput) ToResourceGroupCostManagementViewMapOutput() ResourceGroupCostManagementViewMapOutput
func (ResourceGroupCostManagementViewMapOutput) ToResourceGroupCostManagementViewMapOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewMapOutput) ToResourceGroupCostManagementViewMapOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewMapOutput
type ResourceGroupCostManagementViewOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewOutput) Accumulated ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) Accumulated() pulumi.BoolOutput
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Resource Group to be created.
func (ResourceGroupCostManagementViewOutput) ChartType ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) ChartType() pulumi.StringOutput
Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`.
func (ResourceGroupCostManagementViewOutput) Dataset ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) Dataset() ResourceGroupCostManagementViewDatasetOutput
A `dataset` block as defined below.
func (ResourceGroupCostManagementViewOutput) DisplayName ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) DisplayName() pulumi.StringOutput
User visible input name of the Cost Management View.
func (ResourceGroupCostManagementViewOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewOutput) Kpis ¶ added in v5.40.0
One or more `kpi` blocks as defined below, to show in Cost Analysis UI.
func (ResourceGroupCostManagementViewOutput) Name ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) Name() pulumi.StringOutput
The name which should be used for this Cost Management View for a Resource Group. Changing this forces a new Cost Management View for a Resource Group to be created.
func (ResourceGroupCostManagementViewOutput) Pivots ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) Pivots() ResourceGroupCostManagementViewPivotArrayOutput
One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
func (ResourceGroupCostManagementViewOutput) ReportType ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) ReportType() pulumi.StringOutput
The type of the report. The only possible value is `Usage`.
func (ResourceGroupCostManagementViewOutput) ResourceGroupId ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) ResourceGroupId() pulumi.StringOutput
The ID of the Resource Group this View is scoped to. Changing this forces a new Cost Management View for a Resource Group to be created.
func (ResourceGroupCostManagementViewOutput) Timeframe ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) Timeframe() pulumi.StringOutput
The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`.
func (ResourceGroupCostManagementViewOutput) ToResourceGroupCostManagementViewOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) ToResourceGroupCostManagementViewOutput() ResourceGroupCostManagementViewOutput
func (ResourceGroupCostManagementViewOutput) ToResourceGroupCostManagementViewOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewOutput) ToResourceGroupCostManagementViewOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewOutput
type ResourceGroupCostManagementViewPivot ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotArgs ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotArgs struct { // The name of the column which should be used for this sub-view in the Cost Analysis UI. Name pulumi.StringInput `pulumi:"name"` // The data type to show in this sub-view. Possible values are `Dimension` and `TagKey`. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceGroupCostManagementViewPivotArgs) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewPivotArgs) ElementType() reflect.Type
func (ResourceGroupCostManagementViewPivotArgs) ToResourceGroupCostManagementViewPivotOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewPivotArgs) ToResourceGroupCostManagementViewPivotOutput() ResourceGroupCostManagementViewPivotOutput
func (ResourceGroupCostManagementViewPivotArgs) ToResourceGroupCostManagementViewPivotOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewPivotArgs) ToResourceGroupCostManagementViewPivotOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotOutput
type ResourceGroupCostManagementViewPivotArray ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotArray []ResourceGroupCostManagementViewPivotInput
func (ResourceGroupCostManagementViewPivotArray) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewPivotArray) ElementType() reflect.Type
func (ResourceGroupCostManagementViewPivotArray) ToResourceGroupCostManagementViewPivotArrayOutput ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewPivotArray) ToResourceGroupCostManagementViewPivotArrayOutput() ResourceGroupCostManagementViewPivotArrayOutput
func (ResourceGroupCostManagementViewPivotArray) ToResourceGroupCostManagementViewPivotArrayOutputWithContext ¶ added in v5.40.0
func (i ResourceGroupCostManagementViewPivotArray) ToResourceGroupCostManagementViewPivotArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotArrayOutput
type ResourceGroupCostManagementViewPivotArrayInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotArrayInput interface { pulumi.Input ToResourceGroupCostManagementViewPivotArrayOutput() ResourceGroupCostManagementViewPivotArrayOutput ToResourceGroupCostManagementViewPivotArrayOutputWithContext(context.Context) ResourceGroupCostManagementViewPivotArrayOutput }
ResourceGroupCostManagementViewPivotArrayInput is an input type that accepts ResourceGroupCostManagementViewPivotArray and ResourceGroupCostManagementViewPivotArrayOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewPivotArrayInput` via:
ResourceGroupCostManagementViewPivotArray{ ResourceGroupCostManagementViewPivotArgs{...} }
type ResourceGroupCostManagementViewPivotArrayOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewPivotArrayOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewPivotArrayOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewPivotArrayOutput) ToResourceGroupCostManagementViewPivotArrayOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewPivotArrayOutput) ToResourceGroupCostManagementViewPivotArrayOutput() ResourceGroupCostManagementViewPivotArrayOutput
func (ResourceGroupCostManagementViewPivotArrayOutput) ToResourceGroupCostManagementViewPivotArrayOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewPivotArrayOutput) ToResourceGroupCostManagementViewPivotArrayOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotArrayOutput
type ResourceGroupCostManagementViewPivotInput ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotInput interface { pulumi.Input ToResourceGroupCostManagementViewPivotOutput() ResourceGroupCostManagementViewPivotOutput ToResourceGroupCostManagementViewPivotOutputWithContext(context.Context) ResourceGroupCostManagementViewPivotOutput }
ResourceGroupCostManagementViewPivotInput is an input type that accepts ResourceGroupCostManagementViewPivotArgs and ResourceGroupCostManagementViewPivotOutput values. You can construct a concrete instance of `ResourceGroupCostManagementViewPivotInput` via:
ResourceGroupCostManagementViewPivotArgs{...}
type ResourceGroupCostManagementViewPivotOutput ¶ added in v5.40.0
type ResourceGroupCostManagementViewPivotOutput struct{ *pulumi.OutputState }
func (ResourceGroupCostManagementViewPivotOutput) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewPivotOutput) ElementType() reflect.Type
func (ResourceGroupCostManagementViewPivotOutput) Name ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewPivotOutput) Name() pulumi.StringOutput
The name of the column which should be used for this sub-view in the Cost Analysis UI.
func (ResourceGroupCostManagementViewPivotOutput) ToResourceGroupCostManagementViewPivotOutput ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewPivotOutput) ToResourceGroupCostManagementViewPivotOutput() ResourceGroupCostManagementViewPivotOutput
func (ResourceGroupCostManagementViewPivotOutput) ToResourceGroupCostManagementViewPivotOutputWithContext ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewPivotOutput) ToResourceGroupCostManagementViewPivotOutputWithContext(ctx context.Context) ResourceGroupCostManagementViewPivotOutput
func (ResourceGroupCostManagementViewPivotOutput) Type ¶ added in v5.40.0
func (o ResourceGroupCostManagementViewPivotOutput) Type() pulumi.StringOutput
The data type to show in this sub-view. Possible values are `Dimension` and `TagKey`.
type ResourceGroupCostManagementViewState ¶ added in v5.40.0
type ResourceGroupCostManagementViewState struct { // Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Resource Group to be created. Accumulated pulumi.BoolPtrInput // Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`. ChartType pulumi.StringPtrInput // A `dataset` block as defined below. Dataset ResourceGroupCostManagementViewDatasetPtrInput // User visible input name of the Cost Management View. DisplayName pulumi.StringPtrInput // One or more `kpi` blocks as defined below, to show in Cost Analysis UI. Kpis ResourceGroupCostManagementViewKpiArrayInput // The name which should be used for this Cost Management View for a Resource Group. Changing this forces a new Cost Management View for a Resource Group to be created. Name pulumi.StringPtrInput // One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots. Pivots ResourceGroupCostManagementViewPivotArrayInput // The type of the report. The only possible value is `Usage`. ReportType pulumi.StringPtrInput // The ID of the Resource Group this View is scoped to. Changing this forces a new Cost Management View for a Resource Group to be created. ResourceGroupId pulumi.StringPtrInput // The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`. Timeframe pulumi.StringPtrInput }
func (ResourceGroupCostManagementViewState) ElementType ¶ added in v5.40.0
func (ResourceGroupCostManagementViewState) ElementType() reflect.Type
type ResourceGroupInput ¶
type ResourceGroupInput interface { pulumi.Input ToResourceGroupOutput() ResourceGroupOutput ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput }
type ResourceGroupMap ¶
type ResourceGroupMap map[string]ResourceGroupInput
func (ResourceGroupMap) ElementType ¶
func (ResourceGroupMap) ElementType() reflect.Type
func (ResourceGroupMap) ToResourceGroupMapOutput ¶
func (i ResourceGroupMap) ToResourceGroupMapOutput() ResourceGroupMapOutput
func (ResourceGroupMap) ToResourceGroupMapOutputWithContext ¶
func (i ResourceGroupMap) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
type ResourceGroupMapInput ¶
type ResourceGroupMapInput interface { pulumi.Input ToResourceGroupMapOutput() ResourceGroupMapOutput ToResourceGroupMapOutputWithContext(context.Context) ResourceGroupMapOutput }
ResourceGroupMapInput is an input type that accepts ResourceGroupMap and ResourceGroupMapOutput values. You can construct a concrete instance of `ResourceGroupMapInput` via:
ResourceGroupMap{ "key": ResourceGroupArgs{...} }
type ResourceGroupMapOutput ¶
type ResourceGroupMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupMapOutput) ElementType ¶
func (ResourceGroupMapOutput) ElementType() reflect.Type
func (ResourceGroupMapOutput) MapIndex ¶
func (o ResourceGroupMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupOutput
func (ResourceGroupMapOutput) ToResourceGroupMapOutput ¶
func (o ResourceGroupMapOutput) ToResourceGroupMapOutput() ResourceGroupMapOutput
func (ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext ¶
func (o ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
type ResourceGroupOutput ¶
type ResourceGroupOutput struct{ *pulumi.OutputState }
func (ResourceGroupOutput) ElementType ¶
func (ResourceGroupOutput) ElementType() reflect.Type
func (ResourceGroupOutput) Location ¶ added in v5.5.0
func (o ResourceGroupOutput) Location() pulumi.StringOutput
The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.
func (ResourceGroupOutput) ManagedBy ¶ added in v5.45.0
func (o ResourceGroupOutput) ManagedBy() pulumi.StringPtrOutput
The ID of the resource or application that manages this Resource Group.
func (ResourceGroupOutput) Name ¶ added in v5.5.0
func (o ResourceGroupOutput) Name() pulumi.StringOutput
The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.
func (ResourceGroupOutput) Tags ¶ added in v5.5.0
func (o ResourceGroupOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Resource Group.
func (ResourceGroupOutput) ToResourceGroupOutput ¶
func (o ResourceGroupOutput) ToResourceGroupOutput() ResourceGroupOutput
func (ResourceGroupOutput) ToResourceGroupOutputWithContext ¶
func (o ResourceGroupOutput) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
type ResourceGroupPolicyAssignment ¶
type ResourceGroupPolicyAssignment struct { pulumi.CustomResourceState // A description which should be used for this Policy Assignment. Description pulumi.StringPtrOutput `pulumi:"description"` // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrOutput `pulumi:"enforce"` // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity ResourceGroupPolicyAssignmentIdentityPtrOutput `pulumi:"identity"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringOutput `pulumi:"location"` // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringOutput `pulumi:"name"` // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput `pulumi:"nonComplianceMessages"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayOutput `pulumi:"notScopes"` // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides ResourceGroupPolicyAssignmentOverrideArrayOutput `pulumi:"overrides"` // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrOutput `pulumi:"parameters"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringOutput `pulumi:"policyDefinitionId"` // The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors ResourceGroupPolicyAssignmentResourceSelectorArrayOutput `pulumi:"resourceSelectors"` }
Manages a Resource Group Policy Assignment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleDefinition, err := policy.NewDefinition(ctx, "example", &policy.DefinitionArgs{ Name: pulumi.String("only-deploy-in-westeurope"), PolicyType: pulumi.String("Custom"), Mode: pulumi.String("All"), DisplayName: pulumi.String("my-policy-definition"), PolicyRule: pulumi.String(` { "if": { "not": { "field": "location", "equals": "westeurope" } }, "then": { "effect": "Deny" } }
`),
}) if err != nil { return err } _, err = core.NewResourceGroupPolicyAssignment(ctx, "example", &core.ResourceGroupPolicyAssignmentArgs{ Name: pulumi.String("example"), ResourceGroupId: example.ID(), PolicyDefinitionId: exampleDefinition.ID(), Parameters: pulumi.String(` { "tagName": { "value": "Business Unit" }, "tagValue": { "value": "BU" } }
`),
}) if err != nil { return err } return nil }) }
```
## Import
Resource Group Policy Assignments can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroupPolicyAssignment:ResourceGroupPolicyAssignment example /subscriptions/00000000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Authorization/policyAssignments/assignment1 ```
func GetResourceGroupPolicyAssignment ¶
func GetResourceGroupPolicyAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupPolicyAssignmentState, opts ...pulumi.ResourceOption) (*ResourceGroupPolicyAssignment, error)
GetResourceGroupPolicyAssignment gets an existing ResourceGroupPolicyAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroupPolicyAssignment ¶
func NewResourceGroupPolicyAssignment(ctx *pulumi.Context, name string, args *ResourceGroupPolicyAssignmentArgs, opts ...pulumi.ResourceOption) (*ResourceGroupPolicyAssignment, error)
NewResourceGroupPolicyAssignment registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroupPolicyAssignment) ElementType ¶
func (*ResourceGroupPolicyAssignment) ElementType() reflect.Type
func (*ResourceGroupPolicyAssignment) ToResourceGroupPolicyAssignmentOutput ¶
func (i *ResourceGroupPolicyAssignment) ToResourceGroupPolicyAssignmentOutput() ResourceGroupPolicyAssignmentOutput
func (*ResourceGroupPolicyAssignment) ToResourceGroupPolicyAssignmentOutputWithContext ¶
func (i *ResourceGroupPolicyAssignment) ToResourceGroupPolicyAssignmentOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOutput
type ResourceGroupPolicyAssignmentArgs ¶
type ResourceGroupPolicyAssignmentArgs struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity ResourceGroupPolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides ResourceGroupPolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringInput // The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. ResourceGroupId pulumi.StringInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors ResourceGroupPolicyAssignmentResourceSelectorArrayInput }
The set of arguments for constructing a ResourceGroupPolicyAssignment resource.
func (ResourceGroupPolicyAssignmentArgs) ElementType ¶
func (ResourceGroupPolicyAssignmentArgs) ElementType() reflect.Type
type ResourceGroupPolicyAssignmentArray ¶
type ResourceGroupPolicyAssignmentArray []ResourceGroupPolicyAssignmentInput
func (ResourceGroupPolicyAssignmentArray) ElementType ¶
func (ResourceGroupPolicyAssignmentArray) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentArray) ToResourceGroupPolicyAssignmentArrayOutput ¶
func (i ResourceGroupPolicyAssignmentArray) ToResourceGroupPolicyAssignmentArrayOutput() ResourceGroupPolicyAssignmentArrayOutput
func (ResourceGroupPolicyAssignmentArray) ToResourceGroupPolicyAssignmentArrayOutputWithContext ¶
func (i ResourceGroupPolicyAssignmentArray) ToResourceGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentArrayOutput
type ResourceGroupPolicyAssignmentArrayInput ¶
type ResourceGroupPolicyAssignmentArrayInput interface { pulumi.Input ToResourceGroupPolicyAssignmentArrayOutput() ResourceGroupPolicyAssignmentArrayOutput ToResourceGroupPolicyAssignmentArrayOutputWithContext(context.Context) ResourceGroupPolicyAssignmentArrayOutput }
ResourceGroupPolicyAssignmentArrayInput is an input type that accepts ResourceGroupPolicyAssignmentArray and ResourceGroupPolicyAssignmentArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentArrayInput` via:
ResourceGroupPolicyAssignmentArray{ ResourceGroupPolicyAssignmentArgs{...} }
type ResourceGroupPolicyAssignmentArrayOutput ¶
type ResourceGroupPolicyAssignmentArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentArrayOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentArrayOutput) ToResourceGroupPolicyAssignmentArrayOutput ¶
func (o ResourceGroupPolicyAssignmentArrayOutput) ToResourceGroupPolicyAssignmentArrayOutput() ResourceGroupPolicyAssignmentArrayOutput
func (ResourceGroupPolicyAssignmentArrayOutput) ToResourceGroupPolicyAssignmentArrayOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentArrayOutput) ToResourceGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentArrayOutput
type ResourceGroupPolicyAssignmentIdentity ¶
type ResourceGroupPolicyAssignmentIdentity struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds []string `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Resource Group. PrincipalId *string `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Resource Group. TenantId *string `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`. Type string `pulumi:"type"` }
type ResourceGroupPolicyAssignmentIdentityArgs ¶
type ResourceGroupPolicyAssignmentIdentityArgs struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Resource Group. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Resource Group. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ResourceGroupPolicyAssignmentIdentityArgs) ElementType ¶
func (ResourceGroupPolicyAssignmentIdentityArgs) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityOutput ¶
func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityOutput() ResourceGroupPolicyAssignmentIdentityOutput
func (ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityOutputWithContext ¶
func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityOutput
func (ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityPtrOutput ¶
func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput
func (ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext ¶
func (i ResourceGroupPolicyAssignmentIdentityArgs) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput
type ResourceGroupPolicyAssignmentIdentityInput ¶
type ResourceGroupPolicyAssignmentIdentityInput interface { pulumi.Input ToResourceGroupPolicyAssignmentIdentityOutput() ResourceGroupPolicyAssignmentIdentityOutput ToResourceGroupPolicyAssignmentIdentityOutputWithContext(context.Context) ResourceGroupPolicyAssignmentIdentityOutput }
ResourceGroupPolicyAssignmentIdentityInput is an input type that accepts ResourceGroupPolicyAssignmentIdentityArgs and ResourceGroupPolicyAssignmentIdentityOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentIdentityInput` via:
ResourceGroupPolicyAssignmentIdentityArgs{...}
type ResourceGroupPolicyAssignmentIdentityOutput ¶
type ResourceGroupPolicyAssignmentIdentityOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentIdentityOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentIdentityOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentIdentityOutput) IdentityIds ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (ResourceGroupPolicyAssignmentIdentityOutput) PrincipalId ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Resource Group.
func (ResourceGroupPolicyAssignmentIdentityOutput) TenantId ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Resource Group.
func (ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityOutput ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityOutput() ResourceGroupPolicyAssignmentIdentityOutput
func (ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityOutput
func (ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutput ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput
func (ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput
func (ResourceGroupPolicyAssignmentIdentityOutput) Type ¶
func (o ResourceGroupPolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
type ResourceGroupPolicyAssignmentIdentityPtrInput ¶
type ResourceGroupPolicyAssignmentIdentityPtrInput interface { pulumi.Input ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput }
ResourceGroupPolicyAssignmentIdentityPtrInput is an input type that accepts ResourceGroupPolicyAssignmentIdentityArgs, ResourceGroupPolicyAssignmentIdentityPtr and ResourceGroupPolicyAssignmentIdentityPtrOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentIdentityPtrInput` via:
ResourceGroupPolicyAssignmentIdentityArgs{...} or: nil
func ResourceGroupPolicyAssignmentIdentityPtr ¶
func ResourceGroupPolicyAssignmentIdentityPtr(v *ResourceGroupPolicyAssignmentIdentityArgs) ResourceGroupPolicyAssignmentIdentityPtrInput
type ResourceGroupPolicyAssignmentIdentityPtrOutput ¶
type ResourceGroupPolicyAssignmentIdentityPtrOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) IdentityIds ¶
func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) PrincipalId ¶
func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Resource Group.
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) TenantId ¶
func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Resource Group.
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutput ¶
func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutput() ResourceGroupPolicyAssignmentIdentityPtrOutput
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) ToResourceGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentIdentityPtrOutput
func (ResourceGroupPolicyAssignmentIdentityPtrOutput) Type ¶
func (o ResourceGroupPolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
type ResourceGroupPolicyAssignmentInput ¶
type ResourceGroupPolicyAssignmentInput interface { pulumi.Input ToResourceGroupPolicyAssignmentOutput() ResourceGroupPolicyAssignmentOutput ToResourceGroupPolicyAssignmentOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOutput }
type ResourceGroupPolicyAssignmentMap ¶
type ResourceGroupPolicyAssignmentMap map[string]ResourceGroupPolicyAssignmentInput
func (ResourceGroupPolicyAssignmentMap) ElementType ¶
func (ResourceGroupPolicyAssignmentMap) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentMap) ToResourceGroupPolicyAssignmentMapOutput ¶
func (i ResourceGroupPolicyAssignmentMap) ToResourceGroupPolicyAssignmentMapOutput() ResourceGroupPolicyAssignmentMapOutput
func (ResourceGroupPolicyAssignmentMap) ToResourceGroupPolicyAssignmentMapOutputWithContext ¶
func (i ResourceGroupPolicyAssignmentMap) ToResourceGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentMapOutput
type ResourceGroupPolicyAssignmentMapInput ¶
type ResourceGroupPolicyAssignmentMapInput interface { pulumi.Input ToResourceGroupPolicyAssignmentMapOutput() ResourceGroupPolicyAssignmentMapOutput ToResourceGroupPolicyAssignmentMapOutputWithContext(context.Context) ResourceGroupPolicyAssignmentMapOutput }
ResourceGroupPolicyAssignmentMapInput is an input type that accepts ResourceGroupPolicyAssignmentMap and ResourceGroupPolicyAssignmentMapOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentMapInput` via:
ResourceGroupPolicyAssignmentMap{ "key": ResourceGroupPolicyAssignmentArgs{...} }
type ResourceGroupPolicyAssignmentMapOutput ¶
type ResourceGroupPolicyAssignmentMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentMapOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentMapOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentMapOutput) MapIndex ¶
func (o ResourceGroupPolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupPolicyAssignmentOutput
func (ResourceGroupPolicyAssignmentMapOutput) ToResourceGroupPolicyAssignmentMapOutput ¶
func (o ResourceGroupPolicyAssignmentMapOutput) ToResourceGroupPolicyAssignmentMapOutput() ResourceGroupPolicyAssignmentMapOutput
func (ResourceGroupPolicyAssignmentMapOutput) ToResourceGroupPolicyAssignmentMapOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentMapOutput) ToResourceGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentMapOutput
type ResourceGroupPolicyAssignmentNonComplianceMessage ¶
type ResourceGroupPolicyAssignmentNonComplianceMessage struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content string `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId *string `pulumi:"policyDefinitionReferenceId"` }
type ResourceGroupPolicyAssignmentNonComplianceMessageArgs ¶
type ResourceGroupPolicyAssignmentNonComplianceMessageArgs struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content pulumi.StringInput `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId pulumi.StringPtrInput `pulumi:"policyDefinitionReferenceId"` }
func (ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ElementType ¶
func (ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ToResourceGroupPolicyAssignmentNonComplianceMessageOutput ¶
func (i ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ToResourceGroupPolicyAssignmentNonComplianceMessageOutput() ResourceGroupPolicyAssignmentNonComplianceMessageOutput
func (ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (i ResourceGroupPolicyAssignmentNonComplianceMessageArgs) ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageOutput
type ResourceGroupPolicyAssignmentNonComplianceMessageArray ¶
type ResourceGroupPolicyAssignmentNonComplianceMessageArray []ResourceGroupPolicyAssignmentNonComplianceMessageInput
func (ResourceGroupPolicyAssignmentNonComplianceMessageArray) ElementType ¶
func (ResourceGroupPolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentNonComplianceMessageArray) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput ¶
func (i ResourceGroupPolicyAssignmentNonComplianceMessageArray) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
func (ResourceGroupPolicyAssignmentNonComplianceMessageArray) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (i ResourceGroupPolicyAssignmentNonComplianceMessageArray) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
type ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput ¶
type ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput interface { pulumi.Input ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput }
ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput is an input type that accepts ResourceGroupPolicyAssignmentNonComplianceMessageArray and ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput` via:
ResourceGroupPolicyAssignmentNonComplianceMessageArray{ ResourceGroupPolicyAssignmentNonComplianceMessageArgs{...} }
type ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput ¶
type ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput ¶
func (o ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
func (ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
type ResourceGroupPolicyAssignmentNonComplianceMessageInput ¶
type ResourceGroupPolicyAssignmentNonComplianceMessageInput interface { pulumi.Input ToResourceGroupPolicyAssignmentNonComplianceMessageOutput() ResourceGroupPolicyAssignmentNonComplianceMessageOutput ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext(context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageOutput }
ResourceGroupPolicyAssignmentNonComplianceMessageInput is an input type that accepts ResourceGroupPolicyAssignmentNonComplianceMessageArgs and ResourceGroupPolicyAssignmentNonComplianceMessageOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentNonComplianceMessageInput` via:
ResourceGroupPolicyAssignmentNonComplianceMessageArgs{...}
type ResourceGroupPolicyAssignmentNonComplianceMessageOutput ¶
type ResourceGroupPolicyAssignmentNonComplianceMessageOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) Content ¶
func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies.
func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId ¶
func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageOutput ¶
func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageOutput() ResourceGroupPolicyAssignmentNonComplianceMessageOutput
func (ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentNonComplianceMessageOutput) ToResourceGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentNonComplianceMessageOutput
type ResourceGroupPolicyAssignmentOutput ¶
type ResourceGroupPolicyAssignmentOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentOutput) Description ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Description() pulumi.StringPtrOutput
A description which should be used for this Policy Assignment.
func (ResourceGroupPolicyAssignmentOutput) DisplayName ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
The Display Name for this Policy Assignment.
func (ResourceGroupPolicyAssignmentOutput) ElementType ¶
func (ResourceGroupPolicyAssignmentOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOutput) Enforce ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
Specifies if this Policy should be enforced or not? Defaults to `true`.
func (ResourceGroupPolicyAssignmentOutput) Identity ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Identity() ResourceGroupPolicyAssignmentIdentityPtrOutput
An `identity` block as defined below.
> **Note:** The `location` field must also be specified when `identity` is specified.
func (ResourceGroupPolicyAssignmentOutput) Location ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Location() pulumi.StringOutput
The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
func (ResourceGroupPolicyAssignmentOutput) Metadata ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Metadata() pulumi.StringOutput
A JSON mapping of any Metadata for this Policy.
func (ResourceGroupPolicyAssignmentOutput) Name ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Name() pulumi.StringOutput
The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length.
func (ResourceGroupPolicyAssignmentOutput) NonComplianceMessages ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) NonComplianceMessages() ResourceGroupPolicyAssignmentNonComplianceMessageArrayOutput
One or more `nonComplianceMessage` blocks as defined below.
func (ResourceGroupPolicyAssignmentOutput) NotScopes ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
func (ResourceGroupPolicyAssignmentOutput) Overrides ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOutput) Overrides() ResourceGroupPolicyAssignmentOverrideArrayOutput
One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview)
func (ResourceGroupPolicyAssignmentOutput) Parameters ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
A JSON mapping of any Parameters for this Policy.
func (ResourceGroupPolicyAssignmentOutput) PolicyDefinitionId ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
func (ResourceGroupPolicyAssignmentOutput) ResourceGroupId ¶ added in v5.5.0
func (o ResourceGroupPolicyAssignmentOutput) ResourceGroupId() pulumi.StringOutput
The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
func (ResourceGroupPolicyAssignmentOutput) ResourceSelectors ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOutput) ResourceSelectors() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
One or more `resourceSelectors` blocks as defined below to filter polices by resource properties.
func (ResourceGroupPolicyAssignmentOutput) ToResourceGroupPolicyAssignmentOutput ¶
func (o ResourceGroupPolicyAssignmentOutput) ToResourceGroupPolicyAssignmentOutput() ResourceGroupPolicyAssignmentOutput
func (ResourceGroupPolicyAssignmentOutput) ToResourceGroupPolicyAssignmentOutputWithContext ¶
func (o ResourceGroupPolicyAssignmentOutput) ToResourceGroupPolicyAssignmentOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOutput
type ResourceGroupPolicyAssignmentOverride ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverride struct { // One or more `overrideSelector` block as defined below. Selectors []ResourceGroupPolicyAssignmentOverrideSelector `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value string `pulumi:"value"` }
type ResourceGroupPolicyAssignmentOverrideArgs ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideArgs struct { // One or more `overrideSelector` block as defined below. Selectors ResourceGroupPolicyAssignmentOverrideSelectorArrayInput `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value pulumi.StringInput `pulumi:"value"` }
func (ResourceGroupPolicyAssignmentOverrideArgs) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideArgs) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideArgs) ToResourceGroupPolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideArgs) ToResourceGroupPolicyAssignmentOverrideOutput() ResourceGroupPolicyAssignmentOverrideOutput
func (ResourceGroupPolicyAssignmentOverrideArgs) ToResourceGroupPolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideArgs) ToResourceGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideOutput
type ResourceGroupPolicyAssignmentOverrideArray ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideArray []ResourceGroupPolicyAssignmentOverrideInput
func (ResourceGroupPolicyAssignmentOverrideArray) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideArray) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideArray) ToResourceGroupPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideArray) ToResourceGroupPolicyAssignmentOverrideArrayOutput() ResourceGroupPolicyAssignmentOverrideArrayOutput
func (ResourceGroupPolicyAssignmentOverrideArray) ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideArray) ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideArrayOutput
type ResourceGroupPolicyAssignmentOverrideArrayInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideArrayInput interface { pulumi.Input ToResourceGroupPolicyAssignmentOverrideArrayOutput() ResourceGroupPolicyAssignmentOverrideArrayOutput ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext(context.Context) ResourceGroupPolicyAssignmentOverrideArrayOutput }
ResourceGroupPolicyAssignmentOverrideArrayInput is an input type that accepts ResourceGroupPolicyAssignmentOverrideArray and ResourceGroupPolicyAssignmentOverrideArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentOverrideArrayInput` via:
ResourceGroupPolicyAssignmentOverrideArray{ ResourceGroupPolicyAssignmentOverrideArgs{...} }
type ResourceGroupPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentOverrideArrayOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideArrayOutput) ToResourceGroupPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideArrayOutput) ToResourceGroupPolicyAssignmentOverrideArrayOutput() ResourceGroupPolicyAssignmentOverrideArrayOutput
func (ResourceGroupPolicyAssignmentOverrideArrayOutput) ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideArrayOutput) ToResourceGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideArrayOutput
type ResourceGroupPolicyAssignmentOverrideInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideInput interface { pulumi.Input ToResourceGroupPolicyAssignmentOverrideOutput() ResourceGroupPolicyAssignmentOverrideOutput ToResourceGroupPolicyAssignmentOverrideOutputWithContext(context.Context) ResourceGroupPolicyAssignmentOverrideOutput }
ResourceGroupPolicyAssignmentOverrideInput is an input type that accepts ResourceGroupPolicyAssignmentOverrideArgs and ResourceGroupPolicyAssignmentOverrideOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentOverrideInput` via:
ResourceGroupPolicyAssignmentOverrideArgs{...}
type ResourceGroupPolicyAssignmentOverrideOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentOverrideOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideOutput) Selectors ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideOutput) Selectors() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
One or more `overrideSelector` block as defined below.
func (ResourceGroupPolicyAssignmentOverrideOutput) ToResourceGroupPolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideOutput) ToResourceGroupPolicyAssignmentOverrideOutput() ResourceGroupPolicyAssignmentOverrideOutput
func (ResourceGroupPolicyAssignmentOverrideOutput) ToResourceGroupPolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideOutput) ToResourceGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideOutput
func (ResourceGroupPolicyAssignmentOverrideOutput) Value ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects).
type ResourceGroupPolicyAssignmentOverrideSelector ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelector struct { Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind *string `pulumi:"kind"` NotIns []string `pulumi:"notIns"` }
type ResourceGroupPolicyAssignmentOverrideSelectorArgs ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelectorArgs struct { Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringPtrInput `pulumi:"kind"` NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (ResourceGroupPolicyAssignmentOverrideSelectorArgs) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideSelectorArgs) ToResourceGroupPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideSelectorArgs) ToResourceGroupPolicyAssignmentOverrideSelectorOutput() ResourceGroupPolicyAssignmentOverrideSelectorOutput
func (ResourceGroupPolicyAssignmentOverrideSelectorArgs) ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideSelectorArgs) ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorOutput
type ResourceGroupPolicyAssignmentOverrideSelectorArray ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelectorArray []ResourceGroupPolicyAssignmentOverrideSelectorInput
func (ResourceGroupPolicyAssignmentOverrideSelectorArray) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideSelectorArray) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideSelectorArray) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
func (ResourceGroupPolicyAssignmentOverrideSelectorArray) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentOverrideSelectorArray) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
type ResourceGroupPolicyAssignmentOverrideSelectorArrayInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelectorArrayInput interface { pulumi.Input ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(context.Context) ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput }
ResourceGroupPolicyAssignmentOverrideSelectorArrayInput is an input type that accepts ResourceGroupPolicyAssignmentOverrideSelectorArray and ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentOverrideSelectorArrayInput` via:
ResourceGroupPolicyAssignmentOverrideSelectorArray{ ResourceGroupPolicyAssignmentOverrideSelectorArgs{...} }
type ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutput() ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
func (ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput) ToResourceGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorArrayOutput
type ResourceGroupPolicyAssignmentOverrideSelectorInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelectorInput interface { pulumi.Input ToResourceGroupPolicyAssignmentOverrideSelectorOutput() ResourceGroupPolicyAssignmentOverrideSelectorOutput ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext(context.Context) ResourceGroupPolicyAssignmentOverrideSelectorOutput }
ResourceGroupPolicyAssignmentOverrideSelectorInput is an input type that accepts ResourceGroupPolicyAssignmentOverrideSelectorArgs and ResourceGroupPolicyAssignmentOverrideSelectorOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentOverrideSelectorInput` via:
ResourceGroupPolicyAssignmentOverrideSelectorArgs{...}
type ResourceGroupPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentOverrideSelectorOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) Kind ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) NotIns ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) ToResourceGroupPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) ToResourceGroupPolicyAssignmentOverrideSelectorOutput() ResourceGroupPolicyAssignmentOverrideSelectorOutput
func (ResourceGroupPolicyAssignmentOverrideSelectorOutput) ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentOverrideSelectorOutput) ToResourceGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentOverrideSelectorOutput
type ResourceGroupPolicyAssignmentResourceSelector ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelector struct { // Specifies a name for the resource selector. Name *string `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors []ResourceGroupPolicyAssignmentResourceSelectorSelector `pulumi:"selectors"` }
type ResourceGroupPolicyAssignmentResourceSelectorArgs ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorArgs struct { // Specifies a name for the resource selector. Name pulumi.StringPtrInput `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayInput `pulumi:"selectors"` }
func (ResourceGroupPolicyAssignmentResourceSelectorArgs) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorOutput
func (ResourceGroupPolicyAssignmentResourceSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorOutput
type ResourceGroupPolicyAssignmentResourceSelectorArray ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorArray []ResourceGroupPolicyAssignmentResourceSelectorInput
func (ResourceGroupPolicyAssignmentResourceSelectorArray) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
func (ResourceGroupPolicyAssignmentResourceSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
type ResourceGroupPolicyAssignmentResourceSelectorArrayInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorArrayInput interface { pulumi.Input ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(context.Context) ResourceGroupPolicyAssignmentResourceSelectorArrayOutput }
ResourceGroupPolicyAssignmentResourceSelectorArrayInput is an input type that accepts ResourceGroupPolicyAssignmentResourceSelectorArray and ResourceGroupPolicyAssignmentResourceSelectorArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentResourceSelectorArrayInput` via:
ResourceGroupPolicyAssignmentResourceSelectorArray{ ResourceGroupPolicyAssignmentResourceSelectorArgs{...} }
type ResourceGroupPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
func (ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorArrayOutput
type ResourceGroupPolicyAssignmentResourceSelectorInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorInput interface { pulumi.Input ToResourceGroupPolicyAssignmentResourceSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorOutput ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext(context.Context) ResourceGroupPolicyAssignmentResourceSelectorOutput }
ResourceGroupPolicyAssignmentResourceSelectorInput is an input type that accepts ResourceGroupPolicyAssignmentResourceSelectorArgs and ResourceGroupPolicyAssignmentResourceSelectorOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentResourceSelectorInput` via:
ResourceGroupPolicyAssignmentResourceSelectorArgs{...}
type ResourceGroupPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentResourceSelectorOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorOutput) Name ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
Specifies a name for the resource selector.
func (ResourceGroupPolicyAssignmentResourceSelectorOutput) Selectors ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) Selectors() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
One or more `resourceSelector` block as defined below.
func (ResourceGroupPolicyAssignmentResourceSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorOutput
func (ResourceGroupPolicyAssignmentResourceSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorOutput
type ResourceGroupPolicyAssignmentResourceSelectorSelector ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelector struct { Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind string `pulumi:"kind"` NotIns []string `pulumi:"notIns"` }
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs struct { Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringInput `pulumi:"kind"` NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArray ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArray []ResourceGroupPolicyAssignmentResourceSelectorSelectorInput
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i ResourceGroupPolicyAssignmentResourceSelectorSelectorArray) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayInput interface { pulumi.Input ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput }
ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayInput is an input type that accepts ResourceGroupPolicyAssignmentResourceSelectorSelectorArray and ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayInput` via:
ResourceGroupPolicyAssignmentResourceSelectorSelectorArray{ ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs{...} }
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorArrayOutput
type ResourceGroupPolicyAssignmentResourceSelectorSelectorInput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelectorInput interface { pulumi.Input ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput }
ResourceGroupPolicyAssignmentResourceSelectorSelectorInput is an input type that accepts ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs and ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput values. You can construct a concrete instance of `ResourceGroupPolicyAssignmentResourceSelectorSelectorInput` via:
ResourceGroupPolicyAssignmentResourceSelectorSelectorArgs{...}
type ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
type ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ElementType ¶ added in v5.39.0
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) Kind ¶ added in v5.39.0
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutput() ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
func (ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (o ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput) ToResourceGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourceGroupPolicyAssignmentResourceSelectorSelectorOutput
type ResourceGroupPolicyAssignmentState ¶
type ResourceGroupPolicyAssignmentState struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity ResourceGroupPolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages ResourceGroupPolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides ResourceGroupPolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringPtrInput // The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. ResourceGroupId pulumi.StringPtrInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors ResourceGroupPolicyAssignmentResourceSelectorArrayInput }
func (ResourceGroupPolicyAssignmentState) ElementType ¶
func (ResourceGroupPolicyAssignmentState) ElementType() reflect.Type
type ResourceGroupPolicyExemption ¶ added in v5.2.0
type ResourceGroupPolicyExemption struct { pulumi.CustomResourceState // A description to use for this Policy Exemption. Description pulumi.StringPtrOutput `pulumi:"description"` // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringOutput `pulumi:"exemptionCategory"` // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrOutput `pulumi:"expiresOn"` // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayOutput `pulumi:"policyDefinitionReferenceIds"` // The Resource Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` }
Manages a Resource Group Policy Exemption.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("resourceGroup1"), Location: pulumi.String("westus"), }) if err != nil { return err } example, err := policy.GetPolicyDefintion(ctx, &policy.GetPolicyDefintionArgs{ DisplayName: pulumi.StringRef("Allowed locations"), }, nil) if err != nil { return err } exampleResourceGroupPolicyAssignment, err := core.NewResourceGroupPolicyAssignment(ctx, "example", &core.ResourceGroupPolicyAssignmentArgs{ Name: pulumi.String("exampleAssignment"), ResourceGroupId: exampleResourceGroup.ID(), PolicyDefinitionId: pulumi.String(example.Id), Parameters: exampleResourceGroup.Location.ApplyT(func(location string) (pulumi.String, error) { var _zero pulumi.String tmpJSON0, err := json.Marshal(map[string]interface{}{ "listOfAllowedLocations": map[string]interface{}{ "value": []string{ location, }, }, }) if err != nil { return _zero, err } json0 := string(tmpJSON0) return pulumi.String(json0), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = core.NewResourceGroupPolicyExemption(ctx, "example", &core.ResourceGroupPolicyExemptionArgs{ Name: pulumi.String("exampleExemption"), ResourceGroupId: exampleResourceGroup.ID(), PolicyAssignmentId: exampleResourceGroupPolicyAssignment.ID(), ExemptionCategory: pulumi.String("Mitigated"), }) if err != nil { return err } return nil }) }
```
## Import
Policy Exemptions can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroupPolicyExemption:ResourceGroupPolicyExemption exemption1 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Authorization/policyExemptions/exemption1 ```
func GetResourceGroupPolicyExemption ¶ added in v5.2.0
func GetResourceGroupPolicyExemption(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupPolicyExemptionState, opts ...pulumi.ResourceOption) (*ResourceGroupPolicyExemption, error)
GetResourceGroupPolicyExemption gets an existing ResourceGroupPolicyExemption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroupPolicyExemption ¶ added in v5.2.0
func NewResourceGroupPolicyExemption(ctx *pulumi.Context, name string, args *ResourceGroupPolicyExemptionArgs, opts ...pulumi.ResourceOption) (*ResourceGroupPolicyExemption, error)
NewResourceGroupPolicyExemption registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroupPolicyExemption) ElementType ¶ added in v5.2.0
func (*ResourceGroupPolicyExemption) ElementType() reflect.Type
func (*ResourceGroupPolicyExemption) ToResourceGroupPolicyExemptionOutput ¶ added in v5.2.0
func (i *ResourceGroupPolicyExemption) ToResourceGroupPolicyExemptionOutput() ResourceGroupPolicyExemptionOutput
func (*ResourceGroupPolicyExemption) ToResourceGroupPolicyExemptionOutputWithContext ¶ added in v5.2.0
func (i *ResourceGroupPolicyExemption) ToResourceGroupPolicyExemptionOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionOutput
type ResourceGroupPolicyExemptionArgs ¶ added in v5.2.0
type ResourceGroupPolicyExemptionArgs struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput // The Resource Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringInput }
The set of arguments for constructing a ResourceGroupPolicyExemption resource.
func (ResourceGroupPolicyExemptionArgs) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionArgs) ElementType() reflect.Type
type ResourceGroupPolicyExemptionArray ¶ added in v5.2.0
type ResourceGroupPolicyExemptionArray []ResourceGroupPolicyExemptionInput
func (ResourceGroupPolicyExemptionArray) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionArray) ElementType() reflect.Type
func (ResourceGroupPolicyExemptionArray) ToResourceGroupPolicyExemptionArrayOutput ¶ added in v5.2.0
func (i ResourceGroupPolicyExemptionArray) ToResourceGroupPolicyExemptionArrayOutput() ResourceGroupPolicyExemptionArrayOutput
func (ResourceGroupPolicyExemptionArray) ToResourceGroupPolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (i ResourceGroupPolicyExemptionArray) ToResourceGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionArrayOutput
type ResourceGroupPolicyExemptionArrayInput ¶ added in v5.2.0
type ResourceGroupPolicyExemptionArrayInput interface { pulumi.Input ToResourceGroupPolicyExemptionArrayOutput() ResourceGroupPolicyExemptionArrayOutput ToResourceGroupPolicyExemptionArrayOutputWithContext(context.Context) ResourceGroupPolicyExemptionArrayOutput }
ResourceGroupPolicyExemptionArrayInput is an input type that accepts ResourceGroupPolicyExemptionArray and ResourceGroupPolicyExemptionArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyExemptionArrayInput` via:
ResourceGroupPolicyExemptionArray{ ResourceGroupPolicyExemptionArgs{...} }
type ResourceGroupPolicyExemptionArrayOutput ¶ added in v5.2.0
type ResourceGroupPolicyExemptionArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyExemptionArrayOutput) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyExemptionArrayOutput) ToResourceGroupPolicyExemptionArrayOutput ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionArrayOutput) ToResourceGroupPolicyExemptionArrayOutput() ResourceGroupPolicyExemptionArrayOutput
func (ResourceGroupPolicyExemptionArrayOutput) ToResourceGroupPolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionArrayOutput) ToResourceGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionArrayOutput
type ResourceGroupPolicyExemptionInput ¶ added in v5.2.0
type ResourceGroupPolicyExemptionInput interface { pulumi.Input ToResourceGroupPolicyExemptionOutput() ResourceGroupPolicyExemptionOutput ToResourceGroupPolicyExemptionOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionOutput }
type ResourceGroupPolicyExemptionMap ¶ added in v5.2.0
type ResourceGroupPolicyExemptionMap map[string]ResourceGroupPolicyExemptionInput
func (ResourceGroupPolicyExemptionMap) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionMap) ElementType() reflect.Type
func (ResourceGroupPolicyExemptionMap) ToResourceGroupPolicyExemptionMapOutput ¶ added in v5.2.0
func (i ResourceGroupPolicyExemptionMap) ToResourceGroupPolicyExemptionMapOutput() ResourceGroupPolicyExemptionMapOutput
func (ResourceGroupPolicyExemptionMap) ToResourceGroupPolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (i ResourceGroupPolicyExemptionMap) ToResourceGroupPolicyExemptionMapOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionMapOutput
type ResourceGroupPolicyExemptionMapInput ¶ added in v5.2.0
type ResourceGroupPolicyExemptionMapInput interface { pulumi.Input ToResourceGroupPolicyExemptionMapOutput() ResourceGroupPolicyExemptionMapOutput ToResourceGroupPolicyExemptionMapOutputWithContext(context.Context) ResourceGroupPolicyExemptionMapOutput }
ResourceGroupPolicyExemptionMapInput is an input type that accepts ResourceGroupPolicyExemptionMap and ResourceGroupPolicyExemptionMapOutput values. You can construct a concrete instance of `ResourceGroupPolicyExemptionMapInput` via:
ResourceGroupPolicyExemptionMap{ "key": ResourceGroupPolicyExemptionArgs{...} }
type ResourceGroupPolicyExemptionMapOutput ¶ added in v5.2.0
type ResourceGroupPolicyExemptionMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyExemptionMapOutput) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionMapOutput) ElementType() reflect.Type
func (ResourceGroupPolicyExemptionMapOutput) MapIndex ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupPolicyExemptionOutput
func (ResourceGroupPolicyExemptionMapOutput) ToResourceGroupPolicyExemptionMapOutput ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionMapOutput) ToResourceGroupPolicyExemptionMapOutput() ResourceGroupPolicyExemptionMapOutput
func (ResourceGroupPolicyExemptionMapOutput) ToResourceGroupPolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionMapOutput) ToResourceGroupPolicyExemptionMapOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionMapOutput
type ResourceGroupPolicyExemptionOutput ¶ added in v5.2.0
type ResourceGroupPolicyExemptionOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyExemptionOutput) Description ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) Description() pulumi.StringPtrOutput
A description to use for this Policy Exemption.
func (ResourceGroupPolicyExemptionOutput) DisplayName ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
A friendly display name to use for this Policy Exemption.
func (ResourceGroupPolicyExemptionOutput) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionOutput) ElementType() reflect.Type
func (ResourceGroupPolicyExemptionOutput) ExemptionCategory ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
The category of this policy exemption. Possible values are `Waiver` and `Mitigated`.
func (ResourceGroupPolicyExemptionOutput) ExpiresOn ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
The expiration date and time in UTC ISO 8601 format of this policy exemption.
func (ResourceGroupPolicyExemptionOutput) Metadata ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) Metadata() pulumi.StringOutput
The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
func (ResourceGroupPolicyExemptionOutput) Name ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) Name() pulumi.StringOutput
The name of the Policy Exemption. Changing this forces a new resource to be created.
func (ResourceGroupPolicyExemptionOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
func (ResourceGroupPolicyExemptionOutput) PolicyDefinitionReferenceIds ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
func (ResourceGroupPolicyExemptionOutput) ResourceGroupId ¶ added in v5.5.0
func (o ResourceGroupPolicyExemptionOutput) ResourceGroupId() pulumi.StringOutput
The Resource Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
func (ResourceGroupPolicyExemptionOutput) ToResourceGroupPolicyExemptionOutput ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionOutput) ToResourceGroupPolicyExemptionOutput() ResourceGroupPolicyExemptionOutput
func (ResourceGroupPolicyExemptionOutput) ToResourceGroupPolicyExemptionOutputWithContext ¶ added in v5.2.0
func (o ResourceGroupPolicyExemptionOutput) ToResourceGroupPolicyExemptionOutputWithContext(ctx context.Context) ResourceGroupPolicyExemptionOutput
type ResourceGroupPolicyExemptionState ¶ added in v5.2.0
type ResourceGroupPolicyExemptionState struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringPtrInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringPtrInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput // The Resource Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringPtrInput }
func (ResourceGroupPolicyExemptionState) ElementType ¶ added in v5.2.0
func (ResourceGroupPolicyExemptionState) ElementType() reflect.Type
type ResourceGroupPolicyRemediation ¶
type ResourceGroupPolicyRemediation struct { pulumi.CustomResourceState // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrOutput `pulumi:"failurePercentage"` // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayOutput `pulumi:"locationFilters"` // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrOutput `pulumi:"parallelDeployments"` // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrOutput `pulumi:"policyDefinitionId"` // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrOutput `pulumi:"policyDefinitionReferenceId"` // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrOutput `pulumi:"resourceCount"` // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrOutput `pulumi:"resourceDiscoveryMode"` // The Resource Group ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` }
Manages an Azure Resource Group Policy Remediation.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleDefinition, err := policy.NewDefinition(ctx, "example", &policy.DefinitionArgs{ Name: pulumi.String("my-policy-definition"), PolicyType: pulumi.String("Custom"), Mode: pulumi.String("All"), DisplayName: pulumi.String("my-policy-definition"), PolicyRule: pulumi.String(` { "if": { "not": { "field": "location", "in": "[parameters('allowedLocations')]" } }, "then": { "effect": "audit" } }
`),
Parameters: pulumi.String(` { "allowedLocations": { "type": "Array", "metadata": { "description": "The list of allowed locations for resources.", "displayName": "Allowed locations", "strongType": "location" } } }
`),
}) if err != nil { return err } exampleResourceGroupPolicyAssignment, err := core.NewResourceGroupPolicyAssignment(ctx, "example", &core.ResourceGroupPolicyAssignmentArgs{ Name: pulumi.String("example"), ResourceGroupId: example.ID(), PolicyDefinitionId: exampleDefinition.ID(), }) if err != nil { return err } _, err = core.NewResourceGroupPolicyRemediation(ctx, "example", &core.ResourceGroupPolicyRemediationArgs{ Name: pulumi.String("example-policy-remediation"), ResourceGroupId: example.ID(), PolicyAssignmentId: exampleResourceGroupPolicyAssignment.ID(), LocationFilters: pulumi.StringArray{ pulumi.String("West Europe"), }, }) if err != nil { return err } return nil }) }
```
## Import
Policy Remediations can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroupPolicyRemediation:ResourceGroupPolicyRemediation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.PolicyInsights/remediations/remediation1 ```
func GetResourceGroupPolicyRemediation ¶
func GetResourceGroupPolicyRemediation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupPolicyRemediationState, opts ...pulumi.ResourceOption) (*ResourceGroupPolicyRemediation, error)
GetResourceGroupPolicyRemediation gets an existing ResourceGroupPolicyRemediation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroupPolicyRemediation ¶
func NewResourceGroupPolicyRemediation(ctx *pulumi.Context, name string, args *ResourceGroupPolicyRemediationArgs, opts ...pulumi.ResourceOption) (*ResourceGroupPolicyRemediation, error)
NewResourceGroupPolicyRemediation registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroupPolicyRemediation) ElementType ¶
func (*ResourceGroupPolicyRemediation) ElementType() reflect.Type
func (*ResourceGroupPolicyRemediation) ToResourceGroupPolicyRemediationOutput ¶
func (i *ResourceGroupPolicyRemediation) ToResourceGroupPolicyRemediationOutput() ResourceGroupPolicyRemediationOutput
func (*ResourceGroupPolicyRemediation) ToResourceGroupPolicyRemediationOutputWithContext ¶
func (i *ResourceGroupPolicyRemediation) ToResourceGroupPolicyRemediationOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationOutput
type ResourceGroupPolicyRemediationArgs ¶
type ResourceGroupPolicyRemediationArgs struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrInput // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayInput // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrInput // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringInput // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrInput // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrInput // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrInput // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrInput // The Resource Group ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringInput }
The set of arguments for constructing a ResourceGroupPolicyRemediation resource.
func (ResourceGroupPolicyRemediationArgs) ElementType ¶
func (ResourceGroupPolicyRemediationArgs) ElementType() reflect.Type
type ResourceGroupPolicyRemediationArray ¶
type ResourceGroupPolicyRemediationArray []ResourceGroupPolicyRemediationInput
func (ResourceGroupPolicyRemediationArray) ElementType ¶
func (ResourceGroupPolicyRemediationArray) ElementType() reflect.Type
func (ResourceGroupPolicyRemediationArray) ToResourceGroupPolicyRemediationArrayOutput ¶
func (i ResourceGroupPolicyRemediationArray) ToResourceGroupPolicyRemediationArrayOutput() ResourceGroupPolicyRemediationArrayOutput
func (ResourceGroupPolicyRemediationArray) ToResourceGroupPolicyRemediationArrayOutputWithContext ¶
func (i ResourceGroupPolicyRemediationArray) ToResourceGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationArrayOutput
type ResourceGroupPolicyRemediationArrayInput ¶
type ResourceGroupPolicyRemediationArrayInput interface { pulumi.Input ToResourceGroupPolicyRemediationArrayOutput() ResourceGroupPolicyRemediationArrayOutput ToResourceGroupPolicyRemediationArrayOutputWithContext(context.Context) ResourceGroupPolicyRemediationArrayOutput }
ResourceGroupPolicyRemediationArrayInput is an input type that accepts ResourceGroupPolicyRemediationArray and ResourceGroupPolicyRemediationArrayOutput values. You can construct a concrete instance of `ResourceGroupPolicyRemediationArrayInput` via:
ResourceGroupPolicyRemediationArray{ ResourceGroupPolicyRemediationArgs{...} }
type ResourceGroupPolicyRemediationArrayOutput ¶
type ResourceGroupPolicyRemediationArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyRemediationArrayOutput) ElementType ¶
func (ResourceGroupPolicyRemediationArrayOutput) ElementType() reflect.Type
func (ResourceGroupPolicyRemediationArrayOutput) ToResourceGroupPolicyRemediationArrayOutput ¶
func (o ResourceGroupPolicyRemediationArrayOutput) ToResourceGroupPolicyRemediationArrayOutput() ResourceGroupPolicyRemediationArrayOutput
func (ResourceGroupPolicyRemediationArrayOutput) ToResourceGroupPolicyRemediationArrayOutputWithContext ¶
func (o ResourceGroupPolicyRemediationArrayOutput) ToResourceGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationArrayOutput
type ResourceGroupPolicyRemediationInput ¶
type ResourceGroupPolicyRemediationInput interface { pulumi.Input ToResourceGroupPolicyRemediationOutput() ResourceGroupPolicyRemediationOutput ToResourceGroupPolicyRemediationOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationOutput }
type ResourceGroupPolicyRemediationMap ¶
type ResourceGroupPolicyRemediationMap map[string]ResourceGroupPolicyRemediationInput
func (ResourceGroupPolicyRemediationMap) ElementType ¶
func (ResourceGroupPolicyRemediationMap) ElementType() reflect.Type
func (ResourceGroupPolicyRemediationMap) ToResourceGroupPolicyRemediationMapOutput ¶
func (i ResourceGroupPolicyRemediationMap) ToResourceGroupPolicyRemediationMapOutput() ResourceGroupPolicyRemediationMapOutput
func (ResourceGroupPolicyRemediationMap) ToResourceGroupPolicyRemediationMapOutputWithContext ¶
func (i ResourceGroupPolicyRemediationMap) ToResourceGroupPolicyRemediationMapOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationMapOutput
type ResourceGroupPolicyRemediationMapInput ¶
type ResourceGroupPolicyRemediationMapInput interface { pulumi.Input ToResourceGroupPolicyRemediationMapOutput() ResourceGroupPolicyRemediationMapOutput ToResourceGroupPolicyRemediationMapOutputWithContext(context.Context) ResourceGroupPolicyRemediationMapOutput }
ResourceGroupPolicyRemediationMapInput is an input type that accepts ResourceGroupPolicyRemediationMap and ResourceGroupPolicyRemediationMapOutput values. You can construct a concrete instance of `ResourceGroupPolicyRemediationMapInput` via:
ResourceGroupPolicyRemediationMap{ "key": ResourceGroupPolicyRemediationArgs{...} }
type ResourceGroupPolicyRemediationMapOutput ¶
type ResourceGroupPolicyRemediationMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyRemediationMapOutput) ElementType ¶
func (ResourceGroupPolicyRemediationMapOutput) ElementType() reflect.Type
func (ResourceGroupPolicyRemediationMapOutput) MapIndex ¶
func (o ResourceGroupPolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupPolicyRemediationOutput
func (ResourceGroupPolicyRemediationMapOutput) ToResourceGroupPolicyRemediationMapOutput ¶
func (o ResourceGroupPolicyRemediationMapOutput) ToResourceGroupPolicyRemediationMapOutput() ResourceGroupPolicyRemediationMapOutput
func (ResourceGroupPolicyRemediationMapOutput) ToResourceGroupPolicyRemediationMapOutputWithContext ¶
func (o ResourceGroupPolicyRemediationMapOutput) ToResourceGroupPolicyRemediationMapOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationMapOutput
type ResourceGroupPolicyRemediationOutput ¶
type ResourceGroupPolicyRemediationOutput struct{ *pulumi.OutputState }
func (ResourceGroupPolicyRemediationOutput) ElementType ¶
func (ResourceGroupPolicyRemediationOutput) ElementType() reflect.Type
func (ResourceGroupPolicyRemediationOutput) FailurePercentage ¶ added in v5.18.0
func (o ResourceGroupPolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
func (ResourceGroupPolicyRemediationOutput) LocationFilters ¶ added in v5.5.0
func (o ResourceGroupPolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
A list of the resource locations that will be remediated.
func (ResourceGroupPolicyRemediationOutput) Name ¶ added in v5.5.0
func (o ResourceGroupPolicyRemediationOutput) Name() pulumi.StringOutput
The name of the Policy Remediation. Changing this forces a new resource to be created.
func (ResourceGroupPolicyRemediationOutput) ParallelDeployments ¶ added in v5.18.0
func (o ResourceGroupPolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
func (ResourceGroupPolicyRemediationOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o ResourceGroupPolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment that should be remediated.
func (ResourceGroupPolicyRemediationOutput) PolicyDefinitionId
deprecated
added in
v5.5.0
func (o ResourceGroupPolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutput
The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
> **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`.
Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`.
func (ResourceGroupPolicyRemediationOutput) PolicyDefinitionReferenceId ¶ added in v5.21.0
func (o ResourceGroupPolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
func (ResourceGroupPolicyRemediationOutput) ResourceCount ¶ added in v5.18.0
func (o ResourceGroupPolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
func (ResourceGroupPolicyRemediationOutput) ResourceDiscoveryMode ¶ added in v5.5.0
func (o ResourceGroupPolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`.
func (ResourceGroupPolicyRemediationOutput) ResourceGroupId ¶ added in v5.5.0
func (o ResourceGroupPolicyRemediationOutput) ResourceGroupId() pulumi.StringOutput
The Resource Group ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created.
func (ResourceGroupPolicyRemediationOutput) ToResourceGroupPolicyRemediationOutput ¶
func (o ResourceGroupPolicyRemediationOutput) ToResourceGroupPolicyRemediationOutput() ResourceGroupPolicyRemediationOutput
func (ResourceGroupPolicyRemediationOutput) ToResourceGroupPolicyRemediationOutputWithContext ¶
func (o ResourceGroupPolicyRemediationOutput) ToResourceGroupPolicyRemediationOutputWithContext(ctx context.Context) ResourceGroupPolicyRemediationOutput
type ResourceGroupPolicyRemediationState ¶
type ResourceGroupPolicyRemediationState struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrInput // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayInput // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrInput // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringPtrInput // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrInput // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrInput // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrInput // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrInput // The Resource Group ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. ResourceGroupId pulumi.StringPtrInput }
func (ResourceGroupPolicyRemediationState) ElementType ¶
func (ResourceGroupPolicyRemediationState) ElementType() reflect.Type
type ResourceGroupState ¶
type ResourceGroupState struct { // The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. Location pulumi.StringPtrInput // The ID of the resource or application that manages this Resource Group. ManagedBy pulumi.StringPtrInput // The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created. Name pulumi.StringPtrInput // A mapping of tags which should be assigned to the Resource Group. Tags pulumi.StringMapInput }
func (ResourceGroupState) ElementType ¶
func (ResourceGroupState) ElementType() reflect.Type
type ResourceGroupTemplateDeployment ¶
type ResourceGroupTemplateDeployment struct { pulumi.CustomResourceState // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrOutput `pulumi:"debugLevel"` // The Deployment Mode for this Resource Group Template Deployment. Possible values are `Complete` (where resources in the Resource Group not specified in the ARM Template will be destroyed) and `Incremental` (where resources are additive only). // // > **Note:** If `deploymentMode` is set to `Complete` then resources within this Resource Group which are not defined in the ARM Template will be deleted. DeploymentMode pulumi.StringOutput `pulumi:"deploymentMode"` // The name which should be used for this Resource Group Template Deployment. Changing this forces a new Resource Group Template Deployment to be created. Name pulumi.StringOutput `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringOutput `pulumi:"outputContent"` // The contents of the ARM Template parameters file - containing a JSON list of parameters. // // > An example of how to pass variables into an ARM Template can be seen in the example. ParametersContent pulumi.StringOutput `pulumi:"parametersContent"` // The name of the Resource Group where the Resource Group Template Deployment should exist. Changing this forces a new Resource Group Template Deployment to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Resource Group Template Deployment. Tags pulumi.StringMapOutput `pulumi:"tags"` // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringOutput `pulumi:"templateContent"` // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrOutput `pulumi:"templateSpecVersionId"` }
Manages a Resource Group Template Deployment.
> **Note:** This resource will automatically attempt to delete resources deployed by the ARM Template when it is deleted. This behavior can be disabled in the provider `features` block by setting the `deleteNestedItemsDuringDeletion` field to `false` within the `templateDeployment` block.
## Import
Resource Group Template Deployments can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceGroupTemplateDeployment:ResourceGroupTemplateDeployment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Resources/deployments/template1 ```
func GetResourceGroupTemplateDeployment ¶
func GetResourceGroupTemplateDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupTemplateDeploymentState, opts ...pulumi.ResourceOption) (*ResourceGroupTemplateDeployment, error)
GetResourceGroupTemplateDeployment gets an existing ResourceGroupTemplateDeployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroupTemplateDeployment ¶
func NewResourceGroupTemplateDeployment(ctx *pulumi.Context, name string, args *ResourceGroupTemplateDeploymentArgs, opts ...pulumi.ResourceOption) (*ResourceGroupTemplateDeployment, error)
NewResourceGroupTemplateDeployment registers a new resource with the given unique name, arguments, and options.
func (*ResourceGroupTemplateDeployment) ElementType ¶
func (*ResourceGroupTemplateDeployment) ElementType() reflect.Type
func (*ResourceGroupTemplateDeployment) ToResourceGroupTemplateDeploymentOutput ¶
func (i *ResourceGroupTemplateDeployment) ToResourceGroupTemplateDeploymentOutput() ResourceGroupTemplateDeploymentOutput
func (*ResourceGroupTemplateDeployment) ToResourceGroupTemplateDeploymentOutputWithContext ¶
func (i *ResourceGroupTemplateDeployment) ToResourceGroupTemplateDeploymentOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentOutput
type ResourceGroupTemplateDeploymentArgs ¶
type ResourceGroupTemplateDeploymentArgs struct { // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Deployment Mode for this Resource Group Template Deployment. Possible values are `Complete` (where resources in the Resource Group not specified in the ARM Template will be destroyed) and `Incremental` (where resources are additive only). // // > **Note:** If `deploymentMode` is set to `Complete` then resources within this Resource Group which are not defined in the ARM Template will be deleted. DeploymentMode pulumi.StringInput // The name which should be used for this Resource Group Template Deployment. Changing this forces a new Resource Group Template Deployment to be created. Name pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. // // > An example of how to pass variables into an ARM Template can be seen in the example. ParametersContent pulumi.StringPtrInput // The name of the Resource Group where the Resource Group Template Deployment should exist. Changing this forces a new Resource Group Template Deployment to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Resource Group Template Deployment. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
The set of arguments for constructing a ResourceGroupTemplateDeployment resource.
func (ResourceGroupTemplateDeploymentArgs) ElementType ¶
func (ResourceGroupTemplateDeploymentArgs) ElementType() reflect.Type
type ResourceGroupTemplateDeploymentArray ¶
type ResourceGroupTemplateDeploymentArray []ResourceGroupTemplateDeploymentInput
func (ResourceGroupTemplateDeploymentArray) ElementType ¶
func (ResourceGroupTemplateDeploymentArray) ElementType() reflect.Type
func (ResourceGroupTemplateDeploymentArray) ToResourceGroupTemplateDeploymentArrayOutput ¶
func (i ResourceGroupTemplateDeploymentArray) ToResourceGroupTemplateDeploymentArrayOutput() ResourceGroupTemplateDeploymentArrayOutput
func (ResourceGroupTemplateDeploymentArray) ToResourceGroupTemplateDeploymentArrayOutputWithContext ¶
func (i ResourceGroupTemplateDeploymentArray) ToResourceGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentArrayOutput
type ResourceGroupTemplateDeploymentArrayInput ¶
type ResourceGroupTemplateDeploymentArrayInput interface { pulumi.Input ToResourceGroupTemplateDeploymentArrayOutput() ResourceGroupTemplateDeploymentArrayOutput ToResourceGroupTemplateDeploymentArrayOutputWithContext(context.Context) ResourceGroupTemplateDeploymentArrayOutput }
ResourceGroupTemplateDeploymentArrayInput is an input type that accepts ResourceGroupTemplateDeploymentArray and ResourceGroupTemplateDeploymentArrayOutput values. You can construct a concrete instance of `ResourceGroupTemplateDeploymentArrayInput` via:
ResourceGroupTemplateDeploymentArray{ ResourceGroupTemplateDeploymentArgs{...} }
type ResourceGroupTemplateDeploymentArrayOutput ¶
type ResourceGroupTemplateDeploymentArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupTemplateDeploymentArrayOutput) ElementType ¶
func (ResourceGroupTemplateDeploymentArrayOutput) ElementType() reflect.Type
func (ResourceGroupTemplateDeploymentArrayOutput) ToResourceGroupTemplateDeploymentArrayOutput ¶
func (o ResourceGroupTemplateDeploymentArrayOutput) ToResourceGroupTemplateDeploymentArrayOutput() ResourceGroupTemplateDeploymentArrayOutput
func (ResourceGroupTemplateDeploymentArrayOutput) ToResourceGroupTemplateDeploymentArrayOutputWithContext ¶
func (o ResourceGroupTemplateDeploymentArrayOutput) ToResourceGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentArrayOutput
type ResourceGroupTemplateDeploymentInput ¶
type ResourceGroupTemplateDeploymentInput interface { pulumi.Input ToResourceGroupTemplateDeploymentOutput() ResourceGroupTemplateDeploymentOutput ToResourceGroupTemplateDeploymentOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentOutput }
type ResourceGroupTemplateDeploymentMap ¶
type ResourceGroupTemplateDeploymentMap map[string]ResourceGroupTemplateDeploymentInput
func (ResourceGroupTemplateDeploymentMap) ElementType ¶
func (ResourceGroupTemplateDeploymentMap) ElementType() reflect.Type
func (ResourceGroupTemplateDeploymentMap) ToResourceGroupTemplateDeploymentMapOutput ¶
func (i ResourceGroupTemplateDeploymentMap) ToResourceGroupTemplateDeploymentMapOutput() ResourceGroupTemplateDeploymentMapOutput
func (ResourceGroupTemplateDeploymentMap) ToResourceGroupTemplateDeploymentMapOutputWithContext ¶
func (i ResourceGroupTemplateDeploymentMap) ToResourceGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentMapOutput
type ResourceGroupTemplateDeploymentMapInput ¶
type ResourceGroupTemplateDeploymentMapInput interface { pulumi.Input ToResourceGroupTemplateDeploymentMapOutput() ResourceGroupTemplateDeploymentMapOutput ToResourceGroupTemplateDeploymentMapOutputWithContext(context.Context) ResourceGroupTemplateDeploymentMapOutput }
ResourceGroupTemplateDeploymentMapInput is an input type that accepts ResourceGroupTemplateDeploymentMap and ResourceGroupTemplateDeploymentMapOutput values. You can construct a concrete instance of `ResourceGroupTemplateDeploymentMapInput` via:
ResourceGroupTemplateDeploymentMap{ "key": ResourceGroupTemplateDeploymentArgs{...} }
type ResourceGroupTemplateDeploymentMapOutput ¶
type ResourceGroupTemplateDeploymentMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupTemplateDeploymentMapOutput) ElementType ¶
func (ResourceGroupTemplateDeploymentMapOutput) ElementType() reflect.Type
func (ResourceGroupTemplateDeploymentMapOutput) MapIndex ¶
func (o ResourceGroupTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupTemplateDeploymentOutput
func (ResourceGroupTemplateDeploymentMapOutput) ToResourceGroupTemplateDeploymentMapOutput ¶
func (o ResourceGroupTemplateDeploymentMapOutput) ToResourceGroupTemplateDeploymentMapOutput() ResourceGroupTemplateDeploymentMapOutput
func (ResourceGroupTemplateDeploymentMapOutput) ToResourceGroupTemplateDeploymentMapOutputWithContext ¶
func (o ResourceGroupTemplateDeploymentMapOutput) ToResourceGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentMapOutput
type ResourceGroupTemplateDeploymentOutput ¶
type ResourceGroupTemplateDeploymentOutput struct{ *pulumi.OutputState }
func (ResourceGroupTemplateDeploymentOutput) DebugLevel ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
func (ResourceGroupTemplateDeploymentOutput) DeploymentMode ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) DeploymentMode() pulumi.StringOutput
The Deployment Mode for this Resource Group Template Deployment. Possible values are `Complete` (where resources in the Resource Group not specified in the ARM Template will be destroyed) and `Incremental` (where resources are additive only).
> **Note:** If `deploymentMode` is set to `Complete` then resources within this Resource Group which are not defined in the ARM Template will be deleted.
func (ResourceGroupTemplateDeploymentOutput) ElementType ¶
func (ResourceGroupTemplateDeploymentOutput) ElementType() reflect.Type
func (ResourceGroupTemplateDeploymentOutput) Name ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) Name() pulumi.StringOutput
The name which should be used for this Resource Group Template Deployment. Changing this forces a new Resource Group Template Deployment to be created.
func (ResourceGroupTemplateDeploymentOutput) OutputContent ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (ResourceGroupTemplateDeploymentOutput) ParametersContent ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
The contents of the ARM Template parameters file - containing a JSON list of parameters.
> An example of how to pass variables into an ARM Template can be seen in the example.
func (ResourceGroupTemplateDeploymentOutput) ResourceGroupName ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Resource Group Template Deployment should exist. Changing this forces a new Resource Group Template Deployment to be created.
func (ResourceGroupTemplateDeploymentOutput) Tags ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Resource Group Template Deployment.
func (ResourceGroupTemplateDeploymentOutput) TemplateContent ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`.
func (ResourceGroupTemplateDeploymentOutput) TemplateSpecVersionId ¶ added in v5.5.0
func (o ResourceGroupTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`.
func (ResourceGroupTemplateDeploymentOutput) ToResourceGroupTemplateDeploymentOutput ¶
func (o ResourceGroupTemplateDeploymentOutput) ToResourceGroupTemplateDeploymentOutput() ResourceGroupTemplateDeploymentOutput
func (ResourceGroupTemplateDeploymentOutput) ToResourceGroupTemplateDeploymentOutputWithContext ¶
func (o ResourceGroupTemplateDeploymentOutput) ToResourceGroupTemplateDeploymentOutputWithContext(ctx context.Context) ResourceGroupTemplateDeploymentOutput
type ResourceGroupTemplateDeploymentState ¶
type ResourceGroupTemplateDeploymentState struct { // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Deployment Mode for this Resource Group Template Deployment. Possible values are `Complete` (where resources in the Resource Group not specified in the ARM Template will be destroyed) and `Incremental` (where resources are additive only). // // > **Note:** If `deploymentMode` is set to `Complete` then resources within this Resource Group which are not defined in the ARM Template will be deleted. DeploymentMode pulumi.StringPtrInput // The name which should be used for this Resource Group Template Deployment. Changing this forces a new Resource Group Template Deployment to be created. Name pulumi.StringPtrInput // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. // // > An example of how to pass variables into an ARM Template can be seen in the example. ParametersContent pulumi.StringPtrInput // The name of the Resource Group where the Resource Group Template Deployment should exist. Changing this forces a new Resource Group Template Deployment to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Resource Group Template Deployment. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
func (ResourceGroupTemplateDeploymentState) ElementType ¶
func (ResourceGroupTemplateDeploymentState) ElementType() reflect.Type
type ResourcePolicyAssignment ¶
type ResourcePolicyAssignment struct { pulumi.CustomResourceState // A description which should be used for this Policy Assignment. Description pulumi.StringPtrOutput `pulumi:"description"` // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrOutput `pulumi:"enforce"` // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity ResourcePolicyAssignmentIdentityPtrOutput `pulumi:"identity"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringOutput `pulumi:"location"` // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringOutput `pulumi:"name"` // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages ResourcePolicyAssignmentNonComplianceMessageArrayOutput `pulumi:"nonComplianceMessages"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayOutput `pulumi:"notScopes"` // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides ResourcePolicyAssignmentOverrideArrayOutput `pulumi:"overrides"` // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrOutput `pulumi:"parameters"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringOutput `pulumi:"policyDefinitionId"` // The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created. // // > To create a Policy Assignment at a Management Group use the `management.GroupPolicyAssignment` resource, for a Resource Group use the `core.ResourceGroupPolicyAssignment` and for a Subscription use the `core.SubscriptionPolicyAssignment` resource. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors ResourcePolicyAssignmentResourceSelectorArrayOutput `pulumi:"resourceSelectors"` }
Manages a Policy Assignment to a Resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := network.LookupVirtualNetwork(ctx, &network.LookupVirtualNetworkArgs{ Name: "production", ResourceGroupName: "networking", }, nil) if err != nil { return err } exampleDefinition, err := policy.NewDefinition(ctx, "example", &policy.DefinitionArgs{ Name: pulumi.String("only-deploy-in-westeurope"), PolicyType: pulumi.String("Custom"), Mode: pulumi.String("All"), DisplayName: pulumi.String("my-policy-definition"), PolicyRule: pulumi.String(` { "if": { "not": { "field": "location", "equals": "westeurope" } }, "then": { "effect": "Deny" } }
`),
}) if err != nil { return err } _, err = core.NewResourcePolicyAssignment(ctx, "example", &core.ResourcePolicyAssignmentArgs{ Name: pulumi.String("example-policy-assignment"), ResourceId: pulumi.String(example.Id), PolicyDefinitionId: exampleDefinition.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Resource Policy Assignments can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourcePolicyAssignment:ResourcePolicyAssignment example "{resource}/providers/Microsoft.Authorization/policyAssignments/assignment1" ```
where `{resource}` is a Resource ID in the form `/subscriptions/00000000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/virtualNetworks/network1`.
func GetResourcePolicyAssignment ¶
func GetResourcePolicyAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourcePolicyAssignmentState, opts ...pulumi.ResourceOption) (*ResourcePolicyAssignment, error)
GetResourcePolicyAssignment gets an existing ResourcePolicyAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourcePolicyAssignment ¶
func NewResourcePolicyAssignment(ctx *pulumi.Context, name string, args *ResourcePolicyAssignmentArgs, opts ...pulumi.ResourceOption) (*ResourcePolicyAssignment, error)
NewResourcePolicyAssignment registers a new resource with the given unique name, arguments, and options.
func (*ResourcePolicyAssignment) ElementType ¶
func (*ResourcePolicyAssignment) ElementType() reflect.Type
func (*ResourcePolicyAssignment) ToResourcePolicyAssignmentOutput ¶
func (i *ResourcePolicyAssignment) ToResourcePolicyAssignmentOutput() ResourcePolicyAssignmentOutput
func (*ResourcePolicyAssignment) ToResourcePolicyAssignmentOutputWithContext ¶
func (i *ResourcePolicyAssignment) ToResourcePolicyAssignmentOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOutput
type ResourcePolicyAssignmentArgs ¶
type ResourcePolicyAssignmentArgs struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity ResourcePolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages ResourcePolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides ResourcePolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringInput // The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created. // // > To create a Policy Assignment at a Management Group use the `management.GroupPolicyAssignment` resource, for a Resource Group use the `core.ResourceGroupPolicyAssignment` and for a Subscription use the `core.SubscriptionPolicyAssignment` resource. ResourceId pulumi.StringInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors ResourcePolicyAssignmentResourceSelectorArrayInput }
The set of arguments for constructing a ResourcePolicyAssignment resource.
func (ResourcePolicyAssignmentArgs) ElementType ¶
func (ResourcePolicyAssignmentArgs) ElementType() reflect.Type
type ResourcePolicyAssignmentArray ¶
type ResourcePolicyAssignmentArray []ResourcePolicyAssignmentInput
func (ResourcePolicyAssignmentArray) ElementType ¶
func (ResourcePolicyAssignmentArray) ElementType() reflect.Type
func (ResourcePolicyAssignmentArray) ToResourcePolicyAssignmentArrayOutput ¶
func (i ResourcePolicyAssignmentArray) ToResourcePolicyAssignmentArrayOutput() ResourcePolicyAssignmentArrayOutput
func (ResourcePolicyAssignmentArray) ToResourcePolicyAssignmentArrayOutputWithContext ¶
func (i ResourcePolicyAssignmentArray) ToResourcePolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentArrayOutput
type ResourcePolicyAssignmentArrayInput ¶
type ResourcePolicyAssignmentArrayInput interface { pulumi.Input ToResourcePolicyAssignmentArrayOutput() ResourcePolicyAssignmentArrayOutput ToResourcePolicyAssignmentArrayOutputWithContext(context.Context) ResourcePolicyAssignmentArrayOutput }
ResourcePolicyAssignmentArrayInput is an input type that accepts ResourcePolicyAssignmentArray and ResourcePolicyAssignmentArrayOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentArrayInput` via:
ResourcePolicyAssignmentArray{ ResourcePolicyAssignmentArgs{...} }
type ResourcePolicyAssignmentArrayOutput ¶
type ResourcePolicyAssignmentArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentArrayOutput) ElementType ¶
func (ResourcePolicyAssignmentArrayOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentArrayOutput) Index ¶
func (o ResourcePolicyAssignmentArrayOutput) Index(i pulumi.IntInput) ResourcePolicyAssignmentOutput
func (ResourcePolicyAssignmentArrayOutput) ToResourcePolicyAssignmentArrayOutput ¶
func (o ResourcePolicyAssignmentArrayOutput) ToResourcePolicyAssignmentArrayOutput() ResourcePolicyAssignmentArrayOutput
func (ResourcePolicyAssignmentArrayOutput) ToResourcePolicyAssignmentArrayOutputWithContext ¶
func (o ResourcePolicyAssignmentArrayOutput) ToResourcePolicyAssignmentArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentArrayOutput
type ResourcePolicyAssignmentIdentity ¶
type ResourcePolicyAssignmentIdentity struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds []string `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Resource. PrincipalId *string `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Resource. TenantId *string `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`. Type string `pulumi:"type"` }
type ResourcePolicyAssignmentIdentityArgs ¶
type ResourcePolicyAssignmentIdentityArgs struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Resource. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Resource. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ResourcePolicyAssignmentIdentityArgs) ElementType ¶
func (ResourcePolicyAssignmentIdentityArgs) ElementType() reflect.Type
func (ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityOutput ¶
func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityOutput() ResourcePolicyAssignmentIdentityOutput
func (ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityOutputWithContext ¶
func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityOutput
func (ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityPtrOutput ¶
func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput
func (ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityPtrOutputWithContext ¶
func (i ResourcePolicyAssignmentIdentityArgs) ToResourcePolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityPtrOutput
type ResourcePolicyAssignmentIdentityInput ¶
type ResourcePolicyAssignmentIdentityInput interface { pulumi.Input ToResourcePolicyAssignmentIdentityOutput() ResourcePolicyAssignmentIdentityOutput ToResourcePolicyAssignmentIdentityOutputWithContext(context.Context) ResourcePolicyAssignmentIdentityOutput }
ResourcePolicyAssignmentIdentityInput is an input type that accepts ResourcePolicyAssignmentIdentityArgs and ResourcePolicyAssignmentIdentityOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentIdentityInput` via:
ResourcePolicyAssignmentIdentityArgs{...}
type ResourcePolicyAssignmentIdentityOutput ¶
type ResourcePolicyAssignmentIdentityOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentIdentityOutput) ElementType ¶
func (ResourcePolicyAssignmentIdentityOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentIdentityOutput) IdentityIds ¶
func (o ResourcePolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (ResourcePolicyAssignmentIdentityOutput) PrincipalId ¶
func (o ResourcePolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Resource.
func (ResourcePolicyAssignmentIdentityOutput) TenantId ¶
func (o ResourcePolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Resource.
func (ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityOutput ¶
func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityOutput() ResourcePolicyAssignmentIdentityOutput
func (ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityOutputWithContext ¶
func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityOutput
func (ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityPtrOutput ¶
func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput
func (ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityPtrOutputWithContext ¶
func (o ResourcePolicyAssignmentIdentityOutput) ToResourcePolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityPtrOutput
func (ResourcePolicyAssignmentIdentityOutput) Type ¶
func (o ResourcePolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
type ResourcePolicyAssignmentIdentityPtrInput ¶
type ResourcePolicyAssignmentIdentityPtrInput interface { pulumi.Input ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput ToResourcePolicyAssignmentIdentityPtrOutputWithContext(context.Context) ResourcePolicyAssignmentIdentityPtrOutput }
ResourcePolicyAssignmentIdentityPtrInput is an input type that accepts ResourcePolicyAssignmentIdentityArgs, ResourcePolicyAssignmentIdentityPtr and ResourcePolicyAssignmentIdentityPtrOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentIdentityPtrInput` via:
ResourcePolicyAssignmentIdentityArgs{...} or: nil
func ResourcePolicyAssignmentIdentityPtr ¶
func ResourcePolicyAssignmentIdentityPtr(v *ResourcePolicyAssignmentIdentityArgs) ResourcePolicyAssignmentIdentityPtrInput
type ResourcePolicyAssignmentIdentityPtrOutput ¶
type ResourcePolicyAssignmentIdentityPtrOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentIdentityPtrOutput) ElementType ¶
func (ResourcePolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentIdentityPtrOutput) IdentityIds ¶
func (o ResourcePolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (ResourcePolicyAssignmentIdentityPtrOutput) PrincipalId ¶
func (o ResourcePolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Resource.
func (ResourcePolicyAssignmentIdentityPtrOutput) TenantId ¶
func (o ResourcePolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Resource.
func (ResourcePolicyAssignmentIdentityPtrOutput) ToResourcePolicyAssignmentIdentityPtrOutput ¶
func (o ResourcePolicyAssignmentIdentityPtrOutput) ToResourcePolicyAssignmentIdentityPtrOutput() ResourcePolicyAssignmentIdentityPtrOutput
func (ResourcePolicyAssignmentIdentityPtrOutput) ToResourcePolicyAssignmentIdentityPtrOutputWithContext ¶
func (o ResourcePolicyAssignmentIdentityPtrOutput) ToResourcePolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) ResourcePolicyAssignmentIdentityPtrOutput
func (ResourcePolicyAssignmentIdentityPtrOutput) Type ¶
func (o ResourcePolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
type ResourcePolicyAssignmentInput ¶
type ResourcePolicyAssignmentInput interface { pulumi.Input ToResourcePolicyAssignmentOutput() ResourcePolicyAssignmentOutput ToResourcePolicyAssignmentOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOutput }
type ResourcePolicyAssignmentMap ¶
type ResourcePolicyAssignmentMap map[string]ResourcePolicyAssignmentInput
func (ResourcePolicyAssignmentMap) ElementType ¶
func (ResourcePolicyAssignmentMap) ElementType() reflect.Type
func (ResourcePolicyAssignmentMap) ToResourcePolicyAssignmentMapOutput ¶
func (i ResourcePolicyAssignmentMap) ToResourcePolicyAssignmentMapOutput() ResourcePolicyAssignmentMapOutput
func (ResourcePolicyAssignmentMap) ToResourcePolicyAssignmentMapOutputWithContext ¶
func (i ResourcePolicyAssignmentMap) ToResourcePolicyAssignmentMapOutputWithContext(ctx context.Context) ResourcePolicyAssignmentMapOutput
type ResourcePolicyAssignmentMapInput ¶
type ResourcePolicyAssignmentMapInput interface { pulumi.Input ToResourcePolicyAssignmentMapOutput() ResourcePolicyAssignmentMapOutput ToResourcePolicyAssignmentMapOutputWithContext(context.Context) ResourcePolicyAssignmentMapOutput }
ResourcePolicyAssignmentMapInput is an input type that accepts ResourcePolicyAssignmentMap and ResourcePolicyAssignmentMapOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentMapInput` via:
ResourcePolicyAssignmentMap{ "key": ResourcePolicyAssignmentArgs{...} }
type ResourcePolicyAssignmentMapOutput ¶
type ResourcePolicyAssignmentMapOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentMapOutput) ElementType ¶
func (ResourcePolicyAssignmentMapOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentMapOutput) MapIndex ¶
func (o ResourcePolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyAssignmentOutput
func (ResourcePolicyAssignmentMapOutput) ToResourcePolicyAssignmentMapOutput ¶
func (o ResourcePolicyAssignmentMapOutput) ToResourcePolicyAssignmentMapOutput() ResourcePolicyAssignmentMapOutput
func (ResourcePolicyAssignmentMapOutput) ToResourcePolicyAssignmentMapOutputWithContext ¶
func (o ResourcePolicyAssignmentMapOutput) ToResourcePolicyAssignmentMapOutputWithContext(ctx context.Context) ResourcePolicyAssignmentMapOutput
type ResourcePolicyAssignmentNonComplianceMessage ¶
type ResourcePolicyAssignmentNonComplianceMessage struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content string `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId *string `pulumi:"policyDefinitionReferenceId"` }
type ResourcePolicyAssignmentNonComplianceMessageArgs ¶
type ResourcePolicyAssignmentNonComplianceMessageArgs struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content pulumi.StringInput `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId pulumi.StringPtrInput `pulumi:"policyDefinitionReferenceId"` }
func (ResourcePolicyAssignmentNonComplianceMessageArgs) ElementType ¶
func (ResourcePolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
func (ResourcePolicyAssignmentNonComplianceMessageArgs) ToResourcePolicyAssignmentNonComplianceMessageOutput ¶
func (i ResourcePolicyAssignmentNonComplianceMessageArgs) ToResourcePolicyAssignmentNonComplianceMessageOutput() ResourcePolicyAssignmentNonComplianceMessageOutput
func (ResourcePolicyAssignmentNonComplianceMessageArgs) ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (i ResourcePolicyAssignmentNonComplianceMessageArgs) ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageOutput
type ResourcePolicyAssignmentNonComplianceMessageArray ¶
type ResourcePolicyAssignmentNonComplianceMessageArray []ResourcePolicyAssignmentNonComplianceMessageInput
func (ResourcePolicyAssignmentNonComplianceMessageArray) ElementType ¶
func (ResourcePolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
func (ResourcePolicyAssignmentNonComplianceMessageArray) ToResourcePolicyAssignmentNonComplianceMessageArrayOutput ¶
func (i ResourcePolicyAssignmentNonComplianceMessageArray) ToResourcePolicyAssignmentNonComplianceMessageArrayOutput() ResourcePolicyAssignmentNonComplianceMessageArrayOutput
func (ResourcePolicyAssignmentNonComplianceMessageArray) ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (i ResourcePolicyAssignmentNonComplianceMessageArray) ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageArrayOutput
type ResourcePolicyAssignmentNonComplianceMessageArrayInput ¶
type ResourcePolicyAssignmentNonComplianceMessageArrayInput interface { pulumi.Input ToResourcePolicyAssignmentNonComplianceMessageArrayOutput() ResourcePolicyAssignmentNonComplianceMessageArrayOutput ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext(context.Context) ResourcePolicyAssignmentNonComplianceMessageArrayOutput }
ResourcePolicyAssignmentNonComplianceMessageArrayInput is an input type that accepts ResourcePolicyAssignmentNonComplianceMessageArray and ResourcePolicyAssignmentNonComplianceMessageArrayOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentNonComplianceMessageArrayInput` via:
ResourcePolicyAssignmentNonComplianceMessageArray{ ResourcePolicyAssignmentNonComplianceMessageArgs{...} }
type ResourcePolicyAssignmentNonComplianceMessageArrayOutput ¶
type ResourcePolicyAssignmentNonComplianceMessageArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ElementType ¶
func (ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ToResourcePolicyAssignmentNonComplianceMessageArrayOutput ¶
func (o ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ToResourcePolicyAssignmentNonComplianceMessageArrayOutput() ResourcePolicyAssignmentNonComplianceMessageArrayOutput
func (ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (o ResourcePolicyAssignmentNonComplianceMessageArrayOutput) ToResourcePolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageArrayOutput
type ResourcePolicyAssignmentNonComplianceMessageInput ¶
type ResourcePolicyAssignmentNonComplianceMessageInput interface { pulumi.Input ToResourcePolicyAssignmentNonComplianceMessageOutput() ResourcePolicyAssignmentNonComplianceMessageOutput ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext(context.Context) ResourcePolicyAssignmentNonComplianceMessageOutput }
ResourcePolicyAssignmentNonComplianceMessageInput is an input type that accepts ResourcePolicyAssignmentNonComplianceMessageArgs and ResourcePolicyAssignmentNonComplianceMessageOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentNonComplianceMessageInput` via:
ResourcePolicyAssignmentNonComplianceMessageArgs{...}
type ResourcePolicyAssignmentNonComplianceMessageOutput ¶
type ResourcePolicyAssignmentNonComplianceMessageOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentNonComplianceMessageOutput) Content ¶
func (o ResourcePolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies.
func (ResourcePolicyAssignmentNonComplianceMessageOutput) ElementType ¶
func (ResourcePolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId ¶
func (o ResourcePolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
func (ResourcePolicyAssignmentNonComplianceMessageOutput) ToResourcePolicyAssignmentNonComplianceMessageOutput ¶
func (o ResourcePolicyAssignmentNonComplianceMessageOutput) ToResourcePolicyAssignmentNonComplianceMessageOutput() ResourcePolicyAssignmentNonComplianceMessageOutput
func (ResourcePolicyAssignmentNonComplianceMessageOutput) ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (o ResourcePolicyAssignmentNonComplianceMessageOutput) ToResourcePolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) ResourcePolicyAssignmentNonComplianceMessageOutput
type ResourcePolicyAssignmentOutput ¶
type ResourcePolicyAssignmentOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentOutput) Description ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Description() pulumi.StringPtrOutput
A description which should be used for this Policy Assignment.
func (ResourcePolicyAssignmentOutput) DisplayName ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
The Display Name for this Policy Assignment.
func (ResourcePolicyAssignmentOutput) ElementType ¶
func (ResourcePolicyAssignmentOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentOutput) Enforce ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
Specifies if this Policy should be enforced or not? Defaults to `true`.
func (ResourcePolicyAssignmentOutput) Identity ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Identity() ResourcePolicyAssignmentIdentityPtrOutput
An `identity` block as defined below.
> **Note:** The `location` field must also be specified when `identity` is specified.
func (ResourcePolicyAssignmentOutput) Location ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Location() pulumi.StringOutput
The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
func (ResourcePolicyAssignmentOutput) Metadata ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Metadata() pulumi.StringOutput
A JSON mapping of any Metadata for this Policy.
func (ResourcePolicyAssignmentOutput) Name ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Name() pulumi.StringOutput
The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length.
func (ResourcePolicyAssignmentOutput) NonComplianceMessages ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) NonComplianceMessages() ResourcePolicyAssignmentNonComplianceMessageArrayOutput
One or more `nonComplianceMessage` blocks as defined below.
func (ResourcePolicyAssignmentOutput) NotScopes ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
func (ResourcePolicyAssignmentOutput) Overrides ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOutput) Overrides() ResourcePolicyAssignmentOverrideArrayOutput
One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview)
func (ResourcePolicyAssignmentOutput) Parameters ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
A JSON mapping of any Parameters for this Policy.
func (ResourcePolicyAssignmentOutput) PolicyDefinitionId ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
func (ResourcePolicyAssignmentOutput) ResourceId ¶ added in v5.5.0
func (o ResourcePolicyAssignmentOutput) ResourceId() pulumi.StringOutput
The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created.
> To create a Policy Assignment at a Management Group use the `management.GroupPolicyAssignment` resource, for a Resource Group use the `core.ResourceGroupPolicyAssignment` and for a Subscription use the `core.SubscriptionPolicyAssignment` resource.
func (ResourcePolicyAssignmentOutput) ResourceSelectors ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOutput) ResourceSelectors() ResourcePolicyAssignmentResourceSelectorArrayOutput
One or more `resourceSelectors` blocks as defined below to filter polices by resource properties.
func (ResourcePolicyAssignmentOutput) ToResourcePolicyAssignmentOutput ¶
func (o ResourcePolicyAssignmentOutput) ToResourcePolicyAssignmentOutput() ResourcePolicyAssignmentOutput
func (ResourcePolicyAssignmentOutput) ToResourcePolicyAssignmentOutputWithContext ¶
func (o ResourcePolicyAssignmentOutput) ToResourcePolicyAssignmentOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOutput
type ResourcePolicyAssignmentOverride ¶ added in v5.39.0
type ResourcePolicyAssignmentOverride struct { // One or more `overrideSelector` block as defined below. Selectors []ResourcePolicyAssignmentOverrideSelector `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value string `pulumi:"value"` }
type ResourcePolicyAssignmentOverrideArgs ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideArgs struct { // One or more `overrideSelector` block as defined below. Selectors ResourcePolicyAssignmentOverrideSelectorArrayInput `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value pulumi.StringInput `pulumi:"value"` }
func (ResourcePolicyAssignmentOverrideArgs) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideArgs) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideArgs) ToResourcePolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideArgs) ToResourcePolicyAssignmentOverrideOutput() ResourcePolicyAssignmentOverrideOutput
func (ResourcePolicyAssignmentOverrideArgs) ToResourcePolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideArgs) ToResourcePolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideOutput
type ResourcePolicyAssignmentOverrideArray ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideArray []ResourcePolicyAssignmentOverrideInput
func (ResourcePolicyAssignmentOverrideArray) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideArray) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideArray) ToResourcePolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideArray) ToResourcePolicyAssignmentOverrideArrayOutput() ResourcePolicyAssignmentOverrideArrayOutput
func (ResourcePolicyAssignmentOverrideArray) ToResourcePolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideArray) ToResourcePolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideArrayOutput
type ResourcePolicyAssignmentOverrideArrayInput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideArrayInput interface { pulumi.Input ToResourcePolicyAssignmentOverrideArrayOutput() ResourcePolicyAssignmentOverrideArrayOutput ToResourcePolicyAssignmentOverrideArrayOutputWithContext(context.Context) ResourcePolicyAssignmentOverrideArrayOutput }
ResourcePolicyAssignmentOverrideArrayInput is an input type that accepts ResourcePolicyAssignmentOverrideArray and ResourcePolicyAssignmentOverrideArrayOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentOverrideArrayInput` via:
ResourcePolicyAssignmentOverrideArray{ ResourcePolicyAssignmentOverrideArgs{...} }
type ResourcePolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentOverrideArrayOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideArrayOutput) ToResourcePolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideArrayOutput) ToResourcePolicyAssignmentOverrideArrayOutput() ResourcePolicyAssignmentOverrideArrayOutput
func (ResourcePolicyAssignmentOverrideArrayOutput) ToResourcePolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideArrayOutput) ToResourcePolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideArrayOutput
type ResourcePolicyAssignmentOverrideInput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideInput interface { pulumi.Input ToResourcePolicyAssignmentOverrideOutput() ResourcePolicyAssignmentOverrideOutput ToResourcePolicyAssignmentOverrideOutputWithContext(context.Context) ResourcePolicyAssignmentOverrideOutput }
ResourcePolicyAssignmentOverrideInput is an input type that accepts ResourcePolicyAssignmentOverrideArgs and ResourcePolicyAssignmentOverrideOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentOverrideInput` via:
ResourcePolicyAssignmentOverrideArgs{...}
type ResourcePolicyAssignmentOverrideOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentOverrideOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideOutput) Selectors ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideOutput) Selectors() ResourcePolicyAssignmentOverrideSelectorArrayOutput
One or more `overrideSelector` block as defined below.
func (ResourcePolicyAssignmentOverrideOutput) ToResourcePolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideOutput) ToResourcePolicyAssignmentOverrideOutput() ResourcePolicyAssignmentOverrideOutput
func (ResourcePolicyAssignmentOverrideOutput) ToResourcePolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideOutput) ToResourcePolicyAssignmentOverrideOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideOutput
func (ResourcePolicyAssignmentOverrideOutput) Value ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects).
type ResourcePolicyAssignmentOverrideSelector ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelector struct { Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind *string `pulumi:"kind"` NotIns []string `pulumi:"notIns"` }
type ResourcePolicyAssignmentOverrideSelectorArgs ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelectorArgs struct { Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringPtrInput `pulumi:"kind"` NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (ResourcePolicyAssignmentOverrideSelectorArgs) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideSelectorArgs) ToResourcePolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideSelectorArgs) ToResourcePolicyAssignmentOverrideSelectorOutput() ResourcePolicyAssignmentOverrideSelectorOutput
func (ResourcePolicyAssignmentOverrideSelectorArgs) ToResourcePolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideSelectorArgs) ToResourcePolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorOutput
type ResourcePolicyAssignmentOverrideSelectorArray ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelectorArray []ResourcePolicyAssignmentOverrideSelectorInput
func (ResourcePolicyAssignmentOverrideSelectorArray) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideSelectorArray) ToResourcePolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideSelectorArray) ToResourcePolicyAssignmentOverrideSelectorArrayOutput() ResourcePolicyAssignmentOverrideSelectorArrayOutput
func (ResourcePolicyAssignmentOverrideSelectorArray) ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentOverrideSelectorArray) ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorArrayOutput
type ResourcePolicyAssignmentOverrideSelectorArrayInput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelectorArrayInput interface { pulumi.Input ToResourcePolicyAssignmentOverrideSelectorArrayOutput() ResourcePolicyAssignmentOverrideSelectorArrayOutput ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext(context.Context) ResourcePolicyAssignmentOverrideSelectorArrayOutput }
ResourcePolicyAssignmentOverrideSelectorArrayInput is an input type that accepts ResourcePolicyAssignmentOverrideSelectorArray and ResourcePolicyAssignmentOverrideSelectorArrayOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentOverrideSelectorArrayInput` via:
ResourcePolicyAssignmentOverrideSelectorArray{ ResourcePolicyAssignmentOverrideSelectorArgs{...} }
type ResourcePolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelectorArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentOverrideSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideSelectorArrayOutput) ToResourcePolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideSelectorArrayOutput) ToResourcePolicyAssignmentOverrideSelectorArrayOutput() ResourcePolicyAssignmentOverrideSelectorArrayOutput
func (ResourcePolicyAssignmentOverrideSelectorArrayOutput) ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideSelectorArrayOutput) ToResourcePolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorArrayOutput
type ResourcePolicyAssignmentOverrideSelectorInput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelectorInput interface { pulumi.Input ToResourcePolicyAssignmentOverrideSelectorOutput() ResourcePolicyAssignmentOverrideSelectorOutput ToResourcePolicyAssignmentOverrideSelectorOutputWithContext(context.Context) ResourcePolicyAssignmentOverrideSelectorOutput }
ResourcePolicyAssignmentOverrideSelectorInput is an input type that accepts ResourcePolicyAssignmentOverrideSelectorArgs and ResourcePolicyAssignmentOverrideSelectorOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentOverrideSelectorInput` via:
ResourcePolicyAssignmentOverrideSelectorArgs{...}
type ResourcePolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentOverrideSelectorOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentOverrideSelectorOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentOverrideSelectorOutput) Kind ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (ResourcePolicyAssignmentOverrideSelectorOutput) NotIns ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
func (ResourcePolicyAssignmentOverrideSelectorOutput) ToResourcePolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideSelectorOutput) ToResourcePolicyAssignmentOverrideSelectorOutput() ResourcePolicyAssignmentOverrideSelectorOutput
func (ResourcePolicyAssignmentOverrideSelectorOutput) ToResourcePolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentOverrideSelectorOutput) ToResourcePolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentOverrideSelectorOutput
type ResourcePolicyAssignmentResourceSelector ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelector struct { // Specifies a name for the resource selector. Name *string `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors []ResourcePolicyAssignmentResourceSelectorSelector `pulumi:"selectors"` }
type ResourcePolicyAssignmentResourceSelectorArgs ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorArgs struct { // Specifies a name for the resource selector. Name pulumi.StringPtrInput `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors ResourcePolicyAssignmentResourceSelectorSelectorArrayInput `pulumi:"selectors"` }
func (ResourcePolicyAssignmentResourceSelectorArgs) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorArgs) ToResourcePolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorArgs) ToResourcePolicyAssignmentResourceSelectorOutput() ResourcePolicyAssignmentResourceSelectorOutput
func (ResourcePolicyAssignmentResourceSelectorArgs) ToResourcePolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorArgs) ToResourcePolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorOutput
type ResourcePolicyAssignmentResourceSelectorArray ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorArray []ResourcePolicyAssignmentResourceSelectorInput
func (ResourcePolicyAssignmentResourceSelectorArray) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorArray) ToResourcePolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorArray) ToResourcePolicyAssignmentResourceSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorArrayOutput
func (ResourcePolicyAssignmentResourceSelectorArray) ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorArray) ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorArrayOutput
type ResourcePolicyAssignmentResourceSelectorArrayInput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorArrayInput interface { pulumi.Input ToResourcePolicyAssignmentResourceSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorArrayOutput ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext(context.Context) ResourcePolicyAssignmentResourceSelectorArrayOutput }
ResourcePolicyAssignmentResourceSelectorArrayInput is an input type that accepts ResourcePolicyAssignmentResourceSelectorArray and ResourcePolicyAssignmentResourceSelectorArrayOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentResourceSelectorArrayInput` via:
ResourcePolicyAssignmentResourceSelectorArray{ ResourcePolicyAssignmentResourceSelectorArgs{...} }
type ResourcePolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentResourceSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorArrayOutput
func (ResourcePolicyAssignmentResourceSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorArrayOutput
type ResourcePolicyAssignmentResourceSelectorInput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorInput interface { pulumi.Input ToResourcePolicyAssignmentResourceSelectorOutput() ResourcePolicyAssignmentResourceSelectorOutput ToResourcePolicyAssignmentResourceSelectorOutputWithContext(context.Context) ResourcePolicyAssignmentResourceSelectorOutput }
ResourcePolicyAssignmentResourceSelectorInput is an input type that accepts ResourcePolicyAssignmentResourceSelectorArgs and ResourcePolicyAssignmentResourceSelectorOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentResourceSelectorInput` via:
ResourcePolicyAssignmentResourceSelectorArgs{...}
type ResourcePolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentResourceSelectorOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorOutput) Name ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
Specifies a name for the resource selector.
func (ResourcePolicyAssignmentResourceSelectorOutput) Selectors ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorOutput) Selectors() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
One or more `resourceSelector` block as defined below.
func (ResourcePolicyAssignmentResourceSelectorOutput) ToResourcePolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorOutput) ToResourcePolicyAssignmentResourceSelectorOutput() ResourcePolicyAssignmentResourceSelectorOutput
func (ResourcePolicyAssignmentResourceSelectorOutput) ToResourcePolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorOutput) ToResourcePolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorOutput
type ResourcePolicyAssignmentResourceSelectorSelector ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelector struct { Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind string `pulumi:"kind"` NotIns []string `pulumi:"notIns"` }
type ResourcePolicyAssignmentResourceSelectorSelectorArgs ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelectorArgs struct { Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringInput `pulumi:"kind"` NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (ResourcePolicyAssignmentResourceSelectorSelectorArgs) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorSelectorArgs) ToResourcePolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorSelectorArgs) ToResourcePolicyAssignmentResourceSelectorSelectorOutput() ResourcePolicyAssignmentResourceSelectorSelectorOutput
func (ResourcePolicyAssignmentResourceSelectorSelectorArgs) ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorSelectorArgs) ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorOutput
type ResourcePolicyAssignmentResourceSelectorSelectorArray ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelectorArray []ResourcePolicyAssignmentResourceSelectorSelectorInput
func (ResourcePolicyAssignmentResourceSelectorSelectorArray) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorSelectorArray) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorSelectorArray) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
func (ResourcePolicyAssignmentResourceSelectorSelectorArray) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i ResourcePolicyAssignmentResourceSelectorSelectorArray) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
type ResourcePolicyAssignmentResourceSelectorSelectorArrayInput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelectorArrayInput interface { pulumi.Input ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(context.Context) ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput }
ResourcePolicyAssignmentResourceSelectorSelectorArrayInput is an input type that accepts ResourcePolicyAssignmentResourceSelectorSelectorArray and ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentResourceSelectorSelectorArrayInput` via:
ResourcePolicyAssignmentResourceSelectorSelectorArray{ ResourcePolicyAssignmentResourceSelectorSelectorArgs{...} }
type ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutput() ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
func (ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput) ToResourcePolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorArrayOutput
type ResourcePolicyAssignmentResourceSelectorSelectorInput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelectorInput interface { pulumi.Input ToResourcePolicyAssignmentResourceSelectorSelectorOutput() ResourcePolicyAssignmentResourceSelectorSelectorOutput ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext(context.Context) ResourcePolicyAssignmentResourceSelectorSelectorOutput }
ResourcePolicyAssignmentResourceSelectorSelectorInput is an input type that accepts ResourcePolicyAssignmentResourceSelectorSelectorArgs and ResourcePolicyAssignmentResourceSelectorSelectorOutput values. You can construct a concrete instance of `ResourcePolicyAssignmentResourceSelectorSelectorInput` via:
ResourcePolicyAssignmentResourceSelectorSelectorArgs{...}
type ResourcePolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
type ResourcePolicyAssignmentResourceSelectorSelectorOutput struct{ *pulumi.OutputState }
func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) ElementType ¶ added in v5.39.0
func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) Kind ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) Kind() pulumi.StringOutput
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) NotIns ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) NotIns() pulumi.StringArrayOutput
func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) ToResourcePolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) ToResourcePolicyAssignmentResourceSelectorSelectorOutput() ResourcePolicyAssignmentResourceSelectorSelectorOutput
func (ResourcePolicyAssignmentResourceSelectorSelectorOutput) ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (o ResourcePolicyAssignmentResourceSelectorSelectorOutput) ToResourcePolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) ResourcePolicyAssignmentResourceSelectorSelectorOutput
type ResourcePolicyAssignmentState ¶
type ResourcePolicyAssignmentState struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity ResourcePolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages ResourcePolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides ResourcePolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringPtrInput // The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created. // // > To create a Policy Assignment at a Management Group use the `management.GroupPolicyAssignment` resource, for a Resource Group use the `core.ResourceGroupPolicyAssignment` and for a Subscription use the `core.SubscriptionPolicyAssignment` resource. ResourceId pulumi.StringPtrInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors ResourcePolicyAssignmentResourceSelectorArrayInput }
func (ResourcePolicyAssignmentState) ElementType ¶
func (ResourcePolicyAssignmentState) ElementType() reflect.Type
type ResourcePolicyExemption ¶ added in v5.2.0
type ResourcePolicyExemption struct { pulumi.CustomResourceState // A description to use for this Policy Exemption. Description pulumi.StringPtrOutput `pulumi:"description"` // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringOutput `pulumi:"exemptionCategory"` // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrOutput `pulumi:"expiresOn"` // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayOutput `pulumi:"policyDefinitionReferenceIds"` // The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ResourceId pulumi.StringOutput `pulumi:"resourceId"` }
Manages a Resource Policy Exemption.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("group1"), Location: pulumi.String("westus"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("network1"), ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } example, err := policy.LookupPolicySetDefinition(ctx, &policy.LookupPolicySetDefinitionArgs{ DisplayName: pulumi.StringRef("Audit machines with insecure password security settings"), }, nil) if err != nil { return err } exampleResourcePolicyAssignment, err := core.NewResourcePolicyAssignment(ctx, "example", &core.ResourcePolicyAssignmentArgs{ Name: pulumi.String("assignment1"), ResourceId: exampleVirtualNetwork.ID(), PolicyDefinitionId: pulumi.String(example.Id), Location: exampleResourceGroup.Location, Identity: &core.ResourcePolicyAssignmentIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } _, err = core.NewResourcePolicyExemption(ctx, "example", &core.ResourcePolicyExemptionArgs{ Name: pulumi.String("exemption1"), ResourceId: exampleResourcePolicyAssignment.ResourceId, PolicyAssignmentId: exampleResourcePolicyAssignment.ID(), ExemptionCategory: pulumi.String("Mitigated"), }) if err != nil { return err } return nil }) }
```
## Import
Policy Exemptions can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourcePolicyExemption:ResourcePolicyExemption exemption1 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Authorization/policyExemptions/exemption1 ```
func GetResourcePolicyExemption ¶ added in v5.2.0
func GetResourcePolicyExemption(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourcePolicyExemptionState, opts ...pulumi.ResourceOption) (*ResourcePolicyExemption, error)
GetResourcePolicyExemption gets an existing ResourcePolicyExemption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourcePolicyExemption ¶ added in v5.2.0
func NewResourcePolicyExemption(ctx *pulumi.Context, name string, args *ResourcePolicyExemptionArgs, opts ...pulumi.ResourceOption) (*ResourcePolicyExemption, error)
NewResourcePolicyExemption registers a new resource with the given unique name, arguments, and options.
func (*ResourcePolicyExemption) ElementType ¶ added in v5.2.0
func (*ResourcePolicyExemption) ElementType() reflect.Type
func (*ResourcePolicyExemption) ToResourcePolicyExemptionOutput ¶ added in v5.2.0
func (i *ResourcePolicyExemption) ToResourcePolicyExemptionOutput() ResourcePolicyExemptionOutput
func (*ResourcePolicyExemption) ToResourcePolicyExemptionOutputWithContext ¶ added in v5.2.0
func (i *ResourcePolicyExemption) ToResourcePolicyExemptionOutputWithContext(ctx context.Context) ResourcePolicyExemptionOutput
type ResourcePolicyExemptionArgs ¶ added in v5.2.0
type ResourcePolicyExemptionArgs struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput // The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ResourceId pulumi.StringInput }
The set of arguments for constructing a ResourcePolicyExemption resource.
func (ResourcePolicyExemptionArgs) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionArgs) ElementType() reflect.Type
type ResourcePolicyExemptionArray ¶ added in v5.2.0
type ResourcePolicyExemptionArray []ResourcePolicyExemptionInput
func (ResourcePolicyExemptionArray) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionArray) ElementType() reflect.Type
func (ResourcePolicyExemptionArray) ToResourcePolicyExemptionArrayOutput ¶ added in v5.2.0
func (i ResourcePolicyExemptionArray) ToResourcePolicyExemptionArrayOutput() ResourcePolicyExemptionArrayOutput
func (ResourcePolicyExemptionArray) ToResourcePolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (i ResourcePolicyExemptionArray) ToResourcePolicyExemptionArrayOutputWithContext(ctx context.Context) ResourcePolicyExemptionArrayOutput
type ResourcePolicyExemptionArrayInput ¶ added in v5.2.0
type ResourcePolicyExemptionArrayInput interface { pulumi.Input ToResourcePolicyExemptionArrayOutput() ResourcePolicyExemptionArrayOutput ToResourcePolicyExemptionArrayOutputWithContext(context.Context) ResourcePolicyExemptionArrayOutput }
ResourcePolicyExemptionArrayInput is an input type that accepts ResourcePolicyExemptionArray and ResourcePolicyExemptionArrayOutput values. You can construct a concrete instance of `ResourcePolicyExemptionArrayInput` via:
ResourcePolicyExemptionArray{ ResourcePolicyExemptionArgs{...} }
type ResourcePolicyExemptionArrayOutput ¶ added in v5.2.0
type ResourcePolicyExemptionArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyExemptionArrayOutput) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionArrayOutput) ElementType() reflect.Type
func (ResourcePolicyExemptionArrayOutput) Index ¶ added in v5.2.0
func (o ResourcePolicyExemptionArrayOutput) Index(i pulumi.IntInput) ResourcePolicyExemptionOutput
func (ResourcePolicyExemptionArrayOutput) ToResourcePolicyExemptionArrayOutput ¶ added in v5.2.0
func (o ResourcePolicyExemptionArrayOutput) ToResourcePolicyExemptionArrayOutput() ResourcePolicyExemptionArrayOutput
func (ResourcePolicyExemptionArrayOutput) ToResourcePolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (o ResourcePolicyExemptionArrayOutput) ToResourcePolicyExemptionArrayOutputWithContext(ctx context.Context) ResourcePolicyExemptionArrayOutput
type ResourcePolicyExemptionInput ¶ added in v5.2.0
type ResourcePolicyExemptionInput interface { pulumi.Input ToResourcePolicyExemptionOutput() ResourcePolicyExemptionOutput ToResourcePolicyExemptionOutputWithContext(ctx context.Context) ResourcePolicyExemptionOutput }
type ResourcePolicyExemptionMap ¶ added in v5.2.0
type ResourcePolicyExemptionMap map[string]ResourcePolicyExemptionInput
func (ResourcePolicyExemptionMap) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionMap) ElementType() reflect.Type
func (ResourcePolicyExemptionMap) ToResourcePolicyExemptionMapOutput ¶ added in v5.2.0
func (i ResourcePolicyExemptionMap) ToResourcePolicyExemptionMapOutput() ResourcePolicyExemptionMapOutput
func (ResourcePolicyExemptionMap) ToResourcePolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (i ResourcePolicyExemptionMap) ToResourcePolicyExemptionMapOutputWithContext(ctx context.Context) ResourcePolicyExemptionMapOutput
type ResourcePolicyExemptionMapInput ¶ added in v5.2.0
type ResourcePolicyExemptionMapInput interface { pulumi.Input ToResourcePolicyExemptionMapOutput() ResourcePolicyExemptionMapOutput ToResourcePolicyExemptionMapOutputWithContext(context.Context) ResourcePolicyExemptionMapOutput }
ResourcePolicyExemptionMapInput is an input type that accepts ResourcePolicyExemptionMap and ResourcePolicyExemptionMapOutput values. You can construct a concrete instance of `ResourcePolicyExemptionMapInput` via:
ResourcePolicyExemptionMap{ "key": ResourcePolicyExemptionArgs{...} }
type ResourcePolicyExemptionMapOutput ¶ added in v5.2.0
type ResourcePolicyExemptionMapOutput struct{ *pulumi.OutputState }
func (ResourcePolicyExemptionMapOutput) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionMapOutput) ElementType() reflect.Type
func (ResourcePolicyExemptionMapOutput) MapIndex ¶ added in v5.2.0
func (o ResourcePolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyExemptionOutput
func (ResourcePolicyExemptionMapOutput) ToResourcePolicyExemptionMapOutput ¶ added in v5.2.0
func (o ResourcePolicyExemptionMapOutput) ToResourcePolicyExemptionMapOutput() ResourcePolicyExemptionMapOutput
func (ResourcePolicyExemptionMapOutput) ToResourcePolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (o ResourcePolicyExemptionMapOutput) ToResourcePolicyExemptionMapOutputWithContext(ctx context.Context) ResourcePolicyExemptionMapOutput
type ResourcePolicyExemptionOutput ¶ added in v5.2.0
type ResourcePolicyExemptionOutput struct{ *pulumi.OutputState }
func (ResourcePolicyExemptionOutput) Description ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) Description() pulumi.StringPtrOutput
A description to use for this Policy Exemption.
func (ResourcePolicyExemptionOutput) DisplayName ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
A friendly display name to use for this Policy Exemption.
func (ResourcePolicyExemptionOutput) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionOutput) ElementType() reflect.Type
func (ResourcePolicyExemptionOutput) ExemptionCategory ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
The category of this policy exemption. Possible values are `Waiver` and `Mitigated`.
func (ResourcePolicyExemptionOutput) ExpiresOn ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
The expiration date and time in UTC ISO 8601 format of this policy exemption.
func (ResourcePolicyExemptionOutput) Metadata ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) Metadata() pulumi.StringOutput
The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
func (ResourcePolicyExemptionOutput) Name ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) Name() pulumi.StringOutput
The name of the Policy Exemption. Changing this forces a new resource to be created.
func (ResourcePolicyExemptionOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
func (ResourcePolicyExemptionOutput) PolicyDefinitionReferenceIds ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
func (ResourcePolicyExemptionOutput) ResourceId ¶ added in v5.5.0
func (o ResourcePolicyExemptionOutput) ResourceId() pulumi.StringOutput
The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
func (ResourcePolicyExemptionOutput) ToResourcePolicyExemptionOutput ¶ added in v5.2.0
func (o ResourcePolicyExemptionOutput) ToResourcePolicyExemptionOutput() ResourcePolicyExemptionOutput
func (ResourcePolicyExemptionOutput) ToResourcePolicyExemptionOutputWithContext ¶ added in v5.2.0
func (o ResourcePolicyExemptionOutput) ToResourcePolicyExemptionOutputWithContext(ctx context.Context) ResourcePolicyExemptionOutput
type ResourcePolicyExemptionState ¶ added in v5.2.0
type ResourcePolicyExemptionState struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringPtrInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringPtrInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput // The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ResourceId pulumi.StringPtrInput }
func (ResourcePolicyExemptionState) ElementType ¶ added in v5.2.0
func (ResourcePolicyExemptionState) ElementType() reflect.Type
type ResourcePolicyRemediation ¶
type ResourcePolicyRemediation struct { pulumi.CustomResourceState // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrOutput `pulumi:"failurePercentage"` // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayOutput `pulumi:"locationFilters"` // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrOutput `pulumi:"parallelDeployments"` // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrOutput `pulumi:"policyDefinitionId"` // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrOutput `pulumi:"policyDefinitionReferenceId"` // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrOutput `pulumi:"resourceCount"` // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrOutput `pulumi:"resourceDiscoveryMode"` // The Resource ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. ResourceId pulumi.StringOutput `pulumi:"resourceId"` }
Manages an Azure Resource Policy Remediation.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("resourcegroup1"), Location: pulumi.String("West US"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("vnet1"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleDefinition, err := policy.NewDefinition(ctx, "example", &policy.DefinitionArgs{ Name: pulumi.String("only-deploy-in-westeurope"), PolicyType: pulumi.String("Custom"), Mode: pulumi.String("All"), DisplayName: pulumi.String("my-policy-definition"), }) if err != nil { return err } _, err = core.NewResourcePolicyAssignment(ctx, "example", &core.ResourcePolicyAssignmentArgs{ Name: pulumi.String("assignment1"), ResourceId: exampleVirtualNetwork.ID(), PolicyDefinitionId: exampleDefinition.ID(), Parameters: example.Location.ApplyT(func(location string) (pulumi.String, error) { var _zero pulumi.String tmpJSON0, err := json.Marshal(map[string]interface{}{ "listOfAllowedLocations": map[string]interface{}{ "value": []string{ location, "East US", }, }, }) if err != nil { return _zero, err } json0 := string(tmpJSON0) return pulumi.String(json0), nil }).(pulumi.StringOutput), }) if err != nil { return err } exampleResourceGroupPolicyAssignment, err := core.NewResourceGroupPolicyAssignment(ctx, "example", &core.ResourceGroupPolicyAssignmentArgs{ Name: pulumi.String("example"), ResourceGroupId: example.ID(), PolicyDefinitionId: exampleDefinition.ID(), }) if err != nil { return err } _, err = core.NewResourcePolicyRemediation(ctx, "example", &core.ResourcePolicyRemediationArgs{ Name: pulumi.String("remediation1"), ResourceId: exampleVirtualNetwork.ID(), PolicyAssignmentId: exampleResourceGroupPolicyAssignment.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Policy Remediations can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourcePolicyRemediation:ResourcePolicyRemediation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.PolicyInsights/remediations/remediation1 ```
func GetResourcePolicyRemediation ¶
func GetResourcePolicyRemediation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourcePolicyRemediationState, opts ...pulumi.ResourceOption) (*ResourcePolicyRemediation, error)
GetResourcePolicyRemediation gets an existing ResourcePolicyRemediation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourcePolicyRemediation ¶
func NewResourcePolicyRemediation(ctx *pulumi.Context, name string, args *ResourcePolicyRemediationArgs, opts ...pulumi.ResourceOption) (*ResourcePolicyRemediation, error)
NewResourcePolicyRemediation registers a new resource with the given unique name, arguments, and options.
func (*ResourcePolicyRemediation) ElementType ¶
func (*ResourcePolicyRemediation) ElementType() reflect.Type
func (*ResourcePolicyRemediation) ToResourcePolicyRemediationOutput ¶
func (i *ResourcePolicyRemediation) ToResourcePolicyRemediationOutput() ResourcePolicyRemediationOutput
func (*ResourcePolicyRemediation) ToResourcePolicyRemediationOutputWithContext ¶
func (i *ResourcePolicyRemediation) ToResourcePolicyRemediationOutputWithContext(ctx context.Context) ResourcePolicyRemediationOutput
type ResourcePolicyRemediationArgs ¶
type ResourcePolicyRemediationArgs struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrInput // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayInput // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrInput // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringInput // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrInput // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrInput // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrInput // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrInput // The Resource ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. ResourceId pulumi.StringInput }
The set of arguments for constructing a ResourcePolicyRemediation resource.
func (ResourcePolicyRemediationArgs) ElementType ¶
func (ResourcePolicyRemediationArgs) ElementType() reflect.Type
type ResourcePolicyRemediationArray ¶
type ResourcePolicyRemediationArray []ResourcePolicyRemediationInput
func (ResourcePolicyRemediationArray) ElementType ¶
func (ResourcePolicyRemediationArray) ElementType() reflect.Type
func (ResourcePolicyRemediationArray) ToResourcePolicyRemediationArrayOutput ¶
func (i ResourcePolicyRemediationArray) ToResourcePolicyRemediationArrayOutput() ResourcePolicyRemediationArrayOutput
func (ResourcePolicyRemediationArray) ToResourcePolicyRemediationArrayOutputWithContext ¶
func (i ResourcePolicyRemediationArray) ToResourcePolicyRemediationArrayOutputWithContext(ctx context.Context) ResourcePolicyRemediationArrayOutput
type ResourcePolicyRemediationArrayInput ¶
type ResourcePolicyRemediationArrayInput interface { pulumi.Input ToResourcePolicyRemediationArrayOutput() ResourcePolicyRemediationArrayOutput ToResourcePolicyRemediationArrayOutputWithContext(context.Context) ResourcePolicyRemediationArrayOutput }
ResourcePolicyRemediationArrayInput is an input type that accepts ResourcePolicyRemediationArray and ResourcePolicyRemediationArrayOutput values. You can construct a concrete instance of `ResourcePolicyRemediationArrayInput` via:
ResourcePolicyRemediationArray{ ResourcePolicyRemediationArgs{...} }
type ResourcePolicyRemediationArrayOutput ¶
type ResourcePolicyRemediationArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyRemediationArrayOutput) ElementType ¶
func (ResourcePolicyRemediationArrayOutput) ElementType() reflect.Type
func (ResourcePolicyRemediationArrayOutput) Index ¶
func (o ResourcePolicyRemediationArrayOutput) Index(i pulumi.IntInput) ResourcePolicyRemediationOutput
func (ResourcePolicyRemediationArrayOutput) ToResourcePolicyRemediationArrayOutput ¶
func (o ResourcePolicyRemediationArrayOutput) ToResourcePolicyRemediationArrayOutput() ResourcePolicyRemediationArrayOutput
func (ResourcePolicyRemediationArrayOutput) ToResourcePolicyRemediationArrayOutputWithContext ¶
func (o ResourcePolicyRemediationArrayOutput) ToResourcePolicyRemediationArrayOutputWithContext(ctx context.Context) ResourcePolicyRemediationArrayOutput
type ResourcePolicyRemediationInput ¶
type ResourcePolicyRemediationInput interface { pulumi.Input ToResourcePolicyRemediationOutput() ResourcePolicyRemediationOutput ToResourcePolicyRemediationOutputWithContext(ctx context.Context) ResourcePolicyRemediationOutput }
type ResourcePolicyRemediationMap ¶
type ResourcePolicyRemediationMap map[string]ResourcePolicyRemediationInput
func (ResourcePolicyRemediationMap) ElementType ¶
func (ResourcePolicyRemediationMap) ElementType() reflect.Type
func (ResourcePolicyRemediationMap) ToResourcePolicyRemediationMapOutput ¶
func (i ResourcePolicyRemediationMap) ToResourcePolicyRemediationMapOutput() ResourcePolicyRemediationMapOutput
func (ResourcePolicyRemediationMap) ToResourcePolicyRemediationMapOutputWithContext ¶
func (i ResourcePolicyRemediationMap) ToResourcePolicyRemediationMapOutputWithContext(ctx context.Context) ResourcePolicyRemediationMapOutput
type ResourcePolicyRemediationMapInput ¶
type ResourcePolicyRemediationMapInput interface { pulumi.Input ToResourcePolicyRemediationMapOutput() ResourcePolicyRemediationMapOutput ToResourcePolicyRemediationMapOutputWithContext(context.Context) ResourcePolicyRemediationMapOutput }
ResourcePolicyRemediationMapInput is an input type that accepts ResourcePolicyRemediationMap and ResourcePolicyRemediationMapOutput values. You can construct a concrete instance of `ResourcePolicyRemediationMapInput` via:
ResourcePolicyRemediationMap{ "key": ResourcePolicyRemediationArgs{...} }
type ResourcePolicyRemediationMapOutput ¶
type ResourcePolicyRemediationMapOutput struct{ *pulumi.OutputState }
func (ResourcePolicyRemediationMapOutput) ElementType ¶
func (ResourcePolicyRemediationMapOutput) ElementType() reflect.Type
func (ResourcePolicyRemediationMapOutput) MapIndex ¶
func (o ResourcePolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyRemediationOutput
func (ResourcePolicyRemediationMapOutput) ToResourcePolicyRemediationMapOutput ¶
func (o ResourcePolicyRemediationMapOutput) ToResourcePolicyRemediationMapOutput() ResourcePolicyRemediationMapOutput
func (ResourcePolicyRemediationMapOutput) ToResourcePolicyRemediationMapOutputWithContext ¶
func (o ResourcePolicyRemediationMapOutput) ToResourcePolicyRemediationMapOutputWithContext(ctx context.Context) ResourcePolicyRemediationMapOutput
type ResourcePolicyRemediationOutput ¶
type ResourcePolicyRemediationOutput struct{ *pulumi.OutputState }
func (ResourcePolicyRemediationOutput) ElementType ¶
func (ResourcePolicyRemediationOutput) ElementType() reflect.Type
func (ResourcePolicyRemediationOutput) FailurePercentage ¶ added in v5.18.0
func (o ResourcePolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
func (ResourcePolicyRemediationOutput) LocationFilters ¶ added in v5.5.0
func (o ResourcePolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
A list of the resource locations that will be remediated.
func (ResourcePolicyRemediationOutput) Name ¶ added in v5.5.0
func (o ResourcePolicyRemediationOutput) Name() pulumi.StringOutput
The name of the Policy Remediation. Changing this forces a new resource to be created.
func (ResourcePolicyRemediationOutput) ParallelDeployments ¶ added in v5.18.0
func (o ResourcePolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
func (ResourcePolicyRemediationOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o ResourcePolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment that should be remediated.
func (ResourcePolicyRemediationOutput) PolicyDefinitionId
deprecated
added in
v5.5.0
func (o ResourcePolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutput
The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
> **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`.
Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`.
func (ResourcePolicyRemediationOutput) PolicyDefinitionReferenceId ¶ added in v5.21.0
func (o ResourcePolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
func (ResourcePolicyRemediationOutput) ResourceCount ¶ added in v5.18.0
func (o ResourcePolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
func (ResourcePolicyRemediationOutput) ResourceDiscoveryMode ¶ added in v5.5.0
func (o ResourcePolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`.
func (ResourcePolicyRemediationOutput) ResourceId ¶ added in v5.5.0
func (o ResourcePolicyRemediationOutput) ResourceId() pulumi.StringOutput
The Resource ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created.
func (ResourcePolicyRemediationOutput) ToResourcePolicyRemediationOutput ¶
func (o ResourcePolicyRemediationOutput) ToResourcePolicyRemediationOutput() ResourcePolicyRemediationOutput
func (ResourcePolicyRemediationOutput) ToResourcePolicyRemediationOutputWithContext ¶
func (o ResourcePolicyRemediationOutput) ToResourcePolicyRemediationOutputWithContext(ctx context.Context) ResourcePolicyRemediationOutput
type ResourcePolicyRemediationState ¶
type ResourcePolicyRemediationState struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrInput // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayInput // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrInput // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringPtrInput // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrInput // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrInput // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrInput // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrInput // The Resource ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. ResourceId pulumi.StringPtrInput }
func (ResourcePolicyRemediationState) ElementType ¶
func (ResourcePolicyRemediationState) ElementType() reflect.Type
type ResourceProviderRegistration ¶
type ResourceProviderRegistration struct { pulumi.CustomResourceState Features ResourceProviderRegistrationFeatureArrayOutput `pulumi:"features"` // The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages the registration of a Resource Provider - which allows access to the API's supported by this Resource Provider.
> The Azure Provider will automatically register all of the Resource Providers which it supports on launch (unless opted-out using the `skipProviderRegistration` field within the provider block).
!> **Note:** The errors returned from the Azure API when a Resource Provider is unregistered are unclear (example `API version '2019-01-01' was not found for 'Microsoft.Foo'`) - please ensure that all of the necessary Resource Providers you're using are registered - if in doubt **we strongly recommend letting the provider register these for you**.
> **Note:** Adding or Removing a Preview Feature will re-register the Resource Provider.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewResourceProviderRegistration(ctx, "example", &core.ResourceProviderRegistrationArgs{ Name: pulumi.String("Microsoft.PolicyInsights"), }) if err != nil { return err } return nil }) }
```
### Registering A Preview Feature)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewResourceProviderRegistration(ctx, "example", &core.ResourceProviderRegistrationArgs{ Name: pulumi.String("Microsoft.ContainerService"), Features: core.ResourceProviderRegistrationFeatureArray{ &core.ResourceProviderRegistrationFeatureArgs{ Name: pulumi.String("AKS-DataPlaneAutoApprove"), Registered: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Resource Provider Registrations can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/resourceProviderRegistration:ResourceProviderRegistration example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.PolicyInsights ```
func GetResourceProviderRegistration ¶
func GetResourceProviderRegistration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceProviderRegistrationState, opts ...pulumi.ResourceOption) (*ResourceProviderRegistration, error)
GetResourceProviderRegistration gets an existing ResourceProviderRegistration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceProviderRegistration ¶
func NewResourceProviderRegistration(ctx *pulumi.Context, name string, args *ResourceProviderRegistrationArgs, opts ...pulumi.ResourceOption) (*ResourceProviderRegistration, error)
NewResourceProviderRegistration registers a new resource with the given unique name, arguments, and options.
func (*ResourceProviderRegistration) ElementType ¶
func (*ResourceProviderRegistration) ElementType() reflect.Type
func (*ResourceProviderRegistration) ToResourceProviderRegistrationOutput ¶
func (i *ResourceProviderRegistration) ToResourceProviderRegistrationOutput() ResourceProviderRegistrationOutput
func (*ResourceProviderRegistration) ToResourceProviderRegistrationOutputWithContext ¶
func (i *ResourceProviderRegistration) ToResourceProviderRegistrationOutputWithContext(ctx context.Context) ResourceProviderRegistrationOutput
type ResourceProviderRegistrationArgs ¶
type ResourceProviderRegistrationArgs struct { Features ResourceProviderRegistrationFeatureArrayInput // The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a ResourceProviderRegistration resource.
func (ResourceProviderRegistrationArgs) ElementType ¶
func (ResourceProviderRegistrationArgs) ElementType() reflect.Type
type ResourceProviderRegistrationArray ¶
type ResourceProviderRegistrationArray []ResourceProviderRegistrationInput
func (ResourceProviderRegistrationArray) ElementType ¶
func (ResourceProviderRegistrationArray) ElementType() reflect.Type
func (ResourceProviderRegistrationArray) ToResourceProviderRegistrationArrayOutput ¶
func (i ResourceProviderRegistrationArray) ToResourceProviderRegistrationArrayOutput() ResourceProviderRegistrationArrayOutput
func (ResourceProviderRegistrationArray) ToResourceProviderRegistrationArrayOutputWithContext ¶
func (i ResourceProviderRegistrationArray) ToResourceProviderRegistrationArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationArrayOutput
type ResourceProviderRegistrationArrayInput ¶
type ResourceProviderRegistrationArrayInput interface { pulumi.Input ToResourceProviderRegistrationArrayOutput() ResourceProviderRegistrationArrayOutput ToResourceProviderRegistrationArrayOutputWithContext(context.Context) ResourceProviderRegistrationArrayOutput }
ResourceProviderRegistrationArrayInput is an input type that accepts ResourceProviderRegistrationArray and ResourceProviderRegistrationArrayOutput values. You can construct a concrete instance of `ResourceProviderRegistrationArrayInput` via:
ResourceProviderRegistrationArray{ ResourceProviderRegistrationArgs{...} }
type ResourceProviderRegistrationArrayOutput ¶
type ResourceProviderRegistrationArrayOutput struct{ *pulumi.OutputState }
func (ResourceProviderRegistrationArrayOutput) ElementType ¶
func (ResourceProviderRegistrationArrayOutput) ElementType() reflect.Type
func (ResourceProviderRegistrationArrayOutput) ToResourceProviderRegistrationArrayOutput ¶
func (o ResourceProviderRegistrationArrayOutput) ToResourceProviderRegistrationArrayOutput() ResourceProviderRegistrationArrayOutput
func (ResourceProviderRegistrationArrayOutput) ToResourceProviderRegistrationArrayOutputWithContext ¶
func (o ResourceProviderRegistrationArrayOutput) ToResourceProviderRegistrationArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationArrayOutput
type ResourceProviderRegistrationFeatureArgs ¶
type ResourceProviderRegistrationFeatureArgs struct { Name pulumi.StringInput `pulumi:"name"` // Should this feature be Registered or Unregistered? Registered pulumi.BoolInput `pulumi:"registered"` }
func (ResourceProviderRegistrationFeatureArgs) ElementType ¶
func (ResourceProviderRegistrationFeatureArgs) ElementType() reflect.Type
func (ResourceProviderRegistrationFeatureArgs) ToResourceProviderRegistrationFeatureOutput ¶
func (i ResourceProviderRegistrationFeatureArgs) ToResourceProviderRegistrationFeatureOutput() ResourceProviderRegistrationFeatureOutput
func (ResourceProviderRegistrationFeatureArgs) ToResourceProviderRegistrationFeatureOutputWithContext ¶
func (i ResourceProviderRegistrationFeatureArgs) ToResourceProviderRegistrationFeatureOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureOutput
type ResourceProviderRegistrationFeatureArray ¶
type ResourceProviderRegistrationFeatureArray []ResourceProviderRegistrationFeatureInput
func (ResourceProviderRegistrationFeatureArray) ElementType ¶
func (ResourceProviderRegistrationFeatureArray) ElementType() reflect.Type
func (ResourceProviderRegistrationFeatureArray) ToResourceProviderRegistrationFeatureArrayOutput ¶
func (i ResourceProviderRegistrationFeatureArray) ToResourceProviderRegistrationFeatureArrayOutput() ResourceProviderRegistrationFeatureArrayOutput
func (ResourceProviderRegistrationFeatureArray) ToResourceProviderRegistrationFeatureArrayOutputWithContext ¶
func (i ResourceProviderRegistrationFeatureArray) ToResourceProviderRegistrationFeatureArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureArrayOutput
type ResourceProviderRegistrationFeatureArrayInput ¶
type ResourceProviderRegistrationFeatureArrayInput interface { pulumi.Input ToResourceProviderRegistrationFeatureArrayOutput() ResourceProviderRegistrationFeatureArrayOutput ToResourceProviderRegistrationFeatureArrayOutputWithContext(context.Context) ResourceProviderRegistrationFeatureArrayOutput }
ResourceProviderRegistrationFeatureArrayInput is an input type that accepts ResourceProviderRegistrationFeatureArray and ResourceProviderRegistrationFeatureArrayOutput values. You can construct a concrete instance of `ResourceProviderRegistrationFeatureArrayInput` via:
ResourceProviderRegistrationFeatureArray{ ResourceProviderRegistrationFeatureArgs{...} }
type ResourceProviderRegistrationFeatureArrayOutput ¶
type ResourceProviderRegistrationFeatureArrayOutput struct{ *pulumi.OutputState }
func (ResourceProviderRegistrationFeatureArrayOutput) ElementType ¶
func (ResourceProviderRegistrationFeatureArrayOutput) ElementType() reflect.Type
func (ResourceProviderRegistrationFeatureArrayOutput) ToResourceProviderRegistrationFeatureArrayOutput ¶
func (o ResourceProviderRegistrationFeatureArrayOutput) ToResourceProviderRegistrationFeatureArrayOutput() ResourceProviderRegistrationFeatureArrayOutput
func (ResourceProviderRegistrationFeatureArrayOutput) ToResourceProviderRegistrationFeatureArrayOutputWithContext ¶
func (o ResourceProviderRegistrationFeatureArrayOutput) ToResourceProviderRegistrationFeatureArrayOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureArrayOutput
type ResourceProviderRegistrationFeatureInput ¶
type ResourceProviderRegistrationFeatureInput interface { pulumi.Input ToResourceProviderRegistrationFeatureOutput() ResourceProviderRegistrationFeatureOutput ToResourceProviderRegistrationFeatureOutputWithContext(context.Context) ResourceProviderRegistrationFeatureOutput }
ResourceProviderRegistrationFeatureInput is an input type that accepts ResourceProviderRegistrationFeatureArgs and ResourceProviderRegistrationFeatureOutput values. You can construct a concrete instance of `ResourceProviderRegistrationFeatureInput` via:
ResourceProviderRegistrationFeatureArgs{...}
type ResourceProviderRegistrationFeatureOutput ¶
type ResourceProviderRegistrationFeatureOutput struct{ *pulumi.OutputState }
func (ResourceProviderRegistrationFeatureOutput) ElementType ¶
func (ResourceProviderRegistrationFeatureOutput) ElementType() reflect.Type
func (ResourceProviderRegistrationFeatureOutput) Name ¶
func (o ResourceProviderRegistrationFeatureOutput) Name() pulumi.StringOutput
func (ResourceProviderRegistrationFeatureOutput) Registered ¶
func (o ResourceProviderRegistrationFeatureOutput) Registered() pulumi.BoolOutput
Should this feature be Registered or Unregistered?
func (ResourceProviderRegistrationFeatureOutput) ToResourceProviderRegistrationFeatureOutput ¶
func (o ResourceProviderRegistrationFeatureOutput) ToResourceProviderRegistrationFeatureOutput() ResourceProviderRegistrationFeatureOutput
func (ResourceProviderRegistrationFeatureOutput) ToResourceProviderRegistrationFeatureOutputWithContext ¶
func (o ResourceProviderRegistrationFeatureOutput) ToResourceProviderRegistrationFeatureOutputWithContext(ctx context.Context) ResourceProviderRegistrationFeatureOutput
type ResourceProviderRegistrationInput ¶
type ResourceProviderRegistrationInput interface { pulumi.Input ToResourceProviderRegistrationOutput() ResourceProviderRegistrationOutput ToResourceProviderRegistrationOutputWithContext(ctx context.Context) ResourceProviderRegistrationOutput }
type ResourceProviderRegistrationMap ¶
type ResourceProviderRegistrationMap map[string]ResourceProviderRegistrationInput
func (ResourceProviderRegistrationMap) ElementType ¶
func (ResourceProviderRegistrationMap) ElementType() reflect.Type
func (ResourceProviderRegistrationMap) ToResourceProviderRegistrationMapOutput ¶
func (i ResourceProviderRegistrationMap) ToResourceProviderRegistrationMapOutput() ResourceProviderRegistrationMapOutput
func (ResourceProviderRegistrationMap) ToResourceProviderRegistrationMapOutputWithContext ¶
func (i ResourceProviderRegistrationMap) ToResourceProviderRegistrationMapOutputWithContext(ctx context.Context) ResourceProviderRegistrationMapOutput
type ResourceProviderRegistrationMapInput ¶
type ResourceProviderRegistrationMapInput interface { pulumi.Input ToResourceProviderRegistrationMapOutput() ResourceProviderRegistrationMapOutput ToResourceProviderRegistrationMapOutputWithContext(context.Context) ResourceProviderRegistrationMapOutput }
ResourceProviderRegistrationMapInput is an input type that accepts ResourceProviderRegistrationMap and ResourceProviderRegistrationMapOutput values. You can construct a concrete instance of `ResourceProviderRegistrationMapInput` via:
ResourceProviderRegistrationMap{ "key": ResourceProviderRegistrationArgs{...} }
type ResourceProviderRegistrationMapOutput ¶
type ResourceProviderRegistrationMapOutput struct{ *pulumi.OutputState }
func (ResourceProviderRegistrationMapOutput) ElementType ¶
func (ResourceProviderRegistrationMapOutput) ElementType() reflect.Type
func (ResourceProviderRegistrationMapOutput) MapIndex ¶
func (o ResourceProviderRegistrationMapOutput) MapIndex(k pulumi.StringInput) ResourceProviderRegistrationOutput
func (ResourceProviderRegistrationMapOutput) ToResourceProviderRegistrationMapOutput ¶
func (o ResourceProviderRegistrationMapOutput) ToResourceProviderRegistrationMapOutput() ResourceProviderRegistrationMapOutput
func (ResourceProviderRegistrationMapOutput) ToResourceProviderRegistrationMapOutputWithContext ¶
func (o ResourceProviderRegistrationMapOutput) ToResourceProviderRegistrationMapOutputWithContext(ctx context.Context) ResourceProviderRegistrationMapOutput
type ResourceProviderRegistrationOutput ¶
type ResourceProviderRegistrationOutput struct{ *pulumi.OutputState }
func (ResourceProviderRegistrationOutput) ElementType ¶
func (ResourceProviderRegistrationOutput) ElementType() reflect.Type
func (ResourceProviderRegistrationOutput) Features ¶ added in v5.5.0
func (o ResourceProviderRegistrationOutput) Features() ResourceProviderRegistrationFeatureArrayOutput
func (ResourceProviderRegistrationOutput) Name ¶ added in v5.5.0
func (o ResourceProviderRegistrationOutput) Name() pulumi.StringOutput
The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
func (ResourceProviderRegistrationOutput) ToResourceProviderRegistrationOutput ¶
func (o ResourceProviderRegistrationOutput) ToResourceProviderRegistrationOutput() ResourceProviderRegistrationOutput
func (ResourceProviderRegistrationOutput) ToResourceProviderRegistrationOutputWithContext ¶
func (o ResourceProviderRegistrationOutput) ToResourceProviderRegistrationOutputWithContext(ctx context.Context) ResourceProviderRegistrationOutput
type ResourceProviderRegistrationState ¶
type ResourceProviderRegistrationState struct { Features ResourceProviderRegistrationFeatureArrayInput // The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
func (ResourceProviderRegistrationState) ElementType ¶
func (ResourceProviderRegistrationState) ElementType() reflect.Type
type Subscription ¶
type Subscription struct { pulumi.CustomResourceState // The Alias name for the subscription. This provider will generate a new GUID if this is not supplied. Changing this forces a new Subscription to be created. Alias pulumi.StringOutput `pulumi:"alias"` // The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. BillingScopeId pulumi.StringPtrOutput `pulumi:"billingScopeId"` // The ID of the Subscription. Changing this forces a new Subscription to be created. // // > **NOTE:** This value can be specified only for adopting control of an existing Subscription, it cannot be used to provide a custom Subscription ID. // // > **NOTE:** Either `billingScopeId` or `subscriptionId` has to be specified. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` // The Name of the Subscription. This is the Display Name in the portal. SubscriptionName pulumi.StringOutput `pulumi:"subscriptionName"` // A mapping of tags to assign to the Subscription. Tags pulumi.StringMapOutput `pulumi:"tags"` // The ID of the Tenant to which the subscription belongs. TenantId pulumi.StringOutput `pulumi:"tenantId"` // The workload type of the Subscription. Possible values are `Production` (default) and `DevTest`. Changing this forces a new Subscription to be created. Workload pulumi.StringPtrOutput `pulumi:"workload"` }
## Example Usage
### Creating A New Alias And Subscription For An Enrollment Account
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := billing.GetEnrollmentAccountScope(ctx, &billing.GetEnrollmentAccountScopeArgs{ BillingAccountName: "1234567890", EnrollmentAccountName: "0123456", }, nil) if err != nil { return err } _, err = core.NewSubscription(ctx, "example", &core.SubscriptionArgs{ SubscriptionName: pulumi.String("My Example EA Subscription"), BillingScopeId: pulumi.String(example.Id), }) if err != nil { return err } return nil }) }
```
### Creating A New Alias And Subscription For A Microsoft Customer Account
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := billing.GetMcaAccountScope(ctx, &billing.GetMcaAccountScopeArgs{ BillingAccountName: "e879cf0f-2b4d-5431-109a-f72fc9868693:024cabf4-7321-4cf9-be59-df0c77ca51de_2019-05-31", BillingProfileName: "PE2Q-NOIT-BG7-TGB", InvoiceSectionName: "MTT4-OBS7-PJA-TGB", }, nil) if err != nil { return err } _, err = core.NewSubscription(ctx, "example", &core.SubscriptionArgs{ SubscriptionName: pulumi.String("My Example MCA Subscription"), BillingScopeId: pulumi.String(example.Id), }) if err != nil { return err } return nil }) }
```
### Creating A New Alias And Subscription For A Microsoft Partner Account
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := billing.GetMpaAccountScope(ctx, &billing.GetMpaAccountScopeArgs{ BillingAccountName: "e879cf0f-2b4d-5431-109a-f72fc9868693:024cabf4-7321-4cf9-be59-df0c77ca51de_2019-05-31", CustomerName: "2281f543-7321-4cf9-1e23-edb4Oc31a31c", }, nil) if err != nil { return err } _, err = core.NewSubscription(ctx, "example", &core.SubscriptionArgs{ SubscriptionName: pulumi.String("My Example MPA Subscription"), BillingScopeId: pulumi.String(example.Id), }) if err != nil { return err } return nil }) }
```
### Adding An Alias To An Existing Subscription
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewSubscription(ctx, "example", &core.SubscriptionArgs{ Alias: pulumi.String("examplesub"), SubscriptionName: pulumi.String("My Example Subscription"), SubscriptionId: pulumi.String("12345678-12234-5678-9012-123456789012"), }) if err != nil { return err } return nil }) }
```
## Import
Subscriptions can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscription:Subscription example "/providers/Microsoft.Subscription/aliases/subscription1" ```
In this scenario, the `subscription_id` property can be completed and the provider will assume control of the existing subscription by creating an Alias. See the `adding an Alias to an existing Subscription` above. This provider requires an alias to correctly manage Subscription resources due to Azure Subscription API design.
func GetSubscription ¶
func GetSubscription(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)
GetSubscription gets an existing Subscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscription ¶
func NewSubscription(ctx *pulumi.Context, name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)
NewSubscription registers a new resource with the given unique name, arguments, and options.
func (*Subscription) ElementType ¶
func (*Subscription) ElementType() reflect.Type
func (*Subscription) ToSubscriptionOutput ¶
func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput
func (*Subscription) ToSubscriptionOutputWithContext ¶
func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
type SubscriptionArgs ¶
type SubscriptionArgs struct { // The Alias name for the subscription. This provider will generate a new GUID if this is not supplied. Changing this forces a new Subscription to be created. Alias pulumi.StringPtrInput // The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. BillingScopeId pulumi.StringPtrInput // The ID of the Subscription. Changing this forces a new Subscription to be created. // // > **NOTE:** This value can be specified only for adopting control of an existing Subscription, it cannot be used to provide a custom Subscription ID. // // > **NOTE:** Either `billingScopeId` or `subscriptionId` has to be specified. SubscriptionId pulumi.StringPtrInput // The Name of the Subscription. This is the Display Name in the portal. SubscriptionName pulumi.StringInput // A mapping of tags to assign to the Subscription. Tags pulumi.StringMapInput // The workload type of the Subscription. Possible values are `Production` (default) and `DevTest`. Changing this forces a new Subscription to be created. Workload pulumi.StringPtrInput }
The set of arguments for constructing a Subscription resource.
func (SubscriptionArgs) ElementType ¶
func (SubscriptionArgs) ElementType() reflect.Type
type SubscriptionArray ¶
type SubscriptionArray []SubscriptionInput
func (SubscriptionArray) ElementType ¶
func (SubscriptionArray) ElementType() reflect.Type
func (SubscriptionArray) ToSubscriptionArrayOutput ¶
func (i SubscriptionArray) ToSubscriptionArrayOutput() SubscriptionArrayOutput
func (SubscriptionArray) ToSubscriptionArrayOutputWithContext ¶
func (i SubscriptionArray) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
type SubscriptionArrayInput ¶
type SubscriptionArrayInput interface { pulumi.Input ToSubscriptionArrayOutput() SubscriptionArrayOutput ToSubscriptionArrayOutputWithContext(context.Context) SubscriptionArrayOutput }
SubscriptionArrayInput is an input type that accepts SubscriptionArray and SubscriptionArrayOutput values. You can construct a concrete instance of `SubscriptionArrayInput` via:
SubscriptionArray{ SubscriptionArgs{...} }
type SubscriptionArrayOutput ¶
type SubscriptionArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionArrayOutput) ElementType ¶
func (SubscriptionArrayOutput) ElementType() reflect.Type
func (SubscriptionArrayOutput) Index ¶
func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput
func (SubscriptionArrayOutput) ToSubscriptionArrayOutput ¶
func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput
func (SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext ¶
func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
type SubscriptionCostManagementExport ¶
type SubscriptionCostManagementExport struct { pulumi.CustomResourceState // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // A `exportDataOptions` block as defined below. ExportDataOptions SubscriptionCostManagementExportExportDataOptionsOutput `pulumi:"exportDataOptions"` // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationOutput `pulumi:"exportDataStorageLocation"` // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringOutput `pulumi:"recurrencePeriodEndDate"` // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringOutput `pulumi:"recurrencePeriodStartDate"` // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringOutput `pulumi:"recurrenceType"` // The id of the subscription on which to create an export. Changing this forces a new resource to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` }
Manages a Cost Management Export for a Subscription.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("example"), ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("examplecontainer"), StorageAccountName: exampleAccount.Name, }) if err != nil { return err } _, err = core.NewSubscriptionCostManagementExport(ctx, "example", &core.SubscriptionCostManagementExportArgs{ Name: pulumi.String("example"), SubscriptionId: pulumi.String(example.Id), RecurrenceType: pulumi.String("Monthly"), RecurrencePeriodStartDate: pulumi.String("2020-08-18T00:00:00Z"), RecurrencePeriodEndDate: pulumi.String("2020-09-18T00:00:00Z"), ExportDataStorageLocation: &core.SubscriptionCostManagementExportExportDataStorageLocationArgs{ ContainerId: exampleContainer.ResourceManagerId, RootFolderPath: pulumi.String("/root/updated"), }, ExportDataOptions: &core.SubscriptionCostManagementExportExportDataOptionsArgs{ Type: pulumi.String("Usage"), TimeFrame: pulumi.String("WeekToDate"), }, }) if err != nil { return err } return nil }) }
```
## Import
Subscription Cost Management Exports can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscriptionCostManagementExport:SubscriptionCostManagementExport example /subscriptions/12345678-1234-9876-4563-123456789012/providers/Microsoft.CostManagement/exports/export1 ```
func GetSubscriptionCostManagementExport ¶
func GetSubscriptionCostManagementExport(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionCostManagementExportState, opts ...pulumi.ResourceOption) (*SubscriptionCostManagementExport, error)
GetSubscriptionCostManagementExport gets an existing SubscriptionCostManagementExport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscriptionCostManagementExport ¶
func NewSubscriptionCostManagementExport(ctx *pulumi.Context, name string, args *SubscriptionCostManagementExportArgs, opts ...pulumi.ResourceOption) (*SubscriptionCostManagementExport, error)
NewSubscriptionCostManagementExport registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionCostManagementExport) ElementType ¶
func (*SubscriptionCostManagementExport) ElementType() reflect.Type
func (*SubscriptionCostManagementExport) ToSubscriptionCostManagementExportOutput ¶
func (i *SubscriptionCostManagementExport) ToSubscriptionCostManagementExportOutput() SubscriptionCostManagementExportOutput
func (*SubscriptionCostManagementExport) ToSubscriptionCostManagementExportOutputWithContext ¶
func (i *SubscriptionCostManagementExport) ToSubscriptionCostManagementExportOutputWithContext(ctx context.Context) SubscriptionCostManagementExportOutput
type SubscriptionCostManagementExportArgs ¶
type SubscriptionCostManagementExportArgs struct { // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrInput // A `exportDataOptions` block as defined below. ExportDataOptions SubscriptionCostManagementExportExportDataOptionsInput // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationInput // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringInput // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringInput // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringInput // The id of the subscription on which to create an export. Changing this forces a new resource to be created. SubscriptionId pulumi.StringInput }
The set of arguments for constructing a SubscriptionCostManagementExport resource.
func (SubscriptionCostManagementExportArgs) ElementType ¶
func (SubscriptionCostManagementExportArgs) ElementType() reflect.Type
type SubscriptionCostManagementExportArray ¶
type SubscriptionCostManagementExportArray []SubscriptionCostManagementExportInput
func (SubscriptionCostManagementExportArray) ElementType ¶
func (SubscriptionCostManagementExportArray) ElementType() reflect.Type
func (SubscriptionCostManagementExportArray) ToSubscriptionCostManagementExportArrayOutput ¶
func (i SubscriptionCostManagementExportArray) ToSubscriptionCostManagementExportArrayOutput() SubscriptionCostManagementExportArrayOutput
func (SubscriptionCostManagementExportArray) ToSubscriptionCostManagementExportArrayOutputWithContext ¶
func (i SubscriptionCostManagementExportArray) ToSubscriptionCostManagementExportArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementExportArrayOutput
type SubscriptionCostManagementExportArrayInput ¶
type SubscriptionCostManagementExportArrayInput interface { pulumi.Input ToSubscriptionCostManagementExportArrayOutput() SubscriptionCostManagementExportArrayOutput ToSubscriptionCostManagementExportArrayOutputWithContext(context.Context) SubscriptionCostManagementExportArrayOutput }
SubscriptionCostManagementExportArrayInput is an input type that accepts SubscriptionCostManagementExportArray and SubscriptionCostManagementExportArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementExportArrayInput` via:
SubscriptionCostManagementExportArray{ SubscriptionCostManagementExportArgs{...} }
type SubscriptionCostManagementExportArrayOutput ¶
type SubscriptionCostManagementExportArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportArrayOutput) ElementType ¶
func (SubscriptionCostManagementExportArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportArrayOutput) ToSubscriptionCostManagementExportArrayOutput ¶
func (o SubscriptionCostManagementExportArrayOutput) ToSubscriptionCostManagementExportArrayOutput() SubscriptionCostManagementExportArrayOutput
func (SubscriptionCostManagementExportArrayOutput) ToSubscriptionCostManagementExportArrayOutputWithContext ¶
func (o SubscriptionCostManagementExportArrayOutput) ToSubscriptionCostManagementExportArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementExportArrayOutput
type SubscriptionCostManagementExportExportDataOptions ¶
type SubscriptionCostManagementExportExportDataOptions struct { // The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`. TimeFrame string `pulumi:"timeFrame"` // The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`. Type string `pulumi:"type"` }
type SubscriptionCostManagementExportExportDataOptionsArgs ¶
type SubscriptionCostManagementExportExportDataOptionsArgs struct { // The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`. TimeFrame pulumi.StringInput `pulumi:"timeFrame"` // The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`. Type pulumi.StringInput `pulumi:"type"` }
func (SubscriptionCostManagementExportExportDataOptionsArgs) ElementType ¶
func (SubscriptionCostManagementExportExportDataOptionsArgs) ElementType() reflect.Type
func (SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsOutput ¶
func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsOutput() SubscriptionCostManagementExportExportDataOptionsOutput
func (SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext ¶
func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsOutput
func (SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput ¶
func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput
func (SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext ¶
func (i SubscriptionCostManagementExportExportDataOptionsArgs) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput
type SubscriptionCostManagementExportExportDataOptionsInput ¶
type SubscriptionCostManagementExportExportDataOptionsInput interface { pulumi.Input ToSubscriptionCostManagementExportExportDataOptionsOutput() SubscriptionCostManagementExportExportDataOptionsOutput ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext(context.Context) SubscriptionCostManagementExportExportDataOptionsOutput }
SubscriptionCostManagementExportExportDataOptionsInput is an input type that accepts SubscriptionCostManagementExportExportDataOptionsArgs and SubscriptionCostManagementExportExportDataOptionsOutput values. You can construct a concrete instance of `SubscriptionCostManagementExportExportDataOptionsInput` via:
SubscriptionCostManagementExportExportDataOptionsArgs{...}
type SubscriptionCostManagementExportExportDataOptionsOutput ¶
type SubscriptionCostManagementExportExportDataOptionsOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportExportDataOptionsOutput) ElementType ¶
func (SubscriptionCostManagementExportExportDataOptionsOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportExportDataOptionsOutput) TimeFrame ¶
func (o SubscriptionCostManagementExportExportDataOptionsOutput) TimeFrame() pulumi.StringOutput
The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`.
func (SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsOutput ¶
func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsOutput() SubscriptionCostManagementExportExportDataOptionsOutput
func (SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext ¶
func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsOutput
func (SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput ¶
func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput
func (SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext ¶
func (o SubscriptionCostManagementExportExportDataOptionsOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput
type SubscriptionCostManagementExportExportDataOptionsPtrInput ¶
type SubscriptionCostManagementExportExportDataOptionsPtrInput interface { pulumi.Input ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput }
SubscriptionCostManagementExportExportDataOptionsPtrInput is an input type that accepts SubscriptionCostManagementExportExportDataOptionsArgs, SubscriptionCostManagementExportExportDataOptionsPtr and SubscriptionCostManagementExportExportDataOptionsPtrOutput values. You can construct a concrete instance of `SubscriptionCostManagementExportExportDataOptionsPtrInput` via:
SubscriptionCostManagementExportExportDataOptionsArgs{...} or: nil
func SubscriptionCostManagementExportExportDataOptionsPtr ¶
func SubscriptionCostManagementExportExportDataOptionsPtr(v *SubscriptionCostManagementExportExportDataOptionsArgs) SubscriptionCostManagementExportExportDataOptionsPtrInput
type SubscriptionCostManagementExportExportDataOptionsPtrOutput ¶
type SubscriptionCostManagementExportExportDataOptionsPtrOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportExportDataOptionsPtrOutput) ElementType ¶
func (SubscriptionCostManagementExportExportDataOptionsPtrOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportExportDataOptionsPtrOutput) TimeFrame ¶
func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) TimeFrame() pulumi.StringPtrOutput
The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: `WeekToDate`, `MonthToDate`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`.
func (SubscriptionCostManagementExportExportDataOptionsPtrOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput ¶
func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutput() SubscriptionCostManagementExportExportDataOptionsPtrOutput
func (SubscriptionCostManagementExportExportDataOptionsPtrOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext ¶
func (o SubscriptionCostManagementExportExportDataOptionsPtrOutput) ToSubscriptionCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataOptionsPtrOutput
type SubscriptionCostManagementExportExportDataStorageLocation ¶
type SubscriptionCostManagementExportExportDataStorageLocation struct { // The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created. ContainerId string `pulumi:"containerId"` // The path of the directory where exports will be uploaded. Changing this forces a new resource to be created. // // > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource. RootFolderPath string `pulumi:"rootFolderPath"` }
type SubscriptionCostManagementExportExportDataStorageLocationArgs ¶
type SubscriptionCostManagementExportExportDataStorageLocationArgs struct { // The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created. ContainerId pulumi.StringInput `pulumi:"containerId"` // The path of the directory where exports will be uploaded. Changing this forces a new resource to be created. // // > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource. RootFolderPath pulumi.StringInput `pulumi:"rootFolderPath"` }
func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ElementType ¶
func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ElementType() reflect.Type
func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationOutput ¶
func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationOutput() SubscriptionCostManagementExportExportDataStorageLocationOutput
func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext ¶
func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationOutput
func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput ¶
func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
func (SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶
func (i SubscriptionCostManagementExportExportDataStorageLocationArgs) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
type SubscriptionCostManagementExportExportDataStorageLocationInput ¶
type SubscriptionCostManagementExportExportDataStorageLocationInput interface { pulumi.Input ToSubscriptionCostManagementExportExportDataStorageLocationOutput() SubscriptionCostManagementExportExportDataStorageLocationOutput ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext(context.Context) SubscriptionCostManagementExportExportDataStorageLocationOutput }
SubscriptionCostManagementExportExportDataStorageLocationInput is an input type that accepts SubscriptionCostManagementExportExportDataStorageLocationArgs and SubscriptionCostManagementExportExportDataStorageLocationOutput values. You can construct a concrete instance of `SubscriptionCostManagementExportExportDataStorageLocationInput` via:
SubscriptionCostManagementExportExportDataStorageLocationArgs{...}
type SubscriptionCostManagementExportExportDataStorageLocationOutput ¶
type SubscriptionCostManagementExportExportDataStorageLocationOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ContainerId ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ContainerId() pulumi.StringOutput
The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ElementType ¶
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) RootFolderPath ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) RootFolderPath() pulumi.StringOutput
The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
> **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource.
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationOutput ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationOutput() SubscriptionCostManagementExportExportDataStorageLocationOutput
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationOutput
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
func (SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
type SubscriptionCostManagementExportExportDataStorageLocationPtrInput ¶
type SubscriptionCostManagementExportExportDataStorageLocationPtrInput interface { pulumi.Input ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput }
SubscriptionCostManagementExportExportDataStorageLocationPtrInput is an input type that accepts SubscriptionCostManagementExportExportDataStorageLocationArgs, SubscriptionCostManagementExportExportDataStorageLocationPtr and SubscriptionCostManagementExportExportDataStorageLocationPtrOutput values. You can construct a concrete instance of `SubscriptionCostManagementExportExportDataStorageLocationPtrInput` via:
SubscriptionCostManagementExportExportDataStorageLocationArgs{...} or: nil
func SubscriptionCostManagementExportExportDataStorageLocationPtr ¶
func SubscriptionCostManagementExportExportDataStorageLocationPtr(v *SubscriptionCostManagementExportExportDataStorageLocationArgs) SubscriptionCostManagementExportExportDataStorageLocationPtrInput
type SubscriptionCostManagementExportExportDataStorageLocationPtrOutput ¶
type SubscriptionCostManagementExportExportDataStorageLocationPtrOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ContainerId ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ContainerId() pulumi.StringPtrOutput
The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ElementType ¶
func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath() pulumi.StringPtrOutput
The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
> **Note:** The Resource Manager ID of a Storage Container is exposed via the `resourceManagerId` attribute of the `storage.Container` resource.
func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutput() SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
func (SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶
func (o SubscriptionCostManagementExportExportDataStorageLocationPtrOutput) ToSubscriptionCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementExportExportDataStorageLocationPtrOutput
type SubscriptionCostManagementExportInput ¶
type SubscriptionCostManagementExportInput interface { pulumi.Input ToSubscriptionCostManagementExportOutput() SubscriptionCostManagementExportOutput ToSubscriptionCostManagementExportOutputWithContext(ctx context.Context) SubscriptionCostManagementExportOutput }
type SubscriptionCostManagementExportMap ¶
type SubscriptionCostManagementExportMap map[string]SubscriptionCostManagementExportInput
func (SubscriptionCostManagementExportMap) ElementType ¶
func (SubscriptionCostManagementExportMap) ElementType() reflect.Type
func (SubscriptionCostManagementExportMap) ToSubscriptionCostManagementExportMapOutput ¶
func (i SubscriptionCostManagementExportMap) ToSubscriptionCostManagementExportMapOutput() SubscriptionCostManagementExportMapOutput
func (SubscriptionCostManagementExportMap) ToSubscriptionCostManagementExportMapOutputWithContext ¶
func (i SubscriptionCostManagementExportMap) ToSubscriptionCostManagementExportMapOutputWithContext(ctx context.Context) SubscriptionCostManagementExportMapOutput
type SubscriptionCostManagementExportMapInput ¶
type SubscriptionCostManagementExportMapInput interface { pulumi.Input ToSubscriptionCostManagementExportMapOutput() SubscriptionCostManagementExportMapOutput ToSubscriptionCostManagementExportMapOutputWithContext(context.Context) SubscriptionCostManagementExportMapOutput }
SubscriptionCostManagementExportMapInput is an input type that accepts SubscriptionCostManagementExportMap and SubscriptionCostManagementExportMapOutput values. You can construct a concrete instance of `SubscriptionCostManagementExportMapInput` via:
SubscriptionCostManagementExportMap{ "key": SubscriptionCostManagementExportArgs{...} }
type SubscriptionCostManagementExportMapOutput ¶
type SubscriptionCostManagementExportMapOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportMapOutput) ElementType ¶
func (SubscriptionCostManagementExportMapOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportMapOutput) MapIndex ¶
func (o SubscriptionCostManagementExportMapOutput) MapIndex(k pulumi.StringInput) SubscriptionCostManagementExportOutput
func (SubscriptionCostManagementExportMapOutput) ToSubscriptionCostManagementExportMapOutput ¶
func (o SubscriptionCostManagementExportMapOutput) ToSubscriptionCostManagementExportMapOutput() SubscriptionCostManagementExportMapOutput
func (SubscriptionCostManagementExportMapOutput) ToSubscriptionCostManagementExportMapOutputWithContext ¶
func (o SubscriptionCostManagementExportMapOutput) ToSubscriptionCostManagementExportMapOutputWithContext(ctx context.Context) SubscriptionCostManagementExportMapOutput
type SubscriptionCostManagementExportOutput ¶
type SubscriptionCostManagementExportOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementExportOutput) Active ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) Active() pulumi.BoolPtrOutput
Is the cost management export active? Default is `true`.
func (SubscriptionCostManagementExportOutput) ElementType ¶
func (SubscriptionCostManagementExportOutput) ElementType() reflect.Type
func (SubscriptionCostManagementExportOutput) ExportDataOptions ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) ExportDataOptions() SubscriptionCostManagementExportExportDataOptionsOutput
A `exportDataOptions` block as defined below.
func (SubscriptionCostManagementExportOutput) ExportDataStorageLocation ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) ExportDataStorageLocation() SubscriptionCostManagementExportExportDataStorageLocationOutput
A `exportDataStorageLocation` block as defined below.
func (SubscriptionCostManagementExportOutput) Name ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) Name() pulumi.StringOutput
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
func (SubscriptionCostManagementExportOutput) RecurrencePeriodEndDate ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) RecurrencePeriodEndDate() pulumi.StringOutput
The date the export will stop capturing information.
func (SubscriptionCostManagementExportOutput) RecurrencePeriodStartDate ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) RecurrencePeriodStartDate() pulumi.StringOutput
The date the export will start capturing information.
func (SubscriptionCostManagementExportOutput) RecurrenceType ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) RecurrenceType() pulumi.StringOutput
How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
func (SubscriptionCostManagementExportOutput) SubscriptionId ¶ added in v5.5.0
func (o SubscriptionCostManagementExportOutput) SubscriptionId() pulumi.StringOutput
The id of the subscription on which to create an export. Changing this forces a new resource to be created.
func (SubscriptionCostManagementExportOutput) ToSubscriptionCostManagementExportOutput ¶
func (o SubscriptionCostManagementExportOutput) ToSubscriptionCostManagementExportOutput() SubscriptionCostManagementExportOutput
func (SubscriptionCostManagementExportOutput) ToSubscriptionCostManagementExportOutputWithContext ¶
func (o SubscriptionCostManagementExportOutput) ToSubscriptionCostManagementExportOutputWithContext(ctx context.Context) SubscriptionCostManagementExportOutput
type SubscriptionCostManagementExportState ¶
type SubscriptionCostManagementExportState struct { // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrInput // A `exportDataOptions` block as defined below. ExportDataOptions SubscriptionCostManagementExportExportDataOptionsPtrInput // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationPtrInput // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringPtrInput // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringPtrInput // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringPtrInput // The id of the subscription on which to create an export. Changing this forces a new resource to be created. SubscriptionId pulumi.StringPtrInput }
func (SubscriptionCostManagementExportState) ElementType ¶
func (SubscriptionCostManagementExportState) ElementType() reflect.Type
type SubscriptionCostManagementView ¶ added in v5.40.0
type SubscriptionCostManagementView struct { pulumi.CustomResourceState // Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created. Accumulated pulumi.BoolOutput `pulumi:"accumulated"` // Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`. ChartType pulumi.StringOutput `pulumi:"chartType"` // A `dataset` block as defined below. Dataset SubscriptionCostManagementViewDatasetOutput `pulumi:"dataset"` // User visible input name of the Cost Management View. DisplayName pulumi.StringOutput `pulumi:"displayName"` // One or more `kpi` blocks as defined below, to show in Cost Analysis UI. Kpis SubscriptionCostManagementViewKpiArrayOutput `pulumi:"kpis"` // The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots. Pivots SubscriptionCostManagementViewPivotArrayOutput `pulumi:"pivots"` // The type of the report. The only possible value is `Usage`. ReportType pulumi.StringOutput `pulumi:"reportType"` // The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` // The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`. Timeframe pulumi.StringOutput `pulumi:"timeframe"` }
Manages an Azure Cost Management View for a Subscription.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewSubscriptionCostManagementView(ctx, "example", &core.SubscriptionCostManagementViewArgs{ Name: pulumi.String("example"), DisplayName: pulumi.String("Cost View per Month"), ChartType: pulumi.String("StackedColumn"), Accumulated: pulumi.Bool(false), SubscriptionId: pulumi.String("/subscription/00000000-0000-0000-0000-000000000000"), ReportType: pulumi.String("Usage"), Timeframe: pulumi.String("MonthToDate"), Dataset: &core.SubscriptionCostManagementViewDatasetArgs{ Granularity: pulumi.String("Monthly"), Aggregations: core.SubscriptionCostManagementViewDatasetAggregationArray{ &core.SubscriptionCostManagementViewDatasetAggregationArgs{ Name: pulumi.String("totalCost"), ColumnName: pulumi.String("Cost"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cost Management View for a Subscriptions can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscriptionCostManagementView:SubscriptionCostManagementView example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/views/costmanagementview ```
func GetSubscriptionCostManagementView ¶ added in v5.40.0
func GetSubscriptionCostManagementView(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionCostManagementViewState, opts ...pulumi.ResourceOption) (*SubscriptionCostManagementView, error)
GetSubscriptionCostManagementView gets an existing SubscriptionCostManagementView resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscriptionCostManagementView ¶ added in v5.40.0
func NewSubscriptionCostManagementView(ctx *pulumi.Context, name string, args *SubscriptionCostManagementViewArgs, opts ...pulumi.ResourceOption) (*SubscriptionCostManagementView, error)
NewSubscriptionCostManagementView registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionCostManagementView) ElementType ¶ added in v5.40.0
func (*SubscriptionCostManagementView) ElementType() reflect.Type
func (*SubscriptionCostManagementView) ToSubscriptionCostManagementViewOutput ¶ added in v5.40.0
func (i *SubscriptionCostManagementView) ToSubscriptionCostManagementViewOutput() SubscriptionCostManagementViewOutput
func (*SubscriptionCostManagementView) ToSubscriptionCostManagementViewOutputWithContext ¶ added in v5.40.0
func (i *SubscriptionCostManagementView) ToSubscriptionCostManagementViewOutputWithContext(ctx context.Context) SubscriptionCostManagementViewOutput
type SubscriptionCostManagementViewArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewArgs struct { // Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created. Accumulated pulumi.BoolInput // Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`. ChartType pulumi.StringInput // A `dataset` block as defined below. Dataset SubscriptionCostManagementViewDatasetInput // User visible input name of the Cost Management View. DisplayName pulumi.StringInput // One or more `kpi` blocks as defined below, to show in Cost Analysis UI. Kpis SubscriptionCostManagementViewKpiArrayInput // The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created. Name pulumi.StringPtrInput // One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots. Pivots SubscriptionCostManagementViewPivotArrayInput // The type of the report. The only possible value is `Usage`. ReportType pulumi.StringInput // The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created. SubscriptionId pulumi.StringInput // The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`. Timeframe pulumi.StringInput }
The set of arguments for constructing a SubscriptionCostManagementView resource.
func (SubscriptionCostManagementViewArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewArgs) ElementType() reflect.Type
type SubscriptionCostManagementViewArray ¶ added in v5.40.0
type SubscriptionCostManagementViewArray []SubscriptionCostManagementViewInput
func (SubscriptionCostManagementViewArray) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewArray) ElementType() reflect.Type
func (SubscriptionCostManagementViewArray) ToSubscriptionCostManagementViewArrayOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewArray) ToSubscriptionCostManagementViewArrayOutput() SubscriptionCostManagementViewArrayOutput
func (SubscriptionCostManagementViewArray) ToSubscriptionCostManagementViewArrayOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewArray) ToSubscriptionCostManagementViewArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewArrayOutput
type SubscriptionCostManagementViewArrayInput ¶ added in v5.40.0
type SubscriptionCostManagementViewArrayInput interface { pulumi.Input ToSubscriptionCostManagementViewArrayOutput() SubscriptionCostManagementViewArrayOutput ToSubscriptionCostManagementViewArrayOutputWithContext(context.Context) SubscriptionCostManagementViewArrayOutput }
SubscriptionCostManagementViewArrayInput is an input type that accepts SubscriptionCostManagementViewArray and SubscriptionCostManagementViewArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewArrayInput` via:
SubscriptionCostManagementViewArray{ SubscriptionCostManagementViewArgs{...} }
type SubscriptionCostManagementViewArrayOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewArrayOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewArrayOutput) ToSubscriptionCostManagementViewArrayOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewArrayOutput) ToSubscriptionCostManagementViewArrayOutput() SubscriptionCostManagementViewArrayOutput
func (SubscriptionCostManagementViewArrayOutput) ToSubscriptionCostManagementViewArrayOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewArrayOutput) ToSubscriptionCostManagementViewArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewArrayOutput
type SubscriptionCostManagementViewDataset ¶ added in v5.40.0
type SubscriptionCostManagementViewDataset struct { // One or more `aggregation` blocks as defined above. Aggregations []SubscriptionCostManagementViewDatasetAggregation `pulumi:"aggregations"` // The granularity of rows in the report. Possible values are `Daily` and `Monthly`. Granularity string `pulumi:"granularity"` // One or more `grouping` blocks as defined below. Groupings []SubscriptionCostManagementViewDatasetGrouping `pulumi:"groupings"` // One or more `sorting` blocks as defined below, containing the order by expression to be used in the report Sortings []SubscriptionCostManagementViewDatasetSorting `pulumi:"sortings"` }
type SubscriptionCostManagementViewDatasetAggregation ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregation struct { // The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created. ColumnName string `pulumi:"columnName"` // The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created. Name string `pulumi:"name"` }
type SubscriptionCostManagementViewDatasetAggregationArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregationArgs struct { // The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created. ColumnName pulumi.StringInput `pulumi:"columnName"` // The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created. Name pulumi.StringInput `pulumi:"name"` }
func (SubscriptionCostManagementViewDatasetAggregationArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetAggregationArgs) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetAggregationArgs) ToSubscriptionCostManagementViewDatasetAggregationOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetAggregationArgs) ToSubscriptionCostManagementViewDatasetAggregationOutput() SubscriptionCostManagementViewDatasetAggregationOutput
func (SubscriptionCostManagementViewDatasetAggregationArgs) ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetAggregationArgs) ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationOutput
type SubscriptionCostManagementViewDatasetAggregationArray ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregationArray []SubscriptionCostManagementViewDatasetAggregationInput
func (SubscriptionCostManagementViewDatasetAggregationArray) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetAggregationArray) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetAggregationArray) ToSubscriptionCostManagementViewDatasetAggregationArrayOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetAggregationArray) ToSubscriptionCostManagementViewDatasetAggregationArrayOutput() SubscriptionCostManagementViewDatasetAggregationArrayOutput
func (SubscriptionCostManagementViewDatasetAggregationArray) ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetAggregationArray) ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationArrayOutput
type SubscriptionCostManagementViewDatasetAggregationArrayInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregationArrayInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetAggregationArrayOutput() SubscriptionCostManagementViewDatasetAggregationArrayOutput ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetAggregationArrayOutput }
SubscriptionCostManagementViewDatasetAggregationArrayInput is an input type that accepts SubscriptionCostManagementViewDatasetAggregationArray and SubscriptionCostManagementViewDatasetAggregationArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetAggregationArrayInput` via:
SubscriptionCostManagementViewDatasetAggregationArray{ SubscriptionCostManagementViewDatasetAggregationArgs{...} }
type SubscriptionCostManagementViewDatasetAggregationArrayOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregationArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetAggregationArrayOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetAggregationArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetAggregationArrayOutput) ToSubscriptionCostManagementViewDatasetAggregationArrayOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetAggregationArrayOutput) ToSubscriptionCostManagementViewDatasetAggregationArrayOutput() SubscriptionCostManagementViewDatasetAggregationArrayOutput
func (SubscriptionCostManagementViewDatasetAggregationArrayOutput) ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetAggregationArrayOutput) ToSubscriptionCostManagementViewDatasetAggregationArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationArrayOutput
type SubscriptionCostManagementViewDatasetAggregationInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregationInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetAggregationOutput() SubscriptionCostManagementViewDatasetAggregationOutput ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetAggregationOutput }
SubscriptionCostManagementViewDatasetAggregationInput is an input type that accepts SubscriptionCostManagementViewDatasetAggregationArgs and SubscriptionCostManagementViewDatasetAggregationOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetAggregationInput` via:
SubscriptionCostManagementViewDatasetAggregationArgs{...}
type SubscriptionCostManagementViewDatasetAggregationOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetAggregationOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetAggregationOutput) ColumnName ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetAggregationOutput) ColumnName() pulumi.StringOutput
The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
func (SubscriptionCostManagementViewDatasetAggregationOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetAggregationOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetAggregationOutput) Name ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetAggregationOutput) Name() pulumi.StringOutput
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
func (SubscriptionCostManagementViewDatasetAggregationOutput) ToSubscriptionCostManagementViewDatasetAggregationOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetAggregationOutput) ToSubscriptionCostManagementViewDatasetAggregationOutput() SubscriptionCostManagementViewDatasetAggregationOutput
func (SubscriptionCostManagementViewDatasetAggregationOutput) ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetAggregationOutput) ToSubscriptionCostManagementViewDatasetAggregationOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetAggregationOutput
type SubscriptionCostManagementViewDatasetArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetArgs struct { // One or more `aggregation` blocks as defined above. Aggregations SubscriptionCostManagementViewDatasetAggregationArrayInput `pulumi:"aggregations"` // The granularity of rows in the report. Possible values are `Daily` and `Monthly`. Granularity pulumi.StringInput `pulumi:"granularity"` // One or more `grouping` blocks as defined below. Groupings SubscriptionCostManagementViewDatasetGroupingArrayInput `pulumi:"groupings"` // One or more `sorting` blocks as defined below, containing the order by expression to be used in the report Sortings SubscriptionCostManagementViewDatasetSortingArrayInput `pulumi:"sortings"` }
func (SubscriptionCostManagementViewDatasetArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetArgs) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetOutput() SubscriptionCostManagementViewDatasetOutput
func (SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetOutput
func (SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput
func (SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetArgs) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetPtrOutput
type SubscriptionCostManagementViewDatasetGrouping ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingArgs struct { // The name of the column to group. Name pulumi.StringInput `pulumi:"name"` // The type of the column. Possible values are `Dimension` and `TagKey`. Type pulumi.StringInput `pulumi:"type"` }
func (SubscriptionCostManagementViewDatasetGroupingArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetGroupingArgs) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetGroupingArgs) ToSubscriptionCostManagementViewDatasetGroupingOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetGroupingArgs) ToSubscriptionCostManagementViewDatasetGroupingOutput() SubscriptionCostManagementViewDatasetGroupingOutput
func (SubscriptionCostManagementViewDatasetGroupingArgs) ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetGroupingArgs) ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingOutput
type SubscriptionCostManagementViewDatasetGroupingArray ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingArray []SubscriptionCostManagementViewDatasetGroupingInput
func (SubscriptionCostManagementViewDatasetGroupingArray) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetGroupingArray) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetGroupingArray) ToSubscriptionCostManagementViewDatasetGroupingArrayOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetGroupingArray) ToSubscriptionCostManagementViewDatasetGroupingArrayOutput() SubscriptionCostManagementViewDatasetGroupingArrayOutput
func (SubscriptionCostManagementViewDatasetGroupingArray) ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetGroupingArray) ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingArrayOutput
type SubscriptionCostManagementViewDatasetGroupingArrayInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingArrayInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetGroupingArrayOutput() SubscriptionCostManagementViewDatasetGroupingArrayOutput ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetGroupingArrayOutput }
SubscriptionCostManagementViewDatasetGroupingArrayInput is an input type that accepts SubscriptionCostManagementViewDatasetGroupingArray and SubscriptionCostManagementViewDatasetGroupingArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetGroupingArrayInput` via:
SubscriptionCostManagementViewDatasetGroupingArray{ SubscriptionCostManagementViewDatasetGroupingArgs{...} }
type SubscriptionCostManagementViewDatasetGroupingArrayOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetGroupingArrayOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetGroupingArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetGroupingArrayOutput) ToSubscriptionCostManagementViewDatasetGroupingArrayOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetGroupingArrayOutput) ToSubscriptionCostManagementViewDatasetGroupingArrayOutput() SubscriptionCostManagementViewDatasetGroupingArrayOutput
func (SubscriptionCostManagementViewDatasetGroupingArrayOutput) ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetGroupingArrayOutput) ToSubscriptionCostManagementViewDatasetGroupingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingArrayOutput
type SubscriptionCostManagementViewDatasetGroupingInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetGroupingOutput() SubscriptionCostManagementViewDatasetGroupingOutput ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetGroupingOutput }
SubscriptionCostManagementViewDatasetGroupingInput is an input type that accepts SubscriptionCostManagementViewDatasetGroupingArgs and SubscriptionCostManagementViewDatasetGroupingOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetGroupingInput` via:
SubscriptionCostManagementViewDatasetGroupingArgs{...}
type SubscriptionCostManagementViewDatasetGroupingOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetGroupingOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetGroupingOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetGroupingOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetGroupingOutput) Name ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetGroupingOutput) Name() pulumi.StringOutput
The name of the column to group.
func (SubscriptionCostManagementViewDatasetGroupingOutput) ToSubscriptionCostManagementViewDatasetGroupingOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetGroupingOutput) ToSubscriptionCostManagementViewDatasetGroupingOutput() SubscriptionCostManagementViewDatasetGroupingOutput
func (SubscriptionCostManagementViewDatasetGroupingOutput) ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetGroupingOutput) ToSubscriptionCostManagementViewDatasetGroupingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetGroupingOutput
func (SubscriptionCostManagementViewDatasetGroupingOutput) Type ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetGroupingOutput) Type() pulumi.StringOutput
The type of the column. Possible values are `Dimension` and `TagKey`.
type SubscriptionCostManagementViewDatasetInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetOutput() SubscriptionCostManagementViewDatasetOutput ToSubscriptionCostManagementViewDatasetOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetOutput }
SubscriptionCostManagementViewDatasetInput is an input type that accepts SubscriptionCostManagementViewDatasetArgs and SubscriptionCostManagementViewDatasetOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetInput` via:
SubscriptionCostManagementViewDatasetArgs{...}
type SubscriptionCostManagementViewDatasetOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetOutput) Aggregations ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) Aggregations() SubscriptionCostManagementViewDatasetAggregationArrayOutput
One or more `aggregation` blocks as defined above.
func (SubscriptionCostManagementViewDatasetOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetOutput) Granularity ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) Granularity() pulumi.StringOutput
The granularity of rows in the report. Possible values are `Daily` and `Monthly`.
func (SubscriptionCostManagementViewDatasetOutput) Groupings ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) Groupings() SubscriptionCostManagementViewDatasetGroupingArrayOutput
One or more `grouping` blocks as defined below.
func (SubscriptionCostManagementViewDatasetOutput) Sortings ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) Sortings() SubscriptionCostManagementViewDatasetSortingArrayOutput
One or more `sorting` blocks as defined below, containing the order by expression to be used in the report
func (SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetOutput() SubscriptionCostManagementViewDatasetOutput
func (SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetOutput
func (SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput
func (SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetOutput) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetPtrOutput
type SubscriptionCostManagementViewDatasetPtrInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetPtrInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetPtrOutput }
SubscriptionCostManagementViewDatasetPtrInput is an input type that accepts SubscriptionCostManagementViewDatasetArgs, SubscriptionCostManagementViewDatasetPtr and SubscriptionCostManagementViewDatasetPtrOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetPtrInput` via:
SubscriptionCostManagementViewDatasetArgs{...} or: nil
func SubscriptionCostManagementViewDatasetPtr ¶ added in v5.40.0
func SubscriptionCostManagementViewDatasetPtr(v *SubscriptionCostManagementViewDatasetArgs) SubscriptionCostManagementViewDatasetPtrInput
type SubscriptionCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetPtrOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetPtrOutput) Aggregations ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetPtrOutput) Aggregations() SubscriptionCostManagementViewDatasetAggregationArrayOutput
One or more `aggregation` blocks as defined above.
func (SubscriptionCostManagementViewDatasetPtrOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetPtrOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetPtrOutput) Granularity ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetPtrOutput) Granularity() pulumi.StringPtrOutput
The granularity of rows in the report. Possible values are `Daily` and `Monthly`.
func (SubscriptionCostManagementViewDatasetPtrOutput) Groupings ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetPtrOutput) Groupings() SubscriptionCostManagementViewDatasetGroupingArrayOutput
One or more `grouping` blocks as defined below.
func (SubscriptionCostManagementViewDatasetPtrOutput) Sortings ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetPtrOutput) Sortings() SubscriptionCostManagementViewDatasetSortingArrayOutput
One or more `sorting` blocks as defined below, containing the order by expression to be used in the report
func (SubscriptionCostManagementViewDatasetPtrOutput) ToSubscriptionCostManagementViewDatasetPtrOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetPtrOutput) ToSubscriptionCostManagementViewDatasetPtrOutput() SubscriptionCostManagementViewDatasetPtrOutput
func (SubscriptionCostManagementViewDatasetPtrOutput) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetPtrOutput) ToSubscriptionCostManagementViewDatasetPtrOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetPtrOutput
type SubscriptionCostManagementViewDatasetSorting ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingArgs struct { // Direction of sort. Possible values are `Ascending` and `Descending`. Direction pulumi.StringInput `pulumi:"direction"` // The name of the column to sort. Name pulumi.StringInput `pulumi:"name"` }
func (SubscriptionCostManagementViewDatasetSortingArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetSortingArgs) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetSortingArgs) ToSubscriptionCostManagementViewDatasetSortingOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetSortingArgs) ToSubscriptionCostManagementViewDatasetSortingOutput() SubscriptionCostManagementViewDatasetSortingOutput
func (SubscriptionCostManagementViewDatasetSortingArgs) ToSubscriptionCostManagementViewDatasetSortingOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetSortingArgs) ToSubscriptionCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingOutput
type SubscriptionCostManagementViewDatasetSortingArray ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingArray []SubscriptionCostManagementViewDatasetSortingInput
func (SubscriptionCostManagementViewDatasetSortingArray) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetSortingArray) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetSortingArray) ToSubscriptionCostManagementViewDatasetSortingArrayOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetSortingArray) ToSubscriptionCostManagementViewDatasetSortingArrayOutput() SubscriptionCostManagementViewDatasetSortingArrayOutput
func (SubscriptionCostManagementViewDatasetSortingArray) ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewDatasetSortingArray) ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingArrayOutput
type SubscriptionCostManagementViewDatasetSortingArrayInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingArrayInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetSortingArrayOutput() SubscriptionCostManagementViewDatasetSortingArrayOutput ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetSortingArrayOutput }
SubscriptionCostManagementViewDatasetSortingArrayInput is an input type that accepts SubscriptionCostManagementViewDatasetSortingArray and SubscriptionCostManagementViewDatasetSortingArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetSortingArrayInput` via:
SubscriptionCostManagementViewDatasetSortingArray{ SubscriptionCostManagementViewDatasetSortingArgs{...} }
type SubscriptionCostManagementViewDatasetSortingArrayOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetSortingArrayOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetSortingArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetSortingArrayOutput) ToSubscriptionCostManagementViewDatasetSortingArrayOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetSortingArrayOutput) ToSubscriptionCostManagementViewDatasetSortingArrayOutput() SubscriptionCostManagementViewDatasetSortingArrayOutput
func (SubscriptionCostManagementViewDatasetSortingArrayOutput) ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetSortingArrayOutput) ToSubscriptionCostManagementViewDatasetSortingArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingArrayOutput
type SubscriptionCostManagementViewDatasetSortingInput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingInput interface { pulumi.Input ToSubscriptionCostManagementViewDatasetSortingOutput() SubscriptionCostManagementViewDatasetSortingOutput ToSubscriptionCostManagementViewDatasetSortingOutputWithContext(context.Context) SubscriptionCostManagementViewDatasetSortingOutput }
SubscriptionCostManagementViewDatasetSortingInput is an input type that accepts SubscriptionCostManagementViewDatasetSortingArgs and SubscriptionCostManagementViewDatasetSortingOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewDatasetSortingInput` via:
SubscriptionCostManagementViewDatasetSortingArgs{...}
type SubscriptionCostManagementViewDatasetSortingOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewDatasetSortingOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewDatasetSortingOutput) Direction ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetSortingOutput) Direction() pulumi.StringOutput
Direction of sort. Possible values are `Ascending` and `Descending`.
func (SubscriptionCostManagementViewDatasetSortingOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewDatasetSortingOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewDatasetSortingOutput) Name ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetSortingOutput) Name() pulumi.StringOutput
The name of the column to sort.
func (SubscriptionCostManagementViewDatasetSortingOutput) ToSubscriptionCostManagementViewDatasetSortingOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetSortingOutput) ToSubscriptionCostManagementViewDatasetSortingOutput() SubscriptionCostManagementViewDatasetSortingOutput
func (SubscriptionCostManagementViewDatasetSortingOutput) ToSubscriptionCostManagementViewDatasetSortingOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewDatasetSortingOutput) ToSubscriptionCostManagementViewDatasetSortingOutputWithContext(ctx context.Context) SubscriptionCostManagementViewDatasetSortingOutput
type SubscriptionCostManagementViewInput ¶ added in v5.40.0
type SubscriptionCostManagementViewInput interface { pulumi.Input ToSubscriptionCostManagementViewOutput() SubscriptionCostManagementViewOutput ToSubscriptionCostManagementViewOutputWithContext(ctx context.Context) SubscriptionCostManagementViewOutput }
type SubscriptionCostManagementViewKpi ¶ added in v5.40.0
type SubscriptionCostManagementViewKpi struct { // KPI type. Possible values are `Budget` and `Forecast`. Type string `pulumi:"type"` }
type SubscriptionCostManagementViewKpiArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewKpiArgs struct { // KPI type. Possible values are `Budget` and `Forecast`. Type pulumi.StringInput `pulumi:"type"` }
func (SubscriptionCostManagementViewKpiArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewKpiArgs) ElementType() reflect.Type
func (SubscriptionCostManagementViewKpiArgs) ToSubscriptionCostManagementViewKpiOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewKpiArgs) ToSubscriptionCostManagementViewKpiOutput() SubscriptionCostManagementViewKpiOutput
func (SubscriptionCostManagementViewKpiArgs) ToSubscriptionCostManagementViewKpiOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewKpiArgs) ToSubscriptionCostManagementViewKpiOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiOutput
type SubscriptionCostManagementViewKpiArray ¶ added in v5.40.0
type SubscriptionCostManagementViewKpiArray []SubscriptionCostManagementViewKpiInput
func (SubscriptionCostManagementViewKpiArray) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewKpiArray) ElementType() reflect.Type
func (SubscriptionCostManagementViewKpiArray) ToSubscriptionCostManagementViewKpiArrayOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewKpiArray) ToSubscriptionCostManagementViewKpiArrayOutput() SubscriptionCostManagementViewKpiArrayOutput
func (SubscriptionCostManagementViewKpiArray) ToSubscriptionCostManagementViewKpiArrayOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewKpiArray) ToSubscriptionCostManagementViewKpiArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiArrayOutput
type SubscriptionCostManagementViewKpiArrayInput ¶ added in v5.40.0
type SubscriptionCostManagementViewKpiArrayInput interface { pulumi.Input ToSubscriptionCostManagementViewKpiArrayOutput() SubscriptionCostManagementViewKpiArrayOutput ToSubscriptionCostManagementViewKpiArrayOutputWithContext(context.Context) SubscriptionCostManagementViewKpiArrayOutput }
SubscriptionCostManagementViewKpiArrayInput is an input type that accepts SubscriptionCostManagementViewKpiArray and SubscriptionCostManagementViewKpiArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewKpiArrayInput` via:
SubscriptionCostManagementViewKpiArray{ SubscriptionCostManagementViewKpiArgs{...} }
type SubscriptionCostManagementViewKpiArrayOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewKpiArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewKpiArrayOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewKpiArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewKpiArrayOutput) ToSubscriptionCostManagementViewKpiArrayOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewKpiArrayOutput) ToSubscriptionCostManagementViewKpiArrayOutput() SubscriptionCostManagementViewKpiArrayOutput
func (SubscriptionCostManagementViewKpiArrayOutput) ToSubscriptionCostManagementViewKpiArrayOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewKpiArrayOutput) ToSubscriptionCostManagementViewKpiArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiArrayOutput
type SubscriptionCostManagementViewKpiInput ¶ added in v5.40.0
type SubscriptionCostManagementViewKpiInput interface { pulumi.Input ToSubscriptionCostManagementViewKpiOutput() SubscriptionCostManagementViewKpiOutput ToSubscriptionCostManagementViewKpiOutputWithContext(context.Context) SubscriptionCostManagementViewKpiOutput }
SubscriptionCostManagementViewKpiInput is an input type that accepts SubscriptionCostManagementViewKpiArgs and SubscriptionCostManagementViewKpiOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewKpiInput` via:
SubscriptionCostManagementViewKpiArgs{...}
type SubscriptionCostManagementViewKpiOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewKpiOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewKpiOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewKpiOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewKpiOutput) ToSubscriptionCostManagementViewKpiOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewKpiOutput) ToSubscriptionCostManagementViewKpiOutput() SubscriptionCostManagementViewKpiOutput
func (SubscriptionCostManagementViewKpiOutput) ToSubscriptionCostManagementViewKpiOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewKpiOutput) ToSubscriptionCostManagementViewKpiOutputWithContext(ctx context.Context) SubscriptionCostManagementViewKpiOutput
func (SubscriptionCostManagementViewKpiOutput) Type ¶ added in v5.40.0
func (o SubscriptionCostManagementViewKpiOutput) Type() pulumi.StringOutput
KPI type. Possible values are `Budget` and `Forecast`.
type SubscriptionCostManagementViewMap ¶ added in v5.40.0
type SubscriptionCostManagementViewMap map[string]SubscriptionCostManagementViewInput
func (SubscriptionCostManagementViewMap) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewMap) ElementType() reflect.Type
func (SubscriptionCostManagementViewMap) ToSubscriptionCostManagementViewMapOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewMap) ToSubscriptionCostManagementViewMapOutput() SubscriptionCostManagementViewMapOutput
func (SubscriptionCostManagementViewMap) ToSubscriptionCostManagementViewMapOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewMap) ToSubscriptionCostManagementViewMapOutputWithContext(ctx context.Context) SubscriptionCostManagementViewMapOutput
type SubscriptionCostManagementViewMapInput ¶ added in v5.40.0
type SubscriptionCostManagementViewMapInput interface { pulumi.Input ToSubscriptionCostManagementViewMapOutput() SubscriptionCostManagementViewMapOutput ToSubscriptionCostManagementViewMapOutputWithContext(context.Context) SubscriptionCostManagementViewMapOutput }
SubscriptionCostManagementViewMapInput is an input type that accepts SubscriptionCostManagementViewMap and SubscriptionCostManagementViewMapOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewMapInput` via:
SubscriptionCostManagementViewMap{ "key": SubscriptionCostManagementViewArgs{...} }
type SubscriptionCostManagementViewMapOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewMapOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewMapOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewMapOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewMapOutput) MapIndex ¶ added in v5.40.0
func (o SubscriptionCostManagementViewMapOutput) MapIndex(k pulumi.StringInput) SubscriptionCostManagementViewOutput
func (SubscriptionCostManagementViewMapOutput) ToSubscriptionCostManagementViewMapOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewMapOutput) ToSubscriptionCostManagementViewMapOutput() SubscriptionCostManagementViewMapOutput
func (SubscriptionCostManagementViewMapOutput) ToSubscriptionCostManagementViewMapOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewMapOutput) ToSubscriptionCostManagementViewMapOutputWithContext(ctx context.Context) SubscriptionCostManagementViewMapOutput
type SubscriptionCostManagementViewOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewOutput) Accumulated ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) Accumulated() pulumi.BoolOutput
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
func (SubscriptionCostManagementViewOutput) ChartType ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) ChartType() pulumi.StringOutput
Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`.
func (SubscriptionCostManagementViewOutput) Dataset ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) Dataset() SubscriptionCostManagementViewDatasetOutput
A `dataset` block as defined below.
func (SubscriptionCostManagementViewOutput) DisplayName ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) DisplayName() pulumi.StringOutput
User visible input name of the Cost Management View.
func (SubscriptionCostManagementViewOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewOutput) Kpis ¶ added in v5.40.0
One or more `kpi` blocks as defined below, to show in Cost Analysis UI.
func (SubscriptionCostManagementViewOutput) Name ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) Name() pulumi.StringOutput
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
func (SubscriptionCostManagementViewOutput) Pivots ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) Pivots() SubscriptionCostManagementViewPivotArrayOutput
One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
func (SubscriptionCostManagementViewOutput) ReportType ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) ReportType() pulumi.StringOutput
The type of the report. The only possible value is `Usage`.
func (SubscriptionCostManagementViewOutput) SubscriptionId ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) SubscriptionId() pulumi.StringOutput
The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
func (SubscriptionCostManagementViewOutput) Timeframe ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) Timeframe() pulumi.StringOutput
The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`.
func (SubscriptionCostManagementViewOutput) ToSubscriptionCostManagementViewOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) ToSubscriptionCostManagementViewOutput() SubscriptionCostManagementViewOutput
func (SubscriptionCostManagementViewOutput) ToSubscriptionCostManagementViewOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewOutput) ToSubscriptionCostManagementViewOutputWithContext(ctx context.Context) SubscriptionCostManagementViewOutput
type SubscriptionCostManagementViewPivot ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotArgs ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotArgs struct { // The name of the column which should be used for this sub-view in the Cost Analysis UI. Name pulumi.StringInput `pulumi:"name"` // The data type to show in this sub-view. Possible values are `Dimension` and `TagKey`. Type pulumi.StringInput `pulumi:"type"` }
func (SubscriptionCostManagementViewPivotArgs) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewPivotArgs) ElementType() reflect.Type
func (SubscriptionCostManagementViewPivotArgs) ToSubscriptionCostManagementViewPivotOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewPivotArgs) ToSubscriptionCostManagementViewPivotOutput() SubscriptionCostManagementViewPivotOutput
func (SubscriptionCostManagementViewPivotArgs) ToSubscriptionCostManagementViewPivotOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewPivotArgs) ToSubscriptionCostManagementViewPivotOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotOutput
type SubscriptionCostManagementViewPivotArray ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotArray []SubscriptionCostManagementViewPivotInput
func (SubscriptionCostManagementViewPivotArray) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewPivotArray) ElementType() reflect.Type
func (SubscriptionCostManagementViewPivotArray) ToSubscriptionCostManagementViewPivotArrayOutput ¶ added in v5.40.0
func (i SubscriptionCostManagementViewPivotArray) ToSubscriptionCostManagementViewPivotArrayOutput() SubscriptionCostManagementViewPivotArrayOutput
func (SubscriptionCostManagementViewPivotArray) ToSubscriptionCostManagementViewPivotArrayOutputWithContext ¶ added in v5.40.0
func (i SubscriptionCostManagementViewPivotArray) ToSubscriptionCostManagementViewPivotArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotArrayOutput
type SubscriptionCostManagementViewPivotArrayInput ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotArrayInput interface { pulumi.Input ToSubscriptionCostManagementViewPivotArrayOutput() SubscriptionCostManagementViewPivotArrayOutput ToSubscriptionCostManagementViewPivotArrayOutputWithContext(context.Context) SubscriptionCostManagementViewPivotArrayOutput }
SubscriptionCostManagementViewPivotArrayInput is an input type that accepts SubscriptionCostManagementViewPivotArray and SubscriptionCostManagementViewPivotArrayOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewPivotArrayInput` via:
SubscriptionCostManagementViewPivotArray{ SubscriptionCostManagementViewPivotArgs{...} }
type SubscriptionCostManagementViewPivotArrayOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewPivotArrayOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewPivotArrayOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewPivotArrayOutput) ToSubscriptionCostManagementViewPivotArrayOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewPivotArrayOutput) ToSubscriptionCostManagementViewPivotArrayOutput() SubscriptionCostManagementViewPivotArrayOutput
func (SubscriptionCostManagementViewPivotArrayOutput) ToSubscriptionCostManagementViewPivotArrayOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewPivotArrayOutput) ToSubscriptionCostManagementViewPivotArrayOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotArrayOutput
type SubscriptionCostManagementViewPivotInput ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotInput interface { pulumi.Input ToSubscriptionCostManagementViewPivotOutput() SubscriptionCostManagementViewPivotOutput ToSubscriptionCostManagementViewPivotOutputWithContext(context.Context) SubscriptionCostManagementViewPivotOutput }
SubscriptionCostManagementViewPivotInput is an input type that accepts SubscriptionCostManagementViewPivotArgs and SubscriptionCostManagementViewPivotOutput values. You can construct a concrete instance of `SubscriptionCostManagementViewPivotInput` via:
SubscriptionCostManagementViewPivotArgs{...}
type SubscriptionCostManagementViewPivotOutput ¶ added in v5.40.0
type SubscriptionCostManagementViewPivotOutput struct{ *pulumi.OutputState }
func (SubscriptionCostManagementViewPivotOutput) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewPivotOutput) ElementType() reflect.Type
func (SubscriptionCostManagementViewPivotOutput) Name ¶ added in v5.40.0
func (o SubscriptionCostManagementViewPivotOutput) Name() pulumi.StringOutput
The name of the column which should be used for this sub-view in the Cost Analysis UI.
func (SubscriptionCostManagementViewPivotOutput) ToSubscriptionCostManagementViewPivotOutput ¶ added in v5.40.0
func (o SubscriptionCostManagementViewPivotOutput) ToSubscriptionCostManagementViewPivotOutput() SubscriptionCostManagementViewPivotOutput
func (SubscriptionCostManagementViewPivotOutput) ToSubscriptionCostManagementViewPivotOutputWithContext ¶ added in v5.40.0
func (o SubscriptionCostManagementViewPivotOutput) ToSubscriptionCostManagementViewPivotOutputWithContext(ctx context.Context) SubscriptionCostManagementViewPivotOutput
func (SubscriptionCostManagementViewPivotOutput) Type ¶ added in v5.40.0
func (o SubscriptionCostManagementViewPivotOutput) Type() pulumi.StringOutput
The data type to show in this sub-view. Possible values are `Dimension` and `TagKey`.
type SubscriptionCostManagementViewState ¶ added in v5.40.0
type SubscriptionCostManagementViewState struct { // Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created. Accumulated pulumi.BoolPtrInput // Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`. ChartType pulumi.StringPtrInput // A `dataset` block as defined below. Dataset SubscriptionCostManagementViewDatasetPtrInput // User visible input name of the Cost Management View. DisplayName pulumi.StringPtrInput // One or more `kpi` blocks as defined below, to show in Cost Analysis UI. Kpis SubscriptionCostManagementViewKpiArrayInput // The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created. Name pulumi.StringPtrInput // One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots. Pivots SubscriptionCostManagementViewPivotArrayInput // The type of the report. The only possible value is `Usage`. ReportType pulumi.StringPtrInput // The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created. SubscriptionId pulumi.StringPtrInput // The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`. Timeframe pulumi.StringPtrInput }
func (SubscriptionCostManagementViewState) ElementType ¶ added in v5.40.0
func (SubscriptionCostManagementViewState) ElementType() reflect.Type
type SubscriptionInput ¶
type SubscriptionInput interface { pulumi.Input ToSubscriptionOutput() SubscriptionOutput ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput }
type SubscriptionMap ¶
type SubscriptionMap map[string]SubscriptionInput
func (SubscriptionMap) ElementType ¶
func (SubscriptionMap) ElementType() reflect.Type
func (SubscriptionMap) ToSubscriptionMapOutput ¶
func (i SubscriptionMap) ToSubscriptionMapOutput() SubscriptionMapOutput
func (SubscriptionMap) ToSubscriptionMapOutputWithContext ¶
func (i SubscriptionMap) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
type SubscriptionMapInput ¶
type SubscriptionMapInput interface { pulumi.Input ToSubscriptionMapOutput() SubscriptionMapOutput ToSubscriptionMapOutputWithContext(context.Context) SubscriptionMapOutput }
SubscriptionMapInput is an input type that accepts SubscriptionMap and SubscriptionMapOutput values. You can construct a concrete instance of `SubscriptionMapInput` via:
SubscriptionMap{ "key": SubscriptionArgs{...} }
type SubscriptionMapOutput ¶
type SubscriptionMapOutput struct{ *pulumi.OutputState }
func (SubscriptionMapOutput) ElementType ¶
func (SubscriptionMapOutput) ElementType() reflect.Type
func (SubscriptionMapOutput) MapIndex ¶
func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput
func (SubscriptionMapOutput) ToSubscriptionMapOutput ¶
func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput
func (SubscriptionMapOutput) ToSubscriptionMapOutputWithContext ¶
func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
type SubscriptionOutput ¶
type SubscriptionOutput struct{ *pulumi.OutputState }
func (SubscriptionOutput) Alias ¶ added in v5.5.0
func (o SubscriptionOutput) Alias() pulumi.StringOutput
The Alias name for the subscription. This provider will generate a new GUID if this is not supplied. Changing this forces a new Subscription to be created.
func (SubscriptionOutput) BillingScopeId ¶ added in v5.5.0
func (o SubscriptionOutput) BillingScopeId() pulumi.StringPtrOutput
The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID.
func (SubscriptionOutput) ElementType ¶
func (SubscriptionOutput) ElementType() reflect.Type
func (SubscriptionOutput) SubscriptionId ¶ added in v5.5.0
func (o SubscriptionOutput) SubscriptionId() pulumi.StringOutput
The ID of the Subscription. Changing this forces a new Subscription to be created.
> **NOTE:** This value can be specified only for adopting control of an existing Subscription, it cannot be used to provide a custom Subscription ID.
> **NOTE:** Either `billingScopeId` or `subscriptionId` has to be specified.
func (SubscriptionOutput) SubscriptionName ¶ added in v5.5.0
func (o SubscriptionOutput) SubscriptionName() pulumi.StringOutput
The Name of the Subscription. This is the Display Name in the portal.
func (SubscriptionOutput) Tags ¶ added in v5.5.0
func (o SubscriptionOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the Subscription.
func (SubscriptionOutput) TenantId ¶ added in v5.5.0
func (o SubscriptionOutput) TenantId() pulumi.StringOutput
The ID of the Tenant to which the subscription belongs.
func (SubscriptionOutput) ToSubscriptionOutput ¶
func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput
func (SubscriptionOutput) ToSubscriptionOutputWithContext ¶
func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
func (SubscriptionOutput) Workload ¶ added in v5.5.0
func (o SubscriptionOutput) Workload() pulumi.StringPtrOutput
The workload type of the Subscription. Possible values are `Production` (default) and `DevTest`. Changing this forces a new Subscription to be created.
type SubscriptionPolicyAssignment ¶
type SubscriptionPolicyAssignment struct { pulumi.CustomResourceState // A description which should be used for this Policy Assignment. Description pulumi.StringPtrOutput `pulumi:"description"` // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrOutput `pulumi:"enforce"` // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity SubscriptionPolicyAssignmentIdentityPtrOutput `pulumi:"identity"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringOutput `pulumi:"location"` // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringOutput `pulumi:"name"` // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput `pulumi:"nonComplianceMessages"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayOutput `pulumi:"notScopes"` // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides SubscriptionPolicyAssignmentOverrideArrayOutput `pulumi:"overrides"` // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrOutput `pulumi:"parameters"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringOutput `pulumi:"policyDefinitionId"` // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors SubscriptionPolicyAssignmentResourceSelectorArrayOutput `pulumi:"resourceSelectors"` // The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` }
Manages a Subscription Policy Assignment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } example, err := policy.NewDefinition(ctx, "example", &policy.DefinitionArgs{ Name: pulumi.String("only-deploy-in-westeurope"), PolicyType: pulumi.String("Custom"), Mode: pulumi.String("All"), DisplayName: pulumi.String("Allowed resource types"), PolicyRule: pulumi.String(` { "if": { "not": { "field": "location", "equals": "westeurope" } }, "then": { "effect": "Deny" } }
`),
}) if err != nil { return err } _, err = core.NewSubscriptionPolicyAssignment(ctx, "example", &core.SubscriptionPolicyAssignmentArgs{ Name: pulumi.String("example"), PolicyDefinitionId: example.ID(), SubscriptionId: pulumi.String(current.Id), }) if err != nil { return err } return nil }) }
```
## Import
Subscription Policy Assignments can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscriptionPolicyAssignment:SubscriptionPolicyAssignment example /subscriptions/00000000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/assignment1 ```
func GetSubscriptionPolicyAssignment ¶
func GetSubscriptionPolicyAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionPolicyAssignmentState, opts ...pulumi.ResourceOption) (*SubscriptionPolicyAssignment, error)
GetSubscriptionPolicyAssignment gets an existing SubscriptionPolicyAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscriptionPolicyAssignment ¶
func NewSubscriptionPolicyAssignment(ctx *pulumi.Context, name string, args *SubscriptionPolicyAssignmentArgs, opts ...pulumi.ResourceOption) (*SubscriptionPolicyAssignment, error)
NewSubscriptionPolicyAssignment registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionPolicyAssignment) ElementType ¶
func (*SubscriptionPolicyAssignment) ElementType() reflect.Type
func (*SubscriptionPolicyAssignment) ToSubscriptionPolicyAssignmentOutput ¶
func (i *SubscriptionPolicyAssignment) ToSubscriptionPolicyAssignmentOutput() SubscriptionPolicyAssignmentOutput
func (*SubscriptionPolicyAssignment) ToSubscriptionPolicyAssignmentOutputWithContext ¶
func (i *SubscriptionPolicyAssignment) ToSubscriptionPolicyAssignmentOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOutput
type SubscriptionPolicyAssignmentArgs ¶
type SubscriptionPolicyAssignmentArgs struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity SubscriptionPolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages SubscriptionPolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides SubscriptionPolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors SubscriptionPolicyAssignmentResourceSelectorArrayInput // The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. SubscriptionId pulumi.StringInput }
The set of arguments for constructing a SubscriptionPolicyAssignment resource.
func (SubscriptionPolicyAssignmentArgs) ElementType ¶
func (SubscriptionPolicyAssignmentArgs) ElementType() reflect.Type
type SubscriptionPolicyAssignmentArray ¶
type SubscriptionPolicyAssignmentArray []SubscriptionPolicyAssignmentInput
func (SubscriptionPolicyAssignmentArray) ElementType ¶
func (SubscriptionPolicyAssignmentArray) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentArray) ToSubscriptionPolicyAssignmentArrayOutput ¶
func (i SubscriptionPolicyAssignmentArray) ToSubscriptionPolicyAssignmentArrayOutput() SubscriptionPolicyAssignmentArrayOutput
func (SubscriptionPolicyAssignmentArray) ToSubscriptionPolicyAssignmentArrayOutputWithContext ¶
func (i SubscriptionPolicyAssignmentArray) ToSubscriptionPolicyAssignmentArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentArrayOutput
type SubscriptionPolicyAssignmentArrayInput ¶
type SubscriptionPolicyAssignmentArrayInput interface { pulumi.Input ToSubscriptionPolicyAssignmentArrayOutput() SubscriptionPolicyAssignmentArrayOutput ToSubscriptionPolicyAssignmentArrayOutputWithContext(context.Context) SubscriptionPolicyAssignmentArrayOutput }
SubscriptionPolicyAssignmentArrayInput is an input type that accepts SubscriptionPolicyAssignmentArray and SubscriptionPolicyAssignmentArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentArrayInput` via:
SubscriptionPolicyAssignmentArray{ SubscriptionPolicyAssignmentArgs{...} }
type SubscriptionPolicyAssignmentArrayOutput ¶
type SubscriptionPolicyAssignmentArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentArrayOutput) ElementType ¶
func (SubscriptionPolicyAssignmentArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentArrayOutput) ToSubscriptionPolicyAssignmentArrayOutput ¶
func (o SubscriptionPolicyAssignmentArrayOutput) ToSubscriptionPolicyAssignmentArrayOutput() SubscriptionPolicyAssignmentArrayOutput
func (SubscriptionPolicyAssignmentArrayOutput) ToSubscriptionPolicyAssignmentArrayOutputWithContext ¶
func (o SubscriptionPolicyAssignmentArrayOutput) ToSubscriptionPolicyAssignmentArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentArrayOutput
type SubscriptionPolicyAssignmentIdentity ¶
type SubscriptionPolicyAssignmentIdentity struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds []string `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Subscription. PrincipalId *string `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Subscription. TenantId *string `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` or `UserAssigned`. Type string `pulumi:"type"` }
type SubscriptionPolicyAssignmentIdentityArgs ¶
type SubscriptionPolicyAssignmentIdentityArgs struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Subscription. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Subscription. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` or `UserAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (SubscriptionPolicyAssignmentIdentityArgs) ElementType ¶
func (SubscriptionPolicyAssignmentIdentityArgs) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityOutput ¶
func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityOutput() SubscriptionPolicyAssignmentIdentityOutput
func (SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityOutputWithContext ¶
func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityOutput
func (SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityPtrOutput ¶
func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput
func (SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext ¶
func (i SubscriptionPolicyAssignmentIdentityArgs) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput
type SubscriptionPolicyAssignmentIdentityInput ¶
type SubscriptionPolicyAssignmentIdentityInput interface { pulumi.Input ToSubscriptionPolicyAssignmentIdentityOutput() SubscriptionPolicyAssignmentIdentityOutput ToSubscriptionPolicyAssignmentIdentityOutputWithContext(context.Context) SubscriptionPolicyAssignmentIdentityOutput }
SubscriptionPolicyAssignmentIdentityInput is an input type that accepts SubscriptionPolicyAssignmentIdentityArgs and SubscriptionPolicyAssignmentIdentityOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentIdentityInput` via:
SubscriptionPolicyAssignmentIdentityArgs{...}
type SubscriptionPolicyAssignmentIdentityOutput ¶
type SubscriptionPolicyAssignmentIdentityOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentIdentityOutput) ElementType ¶
func (SubscriptionPolicyAssignmentIdentityOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentIdentityOutput) IdentityIds ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (SubscriptionPolicyAssignmentIdentityOutput) PrincipalId ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Subscription.
func (SubscriptionPolicyAssignmentIdentityOutput) TenantId ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Subscription.
func (SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityOutput ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityOutput() SubscriptionPolicyAssignmentIdentityOutput
func (SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityOutputWithContext ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityOutput
func (SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutput ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput
func (SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput
func (SubscriptionPolicyAssignmentIdentityOutput) Type ¶
func (o SubscriptionPolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` or `UserAssigned`.
type SubscriptionPolicyAssignmentIdentityPtrInput ¶
type SubscriptionPolicyAssignmentIdentityPtrInput interface { pulumi.Input ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput }
SubscriptionPolicyAssignmentIdentityPtrInput is an input type that accepts SubscriptionPolicyAssignmentIdentityArgs, SubscriptionPolicyAssignmentIdentityPtr and SubscriptionPolicyAssignmentIdentityPtrOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentIdentityPtrInput` via:
SubscriptionPolicyAssignmentIdentityArgs{...} or: nil
func SubscriptionPolicyAssignmentIdentityPtr ¶
func SubscriptionPolicyAssignmentIdentityPtr(v *SubscriptionPolicyAssignmentIdentityArgs) SubscriptionPolicyAssignmentIdentityPtrInput
type SubscriptionPolicyAssignmentIdentityPtrOutput ¶
type SubscriptionPolicyAssignmentIdentityPtrOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentIdentityPtrOutput) ElementType ¶
func (SubscriptionPolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentIdentityPtrOutput) IdentityIds ¶
func (o SubscriptionPolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (SubscriptionPolicyAssignmentIdentityPtrOutput) PrincipalId ¶
func (o SubscriptionPolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Subscription.
func (SubscriptionPolicyAssignmentIdentityPtrOutput) TenantId ¶
func (o SubscriptionPolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Subscription.
func (SubscriptionPolicyAssignmentIdentityPtrOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutput ¶
func (o SubscriptionPolicyAssignmentIdentityPtrOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutput() SubscriptionPolicyAssignmentIdentityPtrOutput
func (SubscriptionPolicyAssignmentIdentityPtrOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext ¶
func (o SubscriptionPolicyAssignmentIdentityPtrOutput) ToSubscriptionPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentIdentityPtrOutput
func (SubscriptionPolicyAssignmentIdentityPtrOutput) Type ¶
func (o SubscriptionPolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` or `UserAssigned`.
type SubscriptionPolicyAssignmentInput ¶
type SubscriptionPolicyAssignmentInput interface { pulumi.Input ToSubscriptionPolicyAssignmentOutput() SubscriptionPolicyAssignmentOutput ToSubscriptionPolicyAssignmentOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOutput }
type SubscriptionPolicyAssignmentMap ¶
type SubscriptionPolicyAssignmentMap map[string]SubscriptionPolicyAssignmentInput
func (SubscriptionPolicyAssignmentMap) ElementType ¶
func (SubscriptionPolicyAssignmentMap) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentMap) ToSubscriptionPolicyAssignmentMapOutput ¶
func (i SubscriptionPolicyAssignmentMap) ToSubscriptionPolicyAssignmentMapOutput() SubscriptionPolicyAssignmentMapOutput
func (SubscriptionPolicyAssignmentMap) ToSubscriptionPolicyAssignmentMapOutputWithContext ¶
func (i SubscriptionPolicyAssignmentMap) ToSubscriptionPolicyAssignmentMapOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentMapOutput
type SubscriptionPolicyAssignmentMapInput ¶
type SubscriptionPolicyAssignmentMapInput interface { pulumi.Input ToSubscriptionPolicyAssignmentMapOutput() SubscriptionPolicyAssignmentMapOutput ToSubscriptionPolicyAssignmentMapOutputWithContext(context.Context) SubscriptionPolicyAssignmentMapOutput }
SubscriptionPolicyAssignmentMapInput is an input type that accepts SubscriptionPolicyAssignmentMap and SubscriptionPolicyAssignmentMapOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentMapInput` via:
SubscriptionPolicyAssignmentMap{ "key": SubscriptionPolicyAssignmentArgs{...} }
type SubscriptionPolicyAssignmentMapOutput ¶
type SubscriptionPolicyAssignmentMapOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentMapOutput) ElementType ¶
func (SubscriptionPolicyAssignmentMapOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentMapOutput) MapIndex ¶
func (o SubscriptionPolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPolicyAssignmentOutput
func (SubscriptionPolicyAssignmentMapOutput) ToSubscriptionPolicyAssignmentMapOutput ¶
func (o SubscriptionPolicyAssignmentMapOutput) ToSubscriptionPolicyAssignmentMapOutput() SubscriptionPolicyAssignmentMapOutput
func (SubscriptionPolicyAssignmentMapOutput) ToSubscriptionPolicyAssignmentMapOutputWithContext ¶
func (o SubscriptionPolicyAssignmentMapOutput) ToSubscriptionPolicyAssignmentMapOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentMapOutput
type SubscriptionPolicyAssignmentNonComplianceMessage ¶
type SubscriptionPolicyAssignmentNonComplianceMessage struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content string `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId *string `pulumi:"policyDefinitionReferenceId"` }
type SubscriptionPolicyAssignmentNonComplianceMessageArgs ¶
type SubscriptionPolicyAssignmentNonComplianceMessageArgs struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content pulumi.StringInput `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId pulumi.StringPtrInput `pulumi:"policyDefinitionReferenceId"` }
func (SubscriptionPolicyAssignmentNonComplianceMessageArgs) ElementType ¶
func (SubscriptionPolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentNonComplianceMessageArgs) ToSubscriptionPolicyAssignmentNonComplianceMessageOutput ¶
func (i SubscriptionPolicyAssignmentNonComplianceMessageArgs) ToSubscriptionPolicyAssignmentNonComplianceMessageOutput() SubscriptionPolicyAssignmentNonComplianceMessageOutput
func (SubscriptionPolicyAssignmentNonComplianceMessageArgs) ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (i SubscriptionPolicyAssignmentNonComplianceMessageArgs) ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageOutput
type SubscriptionPolicyAssignmentNonComplianceMessageArray ¶
type SubscriptionPolicyAssignmentNonComplianceMessageArray []SubscriptionPolicyAssignmentNonComplianceMessageInput
func (SubscriptionPolicyAssignmentNonComplianceMessageArray) ElementType ¶
func (SubscriptionPolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentNonComplianceMessageArray) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput ¶
func (i SubscriptionPolicyAssignmentNonComplianceMessageArray) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
func (SubscriptionPolicyAssignmentNonComplianceMessageArray) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (i SubscriptionPolicyAssignmentNonComplianceMessageArray) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
type SubscriptionPolicyAssignmentNonComplianceMessageArrayInput ¶
type SubscriptionPolicyAssignmentNonComplianceMessageArrayInput interface { pulumi.Input ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext(context.Context) SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput }
SubscriptionPolicyAssignmentNonComplianceMessageArrayInput is an input type that accepts SubscriptionPolicyAssignmentNonComplianceMessageArray and SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentNonComplianceMessageArrayInput` via:
SubscriptionPolicyAssignmentNonComplianceMessageArray{ SubscriptionPolicyAssignmentNonComplianceMessageArgs{...} }
type SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput ¶
type SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ElementType ¶
func (SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput ¶
func (o SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutput() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
func (SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (o SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
type SubscriptionPolicyAssignmentNonComplianceMessageInput ¶
type SubscriptionPolicyAssignmentNonComplianceMessageInput interface { pulumi.Input ToSubscriptionPolicyAssignmentNonComplianceMessageOutput() SubscriptionPolicyAssignmentNonComplianceMessageOutput ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext(context.Context) SubscriptionPolicyAssignmentNonComplianceMessageOutput }
SubscriptionPolicyAssignmentNonComplianceMessageInput is an input type that accepts SubscriptionPolicyAssignmentNonComplianceMessageArgs and SubscriptionPolicyAssignmentNonComplianceMessageOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentNonComplianceMessageInput` via:
SubscriptionPolicyAssignmentNonComplianceMessageArgs{...}
type SubscriptionPolicyAssignmentNonComplianceMessageOutput ¶
type SubscriptionPolicyAssignmentNonComplianceMessageOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) Content ¶
func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies.
func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) ElementType ¶
func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId ¶
func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageOutput ¶
func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageOutput() SubscriptionPolicyAssignmentNonComplianceMessageOutput
func (SubscriptionPolicyAssignmentNonComplianceMessageOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (o SubscriptionPolicyAssignmentNonComplianceMessageOutput) ToSubscriptionPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentNonComplianceMessageOutput
type SubscriptionPolicyAssignmentOutput ¶
type SubscriptionPolicyAssignmentOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentOutput) Description ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Description() pulumi.StringPtrOutput
A description which should be used for this Policy Assignment.
func (SubscriptionPolicyAssignmentOutput) DisplayName ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
The Display Name for this Policy Assignment.
func (SubscriptionPolicyAssignmentOutput) ElementType ¶
func (SubscriptionPolicyAssignmentOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOutput) Enforce ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
Specifies if this Policy should be enforced or not? Defaults to `true`.
func (SubscriptionPolicyAssignmentOutput) Identity ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Identity() SubscriptionPolicyAssignmentIdentityPtrOutput
An `identity` block as defined below.
> **Note:** The `location` field must also be specified when `identity` is specified.
func (SubscriptionPolicyAssignmentOutput) Location ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Location() pulumi.StringOutput
The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
func (SubscriptionPolicyAssignmentOutput) Metadata ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Metadata() pulumi.StringOutput
A JSON mapping of any Metadata for this Policy.
func (SubscriptionPolicyAssignmentOutput) Name ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Name() pulumi.StringOutput
The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length.
func (SubscriptionPolicyAssignmentOutput) NonComplianceMessages ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) NonComplianceMessages() SubscriptionPolicyAssignmentNonComplianceMessageArrayOutput
One or more `nonComplianceMessage` blocks as defined below.
func (SubscriptionPolicyAssignmentOutput) NotScopes ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
func (SubscriptionPolicyAssignmentOutput) Overrides ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOutput) Overrides() SubscriptionPolicyAssignmentOverrideArrayOutput
One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview)
func (SubscriptionPolicyAssignmentOutput) Parameters ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
A JSON mapping of any Parameters for this Policy.
func (SubscriptionPolicyAssignmentOutput) PolicyDefinitionId ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
func (SubscriptionPolicyAssignmentOutput) ResourceSelectors ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOutput) ResourceSelectors() SubscriptionPolicyAssignmentResourceSelectorArrayOutput
One or more `resourceSelectors` blocks as defined below to filter polices by resource properties.
func (SubscriptionPolicyAssignmentOutput) SubscriptionId ¶ added in v5.5.0
func (o SubscriptionPolicyAssignmentOutput) SubscriptionId() pulumi.StringOutput
The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
func (SubscriptionPolicyAssignmentOutput) ToSubscriptionPolicyAssignmentOutput ¶
func (o SubscriptionPolicyAssignmentOutput) ToSubscriptionPolicyAssignmentOutput() SubscriptionPolicyAssignmentOutput
func (SubscriptionPolicyAssignmentOutput) ToSubscriptionPolicyAssignmentOutputWithContext ¶
func (o SubscriptionPolicyAssignmentOutput) ToSubscriptionPolicyAssignmentOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOutput
type SubscriptionPolicyAssignmentOverride ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverride struct { // One or more `overrideSelector` block as defined below. Selectors []SubscriptionPolicyAssignmentOverrideSelector `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value string `pulumi:"value"` }
type SubscriptionPolicyAssignmentOverrideArgs ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideArgs struct { // One or more `overrideSelector` block as defined below. Selectors SubscriptionPolicyAssignmentOverrideSelectorArrayInput `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value pulumi.StringInput `pulumi:"value"` }
func (SubscriptionPolicyAssignmentOverrideArgs) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideArgs) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideArgs) ToSubscriptionPolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideArgs) ToSubscriptionPolicyAssignmentOverrideOutput() SubscriptionPolicyAssignmentOverrideOutput
func (SubscriptionPolicyAssignmentOverrideArgs) ToSubscriptionPolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideArgs) ToSubscriptionPolicyAssignmentOverrideOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideOutput
type SubscriptionPolicyAssignmentOverrideArray ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideArray []SubscriptionPolicyAssignmentOverrideInput
func (SubscriptionPolicyAssignmentOverrideArray) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideArray) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideArray) ToSubscriptionPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideArray) ToSubscriptionPolicyAssignmentOverrideArrayOutput() SubscriptionPolicyAssignmentOverrideArrayOutput
func (SubscriptionPolicyAssignmentOverrideArray) ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideArray) ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideArrayOutput
type SubscriptionPolicyAssignmentOverrideArrayInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideArrayInput interface { pulumi.Input ToSubscriptionPolicyAssignmentOverrideArrayOutput() SubscriptionPolicyAssignmentOverrideArrayOutput ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext(context.Context) SubscriptionPolicyAssignmentOverrideArrayOutput }
SubscriptionPolicyAssignmentOverrideArrayInput is an input type that accepts SubscriptionPolicyAssignmentOverrideArray and SubscriptionPolicyAssignmentOverrideArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentOverrideArrayInput` via:
SubscriptionPolicyAssignmentOverrideArray{ SubscriptionPolicyAssignmentOverrideArgs{...} }
type SubscriptionPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentOverrideArrayOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideArrayOutput) ToSubscriptionPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideArrayOutput) ToSubscriptionPolicyAssignmentOverrideArrayOutput() SubscriptionPolicyAssignmentOverrideArrayOutput
func (SubscriptionPolicyAssignmentOverrideArrayOutput) ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideArrayOutput) ToSubscriptionPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideArrayOutput
type SubscriptionPolicyAssignmentOverrideInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideInput interface { pulumi.Input ToSubscriptionPolicyAssignmentOverrideOutput() SubscriptionPolicyAssignmentOverrideOutput ToSubscriptionPolicyAssignmentOverrideOutputWithContext(context.Context) SubscriptionPolicyAssignmentOverrideOutput }
SubscriptionPolicyAssignmentOverrideInput is an input type that accepts SubscriptionPolicyAssignmentOverrideArgs and SubscriptionPolicyAssignmentOverrideOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentOverrideInput` via:
SubscriptionPolicyAssignmentOverrideArgs{...}
type SubscriptionPolicyAssignmentOverrideOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentOverrideOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideOutput) Selectors ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideOutput) Selectors() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
One or more `overrideSelector` block as defined below.
func (SubscriptionPolicyAssignmentOverrideOutput) ToSubscriptionPolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideOutput) ToSubscriptionPolicyAssignmentOverrideOutput() SubscriptionPolicyAssignmentOverrideOutput
func (SubscriptionPolicyAssignmentOverrideOutput) ToSubscriptionPolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideOutput) ToSubscriptionPolicyAssignmentOverrideOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideOutput
func (SubscriptionPolicyAssignmentOverrideOutput) Value ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects).
type SubscriptionPolicyAssignmentOverrideSelector ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelector struct { Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind *string `pulumi:"kind"` NotIns []string `pulumi:"notIns"` }
type SubscriptionPolicyAssignmentOverrideSelectorArgs ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelectorArgs struct { Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringPtrInput `pulumi:"kind"` NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (SubscriptionPolicyAssignmentOverrideSelectorArgs) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideSelectorArgs) ToSubscriptionPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideSelectorArgs) ToSubscriptionPolicyAssignmentOverrideSelectorOutput() SubscriptionPolicyAssignmentOverrideSelectorOutput
func (SubscriptionPolicyAssignmentOverrideSelectorArgs) ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideSelectorArgs) ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorOutput
type SubscriptionPolicyAssignmentOverrideSelectorArray ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelectorArray []SubscriptionPolicyAssignmentOverrideSelectorInput
func (SubscriptionPolicyAssignmentOverrideSelectorArray) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideSelectorArray) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideSelectorArray) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
func (SubscriptionPolicyAssignmentOverrideSelectorArray) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentOverrideSelectorArray) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
type SubscriptionPolicyAssignmentOverrideSelectorArrayInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelectorArrayInput interface { pulumi.Input ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext(context.Context) SubscriptionPolicyAssignmentOverrideSelectorArrayOutput }
SubscriptionPolicyAssignmentOverrideSelectorArrayInput is an input type that accepts SubscriptionPolicyAssignmentOverrideSelectorArray and SubscriptionPolicyAssignmentOverrideSelectorArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentOverrideSelectorArrayInput` via:
SubscriptionPolicyAssignmentOverrideSelectorArray{ SubscriptionPolicyAssignmentOverrideSelectorArgs{...} }
type SubscriptionPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelectorArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutput() SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
func (SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideSelectorArrayOutput) ToSubscriptionPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorArrayOutput
type SubscriptionPolicyAssignmentOverrideSelectorInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelectorInput interface { pulumi.Input ToSubscriptionPolicyAssignmentOverrideSelectorOutput() SubscriptionPolicyAssignmentOverrideSelectorOutput ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext(context.Context) SubscriptionPolicyAssignmentOverrideSelectorOutput }
SubscriptionPolicyAssignmentOverrideSelectorInput is an input type that accepts SubscriptionPolicyAssignmentOverrideSelectorArgs and SubscriptionPolicyAssignmentOverrideSelectorOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentOverrideSelectorInput` via:
SubscriptionPolicyAssignmentOverrideSelectorArgs{...}
type SubscriptionPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentOverrideSelectorOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentOverrideSelectorOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentOverrideSelectorOutput) Kind ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (SubscriptionPolicyAssignmentOverrideSelectorOutput) NotIns ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
func (SubscriptionPolicyAssignmentOverrideSelectorOutput) ToSubscriptionPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) ToSubscriptionPolicyAssignmentOverrideSelectorOutput() SubscriptionPolicyAssignmentOverrideSelectorOutput
func (SubscriptionPolicyAssignmentOverrideSelectorOutput) ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentOverrideSelectorOutput) ToSubscriptionPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentOverrideSelectorOutput
type SubscriptionPolicyAssignmentResourceSelector ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelector struct { // Specifies a name for the resource selector. Name *string `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors []SubscriptionPolicyAssignmentResourceSelectorSelector `pulumi:"selectors"` }
type SubscriptionPolicyAssignmentResourceSelectorArgs ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorArgs struct { // Specifies a name for the resource selector. Name pulumi.StringPtrInput `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors SubscriptionPolicyAssignmentResourceSelectorSelectorArrayInput `pulumi:"selectors"` }
func (SubscriptionPolicyAssignmentResourceSelectorArgs) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorOutput
func (SubscriptionPolicyAssignmentResourceSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorOutput
type SubscriptionPolicyAssignmentResourceSelectorArray ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorArray []SubscriptionPolicyAssignmentResourceSelectorInput
func (SubscriptionPolicyAssignmentResourceSelectorArray) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorArrayOutput
func (SubscriptionPolicyAssignmentResourceSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorArrayOutput
type SubscriptionPolicyAssignmentResourceSelectorArrayInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorArrayInput interface { pulumi.Input ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorArrayOutput ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext(context.Context) SubscriptionPolicyAssignmentResourceSelectorArrayOutput }
SubscriptionPolicyAssignmentResourceSelectorArrayInput is an input type that accepts SubscriptionPolicyAssignmentResourceSelectorArray and SubscriptionPolicyAssignmentResourceSelectorArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentResourceSelectorArrayInput` via:
SubscriptionPolicyAssignmentResourceSelectorArray{ SubscriptionPolicyAssignmentResourceSelectorArgs{...} }
type SubscriptionPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorArrayOutput
func (SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorArrayOutput
type SubscriptionPolicyAssignmentResourceSelectorInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorInput interface { pulumi.Input ToSubscriptionPolicyAssignmentResourceSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorOutput ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext(context.Context) SubscriptionPolicyAssignmentResourceSelectorOutput }
SubscriptionPolicyAssignmentResourceSelectorInput is an input type that accepts SubscriptionPolicyAssignmentResourceSelectorArgs and SubscriptionPolicyAssignmentResourceSelectorOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentResourceSelectorInput` via:
SubscriptionPolicyAssignmentResourceSelectorArgs{...}
type SubscriptionPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentResourceSelectorOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorOutput) Name ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
Specifies a name for the resource selector.
func (SubscriptionPolicyAssignmentResourceSelectorOutput) Selectors ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorOutput) Selectors() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
One or more `resourceSelector` block as defined below.
func (SubscriptionPolicyAssignmentResourceSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorOutput
func (SubscriptionPolicyAssignmentResourceSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorOutput
type SubscriptionPolicyAssignmentResourceSelectorSelector ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelector struct { Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind string `pulumi:"kind"` NotIns []string `pulumi:"notIns"` }
type SubscriptionPolicyAssignmentResourceSelectorSelectorArgs ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelectorArgs struct { Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringInput `pulumi:"kind"` NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArgs) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
type SubscriptionPolicyAssignmentResourceSelectorSelectorArray ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelectorArray []SubscriptionPolicyAssignmentResourceSelectorSelectorInput
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i SubscriptionPolicyAssignmentResourceSelectorSelectorArray) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
type SubscriptionPolicyAssignmentResourceSelectorSelectorArrayInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelectorArrayInput interface { pulumi.Input ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput }
SubscriptionPolicyAssignmentResourceSelectorSelectorArrayInput is an input type that accepts SubscriptionPolicyAssignmentResourceSelectorSelectorArray and SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentResourceSelectorSelectorArrayInput` via:
SubscriptionPolicyAssignmentResourceSelectorSelectorArray{ SubscriptionPolicyAssignmentResourceSelectorSelectorArgs{...} }
type SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
func (SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorArrayOutput
type SubscriptionPolicyAssignmentResourceSelectorSelectorInput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelectorInput interface { pulumi.Input ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorOutput ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext(context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorOutput }
SubscriptionPolicyAssignmentResourceSelectorSelectorInput is an input type that accepts SubscriptionPolicyAssignmentResourceSelectorSelectorArgs and SubscriptionPolicyAssignmentResourceSelectorSelectorOutput values. You can construct a concrete instance of `SubscriptionPolicyAssignmentResourceSelectorSelectorInput` via:
SubscriptionPolicyAssignmentResourceSelectorSelectorArgs{...}
type SubscriptionPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
type SubscriptionPolicyAssignmentResourceSelectorSelectorOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ElementType ¶ added in v5.39.0
func (SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
func (SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) Kind ¶ added in v5.39.0
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutput() SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
func (SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (o SubscriptionPolicyAssignmentResourceSelectorSelectorOutput) ToSubscriptionPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) SubscriptionPolicyAssignmentResourceSelectorSelectorOutput
type SubscriptionPolicyAssignmentState ¶
type SubscriptionPolicyAssignmentState struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity SubscriptionPolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Changing this forces a new Policy Assignment to be created. Cannot exceed 64 characters in length. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages SubscriptionPolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides SubscriptionPolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringPtrInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors SubscriptionPolicyAssignmentResourceSelectorArrayInput // The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. SubscriptionId pulumi.StringPtrInput }
func (SubscriptionPolicyAssignmentState) ElementType ¶
func (SubscriptionPolicyAssignmentState) ElementType() reflect.Type
type SubscriptionPolicyExemption ¶ added in v5.2.0
type SubscriptionPolicyExemption struct { pulumi.CustomResourceState // A description to use for this Policy Exemption. Description pulumi.StringPtrOutput `pulumi:"description"` // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringOutput `pulumi:"exemptionCategory"` // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrOutput `pulumi:"expiresOn"` // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayOutput `pulumi:"policyDefinitionReferenceIds"` // The Subscription ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` }
Manages a Subscription Policy Exemption.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } exampleGetPolicySetDefinition, err := policy.LookupPolicySetDefinition(ctx, &policy.LookupPolicySetDefinitionArgs{ DisplayName: pulumi.StringRef("Audit machines with insecure password security settings"), }, nil) if err != nil { return err } exampleSubscriptionPolicyAssignment, err := core.NewSubscriptionPolicyAssignment(ctx, "example", &core.SubscriptionPolicyAssignmentArgs{ Name: pulumi.String("exampleAssignment"), SubscriptionId: pulumi.String(example.Id), PolicyDefinitionId: pulumi.String(exampleGetPolicySetDefinition.Id), Location: pulumi.String("westus"), Identity: &core.SubscriptionPolicyAssignmentIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } _, err = core.NewSubscriptionPolicyExemption(ctx, "example", &core.SubscriptionPolicyExemptionArgs{ Name: pulumi.String("exampleExemption"), SubscriptionId: pulumi.String(example.Id), PolicyAssignmentId: exampleSubscriptionPolicyAssignment.ID(), ExemptionCategory: pulumi.String("Mitigated"), }) if err != nil { return err } return nil }) }
```
## Import
Policy Exemptions can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscriptionPolicyExemption:SubscriptionPolicyExemption exemption1 /subscriptions/00000000-0000-0000-000000000000/providers/Microsoft.Authorization/policyExemptions/exemption1 ```
func GetSubscriptionPolicyExemption ¶ added in v5.2.0
func GetSubscriptionPolicyExemption(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionPolicyExemptionState, opts ...pulumi.ResourceOption) (*SubscriptionPolicyExemption, error)
GetSubscriptionPolicyExemption gets an existing SubscriptionPolicyExemption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscriptionPolicyExemption ¶ added in v5.2.0
func NewSubscriptionPolicyExemption(ctx *pulumi.Context, name string, args *SubscriptionPolicyExemptionArgs, opts ...pulumi.ResourceOption) (*SubscriptionPolicyExemption, error)
NewSubscriptionPolicyExemption registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionPolicyExemption) ElementType ¶ added in v5.2.0
func (*SubscriptionPolicyExemption) ElementType() reflect.Type
func (*SubscriptionPolicyExemption) ToSubscriptionPolicyExemptionOutput ¶ added in v5.2.0
func (i *SubscriptionPolicyExemption) ToSubscriptionPolicyExemptionOutput() SubscriptionPolicyExemptionOutput
func (*SubscriptionPolicyExemption) ToSubscriptionPolicyExemptionOutputWithContext ¶ added in v5.2.0
func (i *SubscriptionPolicyExemption) ToSubscriptionPolicyExemptionOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionOutput
type SubscriptionPolicyExemptionArgs ¶ added in v5.2.0
type SubscriptionPolicyExemptionArgs struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput // The Subscription ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. SubscriptionId pulumi.StringInput }
The set of arguments for constructing a SubscriptionPolicyExemption resource.
func (SubscriptionPolicyExemptionArgs) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionArgs) ElementType() reflect.Type
type SubscriptionPolicyExemptionArray ¶ added in v5.2.0
type SubscriptionPolicyExemptionArray []SubscriptionPolicyExemptionInput
func (SubscriptionPolicyExemptionArray) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionArray) ElementType() reflect.Type
func (SubscriptionPolicyExemptionArray) ToSubscriptionPolicyExemptionArrayOutput ¶ added in v5.2.0
func (i SubscriptionPolicyExemptionArray) ToSubscriptionPolicyExemptionArrayOutput() SubscriptionPolicyExemptionArrayOutput
func (SubscriptionPolicyExemptionArray) ToSubscriptionPolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (i SubscriptionPolicyExemptionArray) ToSubscriptionPolicyExemptionArrayOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionArrayOutput
type SubscriptionPolicyExemptionArrayInput ¶ added in v5.2.0
type SubscriptionPolicyExemptionArrayInput interface { pulumi.Input ToSubscriptionPolicyExemptionArrayOutput() SubscriptionPolicyExemptionArrayOutput ToSubscriptionPolicyExemptionArrayOutputWithContext(context.Context) SubscriptionPolicyExemptionArrayOutput }
SubscriptionPolicyExemptionArrayInput is an input type that accepts SubscriptionPolicyExemptionArray and SubscriptionPolicyExemptionArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyExemptionArrayInput` via:
SubscriptionPolicyExemptionArray{ SubscriptionPolicyExemptionArgs{...} }
type SubscriptionPolicyExemptionArrayOutput ¶ added in v5.2.0
type SubscriptionPolicyExemptionArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyExemptionArrayOutput) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyExemptionArrayOutput) ToSubscriptionPolicyExemptionArrayOutput ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionArrayOutput) ToSubscriptionPolicyExemptionArrayOutput() SubscriptionPolicyExemptionArrayOutput
func (SubscriptionPolicyExemptionArrayOutput) ToSubscriptionPolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionArrayOutput) ToSubscriptionPolicyExemptionArrayOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionArrayOutput
type SubscriptionPolicyExemptionInput ¶ added in v5.2.0
type SubscriptionPolicyExemptionInput interface { pulumi.Input ToSubscriptionPolicyExemptionOutput() SubscriptionPolicyExemptionOutput ToSubscriptionPolicyExemptionOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionOutput }
type SubscriptionPolicyExemptionMap ¶ added in v5.2.0
type SubscriptionPolicyExemptionMap map[string]SubscriptionPolicyExemptionInput
func (SubscriptionPolicyExemptionMap) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionMap) ElementType() reflect.Type
func (SubscriptionPolicyExemptionMap) ToSubscriptionPolicyExemptionMapOutput ¶ added in v5.2.0
func (i SubscriptionPolicyExemptionMap) ToSubscriptionPolicyExemptionMapOutput() SubscriptionPolicyExemptionMapOutput
func (SubscriptionPolicyExemptionMap) ToSubscriptionPolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (i SubscriptionPolicyExemptionMap) ToSubscriptionPolicyExemptionMapOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionMapOutput
type SubscriptionPolicyExemptionMapInput ¶ added in v5.2.0
type SubscriptionPolicyExemptionMapInput interface { pulumi.Input ToSubscriptionPolicyExemptionMapOutput() SubscriptionPolicyExemptionMapOutput ToSubscriptionPolicyExemptionMapOutputWithContext(context.Context) SubscriptionPolicyExemptionMapOutput }
SubscriptionPolicyExemptionMapInput is an input type that accepts SubscriptionPolicyExemptionMap and SubscriptionPolicyExemptionMapOutput values. You can construct a concrete instance of `SubscriptionPolicyExemptionMapInput` via:
SubscriptionPolicyExemptionMap{ "key": SubscriptionPolicyExemptionArgs{...} }
type SubscriptionPolicyExemptionMapOutput ¶ added in v5.2.0
type SubscriptionPolicyExemptionMapOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyExemptionMapOutput) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionMapOutput) ElementType() reflect.Type
func (SubscriptionPolicyExemptionMapOutput) MapIndex ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPolicyExemptionOutput
func (SubscriptionPolicyExemptionMapOutput) ToSubscriptionPolicyExemptionMapOutput ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionMapOutput) ToSubscriptionPolicyExemptionMapOutput() SubscriptionPolicyExemptionMapOutput
func (SubscriptionPolicyExemptionMapOutput) ToSubscriptionPolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionMapOutput) ToSubscriptionPolicyExemptionMapOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionMapOutput
type SubscriptionPolicyExemptionOutput ¶ added in v5.2.0
type SubscriptionPolicyExemptionOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyExemptionOutput) Description ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) Description() pulumi.StringPtrOutput
A description to use for this Policy Exemption.
func (SubscriptionPolicyExemptionOutput) DisplayName ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
A friendly display name to use for this Policy Exemption.
func (SubscriptionPolicyExemptionOutput) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionOutput) ElementType() reflect.Type
func (SubscriptionPolicyExemptionOutput) ExemptionCategory ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
The category of this policy exemption. Possible values are `Waiver` and `Mitigated`.
func (SubscriptionPolicyExemptionOutput) ExpiresOn ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
The expiration date and time in UTC ISO 8601 format of this policy exemption.
func (SubscriptionPolicyExemptionOutput) Metadata ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) Metadata() pulumi.StringOutput
The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
func (SubscriptionPolicyExemptionOutput) Name ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) Name() pulumi.StringOutput
The name of the Policy Exemption. Changing this forces a new resource to be created.
func (SubscriptionPolicyExemptionOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
func (SubscriptionPolicyExemptionOutput) PolicyDefinitionReferenceIds ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
func (SubscriptionPolicyExemptionOutput) SubscriptionId ¶ added in v5.5.0
func (o SubscriptionPolicyExemptionOutput) SubscriptionId() pulumi.StringOutput
The Subscription ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
func (SubscriptionPolicyExemptionOutput) ToSubscriptionPolicyExemptionOutput ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionOutput) ToSubscriptionPolicyExemptionOutput() SubscriptionPolicyExemptionOutput
func (SubscriptionPolicyExemptionOutput) ToSubscriptionPolicyExemptionOutputWithContext ¶ added in v5.2.0
func (o SubscriptionPolicyExemptionOutput) ToSubscriptionPolicyExemptionOutputWithContext(ctx context.Context) SubscriptionPolicyExemptionOutput
type SubscriptionPolicyExemptionState ¶ added in v5.2.0
type SubscriptionPolicyExemptionState struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringPtrInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created. PolicyAssignmentId pulumi.StringPtrInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput // The Subscription ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. SubscriptionId pulumi.StringPtrInput }
func (SubscriptionPolicyExemptionState) ElementType ¶ added in v5.2.0
func (SubscriptionPolicyExemptionState) ElementType() reflect.Type
type SubscriptionPolicyRemediation ¶
type SubscriptionPolicyRemediation struct { pulumi.CustomResourceState // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrOutput `pulumi:"failurePercentage"` // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayOutput `pulumi:"locationFilters"` // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrOutput `pulumi:"parallelDeployments"` // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrOutput `pulumi:"policyDefinitionId"` // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrOutput `pulumi:"policyDefinitionReferenceId"` // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrOutput `pulumi:"resourceCount"` // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrOutput `pulumi:"resourceDiscoveryMode"` // The Subscription ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` }
Manages an Azure Subscription Policy Remediation.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } exampleGetPolicyDefintion, err := policy.GetPolicyDefintion(ctx, &policy.GetPolicyDefintionArgs{ DisplayName: pulumi.StringRef("Allowed resource types"), }, nil) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "listOfAllowedLocations": map[string]interface{}{ "value": []string{ "West Europe", "East US", }, }, }) if err != nil { return err } json0 := string(tmpJSON0) exampleSubscriptionPolicyAssignment, err := core.NewSubscriptionPolicyAssignment(ctx, "example", &core.SubscriptionPolicyAssignmentArgs{ Name: pulumi.String("exampleAssignment"), SubscriptionId: pulumi.String(example.Id), PolicyDefinitionId: pulumi.String(exampleGetPolicyDefintion.Id), Parameters: pulumi.String(json0), }) if err != nil { return err } _, err = core.NewSubscriptionPolicyRemediation(ctx, "example", &core.SubscriptionPolicyRemediationArgs{ Name: pulumi.String("example"), SubscriptionId: pulumi.String(example.Id), PolicyAssignmentId: exampleSubscriptionPolicyAssignment.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Policy Remediations can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscriptionPolicyRemediation:SubscriptionPolicyRemediation example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.PolicyInsights/remediations/remediation1 ```
func GetSubscriptionPolicyRemediation ¶
func GetSubscriptionPolicyRemediation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionPolicyRemediationState, opts ...pulumi.ResourceOption) (*SubscriptionPolicyRemediation, error)
GetSubscriptionPolicyRemediation gets an existing SubscriptionPolicyRemediation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscriptionPolicyRemediation ¶
func NewSubscriptionPolicyRemediation(ctx *pulumi.Context, name string, args *SubscriptionPolicyRemediationArgs, opts ...pulumi.ResourceOption) (*SubscriptionPolicyRemediation, error)
NewSubscriptionPolicyRemediation registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionPolicyRemediation) ElementType ¶
func (*SubscriptionPolicyRemediation) ElementType() reflect.Type
func (*SubscriptionPolicyRemediation) ToSubscriptionPolicyRemediationOutput ¶
func (i *SubscriptionPolicyRemediation) ToSubscriptionPolicyRemediationOutput() SubscriptionPolicyRemediationOutput
func (*SubscriptionPolicyRemediation) ToSubscriptionPolicyRemediationOutputWithContext ¶
func (i *SubscriptionPolicyRemediation) ToSubscriptionPolicyRemediationOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationOutput
type SubscriptionPolicyRemediationArgs ¶
type SubscriptionPolicyRemediationArgs struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrInput // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayInput // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrInput // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringInput // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrInput // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrInput // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrInput // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrInput // The Subscription ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. SubscriptionId pulumi.StringInput }
The set of arguments for constructing a SubscriptionPolicyRemediation resource.
func (SubscriptionPolicyRemediationArgs) ElementType ¶
func (SubscriptionPolicyRemediationArgs) ElementType() reflect.Type
type SubscriptionPolicyRemediationArray ¶
type SubscriptionPolicyRemediationArray []SubscriptionPolicyRemediationInput
func (SubscriptionPolicyRemediationArray) ElementType ¶
func (SubscriptionPolicyRemediationArray) ElementType() reflect.Type
func (SubscriptionPolicyRemediationArray) ToSubscriptionPolicyRemediationArrayOutput ¶
func (i SubscriptionPolicyRemediationArray) ToSubscriptionPolicyRemediationArrayOutput() SubscriptionPolicyRemediationArrayOutput
func (SubscriptionPolicyRemediationArray) ToSubscriptionPolicyRemediationArrayOutputWithContext ¶
func (i SubscriptionPolicyRemediationArray) ToSubscriptionPolicyRemediationArrayOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationArrayOutput
type SubscriptionPolicyRemediationArrayInput ¶
type SubscriptionPolicyRemediationArrayInput interface { pulumi.Input ToSubscriptionPolicyRemediationArrayOutput() SubscriptionPolicyRemediationArrayOutput ToSubscriptionPolicyRemediationArrayOutputWithContext(context.Context) SubscriptionPolicyRemediationArrayOutput }
SubscriptionPolicyRemediationArrayInput is an input type that accepts SubscriptionPolicyRemediationArray and SubscriptionPolicyRemediationArrayOutput values. You can construct a concrete instance of `SubscriptionPolicyRemediationArrayInput` via:
SubscriptionPolicyRemediationArray{ SubscriptionPolicyRemediationArgs{...} }
type SubscriptionPolicyRemediationArrayOutput ¶
type SubscriptionPolicyRemediationArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyRemediationArrayOutput) ElementType ¶
func (SubscriptionPolicyRemediationArrayOutput) ElementType() reflect.Type
func (SubscriptionPolicyRemediationArrayOutput) ToSubscriptionPolicyRemediationArrayOutput ¶
func (o SubscriptionPolicyRemediationArrayOutput) ToSubscriptionPolicyRemediationArrayOutput() SubscriptionPolicyRemediationArrayOutput
func (SubscriptionPolicyRemediationArrayOutput) ToSubscriptionPolicyRemediationArrayOutputWithContext ¶
func (o SubscriptionPolicyRemediationArrayOutput) ToSubscriptionPolicyRemediationArrayOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationArrayOutput
type SubscriptionPolicyRemediationInput ¶
type SubscriptionPolicyRemediationInput interface { pulumi.Input ToSubscriptionPolicyRemediationOutput() SubscriptionPolicyRemediationOutput ToSubscriptionPolicyRemediationOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationOutput }
type SubscriptionPolicyRemediationMap ¶
type SubscriptionPolicyRemediationMap map[string]SubscriptionPolicyRemediationInput
func (SubscriptionPolicyRemediationMap) ElementType ¶
func (SubscriptionPolicyRemediationMap) ElementType() reflect.Type
func (SubscriptionPolicyRemediationMap) ToSubscriptionPolicyRemediationMapOutput ¶
func (i SubscriptionPolicyRemediationMap) ToSubscriptionPolicyRemediationMapOutput() SubscriptionPolicyRemediationMapOutput
func (SubscriptionPolicyRemediationMap) ToSubscriptionPolicyRemediationMapOutputWithContext ¶
func (i SubscriptionPolicyRemediationMap) ToSubscriptionPolicyRemediationMapOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationMapOutput
type SubscriptionPolicyRemediationMapInput ¶
type SubscriptionPolicyRemediationMapInput interface { pulumi.Input ToSubscriptionPolicyRemediationMapOutput() SubscriptionPolicyRemediationMapOutput ToSubscriptionPolicyRemediationMapOutputWithContext(context.Context) SubscriptionPolicyRemediationMapOutput }
SubscriptionPolicyRemediationMapInput is an input type that accepts SubscriptionPolicyRemediationMap and SubscriptionPolicyRemediationMapOutput values. You can construct a concrete instance of `SubscriptionPolicyRemediationMapInput` via:
SubscriptionPolicyRemediationMap{ "key": SubscriptionPolicyRemediationArgs{...} }
type SubscriptionPolicyRemediationMapOutput ¶
type SubscriptionPolicyRemediationMapOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyRemediationMapOutput) ElementType ¶
func (SubscriptionPolicyRemediationMapOutput) ElementType() reflect.Type
func (SubscriptionPolicyRemediationMapOutput) MapIndex ¶
func (o SubscriptionPolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPolicyRemediationOutput
func (SubscriptionPolicyRemediationMapOutput) ToSubscriptionPolicyRemediationMapOutput ¶
func (o SubscriptionPolicyRemediationMapOutput) ToSubscriptionPolicyRemediationMapOutput() SubscriptionPolicyRemediationMapOutput
func (SubscriptionPolicyRemediationMapOutput) ToSubscriptionPolicyRemediationMapOutputWithContext ¶
func (o SubscriptionPolicyRemediationMapOutput) ToSubscriptionPolicyRemediationMapOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationMapOutput
type SubscriptionPolicyRemediationOutput ¶
type SubscriptionPolicyRemediationOutput struct{ *pulumi.OutputState }
func (SubscriptionPolicyRemediationOutput) ElementType ¶
func (SubscriptionPolicyRemediationOutput) ElementType() reflect.Type
func (SubscriptionPolicyRemediationOutput) FailurePercentage ¶ added in v5.18.0
func (o SubscriptionPolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
func (SubscriptionPolicyRemediationOutput) LocationFilters ¶ added in v5.5.0
func (o SubscriptionPolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
A list of the resource locations that will be remediated.
func (SubscriptionPolicyRemediationOutput) Name ¶ added in v5.5.0
func (o SubscriptionPolicyRemediationOutput) Name() pulumi.StringOutput
The name of the Policy Remediation. Changing this forces a new resource to be created.
func (SubscriptionPolicyRemediationOutput) ParallelDeployments ¶ added in v5.18.0
func (o SubscriptionPolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
func (SubscriptionPolicyRemediationOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o SubscriptionPolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment that should be remediated.
func (SubscriptionPolicyRemediationOutput) PolicyDefinitionId
deprecated
added in
v5.5.0
func (o SubscriptionPolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutput
The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
> **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`.
Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`.
func (SubscriptionPolicyRemediationOutput) PolicyDefinitionReferenceId ¶ added in v5.21.0
func (o SubscriptionPolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
func (SubscriptionPolicyRemediationOutput) ResourceCount ¶ added in v5.18.0
func (o SubscriptionPolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
func (SubscriptionPolicyRemediationOutput) ResourceDiscoveryMode ¶ added in v5.5.0
func (o SubscriptionPolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`.
func (SubscriptionPolicyRemediationOutput) SubscriptionId ¶ added in v5.5.0
func (o SubscriptionPolicyRemediationOutput) SubscriptionId() pulumi.StringOutput
The Subscription ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created.
func (SubscriptionPolicyRemediationOutput) ToSubscriptionPolicyRemediationOutput ¶
func (o SubscriptionPolicyRemediationOutput) ToSubscriptionPolicyRemediationOutput() SubscriptionPolicyRemediationOutput
func (SubscriptionPolicyRemediationOutput) ToSubscriptionPolicyRemediationOutputWithContext ¶
func (o SubscriptionPolicyRemediationOutput) ToSubscriptionPolicyRemediationOutputWithContext(ctx context.Context) SubscriptionPolicyRemediationOutput
type SubscriptionPolicyRemediationState ¶
type SubscriptionPolicyRemediationState struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. FailurePercentage pulumi.Float64PtrInput // A list of the resource locations that will be remediated. LocationFilters pulumi.StringArrayInput // The name of the Policy Remediation. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. ParallelDeployments pulumi.IntPtrInput // The ID of the Policy Assignment that should be remediated. PolicyAssignmentId pulumi.StringPtrInput // The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. // // > **Note:** This property has been deprecated and will be removed in version 4.0 of the provider in favour of `policyDefinitionReferenceId`. // // Deprecated: `policyDefinitionId` will be removed in version 4.0 of the AzureRM Provider in favour of `policyDefinitionReferenceId`. PolicyDefinitionId pulumi.StringPtrInput // The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. PolicyDefinitionReferenceId pulumi.StringPtrInput // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. ResourceCount pulumi.IntPtrInput // The way that resources to remediate are discovered. Possible values are `ExistingNonCompliant`, `ReEvaluateCompliance`. Defaults to `ExistingNonCompliant`. ResourceDiscoveryMode pulumi.StringPtrInput // The Subscription ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created. SubscriptionId pulumi.StringPtrInput }
func (SubscriptionPolicyRemediationState) ElementType ¶
func (SubscriptionPolicyRemediationState) ElementType() reflect.Type
type SubscriptionState ¶
type SubscriptionState struct { // The Alias name for the subscription. This provider will generate a new GUID if this is not supplied. Changing this forces a new Subscription to be created. Alias pulumi.StringPtrInput // The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. BillingScopeId pulumi.StringPtrInput // The ID of the Subscription. Changing this forces a new Subscription to be created. // // > **NOTE:** This value can be specified only for adopting control of an existing Subscription, it cannot be used to provide a custom Subscription ID. // // > **NOTE:** Either `billingScopeId` or `subscriptionId` has to be specified. SubscriptionId pulumi.StringPtrInput // The Name of the Subscription. This is the Display Name in the portal. SubscriptionName pulumi.StringPtrInput // A mapping of tags to assign to the Subscription. Tags pulumi.StringMapInput // The ID of the Tenant to which the subscription belongs. TenantId pulumi.StringPtrInput // The workload type of the Subscription. Possible values are `Production` (default) and `DevTest`. Changing this forces a new Subscription to be created. Workload pulumi.StringPtrInput }
func (SubscriptionState) ElementType ¶
func (SubscriptionState) ElementType() reflect.Type
type SubscriptionTemplateDeployment ¶
type SubscriptionTemplateDeployment struct { pulumi.CustomResourceState // The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrOutput `pulumi:"debugLevel"` // The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created. Name pulumi.StringOutput `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringOutput `pulumi:"outputContent"` // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringOutput `pulumi:"parametersContent"` // A mapping of tags which should be assigned to the Subscription Template Deployment. Tags pulumi.StringMapOutput `pulumi:"tags"` // The contents of the ARM Template which should be deployed into this Subscription. TemplateContent pulumi.StringOutput `pulumi:"templateContent"` // The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrOutput `pulumi:"templateSpecVersionId"` }
Manages a Subscription Template Deployment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewSubscriptionTemplateDeployment(ctx, "example", &core.SubscriptionTemplateDeploymentArgs{ Name: pulumi.String("example-deployment"), Location: pulumi.String("West Europe"), TemplateContent: pulumi.String(` { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": [ { "type": "Microsoft.Resources/resourceGroups", "apiVersion": "2018-05-01", "location": "West Europe", "name": "some-resource-group", "properties": {} } ] }
`),
}) if err != nil { return err } return nil }) }
```
## Import
Subscription Template Deployments can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/subscriptionTemplateDeployment:SubscriptionTemplateDeployment example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/template1 ```
func GetSubscriptionTemplateDeployment ¶
func GetSubscriptionTemplateDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionTemplateDeploymentState, opts ...pulumi.ResourceOption) (*SubscriptionTemplateDeployment, error)
GetSubscriptionTemplateDeployment gets an existing SubscriptionTemplateDeployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscriptionTemplateDeployment ¶
func NewSubscriptionTemplateDeployment(ctx *pulumi.Context, name string, args *SubscriptionTemplateDeploymentArgs, opts ...pulumi.ResourceOption) (*SubscriptionTemplateDeployment, error)
NewSubscriptionTemplateDeployment registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionTemplateDeployment) ElementType ¶
func (*SubscriptionTemplateDeployment) ElementType() reflect.Type
func (*SubscriptionTemplateDeployment) ToSubscriptionTemplateDeploymentOutput ¶
func (i *SubscriptionTemplateDeployment) ToSubscriptionTemplateDeploymentOutput() SubscriptionTemplateDeploymentOutput
func (*SubscriptionTemplateDeployment) ToSubscriptionTemplateDeploymentOutputWithContext ¶
func (i *SubscriptionTemplateDeployment) ToSubscriptionTemplateDeploymentOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentOutput
type SubscriptionTemplateDeploymentArgs ¶
type SubscriptionTemplateDeploymentArgs struct { // The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created. Location pulumi.StringPtrInput // The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created. Name pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringPtrInput // A mapping of tags which should be assigned to the Subscription Template Deployment. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Subscription. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
The set of arguments for constructing a SubscriptionTemplateDeployment resource.
func (SubscriptionTemplateDeploymentArgs) ElementType ¶
func (SubscriptionTemplateDeploymentArgs) ElementType() reflect.Type
type SubscriptionTemplateDeploymentArray ¶
type SubscriptionTemplateDeploymentArray []SubscriptionTemplateDeploymentInput
func (SubscriptionTemplateDeploymentArray) ElementType ¶
func (SubscriptionTemplateDeploymentArray) ElementType() reflect.Type
func (SubscriptionTemplateDeploymentArray) ToSubscriptionTemplateDeploymentArrayOutput ¶
func (i SubscriptionTemplateDeploymentArray) ToSubscriptionTemplateDeploymentArrayOutput() SubscriptionTemplateDeploymentArrayOutput
func (SubscriptionTemplateDeploymentArray) ToSubscriptionTemplateDeploymentArrayOutputWithContext ¶
func (i SubscriptionTemplateDeploymentArray) ToSubscriptionTemplateDeploymentArrayOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentArrayOutput
type SubscriptionTemplateDeploymentArrayInput ¶
type SubscriptionTemplateDeploymentArrayInput interface { pulumi.Input ToSubscriptionTemplateDeploymentArrayOutput() SubscriptionTemplateDeploymentArrayOutput ToSubscriptionTemplateDeploymentArrayOutputWithContext(context.Context) SubscriptionTemplateDeploymentArrayOutput }
SubscriptionTemplateDeploymentArrayInput is an input type that accepts SubscriptionTemplateDeploymentArray and SubscriptionTemplateDeploymentArrayOutput values. You can construct a concrete instance of `SubscriptionTemplateDeploymentArrayInput` via:
SubscriptionTemplateDeploymentArray{ SubscriptionTemplateDeploymentArgs{...} }
type SubscriptionTemplateDeploymentArrayOutput ¶
type SubscriptionTemplateDeploymentArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionTemplateDeploymentArrayOutput) ElementType ¶
func (SubscriptionTemplateDeploymentArrayOutput) ElementType() reflect.Type
func (SubscriptionTemplateDeploymentArrayOutput) ToSubscriptionTemplateDeploymentArrayOutput ¶
func (o SubscriptionTemplateDeploymentArrayOutput) ToSubscriptionTemplateDeploymentArrayOutput() SubscriptionTemplateDeploymentArrayOutput
func (SubscriptionTemplateDeploymentArrayOutput) ToSubscriptionTemplateDeploymentArrayOutputWithContext ¶
func (o SubscriptionTemplateDeploymentArrayOutput) ToSubscriptionTemplateDeploymentArrayOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentArrayOutput
type SubscriptionTemplateDeploymentInput ¶
type SubscriptionTemplateDeploymentInput interface { pulumi.Input ToSubscriptionTemplateDeploymentOutput() SubscriptionTemplateDeploymentOutput ToSubscriptionTemplateDeploymentOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentOutput }
type SubscriptionTemplateDeploymentMap ¶
type SubscriptionTemplateDeploymentMap map[string]SubscriptionTemplateDeploymentInput
func (SubscriptionTemplateDeploymentMap) ElementType ¶
func (SubscriptionTemplateDeploymentMap) ElementType() reflect.Type
func (SubscriptionTemplateDeploymentMap) ToSubscriptionTemplateDeploymentMapOutput ¶
func (i SubscriptionTemplateDeploymentMap) ToSubscriptionTemplateDeploymentMapOutput() SubscriptionTemplateDeploymentMapOutput
func (SubscriptionTemplateDeploymentMap) ToSubscriptionTemplateDeploymentMapOutputWithContext ¶
func (i SubscriptionTemplateDeploymentMap) ToSubscriptionTemplateDeploymentMapOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentMapOutput
type SubscriptionTemplateDeploymentMapInput ¶
type SubscriptionTemplateDeploymentMapInput interface { pulumi.Input ToSubscriptionTemplateDeploymentMapOutput() SubscriptionTemplateDeploymentMapOutput ToSubscriptionTemplateDeploymentMapOutputWithContext(context.Context) SubscriptionTemplateDeploymentMapOutput }
SubscriptionTemplateDeploymentMapInput is an input type that accepts SubscriptionTemplateDeploymentMap and SubscriptionTemplateDeploymentMapOutput values. You can construct a concrete instance of `SubscriptionTemplateDeploymentMapInput` via:
SubscriptionTemplateDeploymentMap{ "key": SubscriptionTemplateDeploymentArgs{...} }
type SubscriptionTemplateDeploymentMapOutput ¶
type SubscriptionTemplateDeploymentMapOutput struct{ *pulumi.OutputState }
func (SubscriptionTemplateDeploymentMapOutput) ElementType ¶
func (SubscriptionTemplateDeploymentMapOutput) ElementType() reflect.Type
func (SubscriptionTemplateDeploymentMapOutput) MapIndex ¶
func (o SubscriptionTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) SubscriptionTemplateDeploymentOutput
func (SubscriptionTemplateDeploymentMapOutput) ToSubscriptionTemplateDeploymentMapOutput ¶
func (o SubscriptionTemplateDeploymentMapOutput) ToSubscriptionTemplateDeploymentMapOutput() SubscriptionTemplateDeploymentMapOutput
func (SubscriptionTemplateDeploymentMapOutput) ToSubscriptionTemplateDeploymentMapOutputWithContext ¶
func (o SubscriptionTemplateDeploymentMapOutput) ToSubscriptionTemplateDeploymentMapOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentMapOutput
type SubscriptionTemplateDeploymentOutput ¶
type SubscriptionTemplateDeploymentOutput struct{ *pulumi.OutputState }
func (SubscriptionTemplateDeploymentOutput) DebugLevel ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
func (SubscriptionTemplateDeploymentOutput) ElementType ¶
func (SubscriptionTemplateDeploymentOutput) ElementType() reflect.Type
func (SubscriptionTemplateDeploymentOutput) Location ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) Location() pulumi.StringOutput
The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created.
func (SubscriptionTemplateDeploymentOutput) Name ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) Name() pulumi.StringOutput
The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created.
func (SubscriptionTemplateDeploymentOutput) OutputContent ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (SubscriptionTemplateDeploymentOutput) ParametersContent ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
The contents of the ARM Template parameters file - containing a JSON list of parameters.
func (SubscriptionTemplateDeploymentOutput) Tags ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Subscription Template Deployment.
func (SubscriptionTemplateDeploymentOutput) TemplateContent ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
The contents of the ARM Template which should be deployed into this Subscription.
func (SubscriptionTemplateDeploymentOutput) TemplateSpecVersionId ¶ added in v5.5.0
func (o SubscriptionTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `templateContent`.
func (SubscriptionTemplateDeploymentOutput) ToSubscriptionTemplateDeploymentOutput ¶
func (o SubscriptionTemplateDeploymentOutput) ToSubscriptionTemplateDeploymentOutput() SubscriptionTemplateDeploymentOutput
func (SubscriptionTemplateDeploymentOutput) ToSubscriptionTemplateDeploymentOutputWithContext ¶
func (o SubscriptionTemplateDeploymentOutput) ToSubscriptionTemplateDeploymentOutputWithContext(ctx context.Context) SubscriptionTemplateDeploymentOutput
type SubscriptionTemplateDeploymentState ¶
type SubscriptionTemplateDeploymentState struct { // The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created. Location pulumi.StringPtrInput // The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created. Name pulumi.StringPtrInput // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringPtrInput // A mapping of tags which should be assigned to the Subscription Template Deployment. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Subscription. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
func (SubscriptionTemplateDeploymentState) ElementType ¶
func (SubscriptionTemplateDeploymentState) ElementType() reflect.Type
type TemplateDeployment ¶
type TemplateDeployment struct { pulumi.CustomResourceState // Specifies the mode that is used to deploy resources. This value could be either `Incremental` or `Complete`. // Note that you will almost *always* want this to be set to `Incremental` otherwise the deployment will destroy all infrastructure not // specified within the template, and this provider will not be aware of this. DeploymentMode pulumi.StringOutput `pulumi:"deploymentMode"` // Specifies the name of the template deployment. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A map of supported scalar output types returned from the deployment (currently, Azure Template Deployment outputs of type String, Int and Bool are supported, and are converted to strings - others will be ignored) and can be accessed using `.outputs["name"]`. Outputs pulumi.StringMapOutput `pulumi:"outputs"` // Specifies the name and value pairs that define the deployment parameters for the template. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // Specifies a valid Azure JSON parameters file that define the deployment parameters. It can contain KeyVault references ParametersBody pulumi.StringPtrOutput `pulumi:"parametersBody"` // The name of the resource group in which to create the template deployment. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the JSON definition for the template. TemplateBody pulumi.StringOutput `pulumi:"templateBody"` }
Manages a template deployment of resources
> **Note on ARM Template Deployments:** Due to the way the underlying Azure API is designed, this provider can only manage the deployment of the ARM Template - and not any resources which are created by it. This means that when deleting the `core.TemplateDeployment` resource, this provider will only remove the reference to the deployment, whilst leaving any resources created by that ARM Template Deployment. One workaround for this is to use a unique Resource Group for each ARM Template Deployment, which means deleting the Resource Group would contain any resources created within it - however this isn't ideal. [More information](https://docs.microsoft.com/en-us/rest/api/resources/deployments#Deployments_Delete).
## Example Usage
> **Note:** This example uses Storage Accounts and Public IP's which are natively supported by this provider - we'd highly recommend using the Native Resources where possible instead rather than an ARM Template, for the reasons outlined above.
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleTemplateDeployment, err := core.NewTemplateDeployment(ctx, "example", &core.TemplateDeploymentArgs{ Name: pulumi.String("acctesttemplate-01"), ResourceGroupName: example.Name, TemplateBody: pulumi.String(`{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "storageAccountType": { "type": "string", "defaultValue": "Standard_LRS", "allowedValues": [ "Standard_LRS", "Standard_GRS", "Standard_ZRS" ], "metadata": { "description": "Storage Account type" } } }, "variables": { "location": "[resourceGroup().location]", "storageAccountName": "[concat(uniquestring(resourceGroup().id), 'storage')]", "publicIPAddressName": "[concat('myPublicIp', uniquestring(resourceGroup().id))]", "publicIPAddressType": "Dynamic", "apiVersion": "2015-06-15", "dnsLabelPrefix": "example-acctest" }, "resources": [ { "type": "Microsoft.Storage/storageAccounts", "name": "[variables('storageAccountName')]", "apiVersion": "[variables('apiVersion')]", "location": "[variables('location')]", "properties": { "accountType": "[parameters('storageAccountType')]" } }, { "type": "Microsoft.Network/publicIPAddresses", "apiVersion": "[variables('apiVersion')]", "name": "[variables('publicIPAddressName')]", "location": "[variables('location')]", "properties": { "publicIPAllocationMethod": "[variables('publicIPAddressType')]", "dnsSettings": { "domainNameLabel": "[variables('dnsLabelPrefix')]" } } } ], "outputs": { "storageAccountName": { "type": "string", "value": "[variables('storageAccountName')]" } } }
`),
Parameters: pulumi.StringMap{ "storageAccountType": pulumi.String("Standard_GRS"), }, DeploymentMode: pulumi.String("Incremental"), }) if err != nil { return err } ctx.Export("storageAccountName", exampleTemplateDeployment.Outputs.ApplyT(func(outputs map[string]string) (string, error) { return outputs.StorageAccountName, nil }).(pulumi.StringOutput)) return nil }) }
```
## Note
This provider does not know about the individual resources created by Azure using a deployment template and therefore cannot delete these resources during a destroy. Destroying a template deployment removes the associated deployment operations, but will not delete the Azure resources created by the deployment. In order to delete these resources, the containing resource group must also be destroyed. [More information](https://docs.microsoft.com/rest/api/resources/deployments#Deployments_Delete).
func GetTemplateDeployment ¶
func GetTemplateDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TemplateDeploymentState, opts ...pulumi.ResourceOption) (*TemplateDeployment, error)
GetTemplateDeployment gets an existing TemplateDeployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTemplateDeployment ¶
func NewTemplateDeployment(ctx *pulumi.Context, name string, args *TemplateDeploymentArgs, opts ...pulumi.ResourceOption) (*TemplateDeployment, error)
NewTemplateDeployment registers a new resource with the given unique name, arguments, and options.
func (*TemplateDeployment) ElementType ¶
func (*TemplateDeployment) ElementType() reflect.Type
func (*TemplateDeployment) ToTemplateDeploymentOutput ¶
func (i *TemplateDeployment) ToTemplateDeploymentOutput() TemplateDeploymentOutput
func (*TemplateDeployment) ToTemplateDeploymentOutputWithContext ¶
func (i *TemplateDeployment) ToTemplateDeploymentOutputWithContext(ctx context.Context) TemplateDeploymentOutput
type TemplateDeploymentArgs ¶
type TemplateDeploymentArgs struct { // Specifies the mode that is used to deploy resources. This value could be either `Incremental` or `Complete`. // Note that you will almost *always* want this to be set to `Incremental` otherwise the deployment will destroy all infrastructure not // specified within the template, and this provider will not be aware of this. DeploymentMode pulumi.StringInput // Specifies the name of the template deployment. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name and value pairs that define the deployment parameters for the template. Parameters pulumi.StringMapInput // Specifies a valid Azure JSON parameters file that define the deployment parameters. It can contain KeyVault references ParametersBody pulumi.StringPtrInput // The name of the resource group in which to create the template deployment. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the JSON definition for the template. TemplateBody pulumi.StringPtrInput }
The set of arguments for constructing a TemplateDeployment resource.
func (TemplateDeploymentArgs) ElementType ¶
func (TemplateDeploymentArgs) ElementType() reflect.Type
type TemplateDeploymentArray ¶
type TemplateDeploymentArray []TemplateDeploymentInput
func (TemplateDeploymentArray) ElementType ¶
func (TemplateDeploymentArray) ElementType() reflect.Type
func (TemplateDeploymentArray) ToTemplateDeploymentArrayOutput ¶
func (i TemplateDeploymentArray) ToTemplateDeploymentArrayOutput() TemplateDeploymentArrayOutput
func (TemplateDeploymentArray) ToTemplateDeploymentArrayOutputWithContext ¶
func (i TemplateDeploymentArray) ToTemplateDeploymentArrayOutputWithContext(ctx context.Context) TemplateDeploymentArrayOutput
type TemplateDeploymentArrayInput ¶
type TemplateDeploymentArrayInput interface { pulumi.Input ToTemplateDeploymentArrayOutput() TemplateDeploymentArrayOutput ToTemplateDeploymentArrayOutputWithContext(context.Context) TemplateDeploymentArrayOutput }
TemplateDeploymentArrayInput is an input type that accepts TemplateDeploymentArray and TemplateDeploymentArrayOutput values. You can construct a concrete instance of `TemplateDeploymentArrayInput` via:
TemplateDeploymentArray{ TemplateDeploymentArgs{...} }
type TemplateDeploymentArrayOutput ¶
type TemplateDeploymentArrayOutput struct{ *pulumi.OutputState }
func (TemplateDeploymentArrayOutput) ElementType ¶
func (TemplateDeploymentArrayOutput) ElementType() reflect.Type
func (TemplateDeploymentArrayOutput) Index ¶
func (o TemplateDeploymentArrayOutput) Index(i pulumi.IntInput) TemplateDeploymentOutput
func (TemplateDeploymentArrayOutput) ToTemplateDeploymentArrayOutput ¶
func (o TemplateDeploymentArrayOutput) ToTemplateDeploymentArrayOutput() TemplateDeploymentArrayOutput
func (TemplateDeploymentArrayOutput) ToTemplateDeploymentArrayOutputWithContext ¶
func (o TemplateDeploymentArrayOutput) ToTemplateDeploymentArrayOutputWithContext(ctx context.Context) TemplateDeploymentArrayOutput
type TemplateDeploymentInput ¶
type TemplateDeploymentInput interface { pulumi.Input ToTemplateDeploymentOutput() TemplateDeploymentOutput ToTemplateDeploymentOutputWithContext(ctx context.Context) TemplateDeploymentOutput }
type TemplateDeploymentMap ¶
type TemplateDeploymentMap map[string]TemplateDeploymentInput
func (TemplateDeploymentMap) ElementType ¶
func (TemplateDeploymentMap) ElementType() reflect.Type
func (TemplateDeploymentMap) ToTemplateDeploymentMapOutput ¶
func (i TemplateDeploymentMap) ToTemplateDeploymentMapOutput() TemplateDeploymentMapOutput
func (TemplateDeploymentMap) ToTemplateDeploymentMapOutputWithContext ¶
func (i TemplateDeploymentMap) ToTemplateDeploymentMapOutputWithContext(ctx context.Context) TemplateDeploymentMapOutput
type TemplateDeploymentMapInput ¶
type TemplateDeploymentMapInput interface { pulumi.Input ToTemplateDeploymentMapOutput() TemplateDeploymentMapOutput ToTemplateDeploymentMapOutputWithContext(context.Context) TemplateDeploymentMapOutput }
TemplateDeploymentMapInput is an input type that accepts TemplateDeploymentMap and TemplateDeploymentMapOutput values. You can construct a concrete instance of `TemplateDeploymentMapInput` via:
TemplateDeploymentMap{ "key": TemplateDeploymentArgs{...} }
type TemplateDeploymentMapOutput ¶
type TemplateDeploymentMapOutput struct{ *pulumi.OutputState }
func (TemplateDeploymentMapOutput) ElementType ¶
func (TemplateDeploymentMapOutput) ElementType() reflect.Type
func (TemplateDeploymentMapOutput) MapIndex ¶
func (o TemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) TemplateDeploymentOutput
func (TemplateDeploymentMapOutput) ToTemplateDeploymentMapOutput ¶
func (o TemplateDeploymentMapOutput) ToTemplateDeploymentMapOutput() TemplateDeploymentMapOutput
func (TemplateDeploymentMapOutput) ToTemplateDeploymentMapOutputWithContext ¶
func (o TemplateDeploymentMapOutput) ToTemplateDeploymentMapOutputWithContext(ctx context.Context) TemplateDeploymentMapOutput
type TemplateDeploymentOutput ¶
type TemplateDeploymentOutput struct{ *pulumi.OutputState }
func (TemplateDeploymentOutput) DeploymentMode ¶ added in v5.5.0
func (o TemplateDeploymentOutput) DeploymentMode() pulumi.StringOutput
Specifies the mode that is used to deploy resources. This value could be either `Incremental` or `Complete`. Note that you will almost *always* want this to be set to `Incremental` otherwise the deployment will destroy all infrastructure not specified within the template, and this provider will not be aware of this.
func (TemplateDeploymentOutput) ElementType ¶
func (TemplateDeploymentOutput) ElementType() reflect.Type
func (TemplateDeploymentOutput) Name ¶ added in v5.5.0
func (o TemplateDeploymentOutput) Name() pulumi.StringOutput
Specifies the name of the template deployment. Changing this forces a new resource to be created.
func (TemplateDeploymentOutput) Outputs ¶ added in v5.5.0
func (o TemplateDeploymentOutput) Outputs() pulumi.StringMapOutput
A map of supported scalar output types returned from the deployment (currently, Azure Template Deployment outputs of type String, Int and Bool are supported, and are converted to strings - others will be ignored) and can be accessed using `.outputs["name"]`.
func (TemplateDeploymentOutput) Parameters ¶ added in v5.5.0
func (o TemplateDeploymentOutput) Parameters() pulumi.StringMapOutput
Specifies the name and value pairs that define the deployment parameters for the template.
func (TemplateDeploymentOutput) ParametersBody ¶ added in v5.5.0
func (o TemplateDeploymentOutput) ParametersBody() pulumi.StringPtrOutput
Specifies a valid Azure JSON parameters file that define the deployment parameters. It can contain KeyVault references
func (TemplateDeploymentOutput) ResourceGroupName ¶ added in v5.5.0
func (o TemplateDeploymentOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the template deployment. Changing this forces a new resource to be created.
func (TemplateDeploymentOutput) TemplateBody ¶ added in v5.5.0
func (o TemplateDeploymentOutput) TemplateBody() pulumi.StringOutput
Specifies the JSON definition for the template.
func (TemplateDeploymentOutput) ToTemplateDeploymentOutput ¶
func (o TemplateDeploymentOutput) ToTemplateDeploymentOutput() TemplateDeploymentOutput
func (TemplateDeploymentOutput) ToTemplateDeploymentOutputWithContext ¶
func (o TemplateDeploymentOutput) ToTemplateDeploymentOutputWithContext(ctx context.Context) TemplateDeploymentOutput
type TemplateDeploymentState ¶
type TemplateDeploymentState struct { // Specifies the mode that is used to deploy resources. This value could be either `Incremental` or `Complete`. // Note that you will almost *always* want this to be set to `Incremental` otherwise the deployment will destroy all infrastructure not // specified within the template, and this provider will not be aware of this. DeploymentMode pulumi.StringPtrInput // Specifies the name of the template deployment. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A map of supported scalar output types returned from the deployment (currently, Azure Template Deployment outputs of type String, Int and Bool are supported, and are converted to strings - others will be ignored) and can be accessed using `.outputs["name"]`. Outputs pulumi.StringMapInput // Specifies the name and value pairs that define the deployment parameters for the template. Parameters pulumi.StringMapInput // Specifies a valid Azure JSON parameters file that define the deployment parameters. It can contain KeyVault references ParametersBody pulumi.StringPtrInput // The name of the resource group in which to create the template deployment. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the JSON definition for the template. TemplateBody pulumi.StringPtrInput }
func (TemplateDeploymentState) ElementType ¶
func (TemplateDeploymentState) ElementType() reflect.Type
type TenantTemplateDeployment ¶
type TenantTemplateDeployment struct { pulumi.CustomResourceState // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrOutput `pulumi:"debugLevel"` // The Azure Region where the Template should exist. Changing this forces a new Template to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Template. Changing this forces a new Template to be created. Name pulumi.StringOutput `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringOutput `pulumi:"outputContent"` // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringOutput `pulumi:"parametersContent"` // A mapping of tags which should be assigned to the Template. Tags pulumi.StringMapOutput `pulumi:"tags"` // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringOutput `pulumi:"templateContent"` // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrOutput `pulumi:"templateSpecVersionId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.GetTemplateSpecVersion(ctx, &core.GetTemplateSpecVersionArgs{ Name: "myTemplateForTenant", ResourceGroupName: "myResourceGroup", Version: "v0.1", }, nil) if err != nil { return err } _, err = core.NewTenantTemplateDeployment(ctx, "example", &core.TenantTemplateDeploymentArgs{ Name: pulumi.String("example"), Location: pulumi.String("West Europe"), TemplateSpecVersionId: pulumi.String(example.Id), }) if err != nil { return err } return nil }) }
```
## Import
Tenant Template Deployments can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:core/tenantTemplateDeployment:TenantTemplateDeployment example /providers/Microsoft.Resources/deployments/deploy1 ```
func GetTenantTemplateDeployment ¶
func GetTenantTemplateDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TenantTemplateDeploymentState, opts ...pulumi.ResourceOption) (*TenantTemplateDeployment, error)
GetTenantTemplateDeployment gets an existing TenantTemplateDeployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTenantTemplateDeployment ¶
func NewTenantTemplateDeployment(ctx *pulumi.Context, name string, args *TenantTemplateDeploymentArgs, opts ...pulumi.ResourceOption) (*TenantTemplateDeployment, error)
NewTenantTemplateDeployment registers a new resource with the given unique name, arguments, and options.
func (*TenantTemplateDeployment) ElementType ¶
func (*TenantTemplateDeployment) ElementType() reflect.Type
func (*TenantTemplateDeployment) ToTenantTemplateDeploymentOutput ¶
func (i *TenantTemplateDeployment) ToTenantTemplateDeploymentOutput() TenantTemplateDeploymentOutput
func (*TenantTemplateDeployment) ToTenantTemplateDeploymentOutputWithContext ¶
func (i *TenantTemplateDeployment) ToTenantTemplateDeploymentOutputWithContext(ctx context.Context) TenantTemplateDeploymentOutput
type TenantTemplateDeploymentArgs ¶
type TenantTemplateDeploymentArgs struct { // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Azure Region where the Template should exist. Changing this forces a new Template to be created. Location pulumi.StringPtrInput // The name which should be used for this Template. Changing this forces a new Template to be created. Name pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringPtrInput // A mapping of tags which should be assigned to the Template. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
The set of arguments for constructing a TenantTemplateDeployment resource.
func (TenantTemplateDeploymentArgs) ElementType ¶
func (TenantTemplateDeploymentArgs) ElementType() reflect.Type
type TenantTemplateDeploymentArray ¶
type TenantTemplateDeploymentArray []TenantTemplateDeploymentInput
func (TenantTemplateDeploymentArray) ElementType ¶
func (TenantTemplateDeploymentArray) ElementType() reflect.Type
func (TenantTemplateDeploymentArray) ToTenantTemplateDeploymentArrayOutput ¶
func (i TenantTemplateDeploymentArray) ToTenantTemplateDeploymentArrayOutput() TenantTemplateDeploymentArrayOutput
func (TenantTemplateDeploymentArray) ToTenantTemplateDeploymentArrayOutputWithContext ¶
func (i TenantTemplateDeploymentArray) ToTenantTemplateDeploymentArrayOutputWithContext(ctx context.Context) TenantTemplateDeploymentArrayOutput
type TenantTemplateDeploymentArrayInput ¶
type TenantTemplateDeploymentArrayInput interface { pulumi.Input ToTenantTemplateDeploymentArrayOutput() TenantTemplateDeploymentArrayOutput ToTenantTemplateDeploymentArrayOutputWithContext(context.Context) TenantTemplateDeploymentArrayOutput }
TenantTemplateDeploymentArrayInput is an input type that accepts TenantTemplateDeploymentArray and TenantTemplateDeploymentArrayOutput values. You can construct a concrete instance of `TenantTemplateDeploymentArrayInput` via:
TenantTemplateDeploymentArray{ TenantTemplateDeploymentArgs{...} }
type TenantTemplateDeploymentArrayOutput ¶
type TenantTemplateDeploymentArrayOutput struct{ *pulumi.OutputState }
func (TenantTemplateDeploymentArrayOutput) ElementType ¶
func (TenantTemplateDeploymentArrayOutput) ElementType() reflect.Type
func (TenantTemplateDeploymentArrayOutput) Index ¶
func (o TenantTemplateDeploymentArrayOutput) Index(i pulumi.IntInput) TenantTemplateDeploymentOutput
func (TenantTemplateDeploymentArrayOutput) ToTenantTemplateDeploymentArrayOutput ¶
func (o TenantTemplateDeploymentArrayOutput) ToTenantTemplateDeploymentArrayOutput() TenantTemplateDeploymentArrayOutput
func (TenantTemplateDeploymentArrayOutput) ToTenantTemplateDeploymentArrayOutputWithContext ¶
func (o TenantTemplateDeploymentArrayOutput) ToTenantTemplateDeploymentArrayOutputWithContext(ctx context.Context) TenantTemplateDeploymentArrayOutput
type TenantTemplateDeploymentInput ¶
type TenantTemplateDeploymentInput interface { pulumi.Input ToTenantTemplateDeploymentOutput() TenantTemplateDeploymentOutput ToTenantTemplateDeploymentOutputWithContext(ctx context.Context) TenantTemplateDeploymentOutput }
type TenantTemplateDeploymentMap ¶
type TenantTemplateDeploymentMap map[string]TenantTemplateDeploymentInput
func (TenantTemplateDeploymentMap) ElementType ¶
func (TenantTemplateDeploymentMap) ElementType() reflect.Type
func (TenantTemplateDeploymentMap) ToTenantTemplateDeploymentMapOutput ¶
func (i TenantTemplateDeploymentMap) ToTenantTemplateDeploymentMapOutput() TenantTemplateDeploymentMapOutput
func (TenantTemplateDeploymentMap) ToTenantTemplateDeploymentMapOutputWithContext ¶
func (i TenantTemplateDeploymentMap) ToTenantTemplateDeploymentMapOutputWithContext(ctx context.Context) TenantTemplateDeploymentMapOutput
type TenantTemplateDeploymentMapInput ¶
type TenantTemplateDeploymentMapInput interface { pulumi.Input ToTenantTemplateDeploymentMapOutput() TenantTemplateDeploymentMapOutput ToTenantTemplateDeploymentMapOutputWithContext(context.Context) TenantTemplateDeploymentMapOutput }
TenantTemplateDeploymentMapInput is an input type that accepts TenantTemplateDeploymentMap and TenantTemplateDeploymentMapOutput values. You can construct a concrete instance of `TenantTemplateDeploymentMapInput` via:
TenantTemplateDeploymentMap{ "key": TenantTemplateDeploymentArgs{...} }
type TenantTemplateDeploymentMapOutput ¶
type TenantTemplateDeploymentMapOutput struct{ *pulumi.OutputState }
func (TenantTemplateDeploymentMapOutput) ElementType ¶
func (TenantTemplateDeploymentMapOutput) ElementType() reflect.Type
func (TenantTemplateDeploymentMapOutput) MapIndex ¶
func (o TenantTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) TenantTemplateDeploymentOutput
func (TenantTemplateDeploymentMapOutput) ToTenantTemplateDeploymentMapOutput ¶
func (o TenantTemplateDeploymentMapOutput) ToTenantTemplateDeploymentMapOutput() TenantTemplateDeploymentMapOutput
func (TenantTemplateDeploymentMapOutput) ToTenantTemplateDeploymentMapOutputWithContext ¶
func (o TenantTemplateDeploymentMapOutput) ToTenantTemplateDeploymentMapOutputWithContext(ctx context.Context) TenantTemplateDeploymentMapOutput
type TenantTemplateDeploymentOutput ¶
type TenantTemplateDeploymentOutput struct{ *pulumi.OutputState }
func (TenantTemplateDeploymentOutput) DebugLevel ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
func (TenantTemplateDeploymentOutput) ElementType ¶
func (TenantTemplateDeploymentOutput) ElementType() reflect.Type
func (TenantTemplateDeploymentOutput) Location ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) Location() pulumi.StringOutput
The Azure Region where the Template should exist. Changing this forces a new Template to be created.
func (TenantTemplateDeploymentOutput) Name ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) Name() pulumi.StringOutput
The name which should be used for this Template. Changing this forces a new Template to be created.
func (TenantTemplateDeploymentOutput) OutputContent ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (TenantTemplateDeploymentOutput) ParametersContent ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
The contents of the ARM Template parameters file - containing a JSON list of parameters.
func (TenantTemplateDeploymentOutput) Tags ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Template.
func (TenantTemplateDeploymentOutput) TemplateContent ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`.
func (TenantTemplateDeploymentOutput) TemplateSpecVersionId ¶ added in v5.5.0
func (o TenantTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`.
func (TenantTemplateDeploymentOutput) ToTenantTemplateDeploymentOutput ¶
func (o TenantTemplateDeploymentOutput) ToTenantTemplateDeploymentOutput() TenantTemplateDeploymentOutput
func (TenantTemplateDeploymentOutput) ToTenantTemplateDeploymentOutputWithContext ¶
func (o TenantTemplateDeploymentOutput) ToTenantTemplateDeploymentOutputWithContext(ctx context.Context) TenantTemplateDeploymentOutput
type TenantTemplateDeploymentState ¶
type TenantTemplateDeploymentState struct { // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Azure Region where the Template should exist. Changing this forces a new Template to be created. Location pulumi.StringPtrInput // The name which should be used for this Template. Changing this forces a new Template to be created. Name pulumi.StringPtrInput // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringPtrInput // A mapping of tags which should be assigned to the Template. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
func (TenantTemplateDeploymentState) ElementType ¶
func (TenantTemplateDeploymentState) ElementType() reflect.Type
Source Files ¶
- customProvider.go
- getClientConfig.go
- getExtendedLocations.go
- getLocation.go
- getResourceGroup.go
- getResourceGroupTemplateDeployment.go
- getResources.go
- getSubscription.go
- getSubscriptionTemplateDeployment.go
- getSubscriptions.go
- getTemplateSpecVersion.go
- getTenantTemplateDeployment.go
- getUserAssignedIdentity.go
- init.go
- portalTenantConfiguration.go
- pulumiTypes.go
- resourceDeploymentScriptAzureCli.go
- resourceDeploymentScriptPowerShell.go
- resourceGroup.go
- resourceGroupCostManagementExport.go
- resourceGroupCostManagementView.go
- resourceGroupPolicyAssignment.go
- resourceGroupPolicyExemption.go
- resourceGroupPolicyRemediation.go
- resourceGroupTemplateDeployment.go
- resourcePolicyAssignment.go
- resourcePolicyExemption.go
- resourcePolicyRemediation.go
- resourceProviderRegistration.go
- subscription.go
- subscriptionCostManagementExport.go
- subscriptionCostManagementView.go
- subscriptionPolicyAssignment.go
- subscriptionPolicyExemption.go
- subscriptionPolicyRemediation.go
- subscriptionTemplateDeployment.go
- templateDeployment.go
- tenantTemplateDeployment.go