Documentation ¶
Index ¶
- type AdvancedThreatProtection
- func (*AdvancedThreatProtection) ElementType() reflect.Type
- func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionOutput() AdvancedThreatProtectionOutput
- func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionOutputWithContext(ctx context.Context) AdvancedThreatProtectionOutput
- func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput
- func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput
- type AdvancedThreatProtectionArgs
- type AdvancedThreatProtectionArray
- func (AdvancedThreatProtectionArray) ElementType() reflect.Type
- func (i AdvancedThreatProtectionArray) ToAdvancedThreatProtectionArrayOutput() AdvancedThreatProtectionArrayOutput
- func (i AdvancedThreatProtectionArray) ToAdvancedThreatProtectionArrayOutputWithContext(ctx context.Context) AdvancedThreatProtectionArrayOutput
- type AdvancedThreatProtectionArrayInput
- type AdvancedThreatProtectionArrayOutput
- func (AdvancedThreatProtectionArrayOutput) ElementType() reflect.Type
- func (o AdvancedThreatProtectionArrayOutput) Index(i pulumi.IntInput) AdvancedThreatProtectionOutput
- func (o AdvancedThreatProtectionArrayOutput) ToAdvancedThreatProtectionArrayOutput() AdvancedThreatProtectionArrayOutput
- func (o AdvancedThreatProtectionArrayOutput) ToAdvancedThreatProtectionArrayOutputWithContext(ctx context.Context) AdvancedThreatProtectionArrayOutput
- type AdvancedThreatProtectionInput
- type AdvancedThreatProtectionMap
- func (AdvancedThreatProtectionMap) ElementType() reflect.Type
- func (i AdvancedThreatProtectionMap) ToAdvancedThreatProtectionMapOutput() AdvancedThreatProtectionMapOutput
- func (i AdvancedThreatProtectionMap) ToAdvancedThreatProtectionMapOutputWithContext(ctx context.Context) AdvancedThreatProtectionMapOutput
- type AdvancedThreatProtectionMapInput
- type AdvancedThreatProtectionMapOutput
- func (AdvancedThreatProtectionMapOutput) ElementType() reflect.Type
- func (o AdvancedThreatProtectionMapOutput) MapIndex(k pulumi.StringInput) AdvancedThreatProtectionOutput
- func (o AdvancedThreatProtectionMapOutput) ToAdvancedThreatProtectionMapOutput() AdvancedThreatProtectionMapOutput
- func (o AdvancedThreatProtectionMapOutput) ToAdvancedThreatProtectionMapOutputWithContext(ctx context.Context) AdvancedThreatProtectionMapOutput
- type AdvancedThreatProtectionOutput
- func (AdvancedThreatProtectionOutput) ElementType() reflect.Type
- func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionOutput() AdvancedThreatProtectionOutput
- func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionOutputWithContext(ctx context.Context) AdvancedThreatProtectionOutput
- func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput
- func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput
- type AdvancedThreatProtectionPtrInput
- type AdvancedThreatProtectionPtrOutput
- func (AdvancedThreatProtectionPtrOutput) ElementType() reflect.Type
- func (o AdvancedThreatProtectionPtrOutput) ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput
- func (o AdvancedThreatProtectionPtrOutput) ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput
- type AdvancedThreatProtectionState
- type Assessment
- func (*Assessment) ElementType() reflect.Type
- func (i *Assessment) ToAssessmentOutput() AssessmentOutput
- func (i *Assessment) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput
- func (i *Assessment) ToAssessmentPtrOutput() AssessmentPtrOutput
- func (i *Assessment) ToAssessmentPtrOutputWithContext(ctx context.Context) AssessmentPtrOutput
- type AssessmentArgs
- type AssessmentArray
- type AssessmentArrayInput
- type AssessmentArrayOutput
- func (AssessmentArrayOutput) ElementType() reflect.Type
- func (o AssessmentArrayOutput) Index(i pulumi.IntInput) AssessmentOutput
- func (o AssessmentArrayOutput) ToAssessmentArrayOutput() AssessmentArrayOutput
- func (o AssessmentArrayOutput) ToAssessmentArrayOutputWithContext(ctx context.Context) AssessmentArrayOutput
- type AssessmentInput
- type AssessmentMap
- type AssessmentMapInput
- type AssessmentMapOutput
- func (AssessmentMapOutput) ElementType() reflect.Type
- func (o AssessmentMapOutput) MapIndex(k pulumi.StringInput) AssessmentOutput
- func (o AssessmentMapOutput) ToAssessmentMapOutput() AssessmentMapOutput
- func (o AssessmentMapOutput) ToAssessmentMapOutputWithContext(ctx context.Context) AssessmentMapOutput
- type AssessmentMetadata
- func (*AssessmentMetadata) ElementType() reflect.Type
- func (i *AssessmentMetadata) ToAssessmentMetadataOutput() AssessmentMetadataOutput
- func (i *AssessmentMetadata) ToAssessmentMetadataOutputWithContext(ctx context.Context) AssessmentMetadataOutput
- func (i *AssessmentMetadata) ToAssessmentMetadataPtrOutput() AssessmentMetadataPtrOutput
- func (i *AssessmentMetadata) ToAssessmentMetadataPtrOutputWithContext(ctx context.Context) AssessmentMetadataPtrOutput
- type AssessmentMetadataArgs
- type AssessmentMetadataArray
- type AssessmentMetadataArrayInput
- type AssessmentMetadataArrayOutput
- func (AssessmentMetadataArrayOutput) ElementType() reflect.Type
- func (o AssessmentMetadataArrayOutput) Index(i pulumi.IntInput) AssessmentMetadataOutput
- func (o AssessmentMetadataArrayOutput) ToAssessmentMetadataArrayOutput() AssessmentMetadataArrayOutput
- func (o AssessmentMetadataArrayOutput) ToAssessmentMetadataArrayOutputWithContext(ctx context.Context) AssessmentMetadataArrayOutput
- type AssessmentMetadataInput
- type AssessmentMetadataMap
- type AssessmentMetadataMapInput
- type AssessmentMetadataMapOutput
- func (AssessmentMetadataMapOutput) ElementType() reflect.Type
- func (o AssessmentMetadataMapOutput) MapIndex(k pulumi.StringInput) AssessmentMetadataOutput
- func (o AssessmentMetadataMapOutput) ToAssessmentMetadataMapOutput() AssessmentMetadataMapOutput
- func (o AssessmentMetadataMapOutput) ToAssessmentMetadataMapOutputWithContext(ctx context.Context) AssessmentMetadataMapOutput
- type AssessmentMetadataOutput
- func (AssessmentMetadataOutput) ElementType() reflect.Type
- func (o AssessmentMetadataOutput) ToAssessmentMetadataOutput() AssessmentMetadataOutput
- func (o AssessmentMetadataOutput) ToAssessmentMetadataOutputWithContext(ctx context.Context) AssessmentMetadataOutput
- func (o AssessmentMetadataOutput) ToAssessmentMetadataPtrOutput() AssessmentMetadataPtrOutput
- func (o AssessmentMetadataOutput) ToAssessmentMetadataPtrOutputWithContext(ctx context.Context) AssessmentMetadataPtrOutput
- type AssessmentMetadataPtrInput
- type AssessmentMetadataPtrOutput
- type AssessmentMetadataState
- type AssessmentOutput
- func (AssessmentOutput) ElementType() reflect.Type
- func (o AssessmentOutput) ToAssessmentOutput() AssessmentOutput
- func (o AssessmentOutput) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput
- func (o AssessmentOutput) ToAssessmentPtrOutput() AssessmentPtrOutput
- func (o AssessmentOutput) ToAssessmentPtrOutputWithContext(ctx context.Context) AssessmentPtrOutput
- type AssessmentPolicy
- func (*AssessmentPolicy) ElementType() reflect.Type
- func (i *AssessmentPolicy) ToAssessmentPolicyOutput() AssessmentPolicyOutput
- func (i *AssessmentPolicy) ToAssessmentPolicyOutputWithContext(ctx context.Context) AssessmentPolicyOutput
- func (i *AssessmentPolicy) ToAssessmentPolicyPtrOutput() AssessmentPolicyPtrOutput
- func (i *AssessmentPolicy) ToAssessmentPolicyPtrOutputWithContext(ctx context.Context) AssessmentPolicyPtrOutput
- type AssessmentPolicyArgs
- type AssessmentPolicyArray
- type AssessmentPolicyArrayInput
- type AssessmentPolicyArrayOutput
- func (AssessmentPolicyArrayOutput) ElementType() reflect.Type
- func (o AssessmentPolicyArrayOutput) Index(i pulumi.IntInput) AssessmentPolicyOutput
- func (o AssessmentPolicyArrayOutput) ToAssessmentPolicyArrayOutput() AssessmentPolicyArrayOutput
- func (o AssessmentPolicyArrayOutput) ToAssessmentPolicyArrayOutputWithContext(ctx context.Context) AssessmentPolicyArrayOutput
- type AssessmentPolicyInput
- type AssessmentPolicyMap
- type AssessmentPolicyMapInput
- type AssessmentPolicyMapOutput
- func (AssessmentPolicyMapOutput) ElementType() reflect.Type
- func (o AssessmentPolicyMapOutput) MapIndex(k pulumi.StringInput) AssessmentPolicyOutput
- func (o AssessmentPolicyMapOutput) ToAssessmentPolicyMapOutput() AssessmentPolicyMapOutput
- func (o AssessmentPolicyMapOutput) ToAssessmentPolicyMapOutputWithContext(ctx context.Context) AssessmentPolicyMapOutput
- type AssessmentPolicyOutput
- func (AssessmentPolicyOutput) ElementType() reflect.Type
- func (o AssessmentPolicyOutput) ToAssessmentPolicyOutput() AssessmentPolicyOutput
- func (o AssessmentPolicyOutput) ToAssessmentPolicyOutputWithContext(ctx context.Context) AssessmentPolicyOutput
- func (o AssessmentPolicyOutput) ToAssessmentPolicyPtrOutput() AssessmentPolicyPtrOutput
- func (o AssessmentPolicyOutput) ToAssessmentPolicyPtrOutputWithContext(ctx context.Context) AssessmentPolicyPtrOutput
- type AssessmentPolicyPtrInput
- type AssessmentPolicyPtrOutput
- type AssessmentPolicyState
- type AssessmentPtrInput
- type AssessmentPtrOutput
- type AssessmentState
- type AssessmentStatus
- type AssessmentStatusArgs
- func (AssessmentStatusArgs) ElementType() reflect.Type
- func (i AssessmentStatusArgs) ToAssessmentStatusOutput() AssessmentStatusOutput
- func (i AssessmentStatusArgs) ToAssessmentStatusOutputWithContext(ctx context.Context) AssessmentStatusOutput
- func (i AssessmentStatusArgs) ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput
- func (i AssessmentStatusArgs) ToAssessmentStatusPtrOutputWithContext(ctx context.Context) AssessmentStatusPtrOutput
- type AssessmentStatusInput
- type AssessmentStatusOutput
- func (o AssessmentStatusOutput) Cause() pulumi.StringPtrOutput
- func (o AssessmentStatusOutput) Code() pulumi.StringOutput
- func (o AssessmentStatusOutput) Description() pulumi.StringPtrOutput
- func (AssessmentStatusOutput) ElementType() reflect.Type
- func (o AssessmentStatusOutput) ToAssessmentStatusOutput() AssessmentStatusOutput
- func (o AssessmentStatusOutput) ToAssessmentStatusOutputWithContext(ctx context.Context) AssessmentStatusOutput
- func (o AssessmentStatusOutput) ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput
- func (o AssessmentStatusOutput) ToAssessmentStatusPtrOutputWithContext(ctx context.Context) AssessmentStatusPtrOutput
- type AssessmentStatusPtrInput
- type AssessmentStatusPtrOutput
- func (o AssessmentStatusPtrOutput) Cause() pulumi.StringPtrOutput
- func (o AssessmentStatusPtrOutput) Code() pulumi.StringPtrOutput
- func (o AssessmentStatusPtrOutput) Description() pulumi.StringPtrOutput
- func (o AssessmentStatusPtrOutput) Elem() AssessmentStatusOutput
- func (AssessmentStatusPtrOutput) ElementType() reflect.Type
- func (o AssessmentStatusPtrOutput) ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput
- func (o AssessmentStatusPtrOutput) ToAssessmentStatusPtrOutputWithContext(ctx context.Context) AssessmentStatusPtrOutput
- type AutoProvisioning
- func (*AutoProvisioning) ElementType() reflect.Type
- func (i *AutoProvisioning) ToAutoProvisioningOutput() AutoProvisioningOutput
- func (i *AutoProvisioning) ToAutoProvisioningOutputWithContext(ctx context.Context) AutoProvisioningOutput
- func (i *AutoProvisioning) ToAutoProvisioningPtrOutput() AutoProvisioningPtrOutput
- func (i *AutoProvisioning) ToAutoProvisioningPtrOutputWithContext(ctx context.Context) AutoProvisioningPtrOutput
- type AutoProvisioningArgs
- type AutoProvisioningArray
- type AutoProvisioningArrayInput
- type AutoProvisioningArrayOutput
- func (AutoProvisioningArrayOutput) ElementType() reflect.Type
- func (o AutoProvisioningArrayOutput) Index(i pulumi.IntInput) AutoProvisioningOutput
- func (o AutoProvisioningArrayOutput) ToAutoProvisioningArrayOutput() AutoProvisioningArrayOutput
- func (o AutoProvisioningArrayOutput) ToAutoProvisioningArrayOutputWithContext(ctx context.Context) AutoProvisioningArrayOutput
- type AutoProvisioningInput
- type AutoProvisioningMap
- type AutoProvisioningMapInput
- type AutoProvisioningMapOutput
- func (AutoProvisioningMapOutput) ElementType() reflect.Type
- func (o AutoProvisioningMapOutput) MapIndex(k pulumi.StringInput) AutoProvisioningOutput
- func (o AutoProvisioningMapOutput) ToAutoProvisioningMapOutput() AutoProvisioningMapOutput
- func (o AutoProvisioningMapOutput) ToAutoProvisioningMapOutputWithContext(ctx context.Context) AutoProvisioningMapOutput
- type AutoProvisioningOutput
- func (AutoProvisioningOutput) ElementType() reflect.Type
- func (o AutoProvisioningOutput) ToAutoProvisioningOutput() AutoProvisioningOutput
- func (o AutoProvisioningOutput) ToAutoProvisioningOutputWithContext(ctx context.Context) AutoProvisioningOutput
- func (o AutoProvisioningOutput) ToAutoProvisioningPtrOutput() AutoProvisioningPtrOutput
- func (o AutoProvisioningOutput) ToAutoProvisioningPtrOutputWithContext(ctx context.Context) AutoProvisioningPtrOutput
- type AutoProvisioningPtrInput
- type AutoProvisioningPtrOutput
- type AutoProvisioningState
- type Automation
- func (*Automation) ElementType() reflect.Type
- func (i *Automation) ToAutomationOutput() AutomationOutput
- func (i *Automation) ToAutomationOutputWithContext(ctx context.Context) AutomationOutput
- func (i *Automation) ToAutomationPtrOutput() AutomationPtrOutput
- func (i *Automation) ToAutomationPtrOutputWithContext(ctx context.Context) AutomationPtrOutput
- type AutomationAction
- type AutomationActionArgs
- type AutomationActionArray
- type AutomationActionArrayInput
- type AutomationActionArrayOutput
- func (AutomationActionArrayOutput) ElementType() reflect.Type
- func (o AutomationActionArrayOutput) Index(i pulumi.IntInput) AutomationActionOutput
- func (o AutomationActionArrayOutput) ToAutomationActionArrayOutput() AutomationActionArrayOutput
- func (o AutomationActionArrayOutput) ToAutomationActionArrayOutputWithContext(ctx context.Context) AutomationActionArrayOutput
- type AutomationActionInput
- type AutomationActionOutput
- func (o AutomationActionOutput) ConnectionString() pulumi.StringPtrOutput
- func (AutomationActionOutput) ElementType() reflect.Type
- func (o AutomationActionOutput) ResourceId() pulumi.StringOutput
- func (o AutomationActionOutput) ToAutomationActionOutput() AutomationActionOutput
- func (o AutomationActionOutput) ToAutomationActionOutputWithContext(ctx context.Context) AutomationActionOutput
- func (o AutomationActionOutput) TriggerUrl() pulumi.StringPtrOutput
- func (o AutomationActionOutput) Type() pulumi.StringOutput
- type AutomationArgs
- type AutomationArray
- type AutomationArrayInput
- type AutomationArrayOutput
- func (AutomationArrayOutput) ElementType() reflect.Type
- func (o AutomationArrayOutput) Index(i pulumi.IntInput) AutomationOutput
- func (o AutomationArrayOutput) ToAutomationArrayOutput() AutomationArrayOutput
- func (o AutomationArrayOutput) ToAutomationArrayOutputWithContext(ctx context.Context) AutomationArrayOutput
- type AutomationInput
- type AutomationMap
- type AutomationMapInput
- type AutomationMapOutput
- func (AutomationMapOutput) ElementType() reflect.Type
- func (o AutomationMapOutput) MapIndex(k pulumi.StringInput) AutomationOutput
- func (o AutomationMapOutput) ToAutomationMapOutput() AutomationMapOutput
- func (o AutomationMapOutput) ToAutomationMapOutputWithContext(ctx context.Context) AutomationMapOutput
- type AutomationOutput
- func (AutomationOutput) ElementType() reflect.Type
- func (o AutomationOutput) ToAutomationOutput() AutomationOutput
- func (o AutomationOutput) ToAutomationOutputWithContext(ctx context.Context) AutomationOutput
- func (o AutomationOutput) ToAutomationPtrOutput() AutomationPtrOutput
- func (o AutomationOutput) ToAutomationPtrOutputWithContext(ctx context.Context) AutomationPtrOutput
- type AutomationPtrInput
- type AutomationPtrOutput
- type AutomationSource
- type AutomationSourceArgs
- type AutomationSourceArray
- type AutomationSourceArrayInput
- type AutomationSourceArrayOutput
- func (AutomationSourceArrayOutput) ElementType() reflect.Type
- func (o AutomationSourceArrayOutput) Index(i pulumi.IntInput) AutomationSourceOutput
- func (o AutomationSourceArrayOutput) ToAutomationSourceArrayOutput() AutomationSourceArrayOutput
- func (o AutomationSourceArrayOutput) ToAutomationSourceArrayOutputWithContext(ctx context.Context) AutomationSourceArrayOutput
- type AutomationSourceInput
- type AutomationSourceOutput
- func (AutomationSourceOutput) ElementType() reflect.Type
- func (o AutomationSourceOutput) EventSource() pulumi.StringOutput
- func (o AutomationSourceOutput) RuleSets() AutomationSourceRuleSetArrayOutput
- func (o AutomationSourceOutput) ToAutomationSourceOutput() AutomationSourceOutput
- func (o AutomationSourceOutput) ToAutomationSourceOutputWithContext(ctx context.Context) AutomationSourceOutput
- type AutomationSourceRuleSet
- type AutomationSourceRuleSetArgs
- type AutomationSourceRuleSetArray
- func (AutomationSourceRuleSetArray) ElementType() reflect.Type
- func (i AutomationSourceRuleSetArray) ToAutomationSourceRuleSetArrayOutput() AutomationSourceRuleSetArrayOutput
- func (i AutomationSourceRuleSetArray) ToAutomationSourceRuleSetArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetArrayOutput
- type AutomationSourceRuleSetArrayInput
- type AutomationSourceRuleSetArrayOutput
- func (AutomationSourceRuleSetArrayOutput) ElementType() reflect.Type
- func (o AutomationSourceRuleSetArrayOutput) Index(i pulumi.IntInput) AutomationSourceRuleSetOutput
- func (o AutomationSourceRuleSetArrayOutput) ToAutomationSourceRuleSetArrayOutput() AutomationSourceRuleSetArrayOutput
- func (o AutomationSourceRuleSetArrayOutput) ToAutomationSourceRuleSetArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetArrayOutput
- type AutomationSourceRuleSetInput
- type AutomationSourceRuleSetOutput
- func (AutomationSourceRuleSetOutput) ElementType() reflect.Type
- func (o AutomationSourceRuleSetOutput) Rules() AutomationSourceRuleSetRuleArrayOutput
- func (o AutomationSourceRuleSetOutput) ToAutomationSourceRuleSetOutput() AutomationSourceRuleSetOutput
- func (o AutomationSourceRuleSetOutput) ToAutomationSourceRuleSetOutputWithContext(ctx context.Context) AutomationSourceRuleSetOutput
- type AutomationSourceRuleSetRule
- type AutomationSourceRuleSetRuleArgs
- func (AutomationSourceRuleSetRuleArgs) ElementType() reflect.Type
- func (i AutomationSourceRuleSetRuleArgs) ToAutomationSourceRuleSetRuleOutput() AutomationSourceRuleSetRuleOutput
- func (i AutomationSourceRuleSetRuleArgs) ToAutomationSourceRuleSetRuleOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleOutput
- type AutomationSourceRuleSetRuleArray
- func (AutomationSourceRuleSetRuleArray) ElementType() reflect.Type
- func (i AutomationSourceRuleSetRuleArray) ToAutomationSourceRuleSetRuleArrayOutput() AutomationSourceRuleSetRuleArrayOutput
- func (i AutomationSourceRuleSetRuleArray) ToAutomationSourceRuleSetRuleArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleArrayOutput
- type AutomationSourceRuleSetRuleArrayInput
- type AutomationSourceRuleSetRuleArrayOutput
- func (AutomationSourceRuleSetRuleArrayOutput) ElementType() reflect.Type
- func (o AutomationSourceRuleSetRuleArrayOutput) Index(i pulumi.IntInput) AutomationSourceRuleSetRuleOutput
- func (o AutomationSourceRuleSetRuleArrayOutput) ToAutomationSourceRuleSetRuleArrayOutput() AutomationSourceRuleSetRuleArrayOutput
- func (o AutomationSourceRuleSetRuleArrayOutput) ToAutomationSourceRuleSetRuleArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleArrayOutput
- type AutomationSourceRuleSetRuleInput
- type AutomationSourceRuleSetRuleOutput
- func (AutomationSourceRuleSetRuleOutput) ElementType() reflect.Type
- func (o AutomationSourceRuleSetRuleOutput) ExpectedValue() pulumi.StringOutput
- func (o AutomationSourceRuleSetRuleOutput) Operator() pulumi.StringOutput
- func (o AutomationSourceRuleSetRuleOutput) PropertyPath() pulumi.StringOutput
- func (o AutomationSourceRuleSetRuleOutput) PropertyType() pulumi.StringOutput
- func (o AutomationSourceRuleSetRuleOutput) ToAutomationSourceRuleSetRuleOutput() AutomationSourceRuleSetRuleOutput
- func (o AutomationSourceRuleSetRuleOutput) ToAutomationSourceRuleSetRuleOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleOutput
- type AutomationState
- type Contact
- func (*Contact) ElementType() reflect.Type
- func (i *Contact) ToContactOutput() ContactOutput
- func (i *Contact) ToContactOutputWithContext(ctx context.Context) ContactOutput
- func (i *Contact) ToContactPtrOutput() ContactPtrOutput
- func (i *Contact) ToContactPtrOutputWithContext(ctx context.Context) ContactPtrOutput
- type ContactArgs
- type ContactArray
- type ContactArrayInput
- type ContactArrayOutput
- type ContactInput
- type ContactMap
- type ContactMapInput
- type ContactMapOutput
- type ContactOutput
- func (ContactOutput) ElementType() reflect.Type
- func (o ContactOutput) ToContactOutput() ContactOutput
- func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOutput
- func (o ContactOutput) ToContactPtrOutput() ContactPtrOutput
- func (o ContactOutput) ToContactPtrOutputWithContext(ctx context.Context) ContactPtrOutput
- type ContactPtrInput
- type ContactPtrOutput
- type ContactState
- type ServerVulnerabilityAssessment
- func (*ServerVulnerabilityAssessment) ElementType() reflect.Type
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
- type ServerVulnerabilityAssessmentArgs
- type ServerVulnerabilityAssessmentArray
- func (ServerVulnerabilityAssessmentArray) ElementType() reflect.Type
- func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
- func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
- type ServerVulnerabilityAssessmentArrayInput
- type ServerVulnerabilityAssessmentArrayOutput
- func (ServerVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentArrayOutput) Index(i pulumi.IntInput) ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
- func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
- type ServerVulnerabilityAssessmentInput
- type ServerVulnerabilityAssessmentMap
- func (ServerVulnerabilityAssessmentMap) ElementType() reflect.Type
- func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
- func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
- type ServerVulnerabilityAssessmentMapInput
- type ServerVulnerabilityAssessmentMapOutput
- func (ServerVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
- func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
- type ServerVulnerabilityAssessmentOutput
- func (ServerVulnerabilityAssessmentOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
- type ServerVulnerabilityAssessmentPtrInput
- type ServerVulnerabilityAssessmentPtrOutput
- func (ServerVulnerabilityAssessmentPtrOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
- func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
- type ServerVulnerabilityAssessmentState
- type Setting
- func (*Setting) ElementType() reflect.Type
- func (i *Setting) ToSettingOutput() SettingOutput
- func (i *Setting) ToSettingOutputWithContext(ctx context.Context) SettingOutput
- func (i *Setting) ToSettingPtrOutput() SettingPtrOutput
- func (i *Setting) ToSettingPtrOutputWithContext(ctx context.Context) SettingPtrOutput
- type SettingArgs
- type SettingArray
- type SettingArrayInput
- type SettingArrayOutput
- type SettingInput
- type SettingMap
- type SettingMapInput
- type SettingMapOutput
- type SettingOutput
- func (SettingOutput) ElementType() reflect.Type
- func (o SettingOutput) ToSettingOutput() SettingOutput
- func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOutput
- func (o SettingOutput) ToSettingPtrOutput() SettingPtrOutput
- func (o SettingOutput) ToSettingPtrOutputWithContext(ctx context.Context) SettingPtrOutput
- type SettingPtrInput
- type SettingPtrOutput
- type SettingState
- type SubscriptionPricing
- func (*SubscriptionPricing) ElementType() reflect.Type
- func (i *SubscriptionPricing) ToSubscriptionPricingOutput() SubscriptionPricingOutput
- func (i *SubscriptionPricing) ToSubscriptionPricingOutputWithContext(ctx context.Context) SubscriptionPricingOutput
- func (i *SubscriptionPricing) ToSubscriptionPricingPtrOutput() SubscriptionPricingPtrOutput
- func (i *SubscriptionPricing) ToSubscriptionPricingPtrOutputWithContext(ctx context.Context) SubscriptionPricingPtrOutput
- type SubscriptionPricingArgs
- type SubscriptionPricingArray
- type SubscriptionPricingArrayInput
- type SubscriptionPricingArrayOutput
- func (SubscriptionPricingArrayOutput) ElementType() reflect.Type
- func (o SubscriptionPricingArrayOutput) Index(i pulumi.IntInput) SubscriptionPricingOutput
- func (o SubscriptionPricingArrayOutput) ToSubscriptionPricingArrayOutput() SubscriptionPricingArrayOutput
- func (o SubscriptionPricingArrayOutput) ToSubscriptionPricingArrayOutputWithContext(ctx context.Context) SubscriptionPricingArrayOutput
- type SubscriptionPricingInput
- type SubscriptionPricingMap
- type SubscriptionPricingMapInput
- type SubscriptionPricingMapOutput
- func (SubscriptionPricingMapOutput) ElementType() reflect.Type
- func (o SubscriptionPricingMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPricingOutput
- func (o SubscriptionPricingMapOutput) ToSubscriptionPricingMapOutput() SubscriptionPricingMapOutput
- func (o SubscriptionPricingMapOutput) ToSubscriptionPricingMapOutputWithContext(ctx context.Context) SubscriptionPricingMapOutput
- type SubscriptionPricingOutput
- func (SubscriptionPricingOutput) ElementType() reflect.Type
- func (o SubscriptionPricingOutput) ToSubscriptionPricingOutput() SubscriptionPricingOutput
- func (o SubscriptionPricingOutput) ToSubscriptionPricingOutputWithContext(ctx context.Context) SubscriptionPricingOutput
- func (o SubscriptionPricingOutput) ToSubscriptionPricingPtrOutput() SubscriptionPricingPtrOutput
- func (o SubscriptionPricingOutput) ToSubscriptionPricingPtrOutputWithContext(ctx context.Context) SubscriptionPricingPtrOutput
- type SubscriptionPricingPtrInput
- type SubscriptionPricingPtrOutput
- type SubscriptionPricingState
- type Workspace
- func (*Workspace) ElementType() reflect.Type
- func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
- func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput
- func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
- type WorkspaceArgs
- type WorkspaceArray
- type WorkspaceArrayInput
- type WorkspaceArrayOutput
- func (WorkspaceArrayOutput) ElementType() reflect.Type
- func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
- type WorkspaceInput
- type WorkspaceMap
- type WorkspaceMapInput
- type WorkspaceMapOutput
- type WorkspaceOutput
- func (WorkspaceOutput) ElementType() reflect.Type
- func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
- func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
- type WorkspacePtrInput
- type WorkspacePtrOutput
- type WorkspaceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedThreatProtection ¶
type AdvancedThreatProtection struct { pulumi.CustomResourceState // Should Advanced Threat Protection be enabled on this resource? Enabled pulumi.BoolOutput `pulumi:"enabled"` // The ID of the Azure Resource which to enable Advanced Threat Protection on. Changing this forces a new resource to be created. TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"` }
Manages a resources Advanced Threat Protection setting.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: pulumi.Any(azurerm_resource_group.Example.Name), Location: pulumi.Any(azurerm_resource_group.Example.Location), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), Tags: pulumi.StringMap{ "environment": pulumi.String("example"), }, }) if err != nil { return err } _, err = securitycenter.NewAdvancedThreatProtection(ctx, "exampleAdvancedThreatProtection", &securitycenter.AdvancedThreatProtectionArgs{ TargetResourceId: exampleAccount.ID(), Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Advanced Threat Protection can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/advancedThreatProtection:AdvancedThreatProtection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleResourceGroup/providers/Microsoft.Storage/storageAccounts/exampleaccount/providers/Microsoft.Security/advancedThreatProtectionSettings/default
```
func GetAdvancedThreatProtection ¶
func GetAdvancedThreatProtection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AdvancedThreatProtectionState, opts ...pulumi.ResourceOption) (*AdvancedThreatProtection, error)
GetAdvancedThreatProtection gets an existing AdvancedThreatProtection 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 NewAdvancedThreatProtection ¶
func NewAdvancedThreatProtection(ctx *pulumi.Context, name string, args *AdvancedThreatProtectionArgs, opts ...pulumi.ResourceOption) (*AdvancedThreatProtection, error)
NewAdvancedThreatProtection registers a new resource with the given unique name, arguments, and options.
func (*AdvancedThreatProtection) ElementType ¶ added in v3.31.1
func (*AdvancedThreatProtection) ElementType() reflect.Type
func (*AdvancedThreatProtection) ToAdvancedThreatProtectionOutput ¶ added in v3.31.1
func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionOutput() AdvancedThreatProtectionOutput
func (*AdvancedThreatProtection) ToAdvancedThreatProtectionOutputWithContext ¶ added in v3.31.1
func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionOutputWithContext(ctx context.Context) AdvancedThreatProtectionOutput
func (*AdvancedThreatProtection) ToAdvancedThreatProtectionPtrOutput ¶ added in v3.47.1
func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput
func (*AdvancedThreatProtection) ToAdvancedThreatProtectionPtrOutputWithContext ¶ added in v3.47.1
func (i *AdvancedThreatProtection) ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput
type AdvancedThreatProtectionArgs ¶
type AdvancedThreatProtectionArgs struct { // Should Advanced Threat Protection be enabled on this resource? Enabled pulumi.BoolInput // The ID of the Azure Resource which to enable Advanced Threat Protection on. Changing this forces a new resource to be created. TargetResourceId pulumi.StringInput }
The set of arguments for constructing a AdvancedThreatProtection resource.
func (AdvancedThreatProtectionArgs) ElementType ¶
func (AdvancedThreatProtectionArgs) ElementType() reflect.Type
type AdvancedThreatProtectionArray ¶ added in v3.47.1
type AdvancedThreatProtectionArray []AdvancedThreatProtectionInput
func (AdvancedThreatProtectionArray) ElementType ¶ added in v3.47.1
func (AdvancedThreatProtectionArray) ElementType() reflect.Type
func (AdvancedThreatProtectionArray) ToAdvancedThreatProtectionArrayOutput ¶ added in v3.47.1
func (i AdvancedThreatProtectionArray) ToAdvancedThreatProtectionArrayOutput() AdvancedThreatProtectionArrayOutput
func (AdvancedThreatProtectionArray) ToAdvancedThreatProtectionArrayOutputWithContext ¶ added in v3.47.1
func (i AdvancedThreatProtectionArray) ToAdvancedThreatProtectionArrayOutputWithContext(ctx context.Context) AdvancedThreatProtectionArrayOutput
type AdvancedThreatProtectionArrayInput ¶ added in v3.47.1
type AdvancedThreatProtectionArrayInput interface { pulumi.Input ToAdvancedThreatProtectionArrayOutput() AdvancedThreatProtectionArrayOutput ToAdvancedThreatProtectionArrayOutputWithContext(context.Context) AdvancedThreatProtectionArrayOutput }
AdvancedThreatProtectionArrayInput is an input type that accepts AdvancedThreatProtectionArray and AdvancedThreatProtectionArrayOutput values. You can construct a concrete instance of `AdvancedThreatProtectionArrayInput` via:
AdvancedThreatProtectionArray{ AdvancedThreatProtectionArgs{...} }
type AdvancedThreatProtectionArrayOutput ¶ added in v3.47.1
type AdvancedThreatProtectionArrayOutput struct{ *pulumi.OutputState }
func (AdvancedThreatProtectionArrayOutput) ElementType ¶ added in v3.47.1
func (AdvancedThreatProtectionArrayOutput) ElementType() reflect.Type
func (AdvancedThreatProtectionArrayOutput) Index ¶ added in v3.47.1
func (o AdvancedThreatProtectionArrayOutput) Index(i pulumi.IntInput) AdvancedThreatProtectionOutput
func (AdvancedThreatProtectionArrayOutput) ToAdvancedThreatProtectionArrayOutput ¶ added in v3.47.1
func (o AdvancedThreatProtectionArrayOutput) ToAdvancedThreatProtectionArrayOutput() AdvancedThreatProtectionArrayOutput
func (AdvancedThreatProtectionArrayOutput) ToAdvancedThreatProtectionArrayOutputWithContext ¶ added in v3.47.1
func (o AdvancedThreatProtectionArrayOutput) ToAdvancedThreatProtectionArrayOutputWithContext(ctx context.Context) AdvancedThreatProtectionArrayOutput
type AdvancedThreatProtectionInput ¶ added in v3.31.1
type AdvancedThreatProtectionInput interface { pulumi.Input ToAdvancedThreatProtectionOutput() AdvancedThreatProtectionOutput ToAdvancedThreatProtectionOutputWithContext(ctx context.Context) AdvancedThreatProtectionOutput }
type AdvancedThreatProtectionMap ¶ added in v3.47.1
type AdvancedThreatProtectionMap map[string]AdvancedThreatProtectionInput
func (AdvancedThreatProtectionMap) ElementType ¶ added in v3.47.1
func (AdvancedThreatProtectionMap) ElementType() reflect.Type
func (AdvancedThreatProtectionMap) ToAdvancedThreatProtectionMapOutput ¶ added in v3.47.1
func (i AdvancedThreatProtectionMap) ToAdvancedThreatProtectionMapOutput() AdvancedThreatProtectionMapOutput
func (AdvancedThreatProtectionMap) ToAdvancedThreatProtectionMapOutputWithContext ¶ added in v3.47.1
func (i AdvancedThreatProtectionMap) ToAdvancedThreatProtectionMapOutputWithContext(ctx context.Context) AdvancedThreatProtectionMapOutput
type AdvancedThreatProtectionMapInput ¶ added in v3.47.1
type AdvancedThreatProtectionMapInput interface { pulumi.Input ToAdvancedThreatProtectionMapOutput() AdvancedThreatProtectionMapOutput ToAdvancedThreatProtectionMapOutputWithContext(context.Context) AdvancedThreatProtectionMapOutput }
AdvancedThreatProtectionMapInput is an input type that accepts AdvancedThreatProtectionMap and AdvancedThreatProtectionMapOutput values. You can construct a concrete instance of `AdvancedThreatProtectionMapInput` via:
AdvancedThreatProtectionMap{ "key": AdvancedThreatProtectionArgs{...} }
type AdvancedThreatProtectionMapOutput ¶ added in v3.47.1
type AdvancedThreatProtectionMapOutput struct{ *pulumi.OutputState }
func (AdvancedThreatProtectionMapOutput) ElementType ¶ added in v3.47.1
func (AdvancedThreatProtectionMapOutput) ElementType() reflect.Type
func (AdvancedThreatProtectionMapOutput) MapIndex ¶ added in v3.47.1
func (o AdvancedThreatProtectionMapOutput) MapIndex(k pulumi.StringInput) AdvancedThreatProtectionOutput
func (AdvancedThreatProtectionMapOutput) ToAdvancedThreatProtectionMapOutput ¶ added in v3.47.1
func (o AdvancedThreatProtectionMapOutput) ToAdvancedThreatProtectionMapOutput() AdvancedThreatProtectionMapOutput
func (AdvancedThreatProtectionMapOutput) ToAdvancedThreatProtectionMapOutputWithContext ¶ added in v3.47.1
func (o AdvancedThreatProtectionMapOutput) ToAdvancedThreatProtectionMapOutputWithContext(ctx context.Context) AdvancedThreatProtectionMapOutput
type AdvancedThreatProtectionOutput ¶ added in v3.31.1
type AdvancedThreatProtectionOutput struct {
*pulumi.OutputState
}
func (AdvancedThreatProtectionOutput) ElementType ¶ added in v3.31.1
func (AdvancedThreatProtectionOutput) ElementType() reflect.Type
func (AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionOutput ¶ added in v3.31.1
func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionOutput() AdvancedThreatProtectionOutput
func (AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionOutputWithContext ¶ added in v3.31.1
func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionOutputWithContext(ctx context.Context) AdvancedThreatProtectionOutput
func (AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionPtrOutput ¶ added in v3.47.1
func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput
func (AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionPtrOutputWithContext ¶ added in v3.47.1
func (o AdvancedThreatProtectionOutput) ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput
type AdvancedThreatProtectionPtrInput ¶ added in v3.47.1
type AdvancedThreatProtectionPtrInput interface { pulumi.Input ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput }
type AdvancedThreatProtectionPtrOutput ¶ added in v3.47.1
type AdvancedThreatProtectionPtrOutput struct {
*pulumi.OutputState
}
func (AdvancedThreatProtectionPtrOutput) ElementType ¶ added in v3.47.1
func (AdvancedThreatProtectionPtrOutput) ElementType() reflect.Type
func (AdvancedThreatProtectionPtrOutput) ToAdvancedThreatProtectionPtrOutput ¶ added in v3.47.1
func (o AdvancedThreatProtectionPtrOutput) ToAdvancedThreatProtectionPtrOutput() AdvancedThreatProtectionPtrOutput
func (AdvancedThreatProtectionPtrOutput) ToAdvancedThreatProtectionPtrOutputWithContext ¶ added in v3.47.1
func (o AdvancedThreatProtectionPtrOutput) ToAdvancedThreatProtectionPtrOutputWithContext(ctx context.Context) AdvancedThreatProtectionPtrOutput
type AdvancedThreatProtectionState ¶
type AdvancedThreatProtectionState struct { // Should Advanced Threat Protection be enabled on this resource? Enabled pulumi.BoolPtrInput // The ID of the Azure Resource which to enable Advanced Threat Protection on. Changing this forces a new resource to be created. TargetResourceId pulumi.StringPtrInput }
func (AdvancedThreatProtectionState) ElementType ¶
func (AdvancedThreatProtectionState) ElementType() reflect.Type
type Assessment ¶ added in v3.51.0
type Assessment struct { pulumi.CustomResourceState // A map of additional data to associate with the assessment. AdditionalData pulumi.StringMapOutput `pulumi:"additionalData"` // The ID of the security Assessment policy to apply to this resource. Changing this forces a new security Assessment to be created. AssessmentPolicyId pulumi.StringOutput `pulumi:"assessmentPolicyId"` // A `status` block as defined below. Status AssessmentStatusOutput `pulumi:"status"` // The ID of the target resource. Changing this forces a new security Assessment to be created. TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"` }
Manages the Security Center Assessment for Azure Security Center.
## Import
Security Assessment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/assessment:Assessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resGroup1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/00000000-0000-0000-0000-000000000000
```
func GetAssessment ¶ added in v3.51.0
func GetAssessment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssessmentState, opts ...pulumi.ResourceOption) (*Assessment, error)
GetAssessment gets an existing Assessment 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 NewAssessment ¶ added in v3.51.0
func NewAssessment(ctx *pulumi.Context, name string, args *AssessmentArgs, opts ...pulumi.ResourceOption) (*Assessment, error)
NewAssessment registers a new resource with the given unique name, arguments, and options.
func (*Assessment) ElementType ¶ added in v3.51.0
func (*Assessment) ElementType() reflect.Type
func (*Assessment) ToAssessmentOutput ¶ added in v3.51.0
func (i *Assessment) ToAssessmentOutput() AssessmentOutput
func (*Assessment) ToAssessmentOutputWithContext ¶ added in v3.51.0
func (i *Assessment) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput
func (*Assessment) ToAssessmentPtrOutput ¶ added in v3.51.0
func (i *Assessment) ToAssessmentPtrOutput() AssessmentPtrOutput
func (*Assessment) ToAssessmentPtrOutputWithContext ¶ added in v3.51.0
func (i *Assessment) ToAssessmentPtrOutputWithContext(ctx context.Context) AssessmentPtrOutput
type AssessmentArgs ¶ added in v3.51.0
type AssessmentArgs struct { // A map of additional data to associate with the assessment. AdditionalData pulumi.StringMapInput // The ID of the security Assessment policy to apply to this resource. Changing this forces a new security Assessment to be created. AssessmentPolicyId pulumi.StringInput // A `status` block as defined below. Status AssessmentStatusInput // The ID of the target resource. Changing this forces a new security Assessment to be created. TargetResourceId pulumi.StringInput }
The set of arguments for constructing a Assessment resource.
func (AssessmentArgs) ElementType ¶ added in v3.51.0
func (AssessmentArgs) ElementType() reflect.Type
type AssessmentArray ¶ added in v3.51.0
type AssessmentArray []AssessmentInput
func (AssessmentArray) ElementType ¶ added in v3.51.0
func (AssessmentArray) ElementType() reflect.Type
func (AssessmentArray) ToAssessmentArrayOutput ¶ added in v3.51.0
func (i AssessmentArray) ToAssessmentArrayOutput() AssessmentArrayOutput
func (AssessmentArray) ToAssessmentArrayOutputWithContext ¶ added in v3.51.0
func (i AssessmentArray) ToAssessmentArrayOutputWithContext(ctx context.Context) AssessmentArrayOutput
type AssessmentArrayInput ¶ added in v3.51.0
type AssessmentArrayInput interface { pulumi.Input ToAssessmentArrayOutput() AssessmentArrayOutput ToAssessmentArrayOutputWithContext(context.Context) AssessmentArrayOutput }
AssessmentArrayInput is an input type that accepts AssessmentArray and AssessmentArrayOutput values. You can construct a concrete instance of `AssessmentArrayInput` via:
AssessmentArray{ AssessmentArgs{...} }
type AssessmentArrayOutput ¶ added in v3.51.0
type AssessmentArrayOutput struct{ *pulumi.OutputState }
func (AssessmentArrayOutput) ElementType ¶ added in v3.51.0
func (AssessmentArrayOutput) ElementType() reflect.Type
func (AssessmentArrayOutput) Index ¶ added in v3.51.0
func (o AssessmentArrayOutput) Index(i pulumi.IntInput) AssessmentOutput
func (AssessmentArrayOutput) ToAssessmentArrayOutput ¶ added in v3.51.0
func (o AssessmentArrayOutput) ToAssessmentArrayOutput() AssessmentArrayOutput
func (AssessmentArrayOutput) ToAssessmentArrayOutputWithContext ¶ added in v3.51.0
func (o AssessmentArrayOutput) ToAssessmentArrayOutputWithContext(ctx context.Context) AssessmentArrayOutput
type AssessmentInput ¶ added in v3.51.0
type AssessmentInput interface { pulumi.Input ToAssessmentOutput() AssessmentOutput ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput }
type AssessmentMap ¶ added in v3.51.0
type AssessmentMap map[string]AssessmentInput
func (AssessmentMap) ElementType ¶ added in v3.51.0
func (AssessmentMap) ElementType() reflect.Type
func (AssessmentMap) ToAssessmentMapOutput ¶ added in v3.51.0
func (i AssessmentMap) ToAssessmentMapOutput() AssessmentMapOutput
func (AssessmentMap) ToAssessmentMapOutputWithContext ¶ added in v3.51.0
func (i AssessmentMap) ToAssessmentMapOutputWithContext(ctx context.Context) AssessmentMapOutput
type AssessmentMapInput ¶ added in v3.51.0
type AssessmentMapInput interface { pulumi.Input ToAssessmentMapOutput() AssessmentMapOutput ToAssessmentMapOutputWithContext(context.Context) AssessmentMapOutput }
AssessmentMapInput is an input type that accepts AssessmentMap and AssessmentMapOutput values. You can construct a concrete instance of `AssessmentMapInput` via:
AssessmentMap{ "key": AssessmentArgs{...} }
type AssessmentMapOutput ¶ added in v3.51.0
type AssessmentMapOutput struct{ *pulumi.OutputState }
func (AssessmentMapOutput) ElementType ¶ added in v3.51.0
func (AssessmentMapOutput) ElementType() reflect.Type
func (AssessmentMapOutput) MapIndex ¶ added in v3.51.0
func (o AssessmentMapOutput) MapIndex(k pulumi.StringInput) AssessmentOutput
func (AssessmentMapOutput) ToAssessmentMapOutput ¶ added in v3.51.0
func (o AssessmentMapOutput) ToAssessmentMapOutput() AssessmentMapOutput
func (AssessmentMapOutput) ToAssessmentMapOutputWithContext ¶ added in v3.51.0
func (o AssessmentMapOutput) ToAssessmentMapOutputWithContext(ctx context.Context) AssessmentMapOutput
type AssessmentMetadata ¶ added in v3.49.0
type AssessmentMetadata struct { pulumi.CustomResourceState // The description of the Security Center Assessment. Description pulumi.StringOutput `pulumi:"description"` // The user-friendly display name of the Security Center Assessment. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The implementation effort which is used to remediate the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. ImplementationEffort pulumi.StringPtrOutput `pulumi:"implementationEffort"` // The GUID as the name of the Security Center Assessment Metadata. Name pulumi.StringOutput `pulumi:"name"` // The description which is used to mitigate the security issue. RemediationDescription pulumi.StringPtrOutput `pulumi:"remediationDescription"` // The severity level of the Security Center Assessment. Possible values are `Low`, `Medium` and `High`. Defaults to `Medium`. Severity pulumi.StringPtrOutput `pulumi:"severity"` // A list of the threat impacts for the Security Center Assessment. Possible values are `AccountBreach`, `DataExfiltration`, `DataSpillage`, `DenialOfService`, `ElevationOfPrivilege`, `MaliciousInsider`, `MissingCoverage` and `ThreatResistance`. Threats pulumi.StringArrayOutput `pulumi:"threats"` // The user impact of the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. UserImpact pulumi.StringPtrOutput `pulumi:"userImpact"` }
Manages the Security Center Assessment Metadata for Azure Security Center.
> **NOTE:** This resource has been deprecated in favour of the `securitycenter.AssessmentPolicy` resource and will be removed in the next major version of the AzureRM Provider. The new resource shares the same fields as this one, and information on migrating across can be found in this guide.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewAssessmentMetadata(ctx, "example", &securitycenter.AssessmentMetadataArgs{ Description: pulumi.String("Test Description"), DisplayName: pulumi.String("Test Display Name"), Severity: pulumi.String("Medium"), }) if err != nil { return err } return nil }) }
```
## Import
Security Assessments Metadata can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/assessmentMetadata:AssessmentMetadata example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/assessmentMetadata/metadata1
```
func GetAssessmentMetadata ¶ added in v3.49.0
func GetAssessmentMetadata(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssessmentMetadataState, opts ...pulumi.ResourceOption) (*AssessmentMetadata, error)
GetAssessmentMetadata gets an existing AssessmentMetadata 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 NewAssessmentMetadata ¶ added in v3.49.0
func NewAssessmentMetadata(ctx *pulumi.Context, name string, args *AssessmentMetadataArgs, opts ...pulumi.ResourceOption) (*AssessmentMetadata, error)
NewAssessmentMetadata registers a new resource with the given unique name, arguments, and options.
func (*AssessmentMetadata) ElementType ¶ added in v3.49.0
func (*AssessmentMetadata) ElementType() reflect.Type
func (*AssessmentMetadata) ToAssessmentMetadataOutput ¶ added in v3.49.0
func (i *AssessmentMetadata) ToAssessmentMetadataOutput() AssessmentMetadataOutput
func (*AssessmentMetadata) ToAssessmentMetadataOutputWithContext ¶ added in v3.49.0
func (i *AssessmentMetadata) ToAssessmentMetadataOutputWithContext(ctx context.Context) AssessmentMetadataOutput
func (*AssessmentMetadata) ToAssessmentMetadataPtrOutput ¶ added in v3.49.0
func (i *AssessmentMetadata) ToAssessmentMetadataPtrOutput() AssessmentMetadataPtrOutput
func (*AssessmentMetadata) ToAssessmentMetadataPtrOutputWithContext ¶ added in v3.49.0
func (i *AssessmentMetadata) ToAssessmentMetadataPtrOutputWithContext(ctx context.Context) AssessmentMetadataPtrOutput
type AssessmentMetadataArgs ¶ added in v3.49.0
type AssessmentMetadataArgs struct { // The description of the Security Center Assessment. Description pulumi.StringInput // The user-friendly display name of the Security Center Assessment. DisplayName pulumi.StringInput // The implementation effort which is used to remediate the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. ImplementationEffort pulumi.StringPtrInput // The description which is used to mitigate the security issue. RemediationDescription pulumi.StringPtrInput // The severity level of the Security Center Assessment. Possible values are `Low`, `Medium` and `High`. Defaults to `Medium`. Severity pulumi.StringPtrInput // A list of the threat impacts for the Security Center Assessment. Possible values are `AccountBreach`, `DataExfiltration`, `DataSpillage`, `DenialOfService`, `ElevationOfPrivilege`, `MaliciousInsider`, `MissingCoverage` and `ThreatResistance`. Threats pulumi.StringArrayInput // The user impact of the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. UserImpact pulumi.StringPtrInput }
The set of arguments for constructing a AssessmentMetadata resource.
func (AssessmentMetadataArgs) ElementType ¶ added in v3.49.0
func (AssessmentMetadataArgs) ElementType() reflect.Type
type AssessmentMetadataArray ¶ added in v3.49.0
type AssessmentMetadataArray []AssessmentMetadataInput
func (AssessmentMetadataArray) ElementType ¶ added in v3.49.0
func (AssessmentMetadataArray) ElementType() reflect.Type
func (AssessmentMetadataArray) ToAssessmentMetadataArrayOutput ¶ added in v3.49.0
func (i AssessmentMetadataArray) ToAssessmentMetadataArrayOutput() AssessmentMetadataArrayOutput
func (AssessmentMetadataArray) ToAssessmentMetadataArrayOutputWithContext ¶ added in v3.49.0
func (i AssessmentMetadataArray) ToAssessmentMetadataArrayOutputWithContext(ctx context.Context) AssessmentMetadataArrayOutput
type AssessmentMetadataArrayInput ¶ added in v3.49.0
type AssessmentMetadataArrayInput interface { pulumi.Input ToAssessmentMetadataArrayOutput() AssessmentMetadataArrayOutput ToAssessmentMetadataArrayOutputWithContext(context.Context) AssessmentMetadataArrayOutput }
AssessmentMetadataArrayInput is an input type that accepts AssessmentMetadataArray and AssessmentMetadataArrayOutput values. You can construct a concrete instance of `AssessmentMetadataArrayInput` via:
AssessmentMetadataArray{ AssessmentMetadataArgs{...} }
type AssessmentMetadataArrayOutput ¶ added in v3.49.0
type AssessmentMetadataArrayOutput struct{ *pulumi.OutputState }
func (AssessmentMetadataArrayOutput) ElementType ¶ added in v3.49.0
func (AssessmentMetadataArrayOutput) ElementType() reflect.Type
func (AssessmentMetadataArrayOutput) Index ¶ added in v3.49.0
func (o AssessmentMetadataArrayOutput) Index(i pulumi.IntInput) AssessmentMetadataOutput
func (AssessmentMetadataArrayOutput) ToAssessmentMetadataArrayOutput ¶ added in v3.49.0
func (o AssessmentMetadataArrayOutput) ToAssessmentMetadataArrayOutput() AssessmentMetadataArrayOutput
func (AssessmentMetadataArrayOutput) ToAssessmentMetadataArrayOutputWithContext ¶ added in v3.49.0
func (o AssessmentMetadataArrayOutput) ToAssessmentMetadataArrayOutputWithContext(ctx context.Context) AssessmentMetadataArrayOutput
type AssessmentMetadataInput ¶ added in v3.49.0
type AssessmentMetadataInput interface { pulumi.Input ToAssessmentMetadataOutput() AssessmentMetadataOutput ToAssessmentMetadataOutputWithContext(ctx context.Context) AssessmentMetadataOutput }
type AssessmentMetadataMap ¶ added in v3.49.0
type AssessmentMetadataMap map[string]AssessmentMetadataInput
func (AssessmentMetadataMap) ElementType ¶ added in v3.49.0
func (AssessmentMetadataMap) ElementType() reflect.Type
func (AssessmentMetadataMap) ToAssessmentMetadataMapOutput ¶ added in v3.49.0
func (i AssessmentMetadataMap) ToAssessmentMetadataMapOutput() AssessmentMetadataMapOutput
func (AssessmentMetadataMap) ToAssessmentMetadataMapOutputWithContext ¶ added in v3.49.0
func (i AssessmentMetadataMap) ToAssessmentMetadataMapOutputWithContext(ctx context.Context) AssessmentMetadataMapOutput
type AssessmentMetadataMapInput ¶ added in v3.49.0
type AssessmentMetadataMapInput interface { pulumi.Input ToAssessmentMetadataMapOutput() AssessmentMetadataMapOutput ToAssessmentMetadataMapOutputWithContext(context.Context) AssessmentMetadataMapOutput }
AssessmentMetadataMapInput is an input type that accepts AssessmentMetadataMap and AssessmentMetadataMapOutput values. You can construct a concrete instance of `AssessmentMetadataMapInput` via:
AssessmentMetadataMap{ "key": AssessmentMetadataArgs{...} }
type AssessmentMetadataMapOutput ¶ added in v3.49.0
type AssessmentMetadataMapOutput struct{ *pulumi.OutputState }
func (AssessmentMetadataMapOutput) ElementType ¶ added in v3.49.0
func (AssessmentMetadataMapOutput) ElementType() reflect.Type
func (AssessmentMetadataMapOutput) MapIndex ¶ added in v3.49.0
func (o AssessmentMetadataMapOutput) MapIndex(k pulumi.StringInput) AssessmentMetadataOutput
func (AssessmentMetadataMapOutput) ToAssessmentMetadataMapOutput ¶ added in v3.49.0
func (o AssessmentMetadataMapOutput) ToAssessmentMetadataMapOutput() AssessmentMetadataMapOutput
func (AssessmentMetadataMapOutput) ToAssessmentMetadataMapOutputWithContext ¶ added in v3.49.0
func (o AssessmentMetadataMapOutput) ToAssessmentMetadataMapOutputWithContext(ctx context.Context) AssessmentMetadataMapOutput
type AssessmentMetadataOutput ¶ added in v3.49.0
type AssessmentMetadataOutput struct {
*pulumi.OutputState
}
func (AssessmentMetadataOutput) ElementType ¶ added in v3.49.0
func (AssessmentMetadataOutput) ElementType() reflect.Type
func (AssessmentMetadataOutput) ToAssessmentMetadataOutput ¶ added in v3.49.0
func (o AssessmentMetadataOutput) ToAssessmentMetadataOutput() AssessmentMetadataOutput
func (AssessmentMetadataOutput) ToAssessmentMetadataOutputWithContext ¶ added in v3.49.0
func (o AssessmentMetadataOutput) ToAssessmentMetadataOutputWithContext(ctx context.Context) AssessmentMetadataOutput
func (AssessmentMetadataOutput) ToAssessmentMetadataPtrOutput ¶ added in v3.49.0
func (o AssessmentMetadataOutput) ToAssessmentMetadataPtrOutput() AssessmentMetadataPtrOutput
func (AssessmentMetadataOutput) ToAssessmentMetadataPtrOutputWithContext ¶ added in v3.49.0
func (o AssessmentMetadataOutput) ToAssessmentMetadataPtrOutputWithContext(ctx context.Context) AssessmentMetadataPtrOutput
type AssessmentMetadataPtrInput ¶ added in v3.49.0
type AssessmentMetadataPtrInput interface { pulumi.Input ToAssessmentMetadataPtrOutput() AssessmentMetadataPtrOutput ToAssessmentMetadataPtrOutputWithContext(ctx context.Context) AssessmentMetadataPtrOutput }
type AssessmentMetadataPtrOutput ¶ added in v3.49.0
type AssessmentMetadataPtrOutput struct {
*pulumi.OutputState
}
func (AssessmentMetadataPtrOutput) ElementType ¶ added in v3.49.0
func (AssessmentMetadataPtrOutput) ElementType() reflect.Type
func (AssessmentMetadataPtrOutput) ToAssessmentMetadataPtrOutput ¶ added in v3.49.0
func (o AssessmentMetadataPtrOutput) ToAssessmentMetadataPtrOutput() AssessmentMetadataPtrOutput
func (AssessmentMetadataPtrOutput) ToAssessmentMetadataPtrOutputWithContext ¶ added in v3.49.0
func (o AssessmentMetadataPtrOutput) ToAssessmentMetadataPtrOutputWithContext(ctx context.Context) AssessmentMetadataPtrOutput
type AssessmentMetadataState ¶ added in v3.49.0
type AssessmentMetadataState struct { // The description of the Security Center Assessment. Description pulumi.StringPtrInput // The user-friendly display name of the Security Center Assessment. DisplayName pulumi.StringPtrInput // The implementation effort which is used to remediate the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. ImplementationEffort pulumi.StringPtrInput // The GUID as the name of the Security Center Assessment Metadata. Name pulumi.StringPtrInput // The description which is used to mitigate the security issue. RemediationDescription pulumi.StringPtrInput // The severity level of the Security Center Assessment. Possible values are `Low`, `Medium` and `High`. Defaults to `Medium`. Severity pulumi.StringPtrInput // A list of the threat impacts for the Security Center Assessment. Possible values are `AccountBreach`, `DataExfiltration`, `DataSpillage`, `DenialOfService`, `ElevationOfPrivilege`, `MaliciousInsider`, `MissingCoverage` and `ThreatResistance`. Threats pulumi.StringArrayInput // The user impact of the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. UserImpact pulumi.StringPtrInput }
func (AssessmentMetadataState) ElementType ¶ added in v3.49.0
func (AssessmentMetadataState) ElementType() reflect.Type
type AssessmentOutput ¶ added in v3.51.0
type AssessmentOutput struct {
*pulumi.OutputState
}
func (AssessmentOutput) ElementType ¶ added in v3.51.0
func (AssessmentOutput) ElementType() reflect.Type
func (AssessmentOutput) ToAssessmentOutput ¶ added in v3.51.0
func (o AssessmentOutput) ToAssessmentOutput() AssessmentOutput
func (AssessmentOutput) ToAssessmentOutputWithContext ¶ added in v3.51.0
func (o AssessmentOutput) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput
func (AssessmentOutput) ToAssessmentPtrOutput ¶ added in v3.51.0
func (o AssessmentOutput) ToAssessmentPtrOutput() AssessmentPtrOutput
func (AssessmentOutput) ToAssessmentPtrOutputWithContext ¶ added in v3.51.0
func (o AssessmentOutput) ToAssessmentPtrOutputWithContext(ctx context.Context) AssessmentPtrOutput
type AssessmentPolicy ¶ added in v3.51.0
type AssessmentPolicy struct { pulumi.CustomResourceState // The description of the Security Center Assessment. Description pulumi.StringOutput `pulumi:"description"` // The user-friendly display name of the Security Center Assessment. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The implementation effort which is used to remediate the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. ImplementationEffort pulumi.StringPtrOutput `pulumi:"implementationEffort"` // The GUID as the name of the Security Center Assessment Policy. Name pulumi.StringOutput `pulumi:"name"` // The description which is used to mitigate the security issue. RemediationDescription pulumi.StringPtrOutput `pulumi:"remediationDescription"` // The severity level of the Security Center Assessment. Possible values are `Low`, `Medium` and `High`. Defaults to `Medium`. Severity pulumi.StringPtrOutput `pulumi:"severity"` // A list of the threat impacts for the Security Center Assessment. Possible values are `AccountBreach`, `DataExfiltration`, `DataSpillage`, `DenialOfService`, `ElevationOfPrivilege`, `MaliciousInsider`, `MissingCoverage` and `ThreatResistance`. Threats pulumi.StringArrayOutput `pulumi:"threats"` // The user impact of the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. UserImpact pulumi.StringPtrOutput `pulumi:"userImpact"` }
Manages the Security Center Assessment Metadata for Azure Security Center.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewAssessmentPolicy(ctx, "example", &securitycenter.AssessmentPolicyArgs{ Description: pulumi.String("Test Description"), DisplayName: pulumi.String("Test Display Name"), Severity: pulumi.String("Medium"), }) if err != nil { return err } return nil }) }
```
## Import
Security Assessments Policy can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/assessmentPolicy:AssessmentPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/assessmentMetadata/metadata1
```
func GetAssessmentPolicy ¶ added in v3.51.0
func GetAssessmentPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssessmentPolicyState, opts ...pulumi.ResourceOption) (*AssessmentPolicy, error)
GetAssessmentPolicy gets an existing AssessmentPolicy 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 NewAssessmentPolicy ¶ added in v3.51.0
func NewAssessmentPolicy(ctx *pulumi.Context, name string, args *AssessmentPolicyArgs, opts ...pulumi.ResourceOption) (*AssessmentPolicy, error)
NewAssessmentPolicy registers a new resource with the given unique name, arguments, and options.
func (*AssessmentPolicy) ElementType ¶ added in v3.51.0
func (*AssessmentPolicy) ElementType() reflect.Type
func (*AssessmentPolicy) ToAssessmentPolicyOutput ¶ added in v3.51.0
func (i *AssessmentPolicy) ToAssessmentPolicyOutput() AssessmentPolicyOutput
func (*AssessmentPolicy) ToAssessmentPolicyOutputWithContext ¶ added in v3.51.0
func (i *AssessmentPolicy) ToAssessmentPolicyOutputWithContext(ctx context.Context) AssessmentPolicyOutput
func (*AssessmentPolicy) ToAssessmentPolicyPtrOutput ¶ added in v3.51.0
func (i *AssessmentPolicy) ToAssessmentPolicyPtrOutput() AssessmentPolicyPtrOutput
func (*AssessmentPolicy) ToAssessmentPolicyPtrOutputWithContext ¶ added in v3.51.0
func (i *AssessmentPolicy) ToAssessmentPolicyPtrOutputWithContext(ctx context.Context) AssessmentPolicyPtrOutput
type AssessmentPolicyArgs ¶ added in v3.51.0
type AssessmentPolicyArgs struct { // The description of the Security Center Assessment. Description pulumi.StringInput // The user-friendly display name of the Security Center Assessment. DisplayName pulumi.StringInput // The implementation effort which is used to remediate the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. ImplementationEffort pulumi.StringPtrInput // The description which is used to mitigate the security issue. RemediationDescription pulumi.StringPtrInput // The severity level of the Security Center Assessment. Possible values are `Low`, `Medium` and `High`. Defaults to `Medium`. Severity pulumi.StringPtrInput // A list of the threat impacts for the Security Center Assessment. Possible values are `AccountBreach`, `DataExfiltration`, `DataSpillage`, `DenialOfService`, `ElevationOfPrivilege`, `MaliciousInsider`, `MissingCoverage` and `ThreatResistance`. Threats pulumi.StringArrayInput // The user impact of the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. UserImpact pulumi.StringPtrInput }
The set of arguments for constructing a AssessmentPolicy resource.
func (AssessmentPolicyArgs) ElementType ¶ added in v3.51.0
func (AssessmentPolicyArgs) ElementType() reflect.Type
type AssessmentPolicyArray ¶ added in v3.51.0
type AssessmentPolicyArray []AssessmentPolicyInput
func (AssessmentPolicyArray) ElementType ¶ added in v3.51.0
func (AssessmentPolicyArray) ElementType() reflect.Type
func (AssessmentPolicyArray) ToAssessmentPolicyArrayOutput ¶ added in v3.51.0
func (i AssessmentPolicyArray) ToAssessmentPolicyArrayOutput() AssessmentPolicyArrayOutput
func (AssessmentPolicyArray) ToAssessmentPolicyArrayOutputWithContext ¶ added in v3.51.0
func (i AssessmentPolicyArray) ToAssessmentPolicyArrayOutputWithContext(ctx context.Context) AssessmentPolicyArrayOutput
type AssessmentPolicyArrayInput ¶ added in v3.51.0
type AssessmentPolicyArrayInput interface { pulumi.Input ToAssessmentPolicyArrayOutput() AssessmentPolicyArrayOutput ToAssessmentPolicyArrayOutputWithContext(context.Context) AssessmentPolicyArrayOutput }
AssessmentPolicyArrayInput is an input type that accepts AssessmentPolicyArray and AssessmentPolicyArrayOutput values. You can construct a concrete instance of `AssessmentPolicyArrayInput` via:
AssessmentPolicyArray{ AssessmentPolicyArgs{...} }
type AssessmentPolicyArrayOutput ¶ added in v3.51.0
type AssessmentPolicyArrayOutput struct{ *pulumi.OutputState }
func (AssessmentPolicyArrayOutput) ElementType ¶ added in v3.51.0
func (AssessmentPolicyArrayOutput) ElementType() reflect.Type
func (AssessmentPolicyArrayOutput) Index ¶ added in v3.51.0
func (o AssessmentPolicyArrayOutput) Index(i pulumi.IntInput) AssessmentPolicyOutput
func (AssessmentPolicyArrayOutput) ToAssessmentPolicyArrayOutput ¶ added in v3.51.0
func (o AssessmentPolicyArrayOutput) ToAssessmentPolicyArrayOutput() AssessmentPolicyArrayOutput
func (AssessmentPolicyArrayOutput) ToAssessmentPolicyArrayOutputWithContext ¶ added in v3.51.0
func (o AssessmentPolicyArrayOutput) ToAssessmentPolicyArrayOutputWithContext(ctx context.Context) AssessmentPolicyArrayOutput
type AssessmentPolicyInput ¶ added in v3.51.0
type AssessmentPolicyInput interface { pulumi.Input ToAssessmentPolicyOutput() AssessmentPolicyOutput ToAssessmentPolicyOutputWithContext(ctx context.Context) AssessmentPolicyOutput }
type AssessmentPolicyMap ¶ added in v3.51.0
type AssessmentPolicyMap map[string]AssessmentPolicyInput
func (AssessmentPolicyMap) ElementType ¶ added in v3.51.0
func (AssessmentPolicyMap) ElementType() reflect.Type
func (AssessmentPolicyMap) ToAssessmentPolicyMapOutput ¶ added in v3.51.0
func (i AssessmentPolicyMap) ToAssessmentPolicyMapOutput() AssessmentPolicyMapOutput
func (AssessmentPolicyMap) ToAssessmentPolicyMapOutputWithContext ¶ added in v3.51.0
func (i AssessmentPolicyMap) ToAssessmentPolicyMapOutputWithContext(ctx context.Context) AssessmentPolicyMapOutput
type AssessmentPolicyMapInput ¶ added in v3.51.0
type AssessmentPolicyMapInput interface { pulumi.Input ToAssessmentPolicyMapOutput() AssessmentPolicyMapOutput ToAssessmentPolicyMapOutputWithContext(context.Context) AssessmentPolicyMapOutput }
AssessmentPolicyMapInput is an input type that accepts AssessmentPolicyMap and AssessmentPolicyMapOutput values. You can construct a concrete instance of `AssessmentPolicyMapInput` via:
AssessmentPolicyMap{ "key": AssessmentPolicyArgs{...} }
type AssessmentPolicyMapOutput ¶ added in v3.51.0
type AssessmentPolicyMapOutput struct{ *pulumi.OutputState }
func (AssessmentPolicyMapOutput) ElementType ¶ added in v3.51.0
func (AssessmentPolicyMapOutput) ElementType() reflect.Type
func (AssessmentPolicyMapOutput) MapIndex ¶ added in v3.51.0
func (o AssessmentPolicyMapOutput) MapIndex(k pulumi.StringInput) AssessmentPolicyOutput
func (AssessmentPolicyMapOutput) ToAssessmentPolicyMapOutput ¶ added in v3.51.0
func (o AssessmentPolicyMapOutput) ToAssessmentPolicyMapOutput() AssessmentPolicyMapOutput
func (AssessmentPolicyMapOutput) ToAssessmentPolicyMapOutputWithContext ¶ added in v3.51.0
func (o AssessmentPolicyMapOutput) ToAssessmentPolicyMapOutputWithContext(ctx context.Context) AssessmentPolicyMapOutput
type AssessmentPolicyOutput ¶ added in v3.51.0
type AssessmentPolicyOutput struct {
*pulumi.OutputState
}
func (AssessmentPolicyOutput) ElementType ¶ added in v3.51.0
func (AssessmentPolicyOutput) ElementType() reflect.Type
func (AssessmentPolicyOutput) ToAssessmentPolicyOutput ¶ added in v3.51.0
func (o AssessmentPolicyOutput) ToAssessmentPolicyOutput() AssessmentPolicyOutput
func (AssessmentPolicyOutput) ToAssessmentPolicyOutputWithContext ¶ added in v3.51.0
func (o AssessmentPolicyOutput) ToAssessmentPolicyOutputWithContext(ctx context.Context) AssessmentPolicyOutput
func (AssessmentPolicyOutput) ToAssessmentPolicyPtrOutput ¶ added in v3.51.0
func (o AssessmentPolicyOutput) ToAssessmentPolicyPtrOutput() AssessmentPolicyPtrOutput
func (AssessmentPolicyOutput) ToAssessmentPolicyPtrOutputWithContext ¶ added in v3.51.0
func (o AssessmentPolicyOutput) ToAssessmentPolicyPtrOutputWithContext(ctx context.Context) AssessmentPolicyPtrOutput
type AssessmentPolicyPtrInput ¶ added in v3.51.0
type AssessmentPolicyPtrInput interface { pulumi.Input ToAssessmentPolicyPtrOutput() AssessmentPolicyPtrOutput ToAssessmentPolicyPtrOutputWithContext(ctx context.Context) AssessmentPolicyPtrOutput }
type AssessmentPolicyPtrOutput ¶ added in v3.51.0
type AssessmentPolicyPtrOutput struct {
*pulumi.OutputState
}
func (AssessmentPolicyPtrOutput) ElementType ¶ added in v3.51.0
func (AssessmentPolicyPtrOutput) ElementType() reflect.Type
func (AssessmentPolicyPtrOutput) ToAssessmentPolicyPtrOutput ¶ added in v3.51.0
func (o AssessmentPolicyPtrOutput) ToAssessmentPolicyPtrOutput() AssessmentPolicyPtrOutput
func (AssessmentPolicyPtrOutput) ToAssessmentPolicyPtrOutputWithContext ¶ added in v3.51.0
func (o AssessmentPolicyPtrOutput) ToAssessmentPolicyPtrOutputWithContext(ctx context.Context) AssessmentPolicyPtrOutput
type AssessmentPolicyState ¶ added in v3.51.0
type AssessmentPolicyState struct { // The description of the Security Center Assessment. Description pulumi.StringPtrInput // The user-friendly display name of the Security Center Assessment. DisplayName pulumi.StringPtrInput // The implementation effort which is used to remediate the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. ImplementationEffort pulumi.StringPtrInput // The GUID as the name of the Security Center Assessment Policy. Name pulumi.StringPtrInput // The description which is used to mitigate the security issue. RemediationDescription pulumi.StringPtrInput // The severity level of the Security Center Assessment. Possible values are `Low`, `Medium` and `High`. Defaults to `Medium`. Severity pulumi.StringPtrInput // A list of the threat impacts for the Security Center Assessment. Possible values are `AccountBreach`, `DataExfiltration`, `DataSpillage`, `DenialOfService`, `ElevationOfPrivilege`, `MaliciousInsider`, `MissingCoverage` and `ThreatResistance`. Threats pulumi.StringArrayInput // The user impact of the Security Center Assessment. Possible values are `Low`, `Moderate` and `High`. UserImpact pulumi.StringPtrInput }
func (AssessmentPolicyState) ElementType ¶ added in v3.51.0
func (AssessmentPolicyState) ElementType() reflect.Type
type AssessmentPtrInput ¶ added in v3.51.0
type AssessmentPtrInput interface { pulumi.Input ToAssessmentPtrOutput() AssessmentPtrOutput ToAssessmentPtrOutputWithContext(ctx context.Context) AssessmentPtrOutput }
type AssessmentPtrOutput ¶ added in v3.51.0
type AssessmentPtrOutput struct {
*pulumi.OutputState
}
func (AssessmentPtrOutput) ElementType ¶ added in v3.51.0
func (AssessmentPtrOutput) ElementType() reflect.Type
func (AssessmentPtrOutput) ToAssessmentPtrOutput ¶ added in v3.51.0
func (o AssessmentPtrOutput) ToAssessmentPtrOutput() AssessmentPtrOutput
func (AssessmentPtrOutput) ToAssessmentPtrOutputWithContext ¶ added in v3.51.0
func (o AssessmentPtrOutput) ToAssessmentPtrOutputWithContext(ctx context.Context) AssessmentPtrOutput
type AssessmentState ¶ added in v3.51.0
type AssessmentState struct { // A map of additional data to associate with the assessment. AdditionalData pulumi.StringMapInput // The ID of the security Assessment policy to apply to this resource. Changing this forces a new security Assessment to be created. AssessmentPolicyId pulumi.StringPtrInput // A `status` block as defined below. Status AssessmentStatusPtrInput // The ID of the target resource. Changing this forces a new security Assessment to be created. TargetResourceId pulumi.StringPtrInput }
func (AssessmentState) ElementType ¶ added in v3.51.0
func (AssessmentState) ElementType() reflect.Type
type AssessmentStatus ¶ added in v3.51.0
type AssessmentStatus struct { // Specifies the cause of the assessment status. Cause *string `pulumi:"cause"` // Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`. Code string `pulumi:"code"` // Specifies the human readable description of the assessment status. Description *string `pulumi:"description"` }
type AssessmentStatusArgs ¶ added in v3.51.0
type AssessmentStatusArgs struct { // Specifies the cause of the assessment status. Cause pulumi.StringPtrInput `pulumi:"cause"` // Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`. Code pulumi.StringInput `pulumi:"code"` // Specifies the human readable description of the assessment status. Description pulumi.StringPtrInput `pulumi:"description"` }
func (AssessmentStatusArgs) ElementType ¶ added in v3.51.0
func (AssessmentStatusArgs) ElementType() reflect.Type
func (AssessmentStatusArgs) ToAssessmentStatusOutput ¶ added in v3.51.0
func (i AssessmentStatusArgs) ToAssessmentStatusOutput() AssessmentStatusOutput
func (AssessmentStatusArgs) ToAssessmentStatusOutputWithContext ¶ added in v3.51.0
func (i AssessmentStatusArgs) ToAssessmentStatusOutputWithContext(ctx context.Context) AssessmentStatusOutput
func (AssessmentStatusArgs) ToAssessmentStatusPtrOutput ¶ added in v3.51.0
func (i AssessmentStatusArgs) ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput
func (AssessmentStatusArgs) ToAssessmentStatusPtrOutputWithContext ¶ added in v3.51.0
func (i AssessmentStatusArgs) ToAssessmentStatusPtrOutputWithContext(ctx context.Context) AssessmentStatusPtrOutput
type AssessmentStatusInput ¶ added in v3.51.0
type AssessmentStatusInput interface { pulumi.Input ToAssessmentStatusOutput() AssessmentStatusOutput ToAssessmentStatusOutputWithContext(context.Context) AssessmentStatusOutput }
AssessmentStatusInput is an input type that accepts AssessmentStatusArgs and AssessmentStatusOutput values. You can construct a concrete instance of `AssessmentStatusInput` via:
AssessmentStatusArgs{...}
type AssessmentStatusOutput ¶ added in v3.51.0
type AssessmentStatusOutput struct{ *pulumi.OutputState }
func (AssessmentStatusOutput) Cause ¶ added in v3.51.0
func (o AssessmentStatusOutput) Cause() pulumi.StringPtrOutput
Specifies the cause of the assessment status.
func (AssessmentStatusOutput) Code ¶ added in v3.51.0
func (o AssessmentStatusOutput) Code() pulumi.StringOutput
Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`.
func (AssessmentStatusOutput) Description ¶ added in v3.51.0
func (o AssessmentStatusOutput) Description() pulumi.StringPtrOutput
Specifies the human readable description of the assessment status.
func (AssessmentStatusOutput) ElementType ¶ added in v3.51.0
func (AssessmentStatusOutput) ElementType() reflect.Type
func (AssessmentStatusOutput) ToAssessmentStatusOutput ¶ added in v3.51.0
func (o AssessmentStatusOutput) ToAssessmentStatusOutput() AssessmentStatusOutput
func (AssessmentStatusOutput) ToAssessmentStatusOutputWithContext ¶ added in v3.51.0
func (o AssessmentStatusOutput) ToAssessmentStatusOutputWithContext(ctx context.Context) AssessmentStatusOutput
func (AssessmentStatusOutput) ToAssessmentStatusPtrOutput ¶ added in v3.51.0
func (o AssessmentStatusOutput) ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput
func (AssessmentStatusOutput) ToAssessmentStatusPtrOutputWithContext ¶ added in v3.51.0
func (o AssessmentStatusOutput) ToAssessmentStatusPtrOutputWithContext(ctx context.Context) AssessmentStatusPtrOutput
type AssessmentStatusPtrInput ¶ added in v3.51.0
type AssessmentStatusPtrInput interface { pulumi.Input ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput ToAssessmentStatusPtrOutputWithContext(context.Context) AssessmentStatusPtrOutput }
AssessmentStatusPtrInput is an input type that accepts AssessmentStatusArgs, AssessmentStatusPtr and AssessmentStatusPtrOutput values. You can construct a concrete instance of `AssessmentStatusPtrInput` via:
AssessmentStatusArgs{...} or: nil
func AssessmentStatusPtr ¶ added in v3.51.0
func AssessmentStatusPtr(v *AssessmentStatusArgs) AssessmentStatusPtrInput
type AssessmentStatusPtrOutput ¶ added in v3.51.0
type AssessmentStatusPtrOutput struct{ *pulumi.OutputState }
func (AssessmentStatusPtrOutput) Cause ¶ added in v3.51.0
func (o AssessmentStatusPtrOutput) Cause() pulumi.StringPtrOutput
Specifies the cause of the assessment status.
func (AssessmentStatusPtrOutput) Code ¶ added in v3.51.0
func (o AssessmentStatusPtrOutput) Code() pulumi.StringPtrOutput
Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`.
func (AssessmentStatusPtrOutput) Description ¶ added in v3.51.0
func (o AssessmentStatusPtrOutput) Description() pulumi.StringPtrOutput
Specifies the human readable description of the assessment status.
func (AssessmentStatusPtrOutput) Elem ¶ added in v3.51.0
func (o AssessmentStatusPtrOutput) Elem() AssessmentStatusOutput
func (AssessmentStatusPtrOutput) ElementType ¶ added in v3.51.0
func (AssessmentStatusPtrOutput) ElementType() reflect.Type
func (AssessmentStatusPtrOutput) ToAssessmentStatusPtrOutput ¶ added in v3.51.0
func (o AssessmentStatusPtrOutput) ToAssessmentStatusPtrOutput() AssessmentStatusPtrOutput
func (AssessmentStatusPtrOutput) ToAssessmentStatusPtrOutputWithContext ¶ added in v3.51.0
func (o AssessmentStatusPtrOutput) ToAssessmentStatusPtrOutputWithContext(ctx context.Context) AssessmentStatusPtrOutput
type AutoProvisioning ¶ added in v3.29.0
type AutoProvisioning struct { pulumi.CustomResourceState // Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically). AutoProvision pulumi.StringOutput `pulumi:"autoProvision"` }
Enables or disables the Security Center Auto Provisioning feature for the subscription
> **NOTE:** There is no resource name required, it will always be "default"
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewAutoProvisioning(ctx, "example", &securitycenter.AutoProvisioningArgs{ AutoProvision: pulumi.String("On"), }) if err != nil { return err } return nil }) }
```
## Import
Security Center Auto Provisioning can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/autoProvisioning:AutoProvisioning example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/autoProvisioningSettings/default
```
func GetAutoProvisioning ¶ added in v3.29.0
func GetAutoProvisioning(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AutoProvisioningState, opts ...pulumi.ResourceOption) (*AutoProvisioning, error)
GetAutoProvisioning gets an existing AutoProvisioning 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 NewAutoProvisioning ¶ added in v3.29.0
func NewAutoProvisioning(ctx *pulumi.Context, name string, args *AutoProvisioningArgs, opts ...pulumi.ResourceOption) (*AutoProvisioning, error)
NewAutoProvisioning registers a new resource with the given unique name, arguments, and options.
func (*AutoProvisioning) ElementType ¶ added in v3.31.1
func (*AutoProvisioning) ElementType() reflect.Type
func (*AutoProvisioning) ToAutoProvisioningOutput ¶ added in v3.31.1
func (i *AutoProvisioning) ToAutoProvisioningOutput() AutoProvisioningOutput
func (*AutoProvisioning) ToAutoProvisioningOutputWithContext ¶ added in v3.31.1
func (i *AutoProvisioning) ToAutoProvisioningOutputWithContext(ctx context.Context) AutoProvisioningOutput
func (*AutoProvisioning) ToAutoProvisioningPtrOutput ¶ added in v3.47.1
func (i *AutoProvisioning) ToAutoProvisioningPtrOutput() AutoProvisioningPtrOutput
func (*AutoProvisioning) ToAutoProvisioningPtrOutputWithContext ¶ added in v3.47.1
func (i *AutoProvisioning) ToAutoProvisioningPtrOutputWithContext(ctx context.Context) AutoProvisioningPtrOutput
type AutoProvisioningArgs ¶ added in v3.29.0
type AutoProvisioningArgs struct { // Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically). AutoProvision pulumi.StringInput }
The set of arguments for constructing a AutoProvisioning resource.
func (AutoProvisioningArgs) ElementType ¶ added in v3.29.0
func (AutoProvisioningArgs) ElementType() reflect.Type
type AutoProvisioningArray ¶ added in v3.47.1
type AutoProvisioningArray []AutoProvisioningInput
func (AutoProvisioningArray) ElementType ¶ added in v3.47.1
func (AutoProvisioningArray) ElementType() reflect.Type
func (AutoProvisioningArray) ToAutoProvisioningArrayOutput ¶ added in v3.47.1
func (i AutoProvisioningArray) ToAutoProvisioningArrayOutput() AutoProvisioningArrayOutput
func (AutoProvisioningArray) ToAutoProvisioningArrayOutputWithContext ¶ added in v3.47.1
func (i AutoProvisioningArray) ToAutoProvisioningArrayOutputWithContext(ctx context.Context) AutoProvisioningArrayOutput
type AutoProvisioningArrayInput ¶ added in v3.47.1
type AutoProvisioningArrayInput interface { pulumi.Input ToAutoProvisioningArrayOutput() AutoProvisioningArrayOutput ToAutoProvisioningArrayOutputWithContext(context.Context) AutoProvisioningArrayOutput }
AutoProvisioningArrayInput is an input type that accepts AutoProvisioningArray and AutoProvisioningArrayOutput values. You can construct a concrete instance of `AutoProvisioningArrayInput` via:
AutoProvisioningArray{ AutoProvisioningArgs{...} }
type AutoProvisioningArrayOutput ¶ added in v3.47.1
type AutoProvisioningArrayOutput struct{ *pulumi.OutputState }
func (AutoProvisioningArrayOutput) ElementType ¶ added in v3.47.1
func (AutoProvisioningArrayOutput) ElementType() reflect.Type
func (AutoProvisioningArrayOutput) Index ¶ added in v3.47.1
func (o AutoProvisioningArrayOutput) Index(i pulumi.IntInput) AutoProvisioningOutput
func (AutoProvisioningArrayOutput) ToAutoProvisioningArrayOutput ¶ added in v3.47.1
func (o AutoProvisioningArrayOutput) ToAutoProvisioningArrayOutput() AutoProvisioningArrayOutput
func (AutoProvisioningArrayOutput) ToAutoProvisioningArrayOutputWithContext ¶ added in v3.47.1
func (o AutoProvisioningArrayOutput) ToAutoProvisioningArrayOutputWithContext(ctx context.Context) AutoProvisioningArrayOutput
type AutoProvisioningInput ¶ added in v3.31.1
type AutoProvisioningInput interface { pulumi.Input ToAutoProvisioningOutput() AutoProvisioningOutput ToAutoProvisioningOutputWithContext(ctx context.Context) AutoProvisioningOutput }
type AutoProvisioningMap ¶ added in v3.47.1
type AutoProvisioningMap map[string]AutoProvisioningInput
func (AutoProvisioningMap) ElementType ¶ added in v3.47.1
func (AutoProvisioningMap) ElementType() reflect.Type
func (AutoProvisioningMap) ToAutoProvisioningMapOutput ¶ added in v3.47.1
func (i AutoProvisioningMap) ToAutoProvisioningMapOutput() AutoProvisioningMapOutput
func (AutoProvisioningMap) ToAutoProvisioningMapOutputWithContext ¶ added in v3.47.1
func (i AutoProvisioningMap) ToAutoProvisioningMapOutputWithContext(ctx context.Context) AutoProvisioningMapOutput
type AutoProvisioningMapInput ¶ added in v3.47.1
type AutoProvisioningMapInput interface { pulumi.Input ToAutoProvisioningMapOutput() AutoProvisioningMapOutput ToAutoProvisioningMapOutputWithContext(context.Context) AutoProvisioningMapOutput }
AutoProvisioningMapInput is an input type that accepts AutoProvisioningMap and AutoProvisioningMapOutput values. You can construct a concrete instance of `AutoProvisioningMapInput` via:
AutoProvisioningMap{ "key": AutoProvisioningArgs{...} }
type AutoProvisioningMapOutput ¶ added in v3.47.1
type AutoProvisioningMapOutput struct{ *pulumi.OutputState }
func (AutoProvisioningMapOutput) ElementType ¶ added in v3.47.1
func (AutoProvisioningMapOutput) ElementType() reflect.Type
func (AutoProvisioningMapOutput) MapIndex ¶ added in v3.47.1
func (o AutoProvisioningMapOutput) MapIndex(k pulumi.StringInput) AutoProvisioningOutput
func (AutoProvisioningMapOutput) ToAutoProvisioningMapOutput ¶ added in v3.47.1
func (o AutoProvisioningMapOutput) ToAutoProvisioningMapOutput() AutoProvisioningMapOutput
func (AutoProvisioningMapOutput) ToAutoProvisioningMapOutputWithContext ¶ added in v3.47.1
func (o AutoProvisioningMapOutput) ToAutoProvisioningMapOutputWithContext(ctx context.Context) AutoProvisioningMapOutput
type AutoProvisioningOutput ¶ added in v3.31.1
type AutoProvisioningOutput struct {
*pulumi.OutputState
}
func (AutoProvisioningOutput) ElementType ¶ added in v3.31.1
func (AutoProvisioningOutput) ElementType() reflect.Type
func (AutoProvisioningOutput) ToAutoProvisioningOutput ¶ added in v3.31.1
func (o AutoProvisioningOutput) ToAutoProvisioningOutput() AutoProvisioningOutput
func (AutoProvisioningOutput) ToAutoProvisioningOutputWithContext ¶ added in v3.31.1
func (o AutoProvisioningOutput) ToAutoProvisioningOutputWithContext(ctx context.Context) AutoProvisioningOutput
func (AutoProvisioningOutput) ToAutoProvisioningPtrOutput ¶ added in v3.47.1
func (o AutoProvisioningOutput) ToAutoProvisioningPtrOutput() AutoProvisioningPtrOutput
func (AutoProvisioningOutput) ToAutoProvisioningPtrOutputWithContext ¶ added in v3.47.1
func (o AutoProvisioningOutput) ToAutoProvisioningPtrOutputWithContext(ctx context.Context) AutoProvisioningPtrOutput
type AutoProvisioningPtrInput ¶ added in v3.47.1
type AutoProvisioningPtrInput interface { pulumi.Input ToAutoProvisioningPtrOutput() AutoProvisioningPtrOutput ToAutoProvisioningPtrOutputWithContext(ctx context.Context) AutoProvisioningPtrOutput }
type AutoProvisioningPtrOutput ¶ added in v3.47.1
type AutoProvisioningPtrOutput struct {
*pulumi.OutputState
}
func (AutoProvisioningPtrOutput) ElementType ¶ added in v3.47.1
func (AutoProvisioningPtrOutput) ElementType() reflect.Type
func (AutoProvisioningPtrOutput) ToAutoProvisioningPtrOutput ¶ added in v3.47.1
func (o AutoProvisioningPtrOutput) ToAutoProvisioningPtrOutput() AutoProvisioningPtrOutput
func (AutoProvisioningPtrOutput) ToAutoProvisioningPtrOutputWithContext ¶ added in v3.47.1
func (o AutoProvisioningPtrOutput) ToAutoProvisioningPtrOutputWithContext(ctx context.Context) AutoProvisioningPtrOutput
type AutoProvisioningState ¶ added in v3.29.0
type AutoProvisioningState struct { // Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically). AutoProvision pulumi.StringPtrInput }
func (AutoProvisioningState) ElementType ¶ added in v3.29.0
func (AutoProvisioningState) ElementType() reflect.Type
type Automation ¶ added in v3.32.0
type Automation struct { pulumi.CustomResourceState // One or more `action` blocks as defined below. An `action` tells this automation where the data is to be sent to upon being evaluated by the rules in the `source`. Actions AutomationActionArrayOutput `pulumi:"actions"` // Specifies the description for the Security Center Automation. Description pulumi.StringPtrOutput `pulumi:"description"` // Boolean to enable or disable this Security Center Automation. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Azure Region where the Security Center Automation should exist. Changing this forces a new Security Center Automation to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Security Center Automation. Changing this forces a new Security Center Automation to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Security Center Automation should exist. Changing this forces a new Security Center Automation to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A list of scopes on which the automation logic is applied, at least one is required. Supported scopes are a subscription (in this format `/subscriptions/00000000-0000-0000-0000-000000000000`) or a resource group under that subscription (in the format `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example`). The automation will only apply on defined scopes. Scopes pulumi.StringArrayOutput `pulumi:"scopes"` // One or more `source` blocks as defined below. A `source` defines what data types will be processed and a set of rules to filter that data. Sources AutomationSourceArrayOutput `pulumi:"sources"` // A mapping of tags assigned to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages Security Center Automation and Continuous Export. This resource supports three types of destination in the `action`, Logic Apps, Log Analytics and Event Hubs
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/eventhub" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Capacity: pulumi.Int(2), }) if err != nil { return err } exampleEventHub, err := eventhub.NewEventHub(ctx, "exampleEventHub", &eventhub.EventHubArgs{ NamespaceName: exampleEventHubNamespace.Name, ResourceGroupName: exampleResourceGroup.Name, PartitionCount: pulumi.Int(2), MessageRetention: pulumi.Int(2), }) if err != nil { return err } exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "exampleAuthorizationRule", &eventhub.AuthorizationRuleArgs{ NamespaceName: exampleEventHubNamespace.Name, EventhubName: exampleEventHub.Name, ResourceGroupName: exampleResourceGroup.Name, Listen: pulumi.Bool(true), Send: pulumi.Bool(false), Manage: pulumi.Bool(false), }) if err != nil { return err } _, err = securitycenter.NewAutomation(ctx, "exampleAutomation", &securitycenter.AutomationArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Actions: securitycenter.AutomationActionArray{ &securitycenter.AutomationActionArgs{ Type: pulumi.String("EventHub"), ResourceId: exampleEventHub.ID(), ConnectionString: exampleAuthorizationRule.PrimaryConnectionString, }, }, Sources: securitycenter.AutomationSourceArray{ &securitycenter.AutomationSourceArgs{ EventSource: pulumi.String("Alerts"), RuleSets: securitycenter.AutomationSourceRuleSetArray{ &securitycenter.AutomationSourceRuleSetArgs{ Rules: securitycenter.AutomationSourceRuleSetRuleArray{ &securitycenter.AutomationSourceRuleSetRuleArgs{ PropertyPath: pulumi.String("properties.metadata.severity"), Operator: pulumi.String("Equals"), ExpectedValue: pulumi.String("High"), PropertyType: pulumi.String("String"), }, }, }, }, }, }, Scopes: pulumi.StringArray{ pulumi.String(fmt.Sprintf("%v%v", "/subscriptions/", current.SubscriptionId)), }, }) if err != nil { return err } return nil }) }
```
## Import
Security Center Automations can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/automation:Automation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Security/automations/automation1
```
func GetAutomation ¶ added in v3.32.0
func GetAutomation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AutomationState, opts ...pulumi.ResourceOption) (*Automation, error)
GetAutomation gets an existing Automation 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 NewAutomation ¶ added in v3.32.0
func NewAutomation(ctx *pulumi.Context, name string, args *AutomationArgs, opts ...pulumi.ResourceOption) (*Automation, error)
NewAutomation registers a new resource with the given unique name, arguments, and options.
func (*Automation) ElementType ¶ added in v3.32.0
func (*Automation) ElementType() reflect.Type
func (*Automation) ToAutomationOutput ¶ added in v3.32.0
func (i *Automation) ToAutomationOutput() AutomationOutput
func (*Automation) ToAutomationOutputWithContext ¶ added in v3.32.0
func (i *Automation) ToAutomationOutputWithContext(ctx context.Context) AutomationOutput
func (*Automation) ToAutomationPtrOutput ¶ added in v3.47.1
func (i *Automation) ToAutomationPtrOutput() AutomationPtrOutput
func (*Automation) ToAutomationPtrOutputWithContext ¶ added in v3.47.1
func (i *Automation) ToAutomationPtrOutputWithContext(ctx context.Context) AutomationPtrOutput
type AutomationAction ¶ added in v3.32.0
type AutomationAction struct { // A connection string to send data to the target Event Hub namespace, this should include a key with send permissions. ConnectionString *string `pulumi:"connectionString"` // The resource id of the target Logic App, Event Hub namespace or Log Analytics workspace. ResourceId string `pulumi:"resourceId"` // The callback URL to trigger the Logic App that will receive and process data sent by this automation. This can be found in the Azure Portal under "See trigger history" TriggerUrl *string `pulumi:"triggerUrl"` // Type of Azure resource to send data to. Must be set to one of: `LogicApp`, `EventHub` or `LogAnalytics`. Type string `pulumi:"type"` }
type AutomationActionArgs ¶ added in v3.32.0
type AutomationActionArgs struct { // A connection string to send data to the target Event Hub namespace, this should include a key with send permissions. ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` // The resource id of the target Logic App, Event Hub namespace or Log Analytics workspace. ResourceId pulumi.StringInput `pulumi:"resourceId"` // The callback URL to trigger the Logic App that will receive and process data sent by this automation. This can be found in the Azure Portal under "See trigger history" TriggerUrl pulumi.StringPtrInput `pulumi:"triggerUrl"` // Type of Azure resource to send data to. Must be set to one of: `LogicApp`, `EventHub` or `LogAnalytics`. Type pulumi.StringInput `pulumi:"type"` }
func (AutomationActionArgs) ElementType ¶ added in v3.32.0
func (AutomationActionArgs) ElementType() reflect.Type
func (AutomationActionArgs) ToAutomationActionOutput ¶ added in v3.32.0
func (i AutomationActionArgs) ToAutomationActionOutput() AutomationActionOutput
func (AutomationActionArgs) ToAutomationActionOutputWithContext ¶ added in v3.32.0
func (i AutomationActionArgs) ToAutomationActionOutputWithContext(ctx context.Context) AutomationActionOutput
type AutomationActionArray ¶ added in v3.32.0
type AutomationActionArray []AutomationActionInput
func (AutomationActionArray) ElementType ¶ added in v3.32.0
func (AutomationActionArray) ElementType() reflect.Type
func (AutomationActionArray) ToAutomationActionArrayOutput ¶ added in v3.32.0
func (i AutomationActionArray) ToAutomationActionArrayOutput() AutomationActionArrayOutput
func (AutomationActionArray) ToAutomationActionArrayOutputWithContext ¶ added in v3.32.0
func (i AutomationActionArray) ToAutomationActionArrayOutputWithContext(ctx context.Context) AutomationActionArrayOutput
type AutomationActionArrayInput ¶ added in v3.32.0
type AutomationActionArrayInput interface { pulumi.Input ToAutomationActionArrayOutput() AutomationActionArrayOutput ToAutomationActionArrayOutputWithContext(context.Context) AutomationActionArrayOutput }
AutomationActionArrayInput is an input type that accepts AutomationActionArray and AutomationActionArrayOutput values. You can construct a concrete instance of `AutomationActionArrayInput` via:
AutomationActionArray{ AutomationActionArgs{...} }
type AutomationActionArrayOutput ¶ added in v3.32.0
type AutomationActionArrayOutput struct{ *pulumi.OutputState }
func (AutomationActionArrayOutput) ElementType ¶ added in v3.32.0
func (AutomationActionArrayOutput) ElementType() reflect.Type
func (AutomationActionArrayOutput) Index ¶ added in v3.32.0
func (o AutomationActionArrayOutput) Index(i pulumi.IntInput) AutomationActionOutput
func (AutomationActionArrayOutput) ToAutomationActionArrayOutput ¶ added in v3.32.0
func (o AutomationActionArrayOutput) ToAutomationActionArrayOutput() AutomationActionArrayOutput
func (AutomationActionArrayOutput) ToAutomationActionArrayOutputWithContext ¶ added in v3.32.0
func (o AutomationActionArrayOutput) ToAutomationActionArrayOutputWithContext(ctx context.Context) AutomationActionArrayOutput
type AutomationActionInput ¶ added in v3.32.0
type AutomationActionInput interface { pulumi.Input ToAutomationActionOutput() AutomationActionOutput ToAutomationActionOutputWithContext(context.Context) AutomationActionOutput }
AutomationActionInput is an input type that accepts AutomationActionArgs and AutomationActionOutput values. You can construct a concrete instance of `AutomationActionInput` via:
AutomationActionArgs{...}
type AutomationActionOutput ¶ added in v3.32.0
type AutomationActionOutput struct{ *pulumi.OutputState }
func (AutomationActionOutput) ConnectionString ¶ added in v3.32.0
func (o AutomationActionOutput) ConnectionString() pulumi.StringPtrOutput
A connection string to send data to the target Event Hub namespace, this should include a key with send permissions.
func (AutomationActionOutput) ElementType ¶ added in v3.32.0
func (AutomationActionOutput) ElementType() reflect.Type
func (AutomationActionOutput) ResourceId ¶ added in v3.32.0
func (o AutomationActionOutput) ResourceId() pulumi.StringOutput
The resource id of the target Logic App, Event Hub namespace or Log Analytics workspace.
func (AutomationActionOutput) ToAutomationActionOutput ¶ added in v3.32.0
func (o AutomationActionOutput) ToAutomationActionOutput() AutomationActionOutput
func (AutomationActionOutput) ToAutomationActionOutputWithContext ¶ added in v3.32.0
func (o AutomationActionOutput) ToAutomationActionOutputWithContext(ctx context.Context) AutomationActionOutput
func (AutomationActionOutput) TriggerUrl ¶ added in v3.32.0
func (o AutomationActionOutput) TriggerUrl() pulumi.StringPtrOutput
The callback URL to trigger the Logic App that will receive and process data sent by this automation. This can be found in the Azure Portal under "See trigger history"
func (AutomationActionOutput) Type ¶ added in v3.32.0
func (o AutomationActionOutput) Type() pulumi.StringOutput
Type of Azure resource to send data to. Must be set to one of: `LogicApp`, `EventHub` or `LogAnalytics`.
type AutomationArgs ¶ added in v3.32.0
type AutomationArgs struct { // One or more `action` blocks as defined below. An `action` tells this automation where the data is to be sent to upon being evaluated by the rules in the `source`. Actions AutomationActionArrayInput // Specifies the description for the Security Center Automation. Description pulumi.StringPtrInput // Boolean to enable or disable this Security Center Automation. Enabled pulumi.BoolPtrInput // The Azure Region where the Security Center Automation should exist. Changing this forces a new Security Center Automation to be created. Location pulumi.StringPtrInput // The name which should be used for this Security Center Automation. Changing this forces a new Security Center Automation to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Security Center Automation should exist. Changing this forces a new Security Center Automation to be created. ResourceGroupName pulumi.StringInput // A list of scopes on which the automation logic is applied, at least one is required. Supported scopes are a subscription (in this format `/subscriptions/00000000-0000-0000-0000-000000000000`) or a resource group under that subscription (in the format `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example`). The automation will only apply on defined scopes. Scopes pulumi.StringArrayInput // One or more `source` blocks as defined below. A `source` defines what data types will be processed and a set of rules to filter that data. Sources AutomationSourceArrayInput // A mapping of tags assigned to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Automation resource.
func (AutomationArgs) ElementType ¶ added in v3.32.0
func (AutomationArgs) ElementType() reflect.Type
type AutomationArray ¶ added in v3.47.1
type AutomationArray []AutomationInput
func (AutomationArray) ElementType ¶ added in v3.47.1
func (AutomationArray) ElementType() reflect.Type
func (AutomationArray) ToAutomationArrayOutput ¶ added in v3.47.1
func (i AutomationArray) ToAutomationArrayOutput() AutomationArrayOutput
func (AutomationArray) ToAutomationArrayOutputWithContext ¶ added in v3.47.1
func (i AutomationArray) ToAutomationArrayOutputWithContext(ctx context.Context) AutomationArrayOutput
type AutomationArrayInput ¶ added in v3.47.1
type AutomationArrayInput interface { pulumi.Input ToAutomationArrayOutput() AutomationArrayOutput ToAutomationArrayOutputWithContext(context.Context) AutomationArrayOutput }
AutomationArrayInput is an input type that accepts AutomationArray and AutomationArrayOutput values. You can construct a concrete instance of `AutomationArrayInput` via:
AutomationArray{ AutomationArgs{...} }
type AutomationArrayOutput ¶ added in v3.47.1
type AutomationArrayOutput struct{ *pulumi.OutputState }
func (AutomationArrayOutput) ElementType ¶ added in v3.47.1
func (AutomationArrayOutput) ElementType() reflect.Type
func (AutomationArrayOutput) Index ¶ added in v3.47.1
func (o AutomationArrayOutput) Index(i pulumi.IntInput) AutomationOutput
func (AutomationArrayOutput) ToAutomationArrayOutput ¶ added in v3.47.1
func (o AutomationArrayOutput) ToAutomationArrayOutput() AutomationArrayOutput
func (AutomationArrayOutput) ToAutomationArrayOutputWithContext ¶ added in v3.47.1
func (o AutomationArrayOutput) ToAutomationArrayOutputWithContext(ctx context.Context) AutomationArrayOutput
type AutomationInput ¶ added in v3.32.0
type AutomationInput interface { pulumi.Input ToAutomationOutput() AutomationOutput ToAutomationOutputWithContext(ctx context.Context) AutomationOutput }
type AutomationMap ¶ added in v3.47.1
type AutomationMap map[string]AutomationInput
func (AutomationMap) ElementType ¶ added in v3.47.1
func (AutomationMap) ElementType() reflect.Type
func (AutomationMap) ToAutomationMapOutput ¶ added in v3.47.1
func (i AutomationMap) ToAutomationMapOutput() AutomationMapOutput
func (AutomationMap) ToAutomationMapOutputWithContext ¶ added in v3.47.1
func (i AutomationMap) ToAutomationMapOutputWithContext(ctx context.Context) AutomationMapOutput
type AutomationMapInput ¶ added in v3.47.1
type AutomationMapInput interface { pulumi.Input ToAutomationMapOutput() AutomationMapOutput ToAutomationMapOutputWithContext(context.Context) AutomationMapOutput }
AutomationMapInput is an input type that accepts AutomationMap and AutomationMapOutput values. You can construct a concrete instance of `AutomationMapInput` via:
AutomationMap{ "key": AutomationArgs{...} }
type AutomationMapOutput ¶ added in v3.47.1
type AutomationMapOutput struct{ *pulumi.OutputState }
func (AutomationMapOutput) ElementType ¶ added in v3.47.1
func (AutomationMapOutput) ElementType() reflect.Type
func (AutomationMapOutput) MapIndex ¶ added in v3.47.1
func (o AutomationMapOutput) MapIndex(k pulumi.StringInput) AutomationOutput
func (AutomationMapOutput) ToAutomationMapOutput ¶ added in v3.47.1
func (o AutomationMapOutput) ToAutomationMapOutput() AutomationMapOutput
func (AutomationMapOutput) ToAutomationMapOutputWithContext ¶ added in v3.47.1
func (o AutomationMapOutput) ToAutomationMapOutputWithContext(ctx context.Context) AutomationMapOutput
type AutomationOutput ¶ added in v3.32.0
type AutomationOutput struct {
*pulumi.OutputState
}
func (AutomationOutput) ElementType ¶ added in v3.32.0
func (AutomationOutput) ElementType() reflect.Type
func (AutomationOutput) ToAutomationOutput ¶ added in v3.32.0
func (o AutomationOutput) ToAutomationOutput() AutomationOutput
func (AutomationOutput) ToAutomationOutputWithContext ¶ added in v3.32.0
func (o AutomationOutput) ToAutomationOutputWithContext(ctx context.Context) AutomationOutput
func (AutomationOutput) ToAutomationPtrOutput ¶ added in v3.47.1
func (o AutomationOutput) ToAutomationPtrOutput() AutomationPtrOutput
func (AutomationOutput) ToAutomationPtrOutputWithContext ¶ added in v3.47.1
func (o AutomationOutput) ToAutomationPtrOutputWithContext(ctx context.Context) AutomationPtrOutput
type AutomationPtrInput ¶ added in v3.47.1
type AutomationPtrInput interface { pulumi.Input ToAutomationPtrOutput() AutomationPtrOutput ToAutomationPtrOutputWithContext(ctx context.Context) AutomationPtrOutput }
type AutomationPtrOutput ¶ added in v3.47.1
type AutomationPtrOutput struct {
*pulumi.OutputState
}
func (AutomationPtrOutput) ElementType ¶ added in v3.47.1
func (AutomationPtrOutput) ElementType() reflect.Type
func (AutomationPtrOutput) ToAutomationPtrOutput ¶ added in v3.47.1
func (o AutomationPtrOutput) ToAutomationPtrOutput() AutomationPtrOutput
func (AutomationPtrOutput) ToAutomationPtrOutputWithContext ¶ added in v3.47.1
func (o AutomationPtrOutput) ToAutomationPtrOutputWithContext(ctx context.Context) AutomationPtrOutput
type AutomationSource ¶ added in v3.32.0
type AutomationSource struct { // Type of data that will trigger this automation. Must be one of `Alerts`, `Assessments`, `SecureScoreControls`, `SecureScores` or `SubAssessments`. Note. assessments are also referred to as recommendations EventSource string `pulumi:"eventSource"` // A set of rules which evaluate upon event and data interception. This is defined in one or more `ruleSet` blocks as defined below. RuleSets []AutomationSourceRuleSet `pulumi:"ruleSets"` }
type AutomationSourceArgs ¶ added in v3.32.0
type AutomationSourceArgs struct { // Type of data that will trigger this automation. Must be one of `Alerts`, `Assessments`, `SecureScoreControls`, `SecureScores` or `SubAssessments`. Note. assessments are also referred to as recommendations EventSource pulumi.StringInput `pulumi:"eventSource"` // A set of rules which evaluate upon event and data interception. This is defined in one or more `ruleSet` blocks as defined below. RuleSets AutomationSourceRuleSetArrayInput `pulumi:"ruleSets"` }
func (AutomationSourceArgs) ElementType ¶ added in v3.32.0
func (AutomationSourceArgs) ElementType() reflect.Type
func (AutomationSourceArgs) ToAutomationSourceOutput ¶ added in v3.32.0
func (i AutomationSourceArgs) ToAutomationSourceOutput() AutomationSourceOutput
func (AutomationSourceArgs) ToAutomationSourceOutputWithContext ¶ added in v3.32.0
func (i AutomationSourceArgs) ToAutomationSourceOutputWithContext(ctx context.Context) AutomationSourceOutput
type AutomationSourceArray ¶ added in v3.32.0
type AutomationSourceArray []AutomationSourceInput
func (AutomationSourceArray) ElementType ¶ added in v3.32.0
func (AutomationSourceArray) ElementType() reflect.Type
func (AutomationSourceArray) ToAutomationSourceArrayOutput ¶ added in v3.32.0
func (i AutomationSourceArray) ToAutomationSourceArrayOutput() AutomationSourceArrayOutput
func (AutomationSourceArray) ToAutomationSourceArrayOutputWithContext ¶ added in v3.32.0
func (i AutomationSourceArray) ToAutomationSourceArrayOutputWithContext(ctx context.Context) AutomationSourceArrayOutput
type AutomationSourceArrayInput ¶ added in v3.32.0
type AutomationSourceArrayInput interface { pulumi.Input ToAutomationSourceArrayOutput() AutomationSourceArrayOutput ToAutomationSourceArrayOutputWithContext(context.Context) AutomationSourceArrayOutput }
AutomationSourceArrayInput is an input type that accepts AutomationSourceArray and AutomationSourceArrayOutput values. You can construct a concrete instance of `AutomationSourceArrayInput` via:
AutomationSourceArray{ AutomationSourceArgs{...} }
type AutomationSourceArrayOutput ¶ added in v3.32.0
type AutomationSourceArrayOutput struct{ *pulumi.OutputState }
func (AutomationSourceArrayOutput) ElementType ¶ added in v3.32.0
func (AutomationSourceArrayOutput) ElementType() reflect.Type
func (AutomationSourceArrayOutput) Index ¶ added in v3.32.0
func (o AutomationSourceArrayOutput) Index(i pulumi.IntInput) AutomationSourceOutput
func (AutomationSourceArrayOutput) ToAutomationSourceArrayOutput ¶ added in v3.32.0
func (o AutomationSourceArrayOutput) ToAutomationSourceArrayOutput() AutomationSourceArrayOutput
func (AutomationSourceArrayOutput) ToAutomationSourceArrayOutputWithContext ¶ added in v3.32.0
func (o AutomationSourceArrayOutput) ToAutomationSourceArrayOutputWithContext(ctx context.Context) AutomationSourceArrayOutput
type AutomationSourceInput ¶ added in v3.32.0
type AutomationSourceInput interface { pulumi.Input ToAutomationSourceOutput() AutomationSourceOutput ToAutomationSourceOutputWithContext(context.Context) AutomationSourceOutput }
AutomationSourceInput is an input type that accepts AutomationSourceArgs and AutomationSourceOutput values. You can construct a concrete instance of `AutomationSourceInput` via:
AutomationSourceArgs{...}
type AutomationSourceOutput ¶ added in v3.32.0
type AutomationSourceOutput struct{ *pulumi.OutputState }
func (AutomationSourceOutput) ElementType ¶ added in v3.32.0
func (AutomationSourceOutput) ElementType() reflect.Type
func (AutomationSourceOutput) EventSource ¶ added in v3.32.0
func (o AutomationSourceOutput) EventSource() pulumi.StringOutput
Type of data that will trigger this automation. Must be one of `Alerts`, `Assessments`, `SecureScoreControls`, `SecureScores` or `SubAssessments`. Note. assessments are also referred to as recommendations
func (AutomationSourceOutput) RuleSets ¶ added in v3.32.0
func (o AutomationSourceOutput) RuleSets() AutomationSourceRuleSetArrayOutput
A set of rules which evaluate upon event and data interception. This is defined in one or more `ruleSet` blocks as defined below.
func (AutomationSourceOutput) ToAutomationSourceOutput ¶ added in v3.32.0
func (o AutomationSourceOutput) ToAutomationSourceOutput() AutomationSourceOutput
func (AutomationSourceOutput) ToAutomationSourceOutputWithContext ¶ added in v3.32.0
func (o AutomationSourceOutput) ToAutomationSourceOutputWithContext(ctx context.Context) AutomationSourceOutput
type AutomationSourceRuleSet ¶ added in v3.32.0
type AutomationSourceRuleSet struct { // One or more `rule` blocks as defined below. Rules []AutomationSourceRuleSetRule `pulumi:"rules"` }
type AutomationSourceRuleSetArgs ¶ added in v3.32.0
type AutomationSourceRuleSetArgs struct { // One or more `rule` blocks as defined below. Rules AutomationSourceRuleSetRuleArrayInput `pulumi:"rules"` }
func (AutomationSourceRuleSetArgs) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetArgs) ElementType() reflect.Type
func (AutomationSourceRuleSetArgs) ToAutomationSourceRuleSetOutput ¶ added in v3.32.0
func (i AutomationSourceRuleSetArgs) ToAutomationSourceRuleSetOutput() AutomationSourceRuleSetOutput
func (AutomationSourceRuleSetArgs) ToAutomationSourceRuleSetOutputWithContext ¶ added in v3.32.0
func (i AutomationSourceRuleSetArgs) ToAutomationSourceRuleSetOutputWithContext(ctx context.Context) AutomationSourceRuleSetOutput
type AutomationSourceRuleSetArray ¶ added in v3.32.0
type AutomationSourceRuleSetArray []AutomationSourceRuleSetInput
func (AutomationSourceRuleSetArray) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetArray) ElementType() reflect.Type
func (AutomationSourceRuleSetArray) ToAutomationSourceRuleSetArrayOutput ¶ added in v3.32.0
func (i AutomationSourceRuleSetArray) ToAutomationSourceRuleSetArrayOutput() AutomationSourceRuleSetArrayOutput
func (AutomationSourceRuleSetArray) ToAutomationSourceRuleSetArrayOutputWithContext ¶ added in v3.32.0
func (i AutomationSourceRuleSetArray) ToAutomationSourceRuleSetArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetArrayOutput
type AutomationSourceRuleSetArrayInput ¶ added in v3.32.0
type AutomationSourceRuleSetArrayInput interface { pulumi.Input ToAutomationSourceRuleSetArrayOutput() AutomationSourceRuleSetArrayOutput ToAutomationSourceRuleSetArrayOutputWithContext(context.Context) AutomationSourceRuleSetArrayOutput }
AutomationSourceRuleSetArrayInput is an input type that accepts AutomationSourceRuleSetArray and AutomationSourceRuleSetArrayOutput values. You can construct a concrete instance of `AutomationSourceRuleSetArrayInput` via:
AutomationSourceRuleSetArray{ AutomationSourceRuleSetArgs{...} }
type AutomationSourceRuleSetArrayOutput ¶ added in v3.32.0
type AutomationSourceRuleSetArrayOutput struct{ *pulumi.OutputState }
func (AutomationSourceRuleSetArrayOutput) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetArrayOutput) ElementType() reflect.Type
func (AutomationSourceRuleSetArrayOutput) Index ¶ added in v3.32.0
func (o AutomationSourceRuleSetArrayOutput) Index(i pulumi.IntInput) AutomationSourceRuleSetOutput
func (AutomationSourceRuleSetArrayOutput) ToAutomationSourceRuleSetArrayOutput ¶ added in v3.32.0
func (o AutomationSourceRuleSetArrayOutput) ToAutomationSourceRuleSetArrayOutput() AutomationSourceRuleSetArrayOutput
func (AutomationSourceRuleSetArrayOutput) ToAutomationSourceRuleSetArrayOutputWithContext ¶ added in v3.32.0
func (o AutomationSourceRuleSetArrayOutput) ToAutomationSourceRuleSetArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetArrayOutput
type AutomationSourceRuleSetInput ¶ added in v3.32.0
type AutomationSourceRuleSetInput interface { pulumi.Input ToAutomationSourceRuleSetOutput() AutomationSourceRuleSetOutput ToAutomationSourceRuleSetOutputWithContext(context.Context) AutomationSourceRuleSetOutput }
AutomationSourceRuleSetInput is an input type that accepts AutomationSourceRuleSetArgs and AutomationSourceRuleSetOutput values. You can construct a concrete instance of `AutomationSourceRuleSetInput` via:
AutomationSourceRuleSetArgs{...}
type AutomationSourceRuleSetOutput ¶ added in v3.32.0
type AutomationSourceRuleSetOutput struct{ *pulumi.OutputState }
func (AutomationSourceRuleSetOutput) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetOutput) ElementType() reflect.Type
func (AutomationSourceRuleSetOutput) Rules ¶ added in v3.32.0
func (o AutomationSourceRuleSetOutput) Rules() AutomationSourceRuleSetRuleArrayOutput
One or more `rule` blocks as defined below.
func (AutomationSourceRuleSetOutput) ToAutomationSourceRuleSetOutput ¶ added in v3.32.0
func (o AutomationSourceRuleSetOutput) ToAutomationSourceRuleSetOutput() AutomationSourceRuleSetOutput
func (AutomationSourceRuleSetOutput) ToAutomationSourceRuleSetOutputWithContext ¶ added in v3.32.0
func (o AutomationSourceRuleSetOutput) ToAutomationSourceRuleSetOutputWithContext(ctx context.Context) AutomationSourceRuleSetOutput
type AutomationSourceRuleSetRule ¶ added in v3.32.0
type AutomationSourceRuleSetRule struct { // A value that will be compared with the value in `propertyPath`. ExpectedValue string `pulumi:"expectedValue"` // The comparison operator to use, must be one of: `Contains`, `EndsWith`, `Equals`, `GreaterThan`, `GreaterThanOrEqualTo`, `LesserThan`, `LesserThanOrEqualTo`, `NotEquals`, `StartsWith` Operator string `pulumi:"operator"` // The JPath of the entity model property that should be checked. PropertyPath string `pulumi:"propertyPath"` // The data type of the compared operands, must be one of: `Integer`, `String`, `Boolean` or `Number`. PropertyType string `pulumi:"propertyType"` }
type AutomationSourceRuleSetRuleArgs ¶ added in v3.32.0
type AutomationSourceRuleSetRuleArgs struct { // A value that will be compared with the value in `propertyPath`. ExpectedValue pulumi.StringInput `pulumi:"expectedValue"` // The comparison operator to use, must be one of: `Contains`, `EndsWith`, `Equals`, `GreaterThan`, `GreaterThanOrEqualTo`, `LesserThan`, `LesserThanOrEqualTo`, `NotEquals`, `StartsWith` Operator pulumi.StringInput `pulumi:"operator"` // The JPath of the entity model property that should be checked. PropertyPath pulumi.StringInput `pulumi:"propertyPath"` // The data type of the compared operands, must be one of: `Integer`, `String`, `Boolean` or `Number`. PropertyType pulumi.StringInput `pulumi:"propertyType"` }
func (AutomationSourceRuleSetRuleArgs) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetRuleArgs) ElementType() reflect.Type
func (AutomationSourceRuleSetRuleArgs) ToAutomationSourceRuleSetRuleOutput ¶ added in v3.32.0
func (i AutomationSourceRuleSetRuleArgs) ToAutomationSourceRuleSetRuleOutput() AutomationSourceRuleSetRuleOutput
func (AutomationSourceRuleSetRuleArgs) ToAutomationSourceRuleSetRuleOutputWithContext ¶ added in v3.32.0
func (i AutomationSourceRuleSetRuleArgs) ToAutomationSourceRuleSetRuleOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleOutput
type AutomationSourceRuleSetRuleArray ¶ added in v3.32.0
type AutomationSourceRuleSetRuleArray []AutomationSourceRuleSetRuleInput
func (AutomationSourceRuleSetRuleArray) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetRuleArray) ElementType() reflect.Type
func (AutomationSourceRuleSetRuleArray) ToAutomationSourceRuleSetRuleArrayOutput ¶ added in v3.32.0
func (i AutomationSourceRuleSetRuleArray) ToAutomationSourceRuleSetRuleArrayOutput() AutomationSourceRuleSetRuleArrayOutput
func (AutomationSourceRuleSetRuleArray) ToAutomationSourceRuleSetRuleArrayOutputWithContext ¶ added in v3.32.0
func (i AutomationSourceRuleSetRuleArray) ToAutomationSourceRuleSetRuleArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleArrayOutput
type AutomationSourceRuleSetRuleArrayInput ¶ added in v3.32.0
type AutomationSourceRuleSetRuleArrayInput interface { pulumi.Input ToAutomationSourceRuleSetRuleArrayOutput() AutomationSourceRuleSetRuleArrayOutput ToAutomationSourceRuleSetRuleArrayOutputWithContext(context.Context) AutomationSourceRuleSetRuleArrayOutput }
AutomationSourceRuleSetRuleArrayInput is an input type that accepts AutomationSourceRuleSetRuleArray and AutomationSourceRuleSetRuleArrayOutput values. You can construct a concrete instance of `AutomationSourceRuleSetRuleArrayInput` via:
AutomationSourceRuleSetRuleArray{ AutomationSourceRuleSetRuleArgs{...} }
type AutomationSourceRuleSetRuleArrayOutput ¶ added in v3.32.0
type AutomationSourceRuleSetRuleArrayOutput struct{ *pulumi.OutputState }
func (AutomationSourceRuleSetRuleArrayOutput) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetRuleArrayOutput) ElementType() reflect.Type
func (AutomationSourceRuleSetRuleArrayOutput) ToAutomationSourceRuleSetRuleArrayOutput ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleArrayOutput) ToAutomationSourceRuleSetRuleArrayOutput() AutomationSourceRuleSetRuleArrayOutput
func (AutomationSourceRuleSetRuleArrayOutput) ToAutomationSourceRuleSetRuleArrayOutputWithContext ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleArrayOutput) ToAutomationSourceRuleSetRuleArrayOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleArrayOutput
type AutomationSourceRuleSetRuleInput ¶ added in v3.32.0
type AutomationSourceRuleSetRuleInput interface { pulumi.Input ToAutomationSourceRuleSetRuleOutput() AutomationSourceRuleSetRuleOutput ToAutomationSourceRuleSetRuleOutputWithContext(context.Context) AutomationSourceRuleSetRuleOutput }
AutomationSourceRuleSetRuleInput is an input type that accepts AutomationSourceRuleSetRuleArgs and AutomationSourceRuleSetRuleOutput values. You can construct a concrete instance of `AutomationSourceRuleSetRuleInput` via:
AutomationSourceRuleSetRuleArgs{...}
type AutomationSourceRuleSetRuleOutput ¶ added in v3.32.0
type AutomationSourceRuleSetRuleOutput struct{ *pulumi.OutputState }
func (AutomationSourceRuleSetRuleOutput) ElementType ¶ added in v3.32.0
func (AutomationSourceRuleSetRuleOutput) ElementType() reflect.Type
func (AutomationSourceRuleSetRuleOutput) ExpectedValue ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleOutput) ExpectedValue() pulumi.StringOutput
A value that will be compared with the value in `propertyPath`.
func (AutomationSourceRuleSetRuleOutput) Operator ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleOutput) Operator() pulumi.StringOutput
The comparison operator to use, must be one of: `Contains`, `EndsWith`, `Equals`, `GreaterThan`, `GreaterThanOrEqualTo`, `LesserThan`, `LesserThanOrEqualTo`, `NotEquals`, `StartsWith`
func (AutomationSourceRuleSetRuleOutput) PropertyPath ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleOutput) PropertyPath() pulumi.StringOutput
The JPath of the entity model property that should be checked.
func (AutomationSourceRuleSetRuleOutput) PropertyType ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleOutput) PropertyType() pulumi.StringOutput
The data type of the compared operands, must be one of: `Integer`, `String`, `Boolean` or `Number`.
func (AutomationSourceRuleSetRuleOutput) ToAutomationSourceRuleSetRuleOutput ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleOutput) ToAutomationSourceRuleSetRuleOutput() AutomationSourceRuleSetRuleOutput
func (AutomationSourceRuleSetRuleOutput) ToAutomationSourceRuleSetRuleOutputWithContext ¶ added in v3.32.0
func (o AutomationSourceRuleSetRuleOutput) ToAutomationSourceRuleSetRuleOutputWithContext(ctx context.Context) AutomationSourceRuleSetRuleOutput
type AutomationState ¶ added in v3.32.0
type AutomationState struct { // One or more `action` blocks as defined below. An `action` tells this automation where the data is to be sent to upon being evaluated by the rules in the `source`. Actions AutomationActionArrayInput // Specifies the description for the Security Center Automation. Description pulumi.StringPtrInput // Boolean to enable or disable this Security Center Automation. Enabled pulumi.BoolPtrInput // The Azure Region where the Security Center Automation should exist. Changing this forces a new Security Center Automation to be created. Location pulumi.StringPtrInput // The name which should be used for this Security Center Automation. Changing this forces a new Security Center Automation to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Security Center Automation should exist. Changing this forces a new Security Center Automation to be created. ResourceGroupName pulumi.StringPtrInput // A list of scopes on which the automation logic is applied, at least one is required. Supported scopes are a subscription (in this format `/subscriptions/00000000-0000-0000-0000-000000000000`) or a resource group under that subscription (in the format `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example`). The automation will only apply on defined scopes. Scopes pulumi.StringArrayInput // One or more `source` blocks as defined below. A `source` defines what data types will be processed and a set of rules to filter that data. Sources AutomationSourceArrayInput // A mapping of tags assigned to the resource. Tags pulumi.StringMapInput }
func (AutomationState) ElementType ¶ added in v3.32.0
func (AutomationState) ElementType() reflect.Type
type Contact ¶
type Contact struct { pulumi.CustomResourceState // Whether to send security alerts notifications to the security contact. AlertNotifications pulumi.BoolOutput `pulumi:"alertNotifications"` // Whether to send security alerts notifications to subscription admins. AlertsToAdmins pulumi.BoolOutput `pulumi:"alertsToAdmins"` // The email of the Security Center Contact. Email pulumi.StringOutput `pulumi:"email"` // The phone number of the Security Center Contact. Phone pulumi.StringPtrOutput `pulumi:"phone"` }
Manages the subscription's Security Center Contact.
> **NOTE:** Owner access permission is required.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewContact(ctx, "example", &securitycenter.ContactArgs{ AlertNotifications: pulumi.Bool(true), AlertsToAdmins: pulumi.Bool(true), Email: pulumi.String("contact@example.com"), Phone: pulumi.String("+1-555-555-5555"), }) if err != nil { return err } return nil }) }
```
## Import
The contact can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/contact:Contact example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/securityContacts/default1
```
func GetContact ¶
func GetContact(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContactState, opts ...pulumi.ResourceOption) (*Contact, error)
GetContact gets an existing Contact 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 NewContact ¶
func NewContact(ctx *pulumi.Context, name string, args *ContactArgs, opts ...pulumi.ResourceOption) (*Contact, error)
NewContact registers a new resource with the given unique name, arguments, and options.
func (*Contact) ElementType ¶ added in v3.31.1
func (*Contact) ToContactOutput ¶ added in v3.31.1
func (i *Contact) ToContactOutput() ContactOutput
func (*Contact) ToContactOutputWithContext ¶ added in v3.31.1
func (i *Contact) ToContactOutputWithContext(ctx context.Context) ContactOutput
func (*Contact) ToContactPtrOutput ¶ added in v3.47.1
func (i *Contact) ToContactPtrOutput() ContactPtrOutput
func (*Contact) ToContactPtrOutputWithContext ¶ added in v3.47.1
func (i *Contact) ToContactPtrOutputWithContext(ctx context.Context) ContactPtrOutput
type ContactArgs ¶
type ContactArgs struct { // Whether to send security alerts notifications to the security contact. AlertNotifications pulumi.BoolInput // Whether to send security alerts notifications to subscription admins. AlertsToAdmins pulumi.BoolInput // The email of the Security Center Contact. Email pulumi.StringInput // The phone number of the Security Center Contact. Phone pulumi.StringPtrInput }
The set of arguments for constructing a Contact resource.
func (ContactArgs) ElementType ¶
func (ContactArgs) ElementType() reflect.Type
type ContactArray ¶ added in v3.47.1
type ContactArray []ContactInput
func (ContactArray) ElementType ¶ added in v3.47.1
func (ContactArray) ElementType() reflect.Type
func (ContactArray) ToContactArrayOutput ¶ added in v3.47.1
func (i ContactArray) ToContactArrayOutput() ContactArrayOutput
func (ContactArray) ToContactArrayOutputWithContext ¶ added in v3.47.1
func (i ContactArray) ToContactArrayOutputWithContext(ctx context.Context) ContactArrayOutput
type ContactArrayInput ¶ added in v3.47.1
type ContactArrayInput interface { pulumi.Input ToContactArrayOutput() ContactArrayOutput ToContactArrayOutputWithContext(context.Context) ContactArrayOutput }
ContactArrayInput is an input type that accepts ContactArray and ContactArrayOutput values. You can construct a concrete instance of `ContactArrayInput` via:
ContactArray{ ContactArgs{...} }
type ContactArrayOutput ¶ added in v3.47.1
type ContactArrayOutput struct{ *pulumi.OutputState }
func (ContactArrayOutput) ElementType ¶ added in v3.47.1
func (ContactArrayOutput) ElementType() reflect.Type
func (ContactArrayOutput) Index ¶ added in v3.47.1
func (o ContactArrayOutput) Index(i pulumi.IntInput) ContactOutput
func (ContactArrayOutput) ToContactArrayOutput ¶ added in v3.47.1
func (o ContactArrayOutput) ToContactArrayOutput() ContactArrayOutput
func (ContactArrayOutput) ToContactArrayOutputWithContext ¶ added in v3.47.1
func (o ContactArrayOutput) ToContactArrayOutputWithContext(ctx context.Context) ContactArrayOutput
type ContactInput ¶ added in v3.31.1
type ContactInput interface { pulumi.Input ToContactOutput() ContactOutput ToContactOutputWithContext(ctx context.Context) ContactOutput }
type ContactMap ¶ added in v3.47.1
type ContactMap map[string]ContactInput
func (ContactMap) ElementType ¶ added in v3.47.1
func (ContactMap) ElementType() reflect.Type
func (ContactMap) ToContactMapOutput ¶ added in v3.47.1
func (i ContactMap) ToContactMapOutput() ContactMapOutput
func (ContactMap) ToContactMapOutputWithContext ¶ added in v3.47.1
func (i ContactMap) ToContactMapOutputWithContext(ctx context.Context) ContactMapOutput
type ContactMapInput ¶ added in v3.47.1
type ContactMapInput interface { pulumi.Input ToContactMapOutput() ContactMapOutput ToContactMapOutputWithContext(context.Context) ContactMapOutput }
ContactMapInput is an input type that accepts ContactMap and ContactMapOutput values. You can construct a concrete instance of `ContactMapInput` via:
ContactMap{ "key": ContactArgs{...} }
type ContactMapOutput ¶ added in v3.47.1
type ContactMapOutput struct{ *pulumi.OutputState }
func (ContactMapOutput) ElementType ¶ added in v3.47.1
func (ContactMapOutput) ElementType() reflect.Type
func (ContactMapOutput) MapIndex ¶ added in v3.47.1
func (o ContactMapOutput) MapIndex(k pulumi.StringInput) ContactOutput
func (ContactMapOutput) ToContactMapOutput ¶ added in v3.47.1
func (o ContactMapOutput) ToContactMapOutput() ContactMapOutput
func (ContactMapOutput) ToContactMapOutputWithContext ¶ added in v3.47.1
func (o ContactMapOutput) ToContactMapOutputWithContext(ctx context.Context) ContactMapOutput
type ContactOutput ¶ added in v3.31.1
type ContactOutput struct {
*pulumi.OutputState
}
func (ContactOutput) ElementType ¶ added in v3.31.1
func (ContactOutput) ElementType() reflect.Type
func (ContactOutput) ToContactOutput ¶ added in v3.31.1
func (o ContactOutput) ToContactOutput() ContactOutput
func (ContactOutput) ToContactOutputWithContext ¶ added in v3.31.1
func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOutput
func (ContactOutput) ToContactPtrOutput ¶ added in v3.47.1
func (o ContactOutput) ToContactPtrOutput() ContactPtrOutput
func (ContactOutput) ToContactPtrOutputWithContext ¶ added in v3.47.1
func (o ContactOutput) ToContactPtrOutputWithContext(ctx context.Context) ContactPtrOutput
type ContactPtrInput ¶ added in v3.47.1
type ContactPtrInput interface { pulumi.Input ToContactPtrOutput() ContactPtrOutput ToContactPtrOutputWithContext(ctx context.Context) ContactPtrOutput }
type ContactPtrOutput ¶ added in v3.47.1
type ContactPtrOutput struct {
*pulumi.OutputState
}
func (ContactPtrOutput) ElementType ¶ added in v3.47.1
func (ContactPtrOutput) ElementType() reflect.Type
func (ContactPtrOutput) ToContactPtrOutput ¶ added in v3.47.1
func (o ContactPtrOutput) ToContactPtrOutput() ContactPtrOutput
func (ContactPtrOutput) ToContactPtrOutputWithContext ¶ added in v3.47.1
func (o ContactPtrOutput) ToContactPtrOutputWithContext(ctx context.Context) ContactPtrOutput
type ContactState ¶
type ContactState struct { // Whether to send security alerts notifications to the security contact. AlertNotifications pulumi.BoolPtrInput // Whether to send security alerts notifications to subscription admins. AlertsToAdmins pulumi.BoolPtrInput // The email of the Security Center Contact. Email pulumi.StringPtrInput // The phone number of the Security Center Contact. Phone pulumi.StringPtrInput }
func (ContactState) ElementType ¶
func (ContactState) ElementType() reflect.Type
type ServerVulnerabilityAssessment ¶ added in v3.51.0
type ServerVulnerabilityAssessment struct { pulumi.CustomResourceState // The ID of the Azure ARC server to be monitored by vulnerability assessment. Changing this forces a new resource to be created. HybridMachineId pulumi.StringPtrOutput `pulumi:"hybridMachineId"` // The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringPtrOutput `pulumi:"virtualMachineId"` }
Manages an Azure Server Vulnerability Assessment (Qualys) to a VM.
> **NOTE** Azure Defender has to be enabled on the subscription in order for this resource to work. See this [documentation](https://docs.microsoft.com/en-us/azure/security-center/security-center-get-started) to get started.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/compute" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("192.168.1.0/24"), }, Location: exampleResourceGroup.Location, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefix: pulumi.String("192.168.1.0/24"), }) if err != nil { return err } exampleNetworkInterface, err := network.NewNetworkInterface(ctx, "exampleNetworkInterface", &network.NetworkInterfaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, IpConfigurations: network.NetworkInterfaceIpConfigurationArray{ &network.NetworkInterfaceIpConfigurationArgs{ Name: pulumi.String("vm-example"), SubnetId: exampleSubnet.ID(), PrivateIpAddressAllocation: pulumi.String("Dynamic"), }, }, }) if err != nil { return err } exampleLinuxVirtualMachine, err := compute.NewLinuxVirtualMachine(ctx, "exampleLinuxVirtualMachine", &compute.LinuxVirtualMachineArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Size: pulumi.String("Standard_B1s"), AdminUsername: pulumi.String("testadmin"), AdminPassword: pulumi.String("Password1234!"), DisablePasswordAuthentication: pulumi.Bool(false), SourceImageReference: &compute.LinuxVirtualMachineSourceImageReferenceArgs{ Publisher: pulumi.String("OpenLogic"), Offer: pulumi.String("CentOS"), Sku: pulumi.String("7.5"), Version: pulumi.String("latest"), }, OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{ Caching: pulumi.String("ReadWrite"), StorageAccountType: pulumi.String("Standard_LRS"), }, NetworkInterfaceIds: pulumi.StringArray{ exampleNetworkInterface.ID(), }, }) if err != nil { return err } _, err = securitycenter.NewServerVulnerabilityAssessment(ctx, "exampleServerVulnerabilityAssessment", &securitycenter.ServerVulnerabilityAssessmentArgs{ VirtualMachineId: exampleLinuxVirtualMachine.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Server Vulnerability Assessments can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/serverVulnerabilityAssessment:ServerVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.Compute/virtualMachines/vm-name/providers/Microsoft.Security/serverVulnerabilityAssessments/Default
```
or
```sh
$ pulumi import azure:securitycenter/serverVulnerabilityAssessment:ServerVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.HybridCompute/machines/machine-name/providers/Microsoft.Security/serverVulnerabilityAssessments/Default
```
func GetServerVulnerabilityAssessment ¶ added in v3.51.0
func GetServerVulnerabilityAssessment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerVulnerabilityAssessmentState, opts ...pulumi.ResourceOption) (*ServerVulnerabilityAssessment, error)
GetServerVulnerabilityAssessment gets an existing ServerVulnerabilityAssessment 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 NewServerVulnerabilityAssessment ¶ added in v3.51.0
func NewServerVulnerabilityAssessment(ctx *pulumi.Context, name string, args *ServerVulnerabilityAssessmentArgs, opts ...pulumi.ResourceOption) (*ServerVulnerabilityAssessment, error)
NewServerVulnerabilityAssessment registers a new resource with the given unique name, arguments, and options.
func (*ServerVulnerabilityAssessment) ElementType ¶ added in v3.51.0
func (*ServerVulnerabilityAssessment) ElementType() reflect.Type
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutput ¶ added in v3.51.0
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutputWithContext ¶ added in v3.51.0
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutput ¶ added in v3.51.0
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutputWithContext ¶ added in v3.51.0
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
type ServerVulnerabilityAssessmentArgs ¶ added in v3.51.0
type ServerVulnerabilityAssessmentArgs struct { // The ID of the Azure ARC server to be monitored by vulnerability assessment. Changing this forces a new resource to be created. HybridMachineId pulumi.StringPtrInput // The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringPtrInput }
The set of arguments for constructing a ServerVulnerabilityAssessment resource.
func (ServerVulnerabilityAssessmentArgs) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentArgs) ElementType() reflect.Type
type ServerVulnerabilityAssessmentArray ¶ added in v3.51.0
type ServerVulnerabilityAssessmentArray []ServerVulnerabilityAssessmentInput
func (ServerVulnerabilityAssessmentArray) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentArray) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutput ¶ added in v3.51.0
func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
func (ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutputWithContext ¶ added in v3.51.0
func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
type ServerVulnerabilityAssessmentArrayInput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentArrayInput interface { pulumi.Input ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput ToServerVulnerabilityAssessmentArrayOutputWithContext(context.Context) ServerVulnerabilityAssessmentArrayOutput }
ServerVulnerabilityAssessmentArrayInput is an input type that accepts ServerVulnerabilityAssessmentArray and ServerVulnerabilityAssessmentArrayOutput values. You can construct a concrete instance of `ServerVulnerabilityAssessmentArrayInput` via:
ServerVulnerabilityAssessmentArray{ ServerVulnerabilityAssessmentArgs{...} }
type ServerVulnerabilityAssessmentArrayOutput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }
func (ServerVulnerabilityAssessmentArrayOutput) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutput ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
func (ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutputWithContext ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
type ServerVulnerabilityAssessmentInput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentInput interface { pulumi.Input ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput }
type ServerVulnerabilityAssessmentMap ¶ added in v3.51.0
type ServerVulnerabilityAssessmentMap map[string]ServerVulnerabilityAssessmentInput
func (ServerVulnerabilityAssessmentMap) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentMap) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutput ¶ added in v3.51.0
func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
func (ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutputWithContext ¶ added in v3.51.0
func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
type ServerVulnerabilityAssessmentMapInput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentMapInput interface { pulumi.Input ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput ToServerVulnerabilityAssessmentMapOutputWithContext(context.Context) ServerVulnerabilityAssessmentMapOutput }
ServerVulnerabilityAssessmentMapInput is an input type that accepts ServerVulnerabilityAssessmentMap and ServerVulnerabilityAssessmentMapOutput values. You can construct a concrete instance of `ServerVulnerabilityAssessmentMapInput` via:
ServerVulnerabilityAssessmentMap{ "key": ServerVulnerabilityAssessmentArgs{...} }
type ServerVulnerabilityAssessmentMapOutput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }
func (ServerVulnerabilityAssessmentMapOutput) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentMapOutput) MapIndex ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) ServerVulnerabilityAssessmentOutput
func (ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutput ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
func (ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutputWithContext ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
type ServerVulnerabilityAssessmentOutput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentOutput struct {
*pulumi.OutputState
}
func (ServerVulnerabilityAssessmentOutput) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutput ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutputWithContext ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutput ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
type ServerVulnerabilityAssessmentPtrInput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentPtrInput interface { pulumi.Input ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput }
type ServerVulnerabilityAssessmentPtrOutput ¶ added in v3.51.0
type ServerVulnerabilityAssessmentPtrOutput struct {
*pulumi.OutputState
}
func (ServerVulnerabilityAssessmentPtrOutput) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentPtrOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutput ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
func (ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext ¶ added in v3.51.0
func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
type ServerVulnerabilityAssessmentState ¶ added in v3.51.0
type ServerVulnerabilityAssessmentState struct { // The ID of the Azure ARC server to be monitored by vulnerability assessment. Changing this forces a new resource to be created. HybridMachineId pulumi.StringPtrInput // The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringPtrInput }
func (ServerVulnerabilityAssessmentState) ElementType ¶ added in v3.51.0
func (ServerVulnerabilityAssessmentState) ElementType() reflect.Type
type Setting ¶ added in v3.26.0
type Setting struct { pulumi.CustomResourceState // Boolean flag to enable/disable data access. Enabled pulumi.BoolOutput `pulumi:"enabled"` // The setting to manage. Possible values are `MCAS` and `WDATP`. SettingName pulumi.StringOutput `pulumi:"settingName"` }
Manages the Data Access Settings for Azure Security Center.
> **NOTE:** This resource requires the `Owner` permission on the Subscription.
> **NOTE:** Deletion of this resource does not change or reset the data access settings
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewSetting(ctx, "example", &securitycenter.SettingArgs{ Enabled: pulumi.Bool(true), SettingName: pulumi.String("MCAS"), }) if err != nil { return err } return nil }) }
```
## Import
The setting can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/setting:Setting example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/settings/<setting_name>
```
func GetSetting ¶ added in v3.26.0
func GetSetting(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SettingState, opts ...pulumi.ResourceOption) (*Setting, error)
GetSetting gets an existing Setting 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 NewSetting ¶ added in v3.26.0
func NewSetting(ctx *pulumi.Context, name string, args *SettingArgs, opts ...pulumi.ResourceOption) (*Setting, error)
NewSetting registers a new resource with the given unique name, arguments, and options.
func (*Setting) ElementType ¶ added in v3.31.1
func (*Setting) ToSettingOutput ¶ added in v3.31.1
func (i *Setting) ToSettingOutput() SettingOutput
func (*Setting) ToSettingOutputWithContext ¶ added in v3.31.1
func (i *Setting) ToSettingOutputWithContext(ctx context.Context) SettingOutput
func (*Setting) ToSettingPtrOutput ¶ added in v3.47.1
func (i *Setting) ToSettingPtrOutput() SettingPtrOutput
func (*Setting) ToSettingPtrOutputWithContext ¶ added in v3.47.1
func (i *Setting) ToSettingPtrOutputWithContext(ctx context.Context) SettingPtrOutput
type SettingArgs ¶ added in v3.26.0
type SettingArgs struct { // Boolean flag to enable/disable data access. Enabled pulumi.BoolInput // The setting to manage. Possible values are `MCAS` and `WDATP`. SettingName pulumi.StringInput }
The set of arguments for constructing a Setting resource.
func (SettingArgs) ElementType ¶ added in v3.26.0
func (SettingArgs) ElementType() reflect.Type
type SettingArray ¶ added in v3.47.1
type SettingArray []SettingInput
func (SettingArray) ElementType ¶ added in v3.47.1
func (SettingArray) ElementType() reflect.Type
func (SettingArray) ToSettingArrayOutput ¶ added in v3.47.1
func (i SettingArray) ToSettingArrayOutput() SettingArrayOutput
func (SettingArray) ToSettingArrayOutputWithContext ¶ added in v3.47.1
func (i SettingArray) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput
type SettingArrayInput ¶ added in v3.47.1
type SettingArrayInput interface { pulumi.Input ToSettingArrayOutput() SettingArrayOutput ToSettingArrayOutputWithContext(context.Context) SettingArrayOutput }
SettingArrayInput is an input type that accepts SettingArray and SettingArrayOutput values. You can construct a concrete instance of `SettingArrayInput` via:
SettingArray{ SettingArgs{...} }
type SettingArrayOutput ¶ added in v3.47.1
type SettingArrayOutput struct{ *pulumi.OutputState }
func (SettingArrayOutput) ElementType ¶ added in v3.47.1
func (SettingArrayOutput) ElementType() reflect.Type
func (SettingArrayOutput) Index ¶ added in v3.47.1
func (o SettingArrayOutput) Index(i pulumi.IntInput) SettingOutput
func (SettingArrayOutput) ToSettingArrayOutput ¶ added in v3.47.1
func (o SettingArrayOutput) ToSettingArrayOutput() SettingArrayOutput
func (SettingArrayOutput) ToSettingArrayOutputWithContext ¶ added in v3.47.1
func (o SettingArrayOutput) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput
type SettingInput ¶ added in v3.31.1
type SettingInput interface { pulumi.Input ToSettingOutput() SettingOutput ToSettingOutputWithContext(ctx context.Context) SettingOutput }
type SettingMap ¶ added in v3.47.1
type SettingMap map[string]SettingInput
func (SettingMap) ElementType ¶ added in v3.47.1
func (SettingMap) ElementType() reflect.Type
func (SettingMap) ToSettingMapOutput ¶ added in v3.47.1
func (i SettingMap) ToSettingMapOutput() SettingMapOutput
func (SettingMap) ToSettingMapOutputWithContext ¶ added in v3.47.1
func (i SettingMap) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput
type SettingMapInput ¶ added in v3.47.1
type SettingMapInput interface { pulumi.Input ToSettingMapOutput() SettingMapOutput ToSettingMapOutputWithContext(context.Context) SettingMapOutput }
SettingMapInput is an input type that accepts SettingMap and SettingMapOutput values. You can construct a concrete instance of `SettingMapInput` via:
SettingMap{ "key": SettingArgs{...} }
type SettingMapOutput ¶ added in v3.47.1
type SettingMapOutput struct{ *pulumi.OutputState }
func (SettingMapOutput) ElementType ¶ added in v3.47.1
func (SettingMapOutput) ElementType() reflect.Type
func (SettingMapOutput) MapIndex ¶ added in v3.47.1
func (o SettingMapOutput) MapIndex(k pulumi.StringInput) SettingOutput
func (SettingMapOutput) ToSettingMapOutput ¶ added in v3.47.1
func (o SettingMapOutput) ToSettingMapOutput() SettingMapOutput
func (SettingMapOutput) ToSettingMapOutputWithContext ¶ added in v3.47.1
func (o SettingMapOutput) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput
type SettingOutput ¶ added in v3.31.1
type SettingOutput struct {
*pulumi.OutputState
}
func (SettingOutput) ElementType ¶ added in v3.31.1
func (SettingOutput) ElementType() reflect.Type
func (SettingOutput) ToSettingOutput ¶ added in v3.31.1
func (o SettingOutput) ToSettingOutput() SettingOutput
func (SettingOutput) ToSettingOutputWithContext ¶ added in v3.31.1
func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOutput
func (SettingOutput) ToSettingPtrOutput ¶ added in v3.47.1
func (o SettingOutput) ToSettingPtrOutput() SettingPtrOutput
func (SettingOutput) ToSettingPtrOutputWithContext ¶ added in v3.47.1
func (o SettingOutput) ToSettingPtrOutputWithContext(ctx context.Context) SettingPtrOutput
type SettingPtrInput ¶ added in v3.47.1
type SettingPtrInput interface { pulumi.Input ToSettingPtrOutput() SettingPtrOutput ToSettingPtrOutputWithContext(ctx context.Context) SettingPtrOutput }
type SettingPtrOutput ¶ added in v3.47.1
type SettingPtrOutput struct {
*pulumi.OutputState
}
func (SettingPtrOutput) ElementType ¶ added in v3.47.1
func (SettingPtrOutput) ElementType() reflect.Type
func (SettingPtrOutput) ToSettingPtrOutput ¶ added in v3.47.1
func (o SettingPtrOutput) ToSettingPtrOutput() SettingPtrOutput
func (SettingPtrOutput) ToSettingPtrOutputWithContext ¶ added in v3.47.1
func (o SettingPtrOutput) ToSettingPtrOutputWithContext(ctx context.Context) SettingPtrOutput
type SettingState ¶ added in v3.26.0
type SettingState struct { // Boolean flag to enable/disable data access. Enabled pulumi.BoolPtrInput // The setting to manage. Possible values are `MCAS` and `WDATP`. SettingName pulumi.StringPtrInput }
func (SettingState) ElementType ¶ added in v3.26.0
func (SettingState) ElementType() reflect.Type
type SubscriptionPricing ¶
type SubscriptionPricing struct { pulumi.CustomResourceState // The resource type this setting affects. Possible values are `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm` and `Dns`. ResourceType pulumi.StringPtrOutput `pulumi:"resourceType"` // The pricing tier to use. Possible values are `Free` and `Standard`. Tier pulumi.StringOutput `pulumi:"tier"` }
Manages the Pricing Tier for Azure Security Center in the current subscription.
> **NOTE:** This resource requires the `Owner` permission on the Subscription.
> **NOTE:** Deletion of this resource does not change or reset the pricing tier to `Free`
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewSubscriptionPricing(ctx, "example", &securitycenter.SubscriptionPricingArgs{ ResourceType: pulumi.String("VirtualMachines"), Tier: pulumi.String("Standard"), }) if err != nil { return err } return nil }) }
```
## Import
The pricing tier can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/subscriptionPricing:SubscriptionPricing example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/<resource_type>
```
func GetSubscriptionPricing ¶
func GetSubscriptionPricing(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionPricingState, opts ...pulumi.ResourceOption) (*SubscriptionPricing, error)
GetSubscriptionPricing gets an existing SubscriptionPricing 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 NewSubscriptionPricing ¶
func NewSubscriptionPricing(ctx *pulumi.Context, name string, args *SubscriptionPricingArgs, opts ...pulumi.ResourceOption) (*SubscriptionPricing, error)
NewSubscriptionPricing registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionPricing) ElementType ¶ added in v3.31.1
func (*SubscriptionPricing) ElementType() reflect.Type
func (*SubscriptionPricing) ToSubscriptionPricingOutput ¶ added in v3.31.1
func (i *SubscriptionPricing) ToSubscriptionPricingOutput() SubscriptionPricingOutput
func (*SubscriptionPricing) ToSubscriptionPricingOutputWithContext ¶ added in v3.31.1
func (i *SubscriptionPricing) ToSubscriptionPricingOutputWithContext(ctx context.Context) SubscriptionPricingOutput
func (*SubscriptionPricing) ToSubscriptionPricingPtrOutput ¶ added in v3.47.1
func (i *SubscriptionPricing) ToSubscriptionPricingPtrOutput() SubscriptionPricingPtrOutput
func (*SubscriptionPricing) ToSubscriptionPricingPtrOutputWithContext ¶ added in v3.47.1
func (i *SubscriptionPricing) ToSubscriptionPricingPtrOutputWithContext(ctx context.Context) SubscriptionPricingPtrOutput
type SubscriptionPricingArgs ¶
type SubscriptionPricingArgs struct { // The resource type this setting affects. Possible values are `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm` and `Dns`. ResourceType pulumi.StringPtrInput // The pricing tier to use. Possible values are `Free` and `Standard`. Tier pulumi.StringInput }
The set of arguments for constructing a SubscriptionPricing resource.
func (SubscriptionPricingArgs) ElementType ¶
func (SubscriptionPricingArgs) ElementType() reflect.Type
type SubscriptionPricingArray ¶ added in v3.47.1
type SubscriptionPricingArray []SubscriptionPricingInput
func (SubscriptionPricingArray) ElementType ¶ added in v3.47.1
func (SubscriptionPricingArray) ElementType() reflect.Type
func (SubscriptionPricingArray) ToSubscriptionPricingArrayOutput ¶ added in v3.47.1
func (i SubscriptionPricingArray) ToSubscriptionPricingArrayOutput() SubscriptionPricingArrayOutput
func (SubscriptionPricingArray) ToSubscriptionPricingArrayOutputWithContext ¶ added in v3.47.1
func (i SubscriptionPricingArray) ToSubscriptionPricingArrayOutputWithContext(ctx context.Context) SubscriptionPricingArrayOutput
type SubscriptionPricingArrayInput ¶ added in v3.47.1
type SubscriptionPricingArrayInput interface { pulumi.Input ToSubscriptionPricingArrayOutput() SubscriptionPricingArrayOutput ToSubscriptionPricingArrayOutputWithContext(context.Context) SubscriptionPricingArrayOutput }
SubscriptionPricingArrayInput is an input type that accepts SubscriptionPricingArray and SubscriptionPricingArrayOutput values. You can construct a concrete instance of `SubscriptionPricingArrayInput` via:
SubscriptionPricingArray{ SubscriptionPricingArgs{...} }
type SubscriptionPricingArrayOutput ¶ added in v3.47.1
type SubscriptionPricingArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionPricingArrayOutput) ElementType ¶ added in v3.47.1
func (SubscriptionPricingArrayOutput) ElementType() reflect.Type
func (SubscriptionPricingArrayOutput) Index ¶ added in v3.47.1
func (o SubscriptionPricingArrayOutput) Index(i pulumi.IntInput) SubscriptionPricingOutput
func (SubscriptionPricingArrayOutput) ToSubscriptionPricingArrayOutput ¶ added in v3.47.1
func (o SubscriptionPricingArrayOutput) ToSubscriptionPricingArrayOutput() SubscriptionPricingArrayOutput
func (SubscriptionPricingArrayOutput) ToSubscriptionPricingArrayOutputWithContext ¶ added in v3.47.1
func (o SubscriptionPricingArrayOutput) ToSubscriptionPricingArrayOutputWithContext(ctx context.Context) SubscriptionPricingArrayOutput
type SubscriptionPricingInput ¶ added in v3.31.1
type SubscriptionPricingInput interface { pulumi.Input ToSubscriptionPricingOutput() SubscriptionPricingOutput ToSubscriptionPricingOutputWithContext(ctx context.Context) SubscriptionPricingOutput }
type SubscriptionPricingMap ¶ added in v3.47.1
type SubscriptionPricingMap map[string]SubscriptionPricingInput
func (SubscriptionPricingMap) ElementType ¶ added in v3.47.1
func (SubscriptionPricingMap) ElementType() reflect.Type
func (SubscriptionPricingMap) ToSubscriptionPricingMapOutput ¶ added in v3.47.1
func (i SubscriptionPricingMap) ToSubscriptionPricingMapOutput() SubscriptionPricingMapOutput
func (SubscriptionPricingMap) ToSubscriptionPricingMapOutputWithContext ¶ added in v3.47.1
func (i SubscriptionPricingMap) ToSubscriptionPricingMapOutputWithContext(ctx context.Context) SubscriptionPricingMapOutput
type SubscriptionPricingMapInput ¶ added in v3.47.1
type SubscriptionPricingMapInput interface { pulumi.Input ToSubscriptionPricingMapOutput() SubscriptionPricingMapOutput ToSubscriptionPricingMapOutputWithContext(context.Context) SubscriptionPricingMapOutput }
SubscriptionPricingMapInput is an input type that accepts SubscriptionPricingMap and SubscriptionPricingMapOutput values. You can construct a concrete instance of `SubscriptionPricingMapInput` via:
SubscriptionPricingMap{ "key": SubscriptionPricingArgs{...} }
type SubscriptionPricingMapOutput ¶ added in v3.47.1
type SubscriptionPricingMapOutput struct{ *pulumi.OutputState }
func (SubscriptionPricingMapOutput) ElementType ¶ added in v3.47.1
func (SubscriptionPricingMapOutput) ElementType() reflect.Type
func (SubscriptionPricingMapOutput) MapIndex ¶ added in v3.47.1
func (o SubscriptionPricingMapOutput) MapIndex(k pulumi.StringInput) SubscriptionPricingOutput
func (SubscriptionPricingMapOutput) ToSubscriptionPricingMapOutput ¶ added in v3.47.1
func (o SubscriptionPricingMapOutput) ToSubscriptionPricingMapOutput() SubscriptionPricingMapOutput
func (SubscriptionPricingMapOutput) ToSubscriptionPricingMapOutputWithContext ¶ added in v3.47.1
func (o SubscriptionPricingMapOutput) ToSubscriptionPricingMapOutputWithContext(ctx context.Context) SubscriptionPricingMapOutput
type SubscriptionPricingOutput ¶ added in v3.31.1
type SubscriptionPricingOutput struct {
*pulumi.OutputState
}
func (SubscriptionPricingOutput) ElementType ¶ added in v3.31.1
func (SubscriptionPricingOutput) ElementType() reflect.Type
func (SubscriptionPricingOutput) ToSubscriptionPricingOutput ¶ added in v3.31.1
func (o SubscriptionPricingOutput) ToSubscriptionPricingOutput() SubscriptionPricingOutput
func (SubscriptionPricingOutput) ToSubscriptionPricingOutputWithContext ¶ added in v3.31.1
func (o SubscriptionPricingOutput) ToSubscriptionPricingOutputWithContext(ctx context.Context) SubscriptionPricingOutput
func (SubscriptionPricingOutput) ToSubscriptionPricingPtrOutput ¶ added in v3.47.1
func (o SubscriptionPricingOutput) ToSubscriptionPricingPtrOutput() SubscriptionPricingPtrOutput
func (SubscriptionPricingOutput) ToSubscriptionPricingPtrOutputWithContext ¶ added in v3.47.1
func (o SubscriptionPricingOutput) ToSubscriptionPricingPtrOutputWithContext(ctx context.Context) SubscriptionPricingPtrOutput
type SubscriptionPricingPtrInput ¶ added in v3.47.1
type SubscriptionPricingPtrInput interface { pulumi.Input ToSubscriptionPricingPtrOutput() SubscriptionPricingPtrOutput ToSubscriptionPricingPtrOutputWithContext(ctx context.Context) SubscriptionPricingPtrOutput }
type SubscriptionPricingPtrOutput ¶ added in v3.47.1
type SubscriptionPricingPtrOutput struct {
*pulumi.OutputState
}
func (SubscriptionPricingPtrOutput) ElementType ¶ added in v3.47.1
func (SubscriptionPricingPtrOutput) ElementType() reflect.Type
func (SubscriptionPricingPtrOutput) ToSubscriptionPricingPtrOutput ¶ added in v3.47.1
func (o SubscriptionPricingPtrOutput) ToSubscriptionPricingPtrOutput() SubscriptionPricingPtrOutput
func (SubscriptionPricingPtrOutput) ToSubscriptionPricingPtrOutputWithContext ¶ added in v3.47.1
func (o SubscriptionPricingPtrOutput) ToSubscriptionPricingPtrOutputWithContext(ctx context.Context) SubscriptionPricingPtrOutput
type SubscriptionPricingState ¶
type SubscriptionPricingState struct { // The resource type this setting affects. Possible values are `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm` and `Dns`. ResourceType pulumi.StringPtrInput // The pricing tier to use. Possible values are `Free` and `Standard`. Tier pulumi.StringPtrInput }
func (SubscriptionPricingState) ElementType ¶
func (SubscriptionPricingState) ElementType() reflect.Type
type Workspace ¶
type Workspace struct { pulumi.CustomResourceState // The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope. Scope pulumi.StringOutput `pulumi:"scope"` // The ID of the Log Analytics Workspace to save the data in. WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"` }
Manages the subscription's Security Center Workspace.
> **NOTE:** Owner access permission is required.
> **NOTE:** The subscription's pricing model can not be `Free` for this to have any affect.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/operationalinsights" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/securitycenter" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("PerGB2018"), }) if err != nil { return err } _, err = securitycenter.NewWorkspace(ctx, "exampleWorkspace", &securitycenter.WorkspaceArgs{ Scope: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000"), WorkspaceId: exampleAnalyticsWorkspace.ID(), }) if err != nil { return err } return nil }) }
```
## Import
The contact can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:securitycenter/workspace:Workspace example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/workspaceSettings/default
```
func GetWorkspace ¶
func GetWorkspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)
GetWorkspace gets an existing Workspace 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 NewWorkspace ¶
func NewWorkspace(ctx *pulumi.Context, name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)
NewWorkspace registers a new resource with the given unique name, arguments, and options.
func (*Workspace) ElementType ¶ added in v3.31.1
func (*Workspace) ToWorkspaceOutput ¶ added in v3.31.1
func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
func (*Workspace) ToWorkspaceOutputWithContext ¶ added in v3.31.1
func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (*Workspace) ToWorkspacePtrOutput ¶ added in v3.47.1
func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput
func (*Workspace) ToWorkspacePtrOutputWithContext ¶ added in v3.47.1
func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspaceArgs ¶
type WorkspaceArgs struct { // The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope. Scope pulumi.StringInput // The ID of the Log Analytics Workspace to save the data in. WorkspaceId pulumi.StringInput }
The set of arguments for constructing a Workspace resource.
func (WorkspaceArgs) ElementType ¶
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceArray ¶ added in v3.47.1
type WorkspaceArray []WorkspaceInput
func (WorkspaceArray) ElementType ¶ added in v3.47.1
func (WorkspaceArray) ElementType() reflect.Type
func (WorkspaceArray) ToWorkspaceArrayOutput ¶ added in v3.47.1
func (i WorkspaceArray) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArray) ToWorkspaceArrayOutputWithContext ¶ added in v3.47.1
func (i WorkspaceArray) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceArrayInput ¶ added in v3.47.1
type WorkspaceArrayInput interface { pulumi.Input ToWorkspaceArrayOutput() WorkspaceArrayOutput ToWorkspaceArrayOutputWithContext(context.Context) WorkspaceArrayOutput }
WorkspaceArrayInput is an input type that accepts WorkspaceArray and WorkspaceArrayOutput values. You can construct a concrete instance of `WorkspaceArrayInput` via:
WorkspaceArray{ WorkspaceArgs{...} }
type WorkspaceArrayOutput ¶ added in v3.47.1
type WorkspaceArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceArrayOutput) ElementType ¶ added in v3.47.1
func (WorkspaceArrayOutput) ElementType() reflect.Type
func (WorkspaceArrayOutput) Index ¶ added in v3.47.1
func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutput ¶ added in v3.47.1
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext ¶ added in v3.47.1
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceInput ¶ added in v3.31.1
type WorkspaceInput interface { pulumi.Input ToWorkspaceOutput() WorkspaceOutput ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput }
type WorkspaceMap ¶ added in v3.47.1
type WorkspaceMap map[string]WorkspaceInput
func (WorkspaceMap) ElementType ¶ added in v3.47.1
func (WorkspaceMap) ElementType() reflect.Type
func (WorkspaceMap) ToWorkspaceMapOutput ¶ added in v3.47.1
func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMap) ToWorkspaceMapOutputWithContext ¶ added in v3.47.1
func (i WorkspaceMap) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceMapInput ¶ added in v3.47.1
type WorkspaceMapInput interface { pulumi.Input ToWorkspaceMapOutput() WorkspaceMapOutput ToWorkspaceMapOutputWithContext(context.Context) WorkspaceMapOutput }
WorkspaceMapInput is an input type that accepts WorkspaceMap and WorkspaceMapOutput values. You can construct a concrete instance of `WorkspaceMapInput` via:
WorkspaceMap{ "key": WorkspaceArgs{...} }
type WorkspaceMapOutput ¶ added in v3.47.1
type WorkspaceMapOutput struct{ *pulumi.OutputState }
func (WorkspaceMapOutput) ElementType ¶ added in v3.47.1
func (WorkspaceMapOutput) ElementType() reflect.Type
func (WorkspaceMapOutput) MapIndex ¶ added in v3.47.1
func (o WorkspaceMapOutput) MapIndex(k pulumi.StringInput) WorkspaceOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutput ¶ added in v3.47.1
func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext ¶ added in v3.47.1
func (o WorkspaceMapOutput) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceOutput ¶ added in v3.31.1
type WorkspaceOutput struct {
*pulumi.OutputState
}
func (WorkspaceOutput) ElementType ¶ added in v3.31.1
func (WorkspaceOutput) ElementType() reflect.Type
func (WorkspaceOutput) ToWorkspaceOutput ¶ added in v3.31.1
func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
func (WorkspaceOutput) ToWorkspaceOutputWithContext ¶ added in v3.31.1
func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (WorkspaceOutput) ToWorkspacePtrOutput ¶ added in v3.47.1
func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
func (WorkspaceOutput) ToWorkspacePtrOutputWithContext ¶ added in v3.47.1
func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspacePtrInput ¶ added in v3.47.1
type WorkspacePtrInput interface { pulumi.Input ToWorkspacePtrOutput() WorkspacePtrOutput ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput }
type WorkspacePtrOutput ¶ added in v3.47.1
type WorkspacePtrOutput struct {
*pulumi.OutputState
}
func (WorkspacePtrOutput) ElementType ¶ added in v3.47.1
func (WorkspacePtrOutput) ElementType() reflect.Type
func (WorkspacePtrOutput) ToWorkspacePtrOutput ¶ added in v3.47.1
func (o WorkspacePtrOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
func (WorkspacePtrOutput) ToWorkspacePtrOutputWithContext ¶ added in v3.47.1
func (o WorkspacePtrOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspaceState ¶
type WorkspaceState struct { // The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope. Scope pulumi.StringPtrInput // The ID of the Log Analytics Workspace to save the data in. WorkspaceId pulumi.StringPtrInput }
func (WorkspaceState) ElementType ¶
func (WorkspaceState) ElementType() reflect.Type