Documentation
¶
Index ¶
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleArray
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- type FirewallRuleInput
- type FirewallRuleMap
- type FirewallRuleMapInput
- type FirewallRuleMapOutput
- func (FirewallRuleMapOutput) ElementType() reflect.Type
- func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- type FirewallRuleOutput
- type FirewallRuleState
- type GetWorkspaceIdentity
- type GetWorkspaceIdentityArgs
- type GetWorkspaceIdentityArray
- type GetWorkspaceIdentityArrayInput
- type GetWorkspaceIdentityArrayOutput
- func (GetWorkspaceIdentityArrayOutput) ElementType() reflect.Type
- func (o GetWorkspaceIdentityArrayOutput) Index(i pulumi.IntInput) GetWorkspaceIdentityOutput
- func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
- func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput
- type GetWorkspaceIdentityInput
- type GetWorkspaceIdentityOutput
- func (GetWorkspaceIdentityOutput) ElementType() reflect.Type
- func (o GetWorkspaceIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetWorkspaceIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
- func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput
- func (o GetWorkspaceIdentityOutput) Type() pulumi.StringOutput
- type IntegrationRuntimeAzure
- type IntegrationRuntimeAzureArgs
- type IntegrationRuntimeAzureArray
- func (IntegrationRuntimeAzureArray) ElementType() reflect.Type
- func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput
- func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutputWithContext(ctx context.Context) IntegrationRuntimeAzureArrayOutput
- type IntegrationRuntimeAzureArrayInput
- type IntegrationRuntimeAzureArrayOutput
- func (IntegrationRuntimeAzureArrayOutput) ElementType() reflect.Type
- func (o IntegrationRuntimeAzureArrayOutput) Index(i pulumi.IntInput) IntegrationRuntimeAzureOutput
- func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput
- func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutputWithContext(ctx context.Context) IntegrationRuntimeAzureArrayOutput
- type IntegrationRuntimeAzureInput
- type IntegrationRuntimeAzureMap
- func (IntegrationRuntimeAzureMap) ElementType() reflect.Type
- func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput
- func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutputWithContext(ctx context.Context) IntegrationRuntimeAzureMapOutput
- type IntegrationRuntimeAzureMapInput
- type IntegrationRuntimeAzureMapOutput
- func (IntegrationRuntimeAzureMapOutput) ElementType() reflect.Type
- func (o IntegrationRuntimeAzureMapOutput) MapIndex(k pulumi.StringInput) IntegrationRuntimeAzureOutput
- func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput
- func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutputWithContext(ctx context.Context) IntegrationRuntimeAzureMapOutput
- type IntegrationRuntimeAzureOutput
- type IntegrationRuntimeAzureState
- type IntegrationRuntimeSelfHosted
- func (*IntegrationRuntimeSelfHosted) ElementType() reflect.Type
- func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput
- func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput
- type IntegrationRuntimeSelfHostedArgs
- type IntegrationRuntimeSelfHostedArray
- func (IntegrationRuntimeSelfHostedArray) ElementType() reflect.Type
- func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput
- func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedArrayOutput
- type IntegrationRuntimeSelfHostedArrayInput
- type IntegrationRuntimeSelfHostedArrayOutput
- func (IntegrationRuntimeSelfHostedArrayOutput) ElementType() reflect.Type
- func (o IntegrationRuntimeSelfHostedArrayOutput) Index(i pulumi.IntInput) IntegrationRuntimeSelfHostedOutput
- func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput
- func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedArrayOutput
- type IntegrationRuntimeSelfHostedInput
- type IntegrationRuntimeSelfHostedMap
- func (IntegrationRuntimeSelfHostedMap) ElementType() reflect.Type
- func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput
- func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedMapOutput
- type IntegrationRuntimeSelfHostedMapInput
- type IntegrationRuntimeSelfHostedMapOutput
- func (IntegrationRuntimeSelfHostedMapOutput) ElementType() reflect.Type
- func (o IntegrationRuntimeSelfHostedMapOutput) MapIndex(k pulumi.StringInput) IntegrationRuntimeSelfHostedOutput
- func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput
- func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedMapOutput
- type IntegrationRuntimeSelfHostedOutput
- func (IntegrationRuntimeSelfHostedOutput) ElementType() reflect.Type
- func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput
- func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput
- type IntegrationRuntimeSelfHostedState
- type LinkedService
- type LinkedServiceArgs
- type LinkedServiceArray
- type LinkedServiceArrayInput
- type LinkedServiceArrayOutput
- func (LinkedServiceArrayOutput) ElementType() reflect.Type
- func (o LinkedServiceArrayOutput) Index(i pulumi.IntInput) LinkedServiceOutput
- func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput
- func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput
- type LinkedServiceInput
- type LinkedServiceIntegrationRuntime
- type LinkedServiceIntegrationRuntimeArgs
- func (LinkedServiceIntegrationRuntimeArgs) ElementType() reflect.Type
- func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput
- func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimeOutput
- func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
- func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput
- type LinkedServiceIntegrationRuntimeInput
- type LinkedServiceIntegrationRuntimeOutput
- func (LinkedServiceIntegrationRuntimeOutput) ElementType() reflect.Type
- func (o LinkedServiceIntegrationRuntimeOutput) Name() pulumi.StringOutput
- func (o LinkedServiceIntegrationRuntimeOutput) Parameters() pulumi.StringMapOutput
- func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput
- func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimeOutput
- func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
- func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput
- type LinkedServiceIntegrationRuntimePtrInput
- type LinkedServiceIntegrationRuntimePtrOutput
- func (o LinkedServiceIntegrationRuntimePtrOutput) Elem() LinkedServiceIntegrationRuntimeOutput
- func (LinkedServiceIntegrationRuntimePtrOutput) ElementType() reflect.Type
- func (o LinkedServiceIntegrationRuntimePtrOutput) Name() pulumi.StringPtrOutput
- func (o LinkedServiceIntegrationRuntimePtrOutput) Parameters() pulumi.StringMapOutput
- func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
- func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput
- type LinkedServiceMap
- type LinkedServiceMapInput
- type LinkedServiceMapOutput
- func (LinkedServiceMapOutput) ElementType() reflect.Type
- func (o LinkedServiceMapOutput) MapIndex(k pulumi.StringInput) LinkedServiceOutput
- func (o LinkedServiceMapOutput) ToLinkedServiceMapOutput() LinkedServiceMapOutput
- func (o LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput
- type LinkedServiceOutput
- type LinkedServiceState
- type LookupWorkspaceArgs
- type LookupWorkspaceOutputArgs
- type LookupWorkspaceResult
- type LookupWorkspaceResultOutput
- func (o LookupWorkspaceResultOutput) ConnectivityEndpoints() pulumi.StringMapOutput
- func (LookupWorkspaceResultOutput) ElementType() reflect.Type
- func (o LookupWorkspaceResultOutput) Id() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) Identities() GetWorkspaceIdentityArrayOutput
- func (o LookupWorkspaceResultOutput) Location() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) Name() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput
- func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext(ctx context.Context) LookupWorkspaceResultOutput
- type ManagedPrivateEndpoint
- type ManagedPrivateEndpointArgs
- type ManagedPrivateEndpointArray
- func (ManagedPrivateEndpointArray) ElementType() reflect.Type
- func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput
- func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput
- type ManagedPrivateEndpointArrayInput
- type ManagedPrivateEndpointArrayOutput
- func (ManagedPrivateEndpointArrayOutput) ElementType() reflect.Type
- func (o ManagedPrivateEndpointArrayOutput) Index(i pulumi.IntInput) ManagedPrivateEndpointOutput
- func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput
- func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput
- type ManagedPrivateEndpointInput
- type ManagedPrivateEndpointMap
- type ManagedPrivateEndpointMapInput
- type ManagedPrivateEndpointMapOutput
- func (ManagedPrivateEndpointMapOutput) ElementType() reflect.Type
- func (o ManagedPrivateEndpointMapOutput) MapIndex(k pulumi.StringInput) ManagedPrivateEndpointOutput
- func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput
- func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput
- type ManagedPrivateEndpointOutput
- type ManagedPrivateEndpointState
- type PrivateLinkHub
- type PrivateLinkHubArgs
- type PrivateLinkHubArray
- type PrivateLinkHubArrayInput
- type PrivateLinkHubArrayOutput
- func (PrivateLinkHubArrayOutput) ElementType() reflect.Type
- func (o PrivateLinkHubArrayOutput) Index(i pulumi.IntInput) PrivateLinkHubOutput
- func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput
- func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutputWithContext(ctx context.Context) PrivateLinkHubArrayOutput
- type PrivateLinkHubInput
- type PrivateLinkHubMap
- type PrivateLinkHubMapInput
- type PrivateLinkHubMapOutput
- func (PrivateLinkHubMapOutput) ElementType() reflect.Type
- func (o PrivateLinkHubMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkHubOutput
- func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput
- func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutputWithContext(ctx context.Context) PrivateLinkHubMapOutput
- type PrivateLinkHubOutput
- type PrivateLinkHubState
- type RoleAssignment
- type RoleAssignmentArgs
- type RoleAssignmentArray
- type RoleAssignmentArrayInput
- type RoleAssignmentArrayOutput
- func (RoleAssignmentArrayOutput) ElementType() reflect.Type
- func (o RoleAssignmentArrayOutput) Index(i pulumi.IntInput) RoleAssignmentOutput
- func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput
- func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput
- type RoleAssignmentInput
- type RoleAssignmentMap
- type RoleAssignmentMapInput
- type RoleAssignmentMapOutput
- func (RoleAssignmentMapOutput) ElementType() reflect.Type
- func (o RoleAssignmentMapOutput) MapIndex(k pulumi.StringInput) RoleAssignmentOutput
- func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput
- func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput
- type RoleAssignmentOutput
- type RoleAssignmentState
- type SparkPool
- type SparkPoolArgs
- type SparkPoolArray
- type SparkPoolArrayInput
- type SparkPoolArrayOutput
- func (SparkPoolArrayOutput) ElementType() reflect.Type
- func (o SparkPoolArrayOutput) Index(i pulumi.IntInput) SparkPoolOutput
- func (o SparkPoolArrayOutput) ToSparkPoolArrayOutput() SparkPoolArrayOutput
- func (o SparkPoolArrayOutput) ToSparkPoolArrayOutputWithContext(ctx context.Context) SparkPoolArrayOutput
- type SparkPoolAutoPause
- type SparkPoolAutoPauseArgs
- func (SparkPoolAutoPauseArgs) ElementType() reflect.Type
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
- type SparkPoolAutoPauseInput
- type SparkPoolAutoPauseOutput
- func (o SparkPoolAutoPauseOutput) DelayInMinutes() pulumi.IntOutput
- func (SparkPoolAutoPauseOutput) ElementType() reflect.Type
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
- type SparkPoolAutoPausePtrInput
- type SparkPoolAutoPausePtrOutput
- func (o SparkPoolAutoPausePtrOutput) DelayInMinutes() pulumi.IntPtrOutput
- func (o SparkPoolAutoPausePtrOutput) Elem() SparkPoolAutoPauseOutput
- func (SparkPoolAutoPausePtrOutput) ElementType() reflect.Type
- func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
- func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
- type SparkPoolAutoScale
- type SparkPoolAutoScaleArgs
- func (SparkPoolAutoScaleArgs) ElementType() reflect.Type
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
- type SparkPoolAutoScaleInput
- type SparkPoolAutoScaleOutput
- func (SparkPoolAutoScaleOutput) ElementType() reflect.Type
- func (o SparkPoolAutoScaleOutput) MaxNodeCount() pulumi.IntOutput
- func (o SparkPoolAutoScaleOutput) MinNodeCount() pulumi.IntOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
- type SparkPoolAutoScalePtrInput
- type SparkPoolAutoScalePtrOutput
- func (o SparkPoolAutoScalePtrOutput) Elem() SparkPoolAutoScaleOutput
- func (SparkPoolAutoScalePtrOutput) ElementType() reflect.Type
- func (o SparkPoolAutoScalePtrOutput) MaxNodeCount() pulumi.IntPtrOutput
- func (o SparkPoolAutoScalePtrOutput) MinNodeCount() pulumi.IntPtrOutput
- func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
- func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
- type SparkPoolInput
- type SparkPoolLibraryRequirement
- type SparkPoolLibraryRequirementArgs
- func (SparkPoolLibraryRequirementArgs) ElementType() reflect.Type
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
- type SparkPoolLibraryRequirementInput
- type SparkPoolLibraryRequirementOutput
- func (o SparkPoolLibraryRequirementOutput) Content() pulumi.StringOutput
- func (SparkPoolLibraryRequirementOutput) ElementType() reflect.Type
- func (o SparkPoolLibraryRequirementOutput) Filename() pulumi.StringOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
- type SparkPoolLibraryRequirementPtrInput
- type SparkPoolLibraryRequirementPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) Content() pulumi.StringPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) Elem() SparkPoolLibraryRequirementOutput
- func (SparkPoolLibraryRequirementPtrOutput) ElementType() reflect.Type
- func (o SparkPoolLibraryRequirementPtrOutput) Filename() pulumi.StringPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
- type SparkPoolMap
- type SparkPoolMapInput
- type SparkPoolMapOutput
- type SparkPoolOutput
- type SparkPoolSparkConfig
- type SparkPoolSparkConfigArgs
- func (SparkPoolSparkConfigArgs) ElementType() reflect.Type
- func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput
- func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutputWithContext(ctx context.Context) SparkPoolSparkConfigOutput
- func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
- func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput
- type SparkPoolSparkConfigInput
- type SparkPoolSparkConfigOutput
- func (o SparkPoolSparkConfigOutput) Content() pulumi.StringOutput
- func (SparkPoolSparkConfigOutput) ElementType() reflect.Type
- func (o SparkPoolSparkConfigOutput) Filename() pulumi.StringOutput
- func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput
- func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutputWithContext(ctx context.Context) SparkPoolSparkConfigOutput
- func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
- func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput
- type SparkPoolSparkConfigPtrInput
- type SparkPoolSparkConfigPtrOutput
- func (o SparkPoolSparkConfigPtrOutput) Content() pulumi.StringPtrOutput
- func (o SparkPoolSparkConfigPtrOutput) Elem() SparkPoolSparkConfigOutput
- func (SparkPoolSparkConfigPtrOutput) ElementType() reflect.Type
- func (o SparkPoolSparkConfigPtrOutput) Filename() pulumi.StringPtrOutput
- func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
- func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput
- type SparkPoolState
- type SqlPool
- type SqlPoolArgs
- type SqlPoolArray
- type SqlPoolArrayInput
- type SqlPoolArrayOutput
- type SqlPoolExtendedAuditingPolicy
- func (*SqlPoolExtendedAuditingPolicy) ElementType() reflect.Type
- func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput
- func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput
- type SqlPoolExtendedAuditingPolicyArgs
- type SqlPoolExtendedAuditingPolicyArray
- func (SqlPoolExtendedAuditingPolicyArray) ElementType() reflect.Type
- func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput
- func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyArrayOutput
- type SqlPoolExtendedAuditingPolicyArrayInput
- type SqlPoolExtendedAuditingPolicyArrayOutput
- func (SqlPoolExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
- func (o SqlPoolExtendedAuditingPolicyArrayOutput) Index(i pulumi.IntInput) SqlPoolExtendedAuditingPolicyOutput
- func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput
- func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyArrayOutput
- type SqlPoolExtendedAuditingPolicyInput
- type SqlPoolExtendedAuditingPolicyMap
- func (SqlPoolExtendedAuditingPolicyMap) ElementType() reflect.Type
- func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput
- func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyMapOutput
- type SqlPoolExtendedAuditingPolicyMapInput
- type SqlPoolExtendedAuditingPolicyMapOutput
- func (SqlPoolExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
- func (o SqlPoolExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) SqlPoolExtendedAuditingPolicyOutput
- func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput
- func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyMapOutput
- type SqlPoolExtendedAuditingPolicyOutput
- func (SqlPoolExtendedAuditingPolicyOutput) ElementType() reflect.Type
- func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput
- func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput
- type SqlPoolExtendedAuditingPolicyState
- type SqlPoolInput
- type SqlPoolMap
- type SqlPoolMapInput
- type SqlPoolMapOutput
- type SqlPoolOutput
- type SqlPoolRestore
- type SqlPoolRestoreArgs
- func (SqlPoolRestoreArgs) ElementType() reflect.Type
- func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput
- func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutputWithContext(ctx context.Context) SqlPoolRestoreOutput
- func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
- func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput
- type SqlPoolRestoreInput
- type SqlPoolRestoreOutput
- func (SqlPoolRestoreOutput) ElementType() reflect.Type
- func (o SqlPoolRestoreOutput) PointInTime() pulumi.StringOutput
- func (o SqlPoolRestoreOutput) SourceDatabaseId() pulumi.StringOutput
- func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput
- func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutputWithContext(ctx context.Context) SqlPoolRestoreOutput
- func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
- func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput
- type SqlPoolRestorePtrInput
- type SqlPoolRestorePtrOutput
- func (o SqlPoolRestorePtrOutput) Elem() SqlPoolRestoreOutput
- func (SqlPoolRestorePtrOutput) ElementType() reflect.Type
- func (o SqlPoolRestorePtrOutput) PointInTime() pulumi.StringPtrOutput
- func (o SqlPoolRestorePtrOutput) SourceDatabaseId() pulumi.StringPtrOutput
- func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
- func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput
- type SqlPoolSecurityAlertPolicy
- func (*SqlPoolSecurityAlertPolicy) ElementType() reflect.Type
- func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput
- func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput
- type SqlPoolSecurityAlertPolicyArgs
- type SqlPoolSecurityAlertPolicyArray
- func (SqlPoolSecurityAlertPolicyArray) ElementType() reflect.Type
- func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput
- func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyArrayOutput
- type SqlPoolSecurityAlertPolicyArrayInput
- type SqlPoolSecurityAlertPolicyArrayOutput
- func (SqlPoolSecurityAlertPolicyArrayOutput) ElementType() reflect.Type
- func (o SqlPoolSecurityAlertPolicyArrayOutput) Index(i pulumi.IntInput) SqlPoolSecurityAlertPolicyOutput
- func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput
- func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyArrayOutput
- type SqlPoolSecurityAlertPolicyInput
- type SqlPoolSecurityAlertPolicyMap
- func (SqlPoolSecurityAlertPolicyMap) ElementType() reflect.Type
- func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput
- func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyMapOutput
- type SqlPoolSecurityAlertPolicyMapInput
- type SqlPoolSecurityAlertPolicyMapOutput
- func (SqlPoolSecurityAlertPolicyMapOutput) ElementType() reflect.Type
- func (o SqlPoolSecurityAlertPolicyMapOutput) MapIndex(k pulumi.StringInput) SqlPoolSecurityAlertPolicyOutput
- func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput
- func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyMapOutput
- type SqlPoolSecurityAlertPolicyOutput
- func (SqlPoolSecurityAlertPolicyOutput) ElementType() reflect.Type
- func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput
- func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput
- type SqlPoolSecurityAlertPolicyState
- type SqlPoolState
- type SqlPoolVulnerabilityAssessment
- func (*SqlPoolVulnerabilityAssessment) ElementType() reflect.Type
- func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput
- func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput
- type SqlPoolVulnerabilityAssessmentArgs
- type SqlPoolVulnerabilityAssessmentArray
- func (SqlPoolVulnerabilityAssessmentArray) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput
- func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentArrayOutput
- type SqlPoolVulnerabilityAssessmentArrayInput
- type SqlPoolVulnerabilityAssessmentArrayOutput
- func (SqlPoolVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentArrayOutput) Index(i pulumi.IntInput) SqlPoolVulnerabilityAssessmentOutput
- func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput
- func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentArrayOutput
- type SqlPoolVulnerabilityAssessmentBaseline
- func (*SqlPoolVulnerabilityAssessmentBaseline) ElementType() reflect.Type
- func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput
- func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput
- type SqlPoolVulnerabilityAssessmentBaselineArgs
- type SqlPoolVulnerabilityAssessmentBaselineArray
- func (SqlPoolVulnerabilityAssessmentBaselineArray) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput
- func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput
- type SqlPoolVulnerabilityAssessmentBaselineArrayInput
- type SqlPoolVulnerabilityAssessmentBaselineArrayOutput
- func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) Index(i pulumi.IntInput) SqlPoolVulnerabilityAssessmentBaselineOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput
- type SqlPoolVulnerabilityAssessmentBaselineBaseline
- type SqlPoolVulnerabilityAssessmentBaselineBaselineArgs
- func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
- func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
- type SqlPoolVulnerabilityAssessmentBaselineBaselineArray
- func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
- func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
- type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput
- type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
- func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) Index(i pulumi.IntInput) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
- type SqlPoolVulnerabilityAssessmentBaselineBaselineInput
- type SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
- func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) Results() pulumi.StringArrayOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
- type SqlPoolVulnerabilityAssessmentBaselineInput
- type SqlPoolVulnerabilityAssessmentBaselineMap
- func (SqlPoolVulnerabilityAssessmentBaselineMap) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput
- func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput
- type SqlPoolVulnerabilityAssessmentBaselineMapInput
- type SqlPoolVulnerabilityAssessmentBaselineMapOutput
- func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) MapIndex(k pulumi.StringInput) SqlPoolVulnerabilityAssessmentBaselineOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput
- type SqlPoolVulnerabilityAssessmentBaselineOutput
- func (SqlPoolVulnerabilityAssessmentBaselineOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput
- func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput
- type SqlPoolVulnerabilityAssessmentBaselineState
- type SqlPoolVulnerabilityAssessmentInput
- type SqlPoolVulnerabilityAssessmentMap
- func (SqlPoolVulnerabilityAssessmentMap) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput
- func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentMapOutput
- type SqlPoolVulnerabilityAssessmentMapInput
- type SqlPoolVulnerabilityAssessmentMapOutput
- func (SqlPoolVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) SqlPoolVulnerabilityAssessmentOutput
- func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput
- func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentMapOutput
- type SqlPoolVulnerabilityAssessmentOutput
- func (SqlPoolVulnerabilityAssessmentOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput
- func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput
- type SqlPoolVulnerabilityAssessmentRecurringScans
- type SqlPoolVulnerabilityAssessmentRecurringScansArgs
- func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ElementType() reflect.Type
- func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput
- func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput
- func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- type SqlPoolVulnerabilityAssessmentRecurringScansInput
- type SqlPoolVulnerabilityAssessmentRecurringScansOutput
- func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) Emails() pulumi.StringArrayOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) Enabled() pulumi.BoolPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- type SqlPoolVulnerabilityAssessmentRecurringScansPtrInput
- type SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Elem() SqlPoolVulnerabilityAssessmentRecurringScansOutput
- func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ElementType() reflect.Type
- func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Emails() pulumi.StringArrayOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
- type SqlPoolVulnerabilityAssessmentState
- type SqlPoolWorkloadClassifier
- type SqlPoolWorkloadClassifierArgs
- type SqlPoolWorkloadClassifierArray
- func (SqlPoolWorkloadClassifierArray) ElementType() reflect.Type
- func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput
- func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierArrayOutput
- type SqlPoolWorkloadClassifierArrayInput
- type SqlPoolWorkloadClassifierArrayOutput
- func (SqlPoolWorkloadClassifierArrayOutput) ElementType() reflect.Type
- func (o SqlPoolWorkloadClassifierArrayOutput) Index(i pulumi.IntInput) SqlPoolWorkloadClassifierOutput
- func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput
- func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierArrayOutput
- type SqlPoolWorkloadClassifierInput
- type SqlPoolWorkloadClassifierMap
- func (SqlPoolWorkloadClassifierMap) ElementType() reflect.Type
- func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput
- func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierMapOutput
- type SqlPoolWorkloadClassifierMapInput
- type SqlPoolWorkloadClassifierMapOutput
- func (SqlPoolWorkloadClassifierMapOutput) ElementType() reflect.Type
- func (o SqlPoolWorkloadClassifierMapOutput) MapIndex(k pulumi.StringInput) SqlPoolWorkloadClassifierOutput
- func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput
- func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierMapOutput
- type SqlPoolWorkloadClassifierOutput
- func (SqlPoolWorkloadClassifierOutput) ElementType() reflect.Type
- func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput
- func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput
- type SqlPoolWorkloadClassifierState
- type SqlPoolWorkloadGroup
- type SqlPoolWorkloadGroupArgs
- type SqlPoolWorkloadGroupArray
- type SqlPoolWorkloadGroupArrayInput
- type SqlPoolWorkloadGroupArrayOutput
- func (SqlPoolWorkloadGroupArrayOutput) ElementType() reflect.Type
- func (o SqlPoolWorkloadGroupArrayOutput) Index(i pulumi.IntInput) SqlPoolWorkloadGroupOutput
- func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput
- func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupArrayOutput
- type SqlPoolWorkloadGroupInput
- type SqlPoolWorkloadGroupMap
- type SqlPoolWorkloadGroupMapInput
- type SqlPoolWorkloadGroupMapOutput
- func (SqlPoolWorkloadGroupMapOutput) ElementType() reflect.Type
- func (o SqlPoolWorkloadGroupMapOutput) MapIndex(k pulumi.StringInput) SqlPoolWorkloadGroupOutput
- func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput
- func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupMapOutput
- type SqlPoolWorkloadGroupOutput
- type SqlPoolWorkloadGroupState
- type Workspace
- type WorkspaceAadAdmin
- type WorkspaceAadAdminArgs
- type WorkspaceAadAdminArray
- type WorkspaceAadAdminArrayInput
- type WorkspaceAadAdminArrayOutput
- func (WorkspaceAadAdminArrayOutput) ElementType() reflect.Type
- func (o WorkspaceAadAdminArrayOutput) Index(i pulumi.IntInput) WorkspaceAadAdminOutput
- func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput
- func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceAadAdminArrayOutput
- type WorkspaceAadAdminInput
- type WorkspaceAadAdminMap
- type WorkspaceAadAdminMapInput
- type WorkspaceAadAdminMapOutput
- func (WorkspaceAadAdminMapOutput) ElementType() reflect.Type
- func (o WorkspaceAadAdminMapOutput) MapIndex(k pulumi.StringInput) WorkspaceAadAdminOutput
- func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput
- func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutputWithContext(ctx context.Context) WorkspaceAadAdminMapOutput
- type WorkspaceAadAdminOutput
- type WorkspaceAadAdminState
- type WorkspaceAadAdminType
- type WorkspaceAadAdminTypeArgs
- func (WorkspaceAadAdminTypeArgs) ElementType() reflect.Type
- func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput
- func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceAadAdminTypeOutput
- func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
- func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput
- type WorkspaceAadAdminTypeInput
- type WorkspaceAadAdminTypeOutput
- func (WorkspaceAadAdminTypeOutput) ElementType() reflect.Type
- func (o WorkspaceAadAdminTypeOutput) Login() pulumi.StringOutput
- func (o WorkspaceAadAdminTypeOutput) ObjectId() pulumi.StringOutput
- func (o WorkspaceAadAdminTypeOutput) TenantId() pulumi.StringOutput
- func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput
- func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceAadAdminTypeOutput
- func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
- func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput
- type WorkspaceAadAdminTypePtrInput
- type WorkspaceAadAdminTypePtrOutput
- func (o WorkspaceAadAdminTypePtrOutput) Elem() WorkspaceAadAdminTypeOutput
- func (WorkspaceAadAdminTypePtrOutput) ElementType() reflect.Type
- func (o WorkspaceAadAdminTypePtrOutput) Login() pulumi.StringPtrOutput
- func (o WorkspaceAadAdminTypePtrOutput) ObjectId() pulumi.StringPtrOutput
- func (o WorkspaceAadAdminTypePtrOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
- func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput
- 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 WorkspaceAzureDevopsRepo
- type WorkspaceAzureDevopsRepoArgs
- func (WorkspaceAzureDevopsRepoArgs) ElementType() reflect.Type
- func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput
- func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoOutput
- func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
- func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput
- type WorkspaceAzureDevopsRepoInput
- type WorkspaceAzureDevopsRepoOutput
- func (o WorkspaceAzureDevopsRepoOutput) AccountName() pulumi.StringOutput
- func (o WorkspaceAzureDevopsRepoOutput) BranchName() pulumi.StringOutput
- func (WorkspaceAzureDevopsRepoOutput) ElementType() reflect.Type
- func (o WorkspaceAzureDevopsRepoOutput) LastCommitId() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoOutput) ProjectName() pulumi.StringOutput
- func (o WorkspaceAzureDevopsRepoOutput) RepositoryName() pulumi.StringOutput
- func (o WorkspaceAzureDevopsRepoOutput) RootFolder() pulumi.StringOutput
- func (o WorkspaceAzureDevopsRepoOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput
- func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoOutput
- func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
- func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput
- type WorkspaceAzureDevopsRepoPtrInput
- type WorkspaceAzureDevopsRepoPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) AccountName() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) BranchName() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) Elem() WorkspaceAzureDevopsRepoOutput
- func (WorkspaceAzureDevopsRepoPtrOutput) ElementType() reflect.Type
- func (o WorkspaceAzureDevopsRepoPtrOutput) LastCommitId() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) ProjectName() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) RepositoryName() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) RootFolder() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
- func (o WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput
- type WorkspaceCustomerManagedKey
- type WorkspaceCustomerManagedKeyArgs
- func (WorkspaceCustomerManagedKeyArgs) ElementType() reflect.Type
- func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput
- func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput
- func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
- func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput
- type WorkspaceCustomerManagedKeyInput
- type WorkspaceCustomerManagedKeyOutput
- func (WorkspaceCustomerManagedKeyOutput) ElementType() reflect.Type
- func (o WorkspaceCustomerManagedKeyOutput) KeyName() pulumi.StringPtrOutput
- func (o WorkspaceCustomerManagedKeyOutput) KeyVersionlessId() pulumi.StringOutput
- func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput
- func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput
- func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
- func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput
- type WorkspaceCustomerManagedKeyPtrInput
- type WorkspaceCustomerManagedKeyPtrOutput
- func (o WorkspaceCustomerManagedKeyPtrOutput) Elem() WorkspaceCustomerManagedKeyOutput
- func (WorkspaceCustomerManagedKeyPtrOutput) ElementType() reflect.Type
- func (o WorkspaceCustomerManagedKeyPtrOutput) KeyName() pulumi.StringPtrOutput
- func (o WorkspaceCustomerManagedKeyPtrOutput) KeyVersionlessId() pulumi.StringPtrOutput
- func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
- func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput
- type WorkspaceExtendedAuditingPolicy
- func GetWorkspaceExtendedAuditingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*WorkspaceExtendedAuditingPolicy, error)
- func NewWorkspaceExtendedAuditingPolicy(ctx *pulumi.Context, name string, args *WorkspaceExtendedAuditingPolicyArgs, ...) (*WorkspaceExtendedAuditingPolicy, error)
- func (*WorkspaceExtendedAuditingPolicy) ElementType() reflect.Type
- func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput
- func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput
- type WorkspaceExtendedAuditingPolicyArgs
- type WorkspaceExtendedAuditingPolicyArray
- func (WorkspaceExtendedAuditingPolicyArray) ElementType() reflect.Type
- func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput
- func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyArrayOutput
- type WorkspaceExtendedAuditingPolicyArrayInput
- type WorkspaceExtendedAuditingPolicyArrayOutput
- func (WorkspaceExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
- func (o WorkspaceExtendedAuditingPolicyArrayOutput) Index(i pulumi.IntInput) WorkspaceExtendedAuditingPolicyOutput
- func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput
- func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyArrayOutput
- type WorkspaceExtendedAuditingPolicyInput
- type WorkspaceExtendedAuditingPolicyMap
- func (WorkspaceExtendedAuditingPolicyMap) ElementType() reflect.Type
- func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput
- func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyMapOutput
- type WorkspaceExtendedAuditingPolicyMapInput
- type WorkspaceExtendedAuditingPolicyMapOutput
- func (WorkspaceExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
- func (o WorkspaceExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceExtendedAuditingPolicyOutput
- func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput
- func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyMapOutput
- type WorkspaceExtendedAuditingPolicyOutput
- func (WorkspaceExtendedAuditingPolicyOutput) ElementType() reflect.Type
- func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput
- func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput
- type WorkspaceExtendedAuditingPolicyState
- type WorkspaceGithubRepo
- type WorkspaceGithubRepoArgs
- func (WorkspaceGithubRepoArgs) ElementType() reflect.Type
- func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput
- func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutputWithContext(ctx context.Context) WorkspaceGithubRepoOutput
- func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
- func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput
- type WorkspaceGithubRepoInput
- type WorkspaceGithubRepoOutput
- func (o WorkspaceGithubRepoOutput) AccountName() pulumi.StringOutput
- func (o WorkspaceGithubRepoOutput) BranchName() pulumi.StringOutput
- func (WorkspaceGithubRepoOutput) ElementType() reflect.Type
- func (o WorkspaceGithubRepoOutput) GitUrl() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoOutput) LastCommitId() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoOutput) RepositoryName() pulumi.StringOutput
- func (o WorkspaceGithubRepoOutput) RootFolder() pulumi.StringOutput
- func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput
- func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutputWithContext(ctx context.Context) WorkspaceGithubRepoOutput
- func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
- func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput
- type WorkspaceGithubRepoPtrInput
- type WorkspaceGithubRepoPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) AccountName() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) BranchName() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) Elem() WorkspaceGithubRepoOutput
- func (WorkspaceGithubRepoPtrOutput) ElementType() reflect.Type
- func (o WorkspaceGithubRepoPtrOutput) GitUrl() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) LastCommitId() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) RepositoryName() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) RootFolder() pulumi.StringPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
- func (o WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput
- type WorkspaceIdentity
- type WorkspaceIdentityArgs
- func (WorkspaceIdentityArgs) ElementType() reflect.Type
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
- type WorkspaceIdentityInput
- type WorkspaceIdentityOutput
- func (WorkspaceIdentityOutput) ElementType() reflect.Type
- func (o WorkspaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityOutput) Type() pulumi.StringOutput
- type WorkspaceIdentityPtrInput
- type WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityPtrOutput) Elem() WorkspaceIdentityOutput
- func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type
- func (o WorkspaceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type WorkspaceInput
- type WorkspaceKey
- type WorkspaceKeyArgs
- type WorkspaceKeyArray
- type WorkspaceKeyArrayInput
- type WorkspaceKeyArrayOutput
- func (WorkspaceKeyArrayOutput) ElementType() reflect.Type
- func (o WorkspaceKeyArrayOutput) Index(i pulumi.IntInput) WorkspaceKeyOutput
- func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput
- func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutputWithContext(ctx context.Context) WorkspaceKeyArrayOutput
- type WorkspaceKeyInput
- type WorkspaceKeyMap
- type WorkspaceKeyMapInput
- type WorkspaceKeyMapOutput
- func (WorkspaceKeyMapOutput) ElementType() reflect.Type
- func (o WorkspaceKeyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceKeyOutput
- func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput
- func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutputWithContext(ctx context.Context) WorkspaceKeyMapOutput
- type WorkspaceKeyOutput
- type WorkspaceKeyState
- type WorkspaceMap
- type WorkspaceMapInput
- type WorkspaceMapOutput
- type WorkspaceOutput
- type WorkspaceSecurityAlertPolicy
- func (*WorkspaceSecurityAlertPolicy) ElementType() reflect.Type
- func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput
- func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput
- type WorkspaceSecurityAlertPolicyArgs
- type WorkspaceSecurityAlertPolicyArray
- func (WorkspaceSecurityAlertPolicyArray) ElementType() reflect.Type
- func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput
- func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyArrayOutput
- type WorkspaceSecurityAlertPolicyArrayInput
- type WorkspaceSecurityAlertPolicyArrayOutput
- func (WorkspaceSecurityAlertPolicyArrayOutput) ElementType() reflect.Type
- func (o WorkspaceSecurityAlertPolicyArrayOutput) Index(i pulumi.IntInput) WorkspaceSecurityAlertPolicyOutput
- func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput
- func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyArrayOutput
- type WorkspaceSecurityAlertPolicyInput
- type WorkspaceSecurityAlertPolicyMap
- func (WorkspaceSecurityAlertPolicyMap) ElementType() reflect.Type
- func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput
- func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyMapOutput
- type WorkspaceSecurityAlertPolicyMapInput
- type WorkspaceSecurityAlertPolicyMapOutput
- func (WorkspaceSecurityAlertPolicyMapOutput) ElementType() reflect.Type
- func (o WorkspaceSecurityAlertPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceSecurityAlertPolicyOutput
- func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput
- func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyMapOutput
- type WorkspaceSecurityAlertPolicyOutput
- func (WorkspaceSecurityAlertPolicyOutput) ElementType() reflect.Type
- func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput
- func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput
- type WorkspaceSecurityAlertPolicyState
- type WorkspaceSqlAadAdmin
- type WorkspaceSqlAadAdminArgs
- type WorkspaceSqlAadAdminArray
- type WorkspaceSqlAadAdminArrayInput
- type WorkspaceSqlAadAdminArrayOutput
- func (WorkspaceSqlAadAdminArrayOutput) ElementType() reflect.Type
- func (o WorkspaceSqlAadAdminArrayOutput) Index(i pulumi.IntInput) WorkspaceSqlAadAdminOutput
- func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput
- func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminArrayOutput
- type WorkspaceSqlAadAdminInput
- type WorkspaceSqlAadAdminMap
- type WorkspaceSqlAadAdminMapInput
- type WorkspaceSqlAadAdminMapOutput
- func (WorkspaceSqlAadAdminMapOutput) ElementType() reflect.Type
- func (o WorkspaceSqlAadAdminMapOutput) MapIndex(k pulumi.StringInput) WorkspaceSqlAadAdminOutput
- func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput
- func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminMapOutput
- type WorkspaceSqlAadAdminOutput
- type WorkspaceSqlAadAdminState
- type WorkspaceSqlAadAdminType
- type WorkspaceSqlAadAdminTypeArgs
- func (WorkspaceSqlAadAdminTypeArgs) ElementType() reflect.Type
- func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput
- func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypeOutput
- func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
- func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput
- type WorkspaceSqlAadAdminTypeInput
- type WorkspaceSqlAadAdminTypeOutput
- func (WorkspaceSqlAadAdminTypeOutput) ElementType() reflect.Type
- func (o WorkspaceSqlAadAdminTypeOutput) Login() pulumi.StringOutput
- func (o WorkspaceSqlAadAdminTypeOutput) ObjectId() pulumi.StringOutput
- func (o WorkspaceSqlAadAdminTypeOutput) TenantId() pulumi.StringOutput
- func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput
- func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypeOutput
- func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
- func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput
- type WorkspaceSqlAadAdminTypePtrInput
- type WorkspaceSqlAadAdminTypePtrOutput
- func (o WorkspaceSqlAadAdminTypePtrOutput) Elem() WorkspaceSqlAadAdminTypeOutput
- func (WorkspaceSqlAadAdminTypePtrOutput) ElementType() reflect.Type
- func (o WorkspaceSqlAadAdminTypePtrOutput) Login() pulumi.StringPtrOutput
- func (o WorkspaceSqlAadAdminTypePtrOutput) ObjectId() pulumi.StringPtrOutput
- func (o WorkspaceSqlAadAdminTypePtrOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
- func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput
- type WorkspaceState
- type WorkspaceVulnerabilityAssessment
- func GetWorkspaceVulnerabilityAssessment(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*WorkspaceVulnerabilityAssessment, error)
- func NewWorkspaceVulnerabilityAssessment(ctx *pulumi.Context, name string, args *WorkspaceVulnerabilityAssessmentArgs, ...) (*WorkspaceVulnerabilityAssessment, error)
- func (*WorkspaceVulnerabilityAssessment) ElementType() reflect.Type
- func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput
- func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput
- type WorkspaceVulnerabilityAssessmentArgs
- type WorkspaceVulnerabilityAssessmentArray
- func (WorkspaceVulnerabilityAssessmentArray) ElementType() reflect.Type
- func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput
- func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentArrayOutput
- type WorkspaceVulnerabilityAssessmentArrayInput
- type WorkspaceVulnerabilityAssessmentArrayOutput
- func (WorkspaceVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
- func (o WorkspaceVulnerabilityAssessmentArrayOutput) Index(i pulumi.IntInput) WorkspaceVulnerabilityAssessmentOutput
- func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput
- func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentArrayOutput
- type WorkspaceVulnerabilityAssessmentInput
- type WorkspaceVulnerabilityAssessmentMap
- func (WorkspaceVulnerabilityAssessmentMap) ElementType() reflect.Type
- func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput
- func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentMapOutput
- type WorkspaceVulnerabilityAssessmentMapInput
- type WorkspaceVulnerabilityAssessmentMapOutput
- func (WorkspaceVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
- func (o WorkspaceVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) WorkspaceVulnerabilityAssessmentOutput
- func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput
- func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentMapOutput
- type WorkspaceVulnerabilityAssessmentOutput
- func (WorkspaceVulnerabilityAssessmentOutput) ElementType() reflect.Type
- func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput
- func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput
- type WorkspaceVulnerabilityAssessmentRecurringScans
- type WorkspaceVulnerabilityAssessmentRecurringScansArgs
- func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ElementType() reflect.Type
- func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput
- func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput
- func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- type WorkspaceVulnerabilityAssessmentRecurringScansInput
- type WorkspaceVulnerabilityAssessmentRecurringScansOutput
- func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ElementType() reflect.Type
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) Emails() pulumi.StringArrayOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) Enabled() pulumi.BoolPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- type WorkspaceVulnerabilityAssessmentRecurringScansPtrInput
- type WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Elem() WorkspaceVulnerabilityAssessmentRecurringScansOutput
- func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ElementType() reflect.Type
- func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Emails() pulumi.StringArrayOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
- type WorkspaceVulnerabilityAssessmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FirewallRule ¶
type FirewallRule struct { pulumi.CustomResourceState // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` // The Name of the firewall rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` // The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` }
Allows you to Manages a Synapse Firewall Rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } _, err = synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } _, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Firewall Rule can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/firewallRule:FirewallRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.Synapse/workspaces/workspace1/firewallRules/rule1
```
func GetFirewallRule ¶
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)
GetFirewallRule gets an existing FirewallRule 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 NewFirewallRule ¶
func NewFirewallRule(ctx *pulumi.Context, name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FirewallRule) ElementType ¶
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleArgs ¶
type FirewallRuleArgs struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringInput // The Name of the firewall rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringInput // The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleArray ¶
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleMapInput ¶
type FirewallRuleMapInput interface { pulumi.Input ToFirewallRuleMapOutput() FirewallRuleMapOutput ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput }
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:
FirewallRuleMap{ "key": FirewallRuleArgs{...} }
type FirewallRuleMapOutput ¶
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleOutput ¶
type FirewallRuleOutput struct{ *pulumi.OutputState }
func (FirewallRuleOutput) ElementType ¶
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) ToFirewallRuleOutput ¶
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleState ¶
type FirewallRuleState struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringPtrInput // The Name of the firewall rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringPtrInput // The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶
func (FirewallRuleState) ElementType() reflect.Type
type GetWorkspaceIdentity ¶
type GetWorkspaceIdentity struct { // The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. PrincipalId string `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. TenantId string `pulumi:"tenantId"` // The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. Type string `pulumi:"type"` }
type GetWorkspaceIdentityArgs ¶
type GetWorkspaceIdentityArgs struct { // The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. TenantId pulumi.StringInput `pulumi:"tenantId"` // The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. Type pulumi.StringInput `pulumi:"type"` }
func (GetWorkspaceIdentityArgs) ElementType ¶
func (GetWorkspaceIdentityArgs) ElementType() reflect.Type
func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput ¶
func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext ¶
func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput
type GetWorkspaceIdentityArray ¶
type GetWorkspaceIdentityArray []GetWorkspaceIdentityInput
func (GetWorkspaceIdentityArray) ElementType ¶
func (GetWorkspaceIdentityArray) ElementType() reflect.Type
func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput ¶
func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext ¶
func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput
type GetWorkspaceIdentityArrayInput ¶
type GetWorkspaceIdentityArrayInput interface { pulumi.Input ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput ToGetWorkspaceIdentityArrayOutputWithContext(context.Context) GetWorkspaceIdentityArrayOutput }
GetWorkspaceIdentityArrayInput is an input type that accepts GetWorkspaceIdentityArray and GetWorkspaceIdentityArrayOutput values. You can construct a concrete instance of `GetWorkspaceIdentityArrayInput` via:
GetWorkspaceIdentityArray{ GetWorkspaceIdentityArgs{...} }
type GetWorkspaceIdentityArrayOutput ¶
type GetWorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetWorkspaceIdentityArrayOutput) ElementType ¶
func (GetWorkspaceIdentityArrayOutput) ElementType() reflect.Type
func (GetWorkspaceIdentityArrayOutput) Index ¶
func (o GetWorkspaceIdentityArrayOutput) Index(i pulumi.IntInput) GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput ¶
func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext ¶
func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput
type GetWorkspaceIdentityInput ¶
type GetWorkspaceIdentityInput interface { pulumi.Input ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput ToGetWorkspaceIdentityOutputWithContext(context.Context) GetWorkspaceIdentityOutput }
GetWorkspaceIdentityInput is an input type that accepts GetWorkspaceIdentityArgs and GetWorkspaceIdentityOutput values. You can construct a concrete instance of `GetWorkspaceIdentityInput` via:
GetWorkspaceIdentityArgs{...}
type GetWorkspaceIdentityOutput ¶
type GetWorkspaceIdentityOutput struct{ *pulumi.OutputState }
func (GetWorkspaceIdentityOutput) ElementType ¶
func (GetWorkspaceIdentityOutput) ElementType() reflect.Type
func (GetWorkspaceIdentityOutput) PrincipalId ¶
func (o GetWorkspaceIdentityOutput) PrincipalId() pulumi.StringOutput
The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
func (GetWorkspaceIdentityOutput) TenantId ¶
func (o GetWorkspaceIdentityOutput) TenantId() pulumi.StringOutput
The Tenant ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput ¶
func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext ¶
func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityOutput) Type ¶
func (o GetWorkspaceIdentityOutput) Type() pulumi.StringOutput
The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
type IntegrationRuntimeAzure ¶
type IntegrationRuntimeAzure struct { pulumi.CustomResourceState // Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`. ComputeType pulumi.StringPtrOutput `pulumi:"computeType"` // Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`. CoreCount pulumi.IntPtrOutput `pulumi:"coreCount"` // Integration runtime description. Description pulumi.StringPtrOutput `pulumi:"description"` // The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created. Name pulumi.StringOutput `pulumi:"name"` // The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`. TimeToLiveMin pulumi.IntPtrOutput `pulumi:"timeToLiveMin"` }
Manages a Synapse Azure Integration Runtime.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), ManagedVirtualNetworkEnabled: pulumi.Bool(true), }) if err != nil { return err } _, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } _, err = synapse.NewIntegrationRuntimeAzure(ctx, "exampleIntegrationRuntimeAzure", &synapse.IntegrationRuntimeAzureArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), Location: exampleResourceGroup.Location, }) if err != nil { return err } return nil }) }
```
## Import
Synapse Azure Integration Runtimes can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/integrationRuntimeAzure:IntegrationRuntimeAzure example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationruntimes/IntegrationRuntime1
```
func GetIntegrationRuntimeAzure ¶
func GetIntegrationRuntimeAzure(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationRuntimeAzureState, opts ...pulumi.ResourceOption) (*IntegrationRuntimeAzure, error)
GetIntegrationRuntimeAzure gets an existing IntegrationRuntimeAzure 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 NewIntegrationRuntimeAzure ¶
func NewIntegrationRuntimeAzure(ctx *pulumi.Context, name string, args *IntegrationRuntimeAzureArgs, opts ...pulumi.ResourceOption) (*IntegrationRuntimeAzure, error)
NewIntegrationRuntimeAzure registers a new resource with the given unique name, arguments, and options.
func (*IntegrationRuntimeAzure) ElementType ¶
func (*IntegrationRuntimeAzure) ElementType() reflect.Type
func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutput ¶
func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput
func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutputWithContext ¶
func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutputWithContext(ctx context.Context) IntegrationRuntimeAzureOutput
type IntegrationRuntimeAzureArgs ¶
type IntegrationRuntimeAzureArgs struct { // Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`. ComputeType pulumi.StringPtrInput // Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`. CoreCount pulumi.IntPtrInput // Integration runtime description. Description pulumi.StringPtrInput // The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created. Location pulumi.StringPtrInput // The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created. Name pulumi.StringPtrInput // The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created. SynapseWorkspaceId pulumi.StringInput // Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`. TimeToLiveMin pulumi.IntPtrInput }
The set of arguments for constructing a IntegrationRuntimeAzure resource.
func (IntegrationRuntimeAzureArgs) ElementType ¶
func (IntegrationRuntimeAzureArgs) ElementType() reflect.Type
type IntegrationRuntimeAzureArray ¶
type IntegrationRuntimeAzureArray []IntegrationRuntimeAzureInput
func (IntegrationRuntimeAzureArray) ElementType ¶
func (IntegrationRuntimeAzureArray) ElementType() reflect.Type
func (IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput ¶
func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput
func (IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutputWithContext ¶
func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutputWithContext(ctx context.Context) IntegrationRuntimeAzureArrayOutput
type IntegrationRuntimeAzureArrayInput ¶
type IntegrationRuntimeAzureArrayInput interface { pulumi.Input ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput ToIntegrationRuntimeAzureArrayOutputWithContext(context.Context) IntegrationRuntimeAzureArrayOutput }
IntegrationRuntimeAzureArrayInput is an input type that accepts IntegrationRuntimeAzureArray and IntegrationRuntimeAzureArrayOutput values. You can construct a concrete instance of `IntegrationRuntimeAzureArrayInput` via:
IntegrationRuntimeAzureArray{ IntegrationRuntimeAzureArgs{...} }
type IntegrationRuntimeAzureArrayOutput ¶
type IntegrationRuntimeAzureArrayOutput struct{ *pulumi.OutputState }
func (IntegrationRuntimeAzureArrayOutput) ElementType ¶
func (IntegrationRuntimeAzureArrayOutput) ElementType() reflect.Type
func (IntegrationRuntimeAzureArrayOutput) Index ¶
func (o IntegrationRuntimeAzureArrayOutput) Index(i pulumi.IntInput) IntegrationRuntimeAzureOutput
func (IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput ¶
func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput
func (IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutputWithContext ¶
func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutputWithContext(ctx context.Context) IntegrationRuntimeAzureArrayOutput
type IntegrationRuntimeAzureInput ¶
type IntegrationRuntimeAzureInput interface { pulumi.Input ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput ToIntegrationRuntimeAzureOutputWithContext(ctx context.Context) IntegrationRuntimeAzureOutput }
type IntegrationRuntimeAzureMap ¶
type IntegrationRuntimeAzureMap map[string]IntegrationRuntimeAzureInput
func (IntegrationRuntimeAzureMap) ElementType ¶
func (IntegrationRuntimeAzureMap) ElementType() reflect.Type
func (IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput ¶
func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput
func (IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutputWithContext ¶
func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutputWithContext(ctx context.Context) IntegrationRuntimeAzureMapOutput
type IntegrationRuntimeAzureMapInput ¶
type IntegrationRuntimeAzureMapInput interface { pulumi.Input ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput ToIntegrationRuntimeAzureMapOutputWithContext(context.Context) IntegrationRuntimeAzureMapOutput }
IntegrationRuntimeAzureMapInput is an input type that accepts IntegrationRuntimeAzureMap and IntegrationRuntimeAzureMapOutput values. You can construct a concrete instance of `IntegrationRuntimeAzureMapInput` via:
IntegrationRuntimeAzureMap{ "key": IntegrationRuntimeAzureArgs{...} }
type IntegrationRuntimeAzureMapOutput ¶
type IntegrationRuntimeAzureMapOutput struct{ *pulumi.OutputState }
func (IntegrationRuntimeAzureMapOutput) ElementType ¶
func (IntegrationRuntimeAzureMapOutput) ElementType() reflect.Type
func (IntegrationRuntimeAzureMapOutput) MapIndex ¶
func (o IntegrationRuntimeAzureMapOutput) MapIndex(k pulumi.StringInput) IntegrationRuntimeAzureOutput
func (IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput ¶
func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput
func (IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutputWithContext ¶
func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutputWithContext(ctx context.Context) IntegrationRuntimeAzureMapOutput
type IntegrationRuntimeAzureOutput ¶
type IntegrationRuntimeAzureOutput struct{ *pulumi.OutputState }
func (IntegrationRuntimeAzureOutput) ElementType ¶
func (IntegrationRuntimeAzureOutput) ElementType() reflect.Type
func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutput ¶
func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput
func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutputWithContext ¶
func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutputWithContext(ctx context.Context) IntegrationRuntimeAzureOutput
type IntegrationRuntimeAzureState ¶
type IntegrationRuntimeAzureState struct { // Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`. ComputeType pulumi.StringPtrInput // Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`. CoreCount pulumi.IntPtrInput // Integration runtime description. Description pulumi.StringPtrInput // The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created. Location pulumi.StringPtrInput // The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created. Name pulumi.StringPtrInput // The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created. SynapseWorkspaceId pulumi.StringPtrInput // Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`. TimeToLiveMin pulumi.IntPtrInput }
func (IntegrationRuntimeAzureState) ElementType ¶
func (IntegrationRuntimeAzureState) ElementType() reflect.Type
type IntegrationRuntimeSelfHosted ¶
type IntegrationRuntimeSelfHosted struct { pulumi.CustomResourceState // The primary integration runtime authentication key. AuthorizationKeyPrimary pulumi.StringOutput `pulumi:"authorizationKeyPrimary"` // The secondary integration runtime authentication key. AuthorizationKeySecondary pulumi.StringOutput `pulumi:"authorizationKeySecondary"` // Integration runtime description. Description pulumi.StringPtrOutput `pulumi:"description"` // The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. Name pulumi.StringOutput `pulumi:"name"` // The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` }
Manages a Synapse Self-hosted Integration Runtime.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), ManagedVirtualNetworkEnabled: pulumi.Bool(true), }) if err != nil { return err } _, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } _, err = synapse.NewIntegrationRuntimeSelfHosted(ctx, "exampleIntegrationRuntimeSelfHosted", &synapse.IntegrationRuntimeSelfHostedArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Self-hosted Integration Runtimes can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationruntimes/IntegrationRuntime1
```
func GetIntegrationRuntimeSelfHosted ¶
func GetIntegrationRuntimeSelfHosted(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationRuntimeSelfHostedState, opts ...pulumi.ResourceOption) (*IntegrationRuntimeSelfHosted, error)
GetIntegrationRuntimeSelfHosted gets an existing IntegrationRuntimeSelfHosted 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 NewIntegrationRuntimeSelfHosted ¶
func NewIntegrationRuntimeSelfHosted(ctx *pulumi.Context, name string, args *IntegrationRuntimeSelfHostedArgs, opts ...pulumi.ResourceOption) (*IntegrationRuntimeSelfHosted, error)
NewIntegrationRuntimeSelfHosted registers a new resource with the given unique name, arguments, and options.
func (*IntegrationRuntimeSelfHosted) ElementType ¶
func (*IntegrationRuntimeSelfHosted) ElementType() reflect.Type
func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput ¶
func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput
func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutputWithContext ¶
func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput
type IntegrationRuntimeSelfHostedArgs ¶
type IntegrationRuntimeSelfHostedArgs struct { // Integration runtime description. Description pulumi.StringPtrInput // The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. Name pulumi.StringPtrInput // The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. SynapseWorkspaceId pulumi.StringInput }
The set of arguments for constructing a IntegrationRuntimeSelfHosted resource.
func (IntegrationRuntimeSelfHostedArgs) ElementType ¶
func (IntegrationRuntimeSelfHostedArgs) ElementType() reflect.Type
type IntegrationRuntimeSelfHostedArray ¶
type IntegrationRuntimeSelfHostedArray []IntegrationRuntimeSelfHostedInput
func (IntegrationRuntimeSelfHostedArray) ElementType ¶
func (IntegrationRuntimeSelfHostedArray) ElementType() reflect.Type
func (IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput ¶
func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput
func (IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutputWithContext ¶
func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedArrayOutput
type IntegrationRuntimeSelfHostedArrayInput ¶
type IntegrationRuntimeSelfHostedArrayInput interface { pulumi.Input ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput ToIntegrationRuntimeSelfHostedArrayOutputWithContext(context.Context) IntegrationRuntimeSelfHostedArrayOutput }
IntegrationRuntimeSelfHostedArrayInput is an input type that accepts IntegrationRuntimeSelfHostedArray and IntegrationRuntimeSelfHostedArrayOutput values. You can construct a concrete instance of `IntegrationRuntimeSelfHostedArrayInput` via:
IntegrationRuntimeSelfHostedArray{ IntegrationRuntimeSelfHostedArgs{...} }
type IntegrationRuntimeSelfHostedArrayOutput ¶
type IntegrationRuntimeSelfHostedArrayOutput struct{ *pulumi.OutputState }
func (IntegrationRuntimeSelfHostedArrayOutput) ElementType ¶
func (IntegrationRuntimeSelfHostedArrayOutput) ElementType() reflect.Type
func (IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput ¶
func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput
func (IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutputWithContext ¶
func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedArrayOutput
type IntegrationRuntimeSelfHostedInput ¶
type IntegrationRuntimeSelfHostedInput interface { pulumi.Input ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput }
type IntegrationRuntimeSelfHostedMap ¶
type IntegrationRuntimeSelfHostedMap map[string]IntegrationRuntimeSelfHostedInput
func (IntegrationRuntimeSelfHostedMap) ElementType ¶
func (IntegrationRuntimeSelfHostedMap) ElementType() reflect.Type
func (IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput ¶
func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput
func (IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutputWithContext ¶
func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedMapOutput
type IntegrationRuntimeSelfHostedMapInput ¶
type IntegrationRuntimeSelfHostedMapInput interface { pulumi.Input ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput ToIntegrationRuntimeSelfHostedMapOutputWithContext(context.Context) IntegrationRuntimeSelfHostedMapOutput }
IntegrationRuntimeSelfHostedMapInput is an input type that accepts IntegrationRuntimeSelfHostedMap and IntegrationRuntimeSelfHostedMapOutput values. You can construct a concrete instance of `IntegrationRuntimeSelfHostedMapInput` via:
IntegrationRuntimeSelfHostedMap{ "key": IntegrationRuntimeSelfHostedArgs{...} }
type IntegrationRuntimeSelfHostedMapOutput ¶
type IntegrationRuntimeSelfHostedMapOutput struct{ *pulumi.OutputState }
func (IntegrationRuntimeSelfHostedMapOutput) ElementType ¶
func (IntegrationRuntimeSelfHostedMapOutput) ElementType() reflect.Type
func (IntegrationRuntimeSelfHostedMapOutput) MapIndex ¶
func (o IntegrationRuntimeSelfHostedMapOutput) MapIndex(k pulumi.StringInput) IntegrationRuntimeSelfHostedOutput
func (IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput ¶
func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput
func (IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutputWithContext ¶
func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedMapOutput
type IntegrationRuntimeSelfHostedOutput ¶
type IntegrationRuntimeSelfHostedOutput struct{ *pulumi.OutputState }
func (IntegrationRuntimeSelfHostedOutput) ElementType ¶
func (IntegrationRuntimeSelfHostedOutput) ElementType() reflect.Type
func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput ¶
func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput
func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutputWithContext ¶
func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput
type IntegrationRuntimeSelfHostedState ¶
type IntegrationRuntimeSelfHostedState struct { // The primary integration runtime authentication key. AuthorizationKeyPrimary pulumi.StringPtrInput // The secondary integration runtime authentication key. AuthorizationKeySecondary pulumi.StringPtrInput // Integration runtime description. Description pulumi.StringPtrInput // The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. Name pulumi.StringPtrInput // The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. SynapseWorkspaceId pulumi.StringPtrInput }
func (IntegrationRuntimeSelfHostedState) ElementType ¶
func (IntegrationRuntimeSelfHostedState) ElementType() reflect.Type
type LinkedService ¶
type LinkedService struct { pulumi.CustomResourceState // A map of additional properties to associate with the Synapse Linked Service. AdditionalProperties pulumi.StringMapOutput `pulumi:"additionalProperties"` // List of tags that can be used for describing the Synapse Linked Service. Annotations pulumi.StringArrayOutput `pulumi:"annotations"` // The description for the Synapse Linked Service. Description pulumi.StringPtrOutput `pulumi:"description"` // A `integrationRuntime` block as defined below. IntegrationRuntime LinkedServiceIntegrationRuntimePtrOutput `pulumi:"integrationRuntime"` // The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created. Name pulumi.StringOutput `pulumi:"name"` // A map of parameters to associate with the Synapse Linked Service. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // The type of data stores that will be connected to Synapse. For full list of supported data stores, please refer to [Azure Synapse connector](https://docs.microsoft.com/en-us/azure/data-factory/connector-overview). Changing this forces a new Synapse Linked Service to be created. Type pulumi.StringOutput `pulumi:"type"` // A JSON object that contains the properties of the Synapse Linked Service. TypePropertiesJson pulumi.StringOutput `pulumi:"typePropertiesJson"` }
Manages a Synapse Linked Service.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), ManagedVirtualNetworkEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } _, err = synapse.NewLinkedService(ctx, "exampleLinkedService", &synapse.LinkedServiceArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), Type: pulumi.String("AzureBlobStorage"), TypePropertiesJson: pulumi.String(fmt.Sprintf("%v%v%v%v%v", "{\n", " \"connectionString\": \"", azurerm_storage_account.Test.Primary_connection_string, "\"\n", "}\n")), }, pulumi.DependsOn([]pulumi.Resource{ exampleFirewallRule, })) if err != nil { return err } return nil }) }
```
## Import
Synapse Linked Services can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/linkedService:LinkedService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/linkedservices/linkedservice1
```
func GetLinkedService ¶
func GetLinkedService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LinkedServiceState, opts ...pulumi.ResourceOption) (*LinkedService, error)
GetLinkedService gets an existing LinkedService 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 NewLinkedService ¶
func NewLinkedService(ctx *pulumi.Context, name string, args *LinkedServiceArgs, opts ...pulumi.ResourceOption) (*LinkedService, error)
NewLinkedService registers a new resource with the given unique name, arguments, and options.
func (*LinkedService) ElementType ¶
func (*LinkedService) ElementType() reflect.Type
func (*LinkedService) ToLinkedServiceOutput ¶
func (i *LinkedService) ToLinkedServiceOutput() LinkedServiceOutput
func (*LinkedService) ToLinkedServiceOutputWithContext ¶
func (i *LinkedService) ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput
type LinkedServiceArgs ¶
type LinkedServiceArgs struct { // A map of additional properties to associate with the Synapse Linked Service. AdditionalProperties pulumi.StringMapInput // List of tags that can be used for describing the Synapse Linked Service. Annotations pulumi.StringArrayInput // The description for the Synapse Linked Service. Description pulumi.StringPtrInput // A `integrationRuntime` block as defined below. IntegrationRuntime LinkedServiceIntegrationRuntimePtrInput // The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created. Name pulumi.StringPtrInput // A map of parameters to associate with the Synapse Linked Service. Parameters pulumi.StringMapInput // The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created. SynapseWorkspaceId pulumi.StringInput // The type of data stores that will be connected to Synapse. For full list of supported data stores, please refer to [Azure Synapse connector](https://docs.microsoft.com/en-us/azure/data-factory/connector-overview). Changing this forces a new Synapse Linked Service to be created. Type pulumi.StringInput // A JSON object that contains the properties of the Synapse Linked Service. TypePropertiesJson pulumi.StringInput }
The set of arguments for constructing a LinkedService resource.
func (LinkedServiceArgs) ElementType ¶
func (LinkedServiceArgs) ElementType() reflect.Type
type LinkedServiceArray ¶
type LinkedServiceArray []LinkedServiceInput
func (LinkedServiceArray) ElementType ¶
func (LinkedServiceArray) ElementType() reflect.Type
func (LinkedServiceArray) ToLinkedServiceArrayOutput ¶
func (i LinkedServiceArray) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput
func (LinkedServiceArray) ToLinkedServiceArrayOutputWithContext ¶
func (i LinkedServiceArray) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput
type LinkedServiceArrayInput ¶
type LinkedServiceArrayInput interface { pulumi.Input ToLinkedServiceArrayOutput() LinkedServiceArrayOutput ToLinkedServiceArrayOutputWithContext(context.Context) LinkedServiceArrayOutput }
LinkedServiceArrayInput is an input type that accepts LinkedServiceArray and LinkedServiceArrayOutput values. You can construct a concrete instance of `LinkedServiceArrayInput` via:
LinkedServiceArray{ LinkedServiceArgs{...} }
type LinkedServiceArrayOutput ¶
type LinkedServiceArrayOutput struct{ *pulumi.OutputState }
func (LinkedServiceArrayOutput) ElementType ¶
func (LinkedServiceArrayOutput) ElementType() reflect.Type
func (LinkedServiceArrayOutput) Index ¶
func (o LinkedServiceArrayOutput) Index(i pulumi.IntInput) LinkedServiceOutput
func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutput ¶
func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput
func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext ¶
func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput
type LinkedServiceInput ¶
type LinkedServiceInput interface { pulumi.Input ToLinkedServiceOutput() LinkedServiceOutput ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput }
type LinkedServiceIntegrationRuntimeArgs ¶
type LinkedServiceIntegrationRuntimeArgs struct { // The integration runtime reference to associate with the Synapse Linked Service. Name pulumi.StringInput `pulumi:"name"` // A map of parameters to associate with the integration runtime. Parameters pulumi.StringMapInput `pulumi:"parameters"` }
func (LinkedServiceIntegrationRuntimeArgs) ElementType ¶
func (LinkedServiceIntegrationRuntimeArgs) ElementType() reflect.Type
func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput ¶
func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput
func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutputWithContext ¶
func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimeOutput
func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput ¶
func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutputWithContext ¶
func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput
type LinkedServiceIntegrationRuntimeInput ¶
type LinkedServiceIntegrationRuntimeInput interface { pulumi.Input ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput ToLinkedServiceIntegrationRuntimeOutputWithContext(context.Context) LinkedServiceIntegrationRuntimeOutput }
LinkedServiceIntegrationRuntimeInput is an input type that accepts LinkedServiceIntegrationRuntimeArgs and LinkedServiceIntegrationRuntimeOutput values. You can construct a concrete instance of `LinkedServiceIntegrationRuntimeInput` via:
LinkedServiceIntegrationRuntimeArgs{...}
type LinkedServiceIntegrationRuntimeOutput ¶
type LinkedServiceIntegrationRuntimeOutput struct{ *pulumi.OutputState }
func (LinkedServiceIntegrationRuntimeOutput) ElementType ¶
func (LinkedServiceIntegrationRuntimeOutput) ElementType() reflect.Type
func (LinkedServiceIntegrationRuntimeOutput) Name ¶
func (o LinkedServiceIntegrationRuntimeOutput) Name() pulumi.StringOutput
The integration runtime reference to associate with the Synapse Linked Service.
func (LinkedServiceIntegrationRuntimeOutput) Parameters ¶
func (o LinkedServiceIntegrationRuntimeOutput) Parameters() pulumi.StringMapOutput
A map of parameters to associate with the integration runtime.
func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput ¶
func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput
func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutputWithContext ¶
func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimeOutput
func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput ¶
func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext ¶
func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput
type LinkedServiceIntegrationRuntimePtrInput ¶
type LinkedServiceIntegrationRuntimePtrInput interface { pulumi.Input ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput ToLinkedServiceIntegrationRuntimePtrOutputWithContext(context.Context) LinkedServiceIntegrationRuntimePtrOutput }
LinkedServiceIntegrationRuntimePtrInput is an input type that accepts LinkedServiceIntegrationRuntimeArgs, LinkedServiceIntegrationRuntimePtr and LinkedServiceIntegrationRuntimePtrOutput values. You can construct a concrete instance of `LinkedServiceIntegrationRuntimePtrInput` via:
LinkedServiceIntegrationRuntimeArgs{...} or: nil
func LinkedServiceIntegrationRuntimePtr ¶
func LinkedServiceIntegrationRuntimePtr(v *LinkedServiceIntegrationRuntimeArgs) LinkedServiceIntegrationRuntimePtrInput
type LinkedServiceIntegrationRuntimePtrOutput ¶
type LinkedServiceIntegrationRuntimePtrOutput struct{ *pulumi.OutputState }
func (LinkedServiceIntegrationRuntimePtrOutput) ElementType ¶
func (LinkedServiceIntegrationRuntimePtrOutput) ElementType() reflect.Type
func (LinkedServiceIntegrationRuntimePtrOutput) Name ¶
func (o LinkedServiceIntegrationRuntimePtrOutput) Name() pulumi.StringPtrOutput
The integration runtime reference to associate with the Synapse Linked Service.
func (LinkedServiceIntegrationRuntimePtrOutput) Parameters ¶
func (o LinkedServiceIntegrationRuntimePtrOutput) Parameters() pulumi.StringMapOutput
A map of parameters to associate with the integration runtime.
func (LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput ¶
func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
func (LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext ¶
func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput
type LinkedServiceMap ¶
type LinkedServiceMap map[string]LinkedServiceInput
func (LinkedServiceMap) ElementType ¶
func (LinkedServiceMap) ElementType() reflect.Type
func (LinkedServiceMap) ToLinkedServiceMapOutput ¶
func (i LinkedServiceMap) ToLinkedServiceMapOutput() LinkedServiceMapOutput
func (LinkedServiceMap) ToLinkedServiceMapOutputWithContext ¶
func (i LinkedServiceMap) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput
type LinkedServiceMapInput ¶
type LinkedServiceMapInput interface { pulumi.Input ToLinkedServiceMapOutput() LinkedServiceMapOutput ToLinkedServiceMapOutputWithContext(context.Context) LinkedServiceMapOutput }
LinkedServiceMapInput is an input type that accepts LinkedServiceMap and LinkedServiceMapOutput values. You can construct a concrete instance of `LinkedServiceMapInput` via:
LinkedServiceMap{ "key": LinkedServiceArgs{...} }
type LinkedServiceMapOutput ¶
type LinkedServiceMapOutput struct{ *pulumi.OutputState }
func (LinkedServiceMapOutput) ElementType ¶
func (LinkedServiceMapOutput) ElementType() reflect.Type
func (LinkedServiceMapOutput) MapIndex ¶
func (o LinkedServiceMapOutput) MapIndex(k pulumi.StringInput) LinkedServiceOutput
func (LinkedServiceMapOutput) ToLinkedServiceMapOutput ¶
func (o LinkedServiceMapOutput) ToLinkedServiceMapOutput() LinkedServiceMapOutput
func (LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext ¶
func (o LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput
type LinkedServiceOutput ¶
type LinkedServiceOutput struct{ *pulumi.OutputState }
func (LinkedServiceOutput) ElementType ¶
func (LinkedServiceOutput) ElementType() reflect.Type
func (LinkedServiceOutput) ToLinkedServiceOutput ¶
func (o LinkedServiceOutput) ToLinkedServiceOutput() LinkedServiceOutput
func (LinkedServiceOutput) ToLinkedServiceOutputWithContext ¶
func (o LinkedServiceOutput) ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput
type LinkedServiceState ¶
type LinkedServiceState struct { // A map of additional properties to associate with the Synapse Linked Service. AdditionalProperties pulumi.StringMapInput // List of tags that can be used for describing the Synapse Linked Service. Annotations pulumi.StringArrayInput // The description for the Synapse Linked Service. Description pulumi.StringPtrInput // A `integrationRuntime` block as defined below. IntegrationRuntime LinkedServiceIntegrationRuntimePtrInput // The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created. Name pulumi.StringPtrInput // A map of parameters to associate with the Synapse Linked Service. Parameters pulumi.StringMapInput // The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created. SynapseWorkspaceId pulumi.StringPtrInput // The type of data stores that will be connected to Synapse. For full list of supported data stores, please refer to [Azure Synapse connector](https://docs.microsoft.com/en-us/azure/data-factory/connector-overview). Changing this forces a new Synapse Linked Service to be created. Type pulumi.StringPtrInput // A JSON object that contains the properties of the Synapse Linked Service. TypePropertiesJson pulumi.StringPtrInput }
func (LinkedServiceState) ElementType ¶
func (LinkedServiceState) ElementType() reflect.Type
type LookupWorkspaceArgs ¶
type LookupWorkspaceArgs struct { // The name of this Synapse Workspace. Name string `pulumi:"name"` // The name of the Resource Group where the Synapse Workspace exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getWorkspace.
type LookupWorkspaceOutputArgs ¶
type LookupWorkspaceOutputArgs struct { // The name of this Synapse Workspace. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the Synapse Workspace exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getWorkspace.
func (LookupWorkspaceOutputArgs) ElementType ¶
func (LookupWorkspaceOutputArgs) ElementType() reflect.Type
type LookupWorkspaceResult ¶
type LookupWorkspaceResult struct { // A list of Connectivity endpoints for this Synapse Workspace. ConnectivityEndpoints map[string]string `pulumi:"connectivityEndpoints"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An `identity` block as defined below, which contains the Managed Service Identity information for this Synapse Workspace. Identities []GetWorkspaceIdentity `pulumi:"identities"` // The Azure location where the Synapse Workspace exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getWorkspace.
func LookupWorkspace ¶
func LookupWorkspace(ctx *pulumi.Context, args *LookupWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupWorkspaceResult, error)
Use this data source to access information about an existing Synapse Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := synapse.LookupWorkspace(ctx, &synapse.LookupWorkspaceArgs{ Name: "existing", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupWorkspaceResultOutput ¶
type LookupWorkspaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWorkspace.
func LookupWorkspaceOutput ¶
func LookupWorkspaceOutput(ctx *pulumi.Context, args LookupWorkspaceOutputArgs, opts ...pulumi.InvokeOption) LookupWorkspaceResultOutput
func (LookupWorkspaceResultOutput) ConnectivityEndpoints ¶
func (o LookupWorkspaceResultOutput) ConnectivityEndpoints() pulumi.StringMapOutput
A list of Connectivity endpoints for this Synapse Workspace.
func (LookupWorkspaceResultOutput) ElementType ¶
func (LookupWorkspaceResultOutput) ElementType() reflect.Type
func (LookupWorkspaceResultOutput) Id ¶
func (o LookupWorkspaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWorkspaceResultOutput) Identities ¶
func (o LookupWorkspaceResultOutput) Identities() GetWorkspaceIdentityArrayOutput
An `identity` block as defined below, which contains the Managed Service Identity information for this Synapse Workspace.
func (LookupWorkspaceResultOutput) Location ¶
func (o LookupWorkspaceResultOutput) Location() pulumi.StringOutput
The Azure location where the Synapse Workspace exists.
func (LookupWorkspaceResultOutput) Name ¶
func (o LookupWorkspaceResultOutput) Name() pulumi.StringOutput
func (LookupWorkspaceResultOutput) ResourceGroupName ¶
func (o LookupWorkspaceResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupWorkspaceResultOutput) Tags ¶
func (o LookupWorkspaceResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput ¶
func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput
func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext ¶
func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext(ctx context.Context) LookupWorkspaceResultOutput
type ManagedPrivateEndpoint ¶
type ManagedPrivateEndpoint struct { pulumi.CustomResourceState // Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created. SubresourceName pulumi.StringOutput `pulumi:"subresourceName"` // The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created. TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"` }
Manages a Synapse Managed Private Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), ManagedVirtualNetworkEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } exampleConnect, err := storage.NewAccount(ctx, "exampleConnect", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("BlobStorage"), }) if err != nil { return err } _, err = synapse.NewManagedPrivateEndpoint(ctx, "exampleManagedPrivateEndpoint", &synapse.ManagedPrivateEndpointArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), TargetResourceId: exampleConnect.ID(), SubresourceName: pulumi.String("blob"), }, pulumi.DependsOn([]pulumi.Resource{ exampleFirewallRule, })) if err != nil { return err } return nil }) }
```
## Import
Synapse Managed Private Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/managedPrivateEndpoint:ManagedPrivateEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/managedVirtualNetworks/default/managedPrivateEndpoints/endpoint1
```
func GetManagedPrivateEndpoint ¶
func GetManagedPrivateEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagedPrivateEndpointState, opts ...pulumi.ResourceOption) (*ManagedPrivateEndpoint, error)
GetManagedPrivateEndpoint gets an existing ManagedPrivateEndpoint 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 NewManagedPrivateEndpoint ¶
func NewManagedPrivateEndpoint(ctx *pulumi.Context, name string, args *ManagedPrivateEndpointArgs, opts ...pulumi.ResourceOption) (*ManagedPrivateEndpoint, error)
NewManagedPrivateEndpoint registers a new resource with the given unique name, arguments, and options.
func (*ManagedPrivateEndpoint) ElementType ¶
func (*ManagedPrivateEndpoint) ElementType() reflect.Type
func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointOutput ¶
func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput
func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointOutputWithContext ¶
func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput
type ManagedPrivateEndpointArgs ¶
type ManagedPrivateEndpointArgs struct { // Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created. SubresourceName pulumi.StringInput // The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringInput // The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created. TargetResourceId pulumi.StringInput }
The set of arguments for constructing a ManagedPrivateEndpoint resource.
func (ManagedPrivateEndpointArgs) ElementType ¶
func (ManagedPrivateEndpointArgs) ElementType() reflect.Type
type ManagedPrivateEndpointArray ¶
type ManagedPrivateEndpointArray []ManagedPrivateEndpointInput
func (ManagedPrivateEndpointArray) ElementType ¶
func (ManagedPrivateEndpointArray) ElementType() reflect.Type
func (ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput ¶
func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput
func (ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext ¶
func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput
type ManagedPrivateEndpointArrayInput ¶
type ManagedPrivateEndpointArrayInput interface { pulumi.Input ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput ToManagedPrivateEndpointArrayOutputWithContext(context.Context) ManagedPrivateEndpointArrayOutput }
ManagedPrivateEndpointArrayInput is an input type that accepts ManagedPrivateEndpointArray and ManagedPrivateEndpointArrayOutput values. You can construct a concrete instance of `ManagedPrivateEndpointArrayInput` via:
ManagedPrivateEndpointArray{ ManagedPrivateEndpointArgs{...} }
type ManagedPrivateEndpointArrayOutput ¶
type ManagedPrivateEndpointArrayOutput struct{ *pulumi.OutputState }
func (ManagedPrivateEndpointArrayOutput) ElementType ¶
func (ManagedPrivateEndpointArrayOutput) ElementType() reflect.Type
func (ManagedPrivateEndpointArrayOutput) Index ¶
func (o ManagedPrivateEndpointArrayOutput) Index(i pulumi.IntInput) ManagedPrivateEndpointOutput
func (ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput ¶
func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput
func (ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext ¶
func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput
type ManagedPrivateEndpointInput ¶
type ManagedPrivateEndpointInput interface { pulumi.Input ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput }
type ManagedPrivateEndpointMap ¶
type ManagedPrivateEndpointMap map[string]ManagedPrivateEndpointInput
func (ManagedPrivateEndpointMap) ElementType ¶
func (ManagedPrivateEndpointMap) ElementType() reflect.Type
func (ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutput ¶
func (i ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput
func (ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutputWithContext ¶
func (i ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput
type ManagedPrivateEndpointMapInput ¶
type ManagedPrivateEndpointMapInput interface { pulumi.Input ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput ToManagedPrivateEndpointMapOutputWithContext(context.Context) ManagedPrivateEndpointMapOutput }
ManagedPrivateEndpointMapInput is an input type that accepts ManagedPrivateEndpointMap and ManagedPrivateEndpointMapOutput values. You can construct a concrete instance of `ManagedPrivateEndpointMapInput` via:
ManagedPrivateEndpointMap{ "key": ManagedPrivateEndpointArgs{...} }
type ManagedPrivateEndpointMapOutput ¶
type ManagedPrivateEndpointMapOutput struct{ *pulumi.OutputState }
func (ManagedPrivateEndpointMapOutput) ElementType ¶
func (ManagedPrivateEndpointMapOutput) ElementType() reflect.Type
func (ManagedPrivateEndpointMapOutput) MapIndex ¶
func (o ManagedPrivateEndpointMapOutput) MapIndex(k pulumi.StringInput) ManagedPrivateEndpointOutput
func (ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput ¶
func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput
func (ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext ¶
func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput
type ManagedPrivateEndpointOutput ¶
type ManagedPrivateEndpointOutput struct{ *pulumi.OutputState }
func (ManagedPrivateEndpointOutput) ElementType ¶
func (ManagedPrivateEndpointOutput) ElementType() reflect.Type
func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutput ¶
func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput
func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutputWithContext ¶
func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput
type ManagedPrivateEndpointState ¶
type ManagedPrivateEndpointState struct { // Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created. SubresourceName pulumi.StringPtrInput // The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput // The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created. TargetResourceId pulumi.StringPtrInput }
func (ManagedPrivateEndpointState) ElementType ¶
func (ManagedPrivateEndpointState) ElementType() reflect.Type
type PrivateLinkHub ¶
type PrivateLinkHub struct { pulumi.CustomResourceState // Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Synapse Private Link Hub. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Synapse Private Link Hub.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := synapse.NewPrivateLinkHub(ctx, "example", &synapse.PrivateLinkHubArgs{ Location: pulumi.String("West Europe"), ResourceGroupName: pulumi.String("example-rg"), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Private Link Hub can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/privateLinkHub:PrivateLinkHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1
```
func GetPrivateLinkHub ¶
func GetPrivateLinkHub(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateLinkHubState, opts ...pulumi.ResourceOption) (*PrivateLinkHub, error)
GetPrivateLinkHub gets an existing PrivateLinkHub 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 NewPrivateLinkHub ¶
func NewPrivateLinkHub(ctx *pulumi.Context, name string, args *PrivateLinkHubArgs, opts ...pulumi.ResourceOption) (*PrivateLinkHub, error)
NewPrivateLinkHub registers a new resource with the given unique name, arguments, and options.
func (*PrivateLinkHub) ElementType ¶
func (*PrivateLinkHub) ElementType() reflect.Type
func (*PrivateLinkHub) ToPrivateLinkHubOutput ¶
func (i *PrivateLinkHub) ToPrivateLinkHubOutput() PrivateLinkHubOutput
func (*PrivateLinkHub) ToPrivateLinkHubOutputWithContext ¶
func (i *PrivateLinkHub) ToPrivateLinkHubOutputWithContext(ctx context.Context) PrivateLinkHubOutput
type PrivateLinkHubArgs ¶
type PrivateLinkHubArgs struct { // Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created. Name pulumi.StringPtrInput // The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Synapse Private Link Hub. Tags pulumi.StringMapInput }
The set of arguments for constructing a PrivateLinkHub resource.
func (PrivateLinkHubArgs) ElementType ¶
func (PrivateLinkHubArgs) ElementType() reflect.Type
type PrivateLinkHubArray ¶
type PrivateLinkHubArray []PrivateLinkHubInput
func (PrivateLinkHubArray) ElementType ¶
func (PrivateLinkHubArray) ElementType() reflect.Type
func (PrivateLinkHubArray) ToPrivateLinkHubArrayOutput ¶
func (i PrivateLinkHubArray) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput
func (PrivateLinkHubArray) ToPrivateLinkHubArrayOutputWithContext ¶
func (i PrivateLinkHubArray) ToPrivateLinkHubArrayOutputWithContext(ctx context.Context) PrivateLinkHubArrayOutput
type PrivateLinkHubArrayInput ¶
type PrivateLinkHubArrayInput interface { pulumi.Input ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput ToPrivateLinkHubArrayOutputWithContext(context.Context) PrivateLinkHubArrayOutput }
PrivateLinkHubArrayInput is an input type that accepts PrivateLinkHubArray and PrivateLinkHubArrayOutput values. You can construct a concrete instance of `PrivateLinkHubArrayInput` via:
PrivateLinkHubArray{ PrivateLinkHubArgs{...} }
type PrivateLinkHubArrayOutput ¶
type PrivateLinkHubArrayOutput struct{ *pulumi.OutputState }
func (PrivateLinkHubArrayOutput) ElementType ¶
func (PrivateLinkHubArrayOutput) ElementType() reflect.Type
func (PrivateLinkHubArrayOutput) Index ¶
func (o PrivateLinkHubArrayOutput) Index(i pulumi.IntInput) PrivateLinkHubOutput
func (PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput ¶
func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput
func (PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutputWithContext ¶
func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutputWithContext(ctx context.Context) PrivateLinkHubArrayOutput
type PrivateLinkHubInput ¶
type PrivateLinkHubInput interface { pulumi.Input ToPrivateLinkHubOutput() PrivateLinkHubOutput ToPrivateLinkHubOutputWithContext(ctx context.Context) PrivateLinkHubOutput }
type PrivateLinkHubMap ¶
type PrivateLinkHubMap map[string]PrivateLinkHubInput
func (PrivateLinkHubMap) ElementType ¶
func (PrivateLinkHubMap) ElementType() reflect.Type
func (PrivateLinkHubMap) ToPrivateLinkHubMapOutput ¶
func (i PrivateLinkHubMap) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput
func (PrivateLinkHubMap) ToPrivateLinkHubMapOutputWithContext ¶
func (i PrivateLinkHubMap) ToPrivateLinkHubMapOutputWithContext(ctx context.Context) PrivateLinkHubMapOutput
type PrivateLinkHubMapInput ¶
type PrivateLinkHubMapInput interface { pulumi.Input ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput ToPrivateLinkHubMapOutputWithContext(context.Context) PrivateLinkHubMapOutput }
PrivateLinkHubMapInput is an input type that accepts PrivateLinkHubMap and PrivateLinkHubMapOutput values. You can construct a concrete instance of `PrivateLinkHubMapInput` via:
PrivateLinkHubMap{ "key": PrivateLinkHubArgs{...} }
type PrivateLinkHubMapOutput ¶
type PrivateLinkHubMapOutput struct{ *pulumi.OutputState }
func (PrivateLinkHubMapOutput) ElementType ¶
func (PrivateLinkHubMapOutput) ElementType() reflect.Type
func (PrivateLinkHubMapOutput) MapIndex ¶
func (o PrivateLinkHubMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkHubOutput
func (PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput ¶
func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput
func (PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutputWithContext ¶
func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutputWithContext(ctx context.Context) PrivateLinkHubMapOutput
type PrivateLinkHubOutput ¶
type PrivateLinkHubOutput struct{ *pulumi.OutputState }
func (PrivateLinkHubOutput) ElementType ¶
func (PrivateLinkHubOutput) ElementType() reflect.Type
func (PrivateLinkHubOutput) ToPrivateLinkHubOutput ¶
func (o PrivateLinkHubOutput) ToPrivateLinkHubOutput() PrivateLinkHubOutput
func (PrivateLinkHubOutput) ToPrivateLinkHubOutputWithContext ¶
func (o PrivateLinkHubOutput) ToPrivateLinkHubOutputWithContext(ctx context.Context) PrivateLinkHubOutput
type PrivateLinkHubState ¶
type PrivateLinkHubState struct { // Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created. Name pulumi.StringPtrInput // The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Synapse Private Link Hub. Tags pulumi.StringMapInput }
func (PrivateLinkHubState) ElementType ¶
func (PrivateLinkHubState) ElementType() reflect.Type
type RoleAssignment ¶
type RoleAssignment struct { pulumi.CustomResourceState // The ID of the Principal (User, Group or Service Principal) to assign the Synapse Role Definition to. Changing this forces a new resource to be created. PrincipalId pulumi.StringOutput `pulumi:"principalId"` // The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created. RoleName pulumi.StringOutput `pulumi:"roleName"` // The Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created. SynapseSparkPoolId pulumi.StringPtrOutput `pulumi:"synapseSparkPoolId"` // The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrOutput `pulumi:"synapseWorkspaceId"` }
Manages a Synapse Role Assignment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } _, err = synapse.NewRoleAssignment(ctx, "exampleRoleAssignment", &synapse.RoleAssignmentArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), RoleName: pulumi.String("Synapse SQL Administrator"), PrincipalId: pulumi.String(current.ObjectId), }, pulumi.DependsOn([]pulumi.Resource{ exampleFirewallRule, })) if err != nil { return err } return nil }) }
```
## Import
Synapse Role Assignment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/roleAssignment:RoleAssignment example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1|000000000000"
```
func GetRoleAssignment ¶
func GetRoleAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoleAssignmentState, opts ...pulumi.ResourceOption) (*RoleAssignment, error)
GetRoleAssignment gets an existing RoleAssignment 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 NewRoleAssignment ¶
func NewRoleAssignment(ctx *pulumi.Context, name string, args *RoleAssignmentArgs, opts ...pulumi.ResourceOption) (*RoleAssignment, error)
NewRoleAssignment registers a new resource with the given unique name, arguments, and options.
func (*RoleAssignment) ElementType ¶
func (*RoleAssignment) ElementType() reflect.Type
func (*RoleAssignment) ToRoleAssignmentOutput ¶
func (i *RoleAssignment) ToRoleAssignmentOutput() RoleAssignmentOutput
func (*RoleAssignment) ToRoleAssignmentOutputWithContext ¶
func (i *RoleAssignment) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput
type RoleAssignmentArgs ¶
type RoleAssignmentArgs struct { // The ID of the Principal (User, Group or Service Principal) to assign the Synapse Role Definition to. Changing this forces a new resource to be created. PrincipalId pulumi.StringInput // The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created. RoleName pulumi.StringInput // The Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created. SynapseSparkPoolId pulumi.StringPtrInput // The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput }
The set of arguments for constructing a RoleAssignment resource.
func (RoleAssignmentArgs) ElementType ¶
func (RoleAssignmentArgs) ElementType() reflect.Type
type RoleAssignmentArray ¶
type RoleAssignmentArray []RoleAssignmentInput
func (RoleAssignmentArray) ElementType ¶
func (RoleAssignmentArray) ElementType() reflect.Type
func (RoleAssignmentArray) ToRoleAssignmentArrayOutput ¶
func (i RoleAssignmentArray) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput
func (RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext ¶
func (i RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput
type RoleAssignmentArrayInput ¶
type RoleAssignmentArrayInput interface { pulumi.Input ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput ToRoleAssignmentArrayOutputWithContext(context.Context) RoleAssignmentArrayOutput }
RoleAssignmentArrayInput is an input type that accepts RoleAssignmentArray and RoleAssignmentArrayOutput values. You can construct a concrete instance of `RoleAssignmentArrayInput` via:
RoleAssignmentArray{ RoleAssignmentArgs{...} }
type RoleAssignmentArrayOutput ¶
type RoleAssignmentArrayOutput struct{ *pulumi.OutputState }
func (RoleAssignmentArrayOutput) ElementType ¶
func (RoleAssignmentArrayOutput) ElementType() reflect.Type
func (RoleAssignmentArrayOutput) Index ¶
func (o RoleAssignmentArrayOutput) Index(i pulumi.IntInput) RoleAssignmentOutput
func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput ¶
func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput
func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext ¶
func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput
type RoleAssignmentInput ¶
type RoleAssignmentInput interface { pulumi.Input ToRoleAssignmentOutput() RoleAssignmentOutput ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput }
type RoleAssignmentMap ¶
type RoleAssignmentMap map[string]RoleAssignmentInput
func (RoleAssignmentMap) ElementType ¶
func (RoleAssignmentMap) ElementType() reflect.Type
func (RoleAssignmentMap) ToRoleAssignmentMapOutput ¶
func (i RoleAssignmentMap) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput
func (RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext ¶
func (i RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput
type RoleAssignmentMapInput ¶
type RoleAssignmentMapInput interface { pulumi.Input ToRoleAssignmentMapOutput() RoleAssignmentMapOutput ToRoleAssignmentMapOutputWithContext(context.Context) RoleAssignmentMapOutput }
RoleAssignmentMapInput is an input type that accepts RoleAssignmentMap and RoleAssignmentMapOutput values. You can construct a concrete instance of `RoleAssignmentMapInput` via:
RoleAssignmentMap{ "key": RoleAssignmentArgs{...} }
type RoleAssignmentMapOutput ¶
type RoleAssignmentMapOutput struct{ *pulumi.OutputState }
func (RoleAssignmentMapOutput) ElementType ¶
func (RoleAssignmentMapOutput) ElementType() reflect.Type
func (RoleAssignmentMapOutput) MapIndex ¶
func (o RoleAssignmentMapOutput) MapIndex(k pulumi.StringInput) RoleAssignmentOutput
func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutput ¶
func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput
func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext ¶
func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput
type RoleAssignmentOutput ¶
type RoleAssignmentOutput struct{ *pulumi.OutputState }
func (RoleAssignmentOutput) ElementType ¶
func (RoleAssignmentOutput) ElementType() reflect.Type
func (RoleAssignmentOutput) ToRoleAssignmentOutput ¶
func (o RoleAssignmentOutput) ToRoleAssignmentOutput() RoleAssignmentOutput
func (RoleAssignmentOutput) ToRoleAssignmentOutputWithContext ¶
func (o RoleAssignmentOutput) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput
type RoleAssignmentState ¶
type RoleAssignmentState struct { // The ID of the Principal (User, Group or Service Principal) to assign the Synapse Role Definition to. Changing this forces a new resource to be created. PrincipalId pulumi.StringPtrInput // The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created. RoleName pulumi.StringPtrInput // The Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created. SynapseSparkPoolId pulumi.StringPtrInput // The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput }
func (RoleAssignmentState) ElementType ¶
func (RoleAssignmentState) ElementType() reflect.Type
type SparkPool ¶
type SparkPool struct { pulumi.CustomResourceState // An `autoPause` block as defined below. AutoPause SparkPoolAutoPausePtrOutput `pulumi:"autoPause"` // An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified. AutoScale SparkPoolAutoScalePtrOutput `pulumi:"autoScale"` // The cache size in the Spark Pool. CacheSize pulumi.IntPtrOutput `pulumi:"cacheSize"` // Indicates whether compute isolation is enabled or not. Defaults to `false`. ComputeIsolationEnabled pulumi.BoolPtrOutput `pulumi:"computeIsolationEnabled"` // Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`. DynamicExecutorAllocationEnabled pulumi.BoolPtrOutput `pulumi:"dynamicExecutorAllocationEnabled"` // A `libraryRequirement` block as defined below. LibraryRequirement SparkPoolLibraryRequirementPtrOutput `pulumi:"libraryRequirement"` // The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created. Name pulumi.StringOutput `pulumi:"name"` // The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified. NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"` // The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`. NodeSize pulumi.StringOutput `pulumi:"nodeSize"` // The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`. NodeSizeFamily pulumi.StringOutput `pulumi:"nodeSizeFamily"` // Indicates whether session level packages are enabled or not. Defaults to `false`. SessionLevelPackagesEnabled pulumi.BoolPtrOutput `pulumi:"sessionLevelPackagesEnabled"` // A `sparkConfig` block as defined below. SparkConfig SparkPoolSparkConfigPtrOutput `pulumi:"sparkConfig"` // The Spark events folder. Defaults to `/events`. SparkEventsFolder pulumi.StringPtrOutput `pulumi:"sparkEventsFolder"` // The default folder where Spark logs will be written. Defaults to `/logs`. SparkLogFolder pulumi.StringPtrOutput `pulumi:"sparkLogFolder"` // The Apache Spark version. Possible values are `2.4` and `3.1`. Defaults to `2.4`. SparkVersion pulumi.StringPtrOutput `pulumi:"sparkVersion"` // The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // A mapping of tags which should be assigned to the Synapse Spark Pool. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Synapse Spark Pool.
## Import
Synapse Spark Pool can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sparkPool:SparkPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/bigDataPools/sparkPool1
```
func GetSparkPool ¶
func GetSparkPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SparkPoolState, opts ...pulumi.ResourceOption) (*SparkPool, error)
GetSparkPool gets an existing SparkPool 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 NewSparkPool ¶
func NewSparkPool(ctx *pulumi.Context, name string, args *SparkPoolArgs, opts ...pulumi.ResourceOption) (*SparkPool, error)
NewSparkPool registers a new resource with the given unique name, arguments, and options.
func (*SparkPool) ElementType ¶
func (*SparkPool) ToSparkPoolOutput ¶
func (i *SparkPool) ToSparkPoolOutput() SparkPoolOutput
func (*SparkPool) ToSparkPoolOutputWithContext ¶
func (i *SparkPool) ToSparkPoolOutputWithContext(ctx context.Context) SparkPoolOutput
type SparkPoolArgs ¶
type SparkPoolArgs struct { // An `autoPause` block as defined below. AutoPause SparkPoolAutoPausePtrInput // An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified. AutoScale SparkPoolAutoScalePtrInput // The cache size in the Spark Pool. CacheSize pulumi.IntPtrInput // Indicates whether compute isolation is enabled or not. Defaults to `false`. ComputeIsolationEnabled pulumi.BoolPtrInput // Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`. DynamicExecutorAllocationEnabled pulumi.BoolPtrInput // A `libraryRequirement` block as defined below. LibraryRequirement SparkPoolLibraryRequirementPtrInput // The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created. Name pulumi.StringPtrInput // The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified. NodeCount pulumi.IntPtrInput // The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`. NodeSize pulumi.StringInput // The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`. NodeSizeFamily pulumi.StringInput // Indicates whether session level packages are enabled or not. Defaults to `false`. SessionLevelPackagesEnabled pulumi.BoolPtrInput // A `sparkConfig` block as defined below. SparkConfig SparkPoolSparkConfigPtrInput // The Spark events folder. Defaults to `/events`. SparkEventsFolder pulumi.StringPtrInput // The default folder where Spark logs will be written. Defaults to `/logs`. SparkLogFolder pulumi.StringPtrInput // The Apache Spark version. Possible values are `2.4` and `3.1`. Defaults to `2.4`. SparkVersion pulumi.StringPtrInput // The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created. SynapseWorkspaceId pulumi.StringInput // A mapping of tags which should be assigned to the Synapse Spark Pool. Tags pulumi.StringMapInput }
The set of arguments for constructing a SparkPool resource.
func (SparkPoolArgs) ElementType ¶
func (SparkPoolArgs) ElementType() reflect.Type
type SparkPoolArray ¶
type SparkPoolArray []SparkPoolInput
func (SparkPoolArray) ElementType ¶
func (SparkPoolArray) ElementType() reflect.Type
func (SparkPoolArray) ToSparkPoolArrayOutput ¶
func (i SparkPoolArray) ToSparkPoolArrayOutput() SparkPoolArrayOutput
func (SparkPoolArray) ToSparkPoolArrayOutputWithContext ¶
func (i SparkPoolArray) ToSparkPoolArrayOutputWithContext(ctx context.Context) SparkPoolArrayOutput
type SparkPoolArrayInput ¶
type SparkPoolArrayInput interface { pulumi.Input ToSparkPoolArrayOutput() SparkPoolArrayOutput ToSparkPoolArrayOutputWithContext(context.Context) SparkPoolArrayOutput }
SparkPoolArrayInput is an input type that accepts SparkPoolArray and SparkPoolArrayOutput values. You can construct a concrete instance of `SparkPoolArrayInput` via:
SparkPoolArray{ SparkPoolArgs{...} }
type SparkPoolArrayOutput ¶
type SparkPoolArrayOutput struct{ *pulumi.OutputState }
func (SparkPoolArrayOutput) ElementType ¶
func (SparkPoolArrayOutput) ElementType() reflect.Type
func (SparkPoolArrayOutput) Index ¶
func (o SparkPoolArrayOutput) Index(i pulumi.IntInput) SparkPoolOutput
func (SparkPoolArrayOutput) ToSparkPoolArrayOutput ¶
func (o SparkPoolArrayOutput) ToSparkPoolArrayOutput() SparkPoolArrayOutput
func (SparkPoolArrayOutput) ToSparkPoolArrayOutputWithContext ¶
func (o SparkPoolArrayOutput) ToSparkPoolArrayOutputWithContext(ctx context.Context) SparkPoolArrayOutput
type SparkPoolAutoPause ¶
type SparkPoolAutoPause struct { // Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`. DelayInMinutes int `pulumi:"delayInMinutes"` }
type SparkPoolAutoPauseArgs ¶
type SparkPoolAutoPauseArgs struct { // Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`. DelayInMinutes pulumi.IntInput `pulumi:"delayInMinutes"` }
func (SparkPoolAutoPauseArgs) ElementType ¶
func (SparkPoolAutoPauseArgs) ElementType() reflect.Type
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput ¶
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext ¶
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput ¶
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext ¶
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
type SparkPoolAutoPauseInput ¶
type SparkPoolAutoPauseInput interface { pulumi.Input ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput ToSparkPoolAutoPauseOutputWithContext(context.Context) SparkPoolAutoPauseOutput }
SparkPoolAutoPauseInput is an input type that accepts SparkPoolAutoPauseArgs and SparkPoolAutoPauseOutput values. You can construct a concrete instance of `SparkPoolAutoPauseInput` via:
SparkPoolAutoPauseArgs{...}
type SparkPoolAutoPauseOutput ¶
type SparkPoolAutoPauseOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoPauseOutput) DelayInMinutes ¶
func (o SparkPoolAutoPauseOutput) DelayInMinutes() pulumi.IntOutput
Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
func (SparkPoolAutoPauseOutput) ElementType ¶
func (SparkPoolAutoPauseOutput) ElementType() reflect.Type
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput ¶
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext ¶
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput ¶
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext ¶
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
type SparkPoolAutoPausePtrInput ¶
type SparkPoolAutoPausePtrInput interface { pulumi.Input ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput ToSparkPoolAutoPausePtrOutputWithContext(context.Context) SparkPoolAutoPausePtrOutput }
SparkPoolAutoPausePtrInput is an input type that accepts SparkPoolAutoPauseArgs, SparkPoolAutoPausePtr and SparkPoolAutoPausePtrOutput values. You can construct a concrete instance of `SparkPoolAutoPausePtrInput` via:
SparkPoolAutoPauseArgs{...} or: nil
func SparkPoolAutoPausePtr ¶
func SparkPoolAutoPausePtr(v *SparkPoolAutoPauseArgs) SparkPoolAutoPausePtrInput
type SparkPoolAutoPausePtrOutput ¶
type SparkPoolAutoPausePtrOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoPausePtrOutput) DelayInMinutes ¶
func (o SparkPoolAutoPausePtrOutput) DelayInMinutes() pulumi.IntPtrOutput
Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
func (SparkPoolAutoPausePtrOutput) Elem ¶
func (o SparkPoolAutoPausePtrOutput) Elem() SparkPoolAutoPauseOutput
func (SparkPoolAutoPausePtrOutput) ElementType ¶
func (SparkPoolAutoPausePtrOutput) ElementType() reflect.Type
func (SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput ¶
func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
func (SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext ¶
func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
type SparkPoolAutoScale ¶
type SparkPoolAutoScaleArgs ¶
type SparkPoolAutoScaleArgs struct { // The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`. MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` // The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`. MinNodeCount pulumi.IntInput `pulumi:"minNodeCount"` }
func (SparkPoolAutoScaleArgs) ElementType ¶
func (SparkPoolAutoScaleArgs) ElementType() reflect.Type
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput ¶
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext ¶
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput ¶
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext ¶
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
type SparkPoolAutoScaleInput ¶
type SparkPoolAutoScaleInput interface { pulumi.Input ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput ToSparkPoolAutoScaleOutputWithContext(context.Context) SparkPoolAutoScaleOutput }
SparkPoolAutoScaleInput is an input type that accepts SparkPoolAutoScaleArgs and SparkPoolAutoScaleOutput values. You can construct a concrete instance of `SparkPoolAutoScaleInput` via:
SparkPoolAutoScaleArgs{...}
type SparkPoolAutoScaleOutput ¶
type SparkPoolAutoScaleOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoScaleOutput) ElementType ¶
func (SparkPoolAutoScaleOutput) ElementType() reflect.Type
func (SparkPoolAutoScaleOutput) MaxNodeCount ¶
func (o SparkPoolAutoScaleOutput) MaxNodeCount() pulumi.IntOutput
The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScaleOutput) MinNodeCount ¶
func (o SparkPoolAutoScaleOutput) MinNodeCount() pulumi.IntOutput
The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput ¶
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext ¶
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput ¶
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext ¶
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
type SparkPoolAutoScalePtrInput ¶
type SparkPoolAutoScalePtrInput interface { pulumi.Input ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput ToSparkPoolAutoScalePtrOutputWithContext(context.Context) SparkPoolAutoScalePtrOutput }
SparkPoolAutoScalePtrInput is an input type that accepts SparkPoolAutoScaleArgs, SparkPoolAutoScalePtr and SparkPoolAutoScalePtrOutput values. You can construct a concrete instance of `SparkPoolAutoScalePtrInput` via:
SparkPoolAutoScaleArgs{...} or: nil
func SparkPoolAutoScalePtr ¶
func SparkPoolAutoScalePtr(v *SparkPoolAutoScaleArgs) SparkPoolAutoScalePtrInput
type SparkPoolAutoScalePtrOutput ¶
type SparkPoolAutoScalePtrOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoScalePtrOutput) Elem ¶
func (o SparkPoolAutoScalePtrOutput) Elem() SparkPoolAutoScaleOutput
func (SparkPoolAutoScalePtrOutput) ElementType ¶
func (SparkPoolAutoScalePtrOutput) ElementType() reflect.Type
func (SparkPoolAutoScalePtrOutput) MaxNodeCount ¶
func (o SparkPoolAutoScalePtrOutput) MaxNodeCount() pulumi.IntPtrOutput
The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScalePtrOutput) MinNodeCount ¶
func (o SparkPoolAutoScalePtrOutput) MinNodeCount() pulumi.IntPtrOutput
The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput ¶
func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
func (SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext ¶
func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
type SparkPoolInput ¶
type SparkPoolInput interface { pulumi.Input ToSparkPoolOutput() SparkPoolOutput ToSparkPoolOutputWithContext(ctx context.Context) SparkPoolOutput }
type SparkPoolLibraryRequirementArgs ¶
type SparkPoolLibraryRequirementArgs struct { // The content of library requirements. Content pulumi.StringInput `pulumi:"content"` // The name of the library requirements file. Filename pulumi.StringInput `pulumi:"filename"` }
func (SparkPoolLibraryRequirementArgs) ElementType ¶
func (SparkPoolLibraryRequirementArgs) ElementType() reflect.Type
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput ¶
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext ¶
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput ¶
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext ¶
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
type SparkPoolLibraryRequirementInput ¶
type SparkPoolLibraryRequirementInput interface { pulumi.Input ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput ToSparkPoolLibraryRequirementOutputWithContext(context.Context) SparkPoolLibraryRequirementOutput }
SparkPoolLibraryRequirementInput is an input type that accepts SparkPoolLibraryRequirementArgs and SparkPoolLibraryRequirementOutput values. You can construct a concrete instance of `SparkPoolLibraryRequirementInput` via:
SparkPoolLibraryRequirementArgs{...}
type SparkPoolLibraryRequirementOutput ¶
type SparkPoolLibraryRequirementOutput struct{ *pulumi.OutputState }
func (SparkPoolLibraryRequirementOutput) Content ¶
func (o SparkPoolLibraryRequirementOutput) Content() pulumi.StringOutput
The content of library requirements.
func (SparkPoolLibraryRequirementOutput) ElementType ¶
func (SparkPoolLibraryRequirementOutput) ElementType() reflect.Type
func (SparkPoolLibraryRequirementOutput) Filename ¶
func (o SparkPoolLibraryRequirementOutput) Filename() pulumi.StringOutput
The name of the library requirements file.
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput ¶
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext ¶
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput ¶
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext ¶
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
type SparkPoolLibraryRequirementPtrInput ¶
type SparkPoolLibraryRequirementPtrInput interface { pulumi.Input ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput ToSparkPoolLibraryRequirementPtrOutputWithContext(context.Context) SparkPoolLibraryRequirementPtrOutput }
SparkPoolLibraryRequirementPtrInput is an input type that accepts SparkPoolLibraryRequirementArgs, SparkPoolLibraryRequirementPtr and SparkPoolLibraryRequirementPtrOutput values. You can construct a concrete instance of `SparkPoolLibraryRequirementPtrInput` via:
SparkPoolLibraryRequirementArgs{...} or: nil
func SparkPoolLibraryRequirementPtr ¶
func SparkPoolLibraryRequirementPtr(v *SparkPoolLibraryRequirementArgs) SparkPoolLibraryRequirementPtrInput
type SparkPoolLibraryRequirementPtrOutput ¶
type SparkPoolLibraryRequirementPtrOutput struct{ *pulumi.OutputState }
func (SparkPoolLibraryRequirementPtrOutput) Content ¶
func (o SparkPoolLibraryRequirementPtrOutput) Content() pulumi.StringPtrOutput
The content of library requirements.
func (SparkPoolLibraryRequirementPtrOutput) ElementType ¶
func (SparkPoolLibraryRequirementPtrOutput) ElementType() reflect.Type
func (SparkPoolLibraryRequirementPtrOutput) Filename ¶
func (o SparkPoolLibraryRequirementPtrOutput) Filename() pulumi.StringPtrOutput
The name of the library requirements file.
func (SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput ¶
func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
func (SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext ¶
func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
type SparkPoolMap ¶
type SparkPoolMap map[string]SparkPoolInput
func (SparkPoolMap) ElementType ¶
func (SparkPoolMap) ElementType() reflect.Type
func (SparkPoolMap) ToSparkPoolMapOutput ¶
func (i SparkPoolMap) ToSparkPoolMapOutput() SparkPoolMapOutput
func (SparkPoolMap) ToSparkPoolMapOutputWithContext ¶
func (i SparkPoolMap) ToSparkPoolMapOutputWithContext(ctx context.Context) SparkPoolMapOutput
type SparkPoolMapInput ¶
type SparkPoolMapInput interface { pulumi.Input ToSparkPoolMapOutput() SparkPoolMapOutput ToSparkPoolMapOutputWithContext(context.Context) SparkPoolMapOutput }
SparkPoolMapInput is an input type that accepts SparkPoolMap and SparkPoolMapOutput values. You can construct a concrete instance of `SparkPoolMapInput` via:
SparkPoolMap{ "key": SparkPoolArgs{...} }
type SparkPoolMapOutput ¶
type SparkPoolMapOutput struct{ *pulumi.OutputState }
func (SparkPoolMapOutput) ElementType ¶
func (SparkPoolMapOutput) ElementType() reflect.Type
func (SparkPoolMapOutput) MapIndex ¶
func (o SparkPoolMapOutput) MapIndex(k pulumi.StringInput) SparkPoolOutput
func (SparkPoolMapOutput) ToSparkPoolMapOutput ¶
func (o SparkPoolMapOutput) ToSparkPoolMapOutput() SparkPoolMapOutput
func (SparkPoolMapOutput) ToSparkPoolMapOutputWithContext ¶
func (o SparkPoolMapOutput) ToSparkPoolMapOutputWithContext(ctx context.Context) SparkPoolMapOutput
type SparkPoolOutput ¶
type SparkPoolOutput struct{ *pulumi.OutputState }
func (SparkPoolOutput) ElementType ¶
func (SparkPoolOutput) ElementType() reflect.Type
func (SparkPoolOutput) ToSparkPoolOutput ¶
func (o SparkPoolOutput) ToSparkPoolOutput() SparkPoolOutput
func (SparkPoolOutput) ToSparkPoolOutputWithContext ¶
func (o SparkPoolOutput) ToSparkPoolOutputWithContext(ctx context.Context) SparkPoolOutput
type SparkPoolSparkConfig ¶
type SparkPoolSparkConfigArgs ¶
type SparkPoolSparkConfigArgs struct { // The contents of a spark configuration. Content pulumi.StringInput `pulumi:"content"` // The name of the file where the spark configuration `content` will be stored. Filename pulumi.StringInput `pulumi:"filename"` }
func (SparkPoolSparkConfigArgs) ElementType ¶
func (SparkPoolSparkConfigArgs) ElementType() reflect.Type
func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput ¶
func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput
func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutputWithContext ¶
func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutputWithContext(ctx context.Context) SparkPoolSparkConfigOutput
func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput ¶
func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutputWithContext ¶
func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput
type SparkPoolSparkConfigInput ¶
type SparkPoolSparkConfigInput interface { pulumi.Input ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput ToSparkPoolSparkConfigOutputWithContext(context.Context) SparkPoolSparkConfigOutput }
SparkPoolSparkConfigInput is an input type that accepts SparkPoolSparkConfigArgs and SparkPoolSparkConfigOutput values. You can construct a concrete instance of `SparkPoolSparkConfigInput` via:
SparkPoolSparkConfigArgs{...}
type SparkPoolSparkConfigOutput ¶
type SparkPoolSparkConfigOutput struct{ *pulumi.OutputState }
func (SparkPoolSparkConfigOutput) Content ¶
func (o SparkPoolSparkConfigOutput) Content() pulumi.StringOutput
The contents of a spark configuration.
func (SparkPoolSparkConfigOutput) ElementType ¶
func (SparkPoolSparkConfigOutput) ElementType() reflect.Type
func (SparkPoolSparkConfigOutput) Filename ¶
func (o SparkPoolSparkConfigOutput) Filename() pulumi.StringOutput
The name of the file where the spark configuration `content` will be stored.
func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput ¶
func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput
func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutputWithContext ¶
func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutputWithContext(ctx context.Context) SparkPoolSparkConfigOutput
func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput ¶
func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutputWithContext ¶
func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput
type SparkPoolSparkConfigPtrInput ¶
type SparkPoolSparkConfigPtrInput interface { pulumi.Input ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput ToSparkPoolSparkConfigPtrOutputWithContext(context.Context) SparkPoolSparkConfigPtrOutput }
SparkPoolSparkConfigPtrInput is an input type that accepts SparkPoolSparkConfigArgs, SparkPoolSparkConfigPtr and SparkPoolSparkConfigPtrOutput values. You can construct a concrete instance of `SparkPoolSparkConfigPtrInput` via:
SparkPoolSparkConfigArgs{...} or: nil
func SparkPoolSparkConfigPtr ¶
func SparkPoolSparkConfigPtr(v *SparkPoolSparkConfigArgs) SparkPoolSparkConfigPtrInput
type SparkPoolSparkConfigPtrOutput ¶
type SparkPoolSparkConfigPtrOutput struct{ *pulumi.OutputState }
func (SparkPoolSparkConfigPtrOutput) Content ¶
func (o SparkPoolSparkConfigPtrOutput) Content() pulumi.StringPtrOutput
The contents of a spark configuration.
func (SparkPoolSparkConfigPtrOutput) Elem ¶
func (o SparkPoolSparkConfigPtrOutput) Elem() SparkPoolSparkConfigOutput
func (SparkPoolSparkConfigPtrOutput) ElementType ¶
func (SparkPoolSparkConfigPtrOutput) ElementType() reflect.Type
func (SparkPoolSparkConfigPtrOutput) Filename ¶
func (o SparkPoolSparkConfigPtrOutput) Filename() pulumi.StringPtrOutput
The name of the file where the spark configuration `content` will be stored.
func (SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput ¶
func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
func (SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutputWithContext ¶
func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput
type SparkPoolState ¶
type SparkPoolState struct { // An `autoPause` block as defined below. AutoPause SparkPoolAutoPausePtrInput // An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified. AutoScale SparkPoolAutoScalePtrInput // The cache size in the Spark Pool. CacheSize pulumi.IntPtrInput // Indicates whether compute isolation is enabled or not. Defaults to `false`. ComputeIsolationEnabled pulumi.BoolPtrInput // Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`. DynamicExecutorAllocationEnabled pulumi.BoolPtrInput // A `libraryRequirement` block as defined below. LibraryRequirement SparkPoolLibraryRequirementPtrInput // The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created. Name pulumi.StringPtrInput // The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified. NodeCount pulumi.IntPtrInput // The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`. NodeSize pulumi.StringPtrInput // The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`. NodeSizeFamily pulumi.StringPtrInput // Indicates whether session level packages are enabled or not. Defaults to `false`. SessionLevelPackagesEnabled pulumi.BoolPtrInput // A `sparkConfig` block as defined below. SparkConfig SparkPoolSparkConfigPtrInput // The Spark events folder. Defaults to `/events`. SparkEventsFolder pulumi.StringPtrInput // The default folder where Spark logs will be written. Defaults to `/logs`. SparkLogFolder pulumi.StringPtrInput // The Apache Spark version. Possible values are `2.4` and `3.1`. Defaults to `2.4`. SparkVersion pulumi.StringPtrInput // The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created. SynapseWorkspaceId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Synapse Spark Pool. Tags pulumi.StringMapInput }
func (SparkPoolState) ElementType ¶
func (SparkPoolState) ElementType() reflect.Type
type SqlPool ¶
type SqlPool struct { pulumi.CustomResourceState // The name of the collation to use with this pool, only applicable when `createMode` is set to `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created. Collation pulumi.StringOutput `pulumi:"collation"` // Specifies how to create the Sql Pool. Valid values are: `Default`, `Recovery` or `PointInTimeRestore`. Must be `Default` to create a new database. Defaults to `Default`. CreateMode pulumi.StringPtrOutput `pulumi:"createMode"` // Is transparent data encryption enabled? Defaults to `false`. DataEncrypted pulumi.BoolPtrOutput `pulumi:"dataEncrypted"` // The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created. RecoveryDatabaseId pulumi.StringPtrOutput `pulumi:"recoveryDatabaseId"` // A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`. Restore SqlPoolRestorePtrOutput `pulumi:"restore"` // Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`. SkuName pulumi.StringOutput `pulumi:"skuName"` // The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // A mapping of tags which should be assigned to the Synapse Sql Pool. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Synapse Sql Pool.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("BlobStorage"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } _, err = synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Sql Pool can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPool:SqlPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1
```
func GetSqlPool ¶
func GetSqlPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolState, opts ...pulumi.ResourceOption) (*SqlPool, error)
GetSqlPool gets an existing SqlPool 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 NewSqlPool ¶
func NewSqlPool(ctx *pulumi.Context, name string, args *SqlPoolArgs, opts ...pulumi.ResourceOption) (*SqlPool, error)
NewSqlPool registers a new resource with the given unique name, arguments, and options.
func (*SqlPool) ElementType ¶
func (*SqlPool) ToSqlPoolOutput ¶
func (i *SqlPool) ToSqlPoolOutput() SqlPoolOutput
func (*SqlPool) ToSqlPoolOutputWithContext ¶
func (i *SqlPool) ToSqlPoolOutputWithContext(ctx context.Context) SqlPoolOutput
type SqlPoolArgs ¶
type SqlPoolArgs struct { // The name of the collation to use with this pool, only applicable when `createMode` is set to `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created. Collation pulumi.StringPtrInput // Specifies how to create the Sql Pool. Valid values are: `Default`, `Recovery` or `PointInTimeRestore`. Must be `Default` to create a new database. Defaults to `Default`. CreateMode pulumi.StringPtrInput // Is transparent data encryption enabled? Defaults to `false`. DataEncrypted pulumi.BoolPtrInput // The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created. Name pulumi.StringPtrInput // The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created. RecoveryDatabaseId pulumi.StringPtrInput // A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`. Restore SqlPoolRestorePtrInput // Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`. SkuName pulumi.StringInput // The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created. SynapseWorkspaceId pulumi.StringInput // A mapping of tags which should be assigned to the Synapse Sql Pool. Tags pulumi.StringMapInput }
The set of arguments for constructing a SqlPool resource.
func (SqlPoolArgs) ElementType ¶
func (SqlPoolArgs) ElementType() reflect.Type
type SqlPoolArray ¶
type SqlPoolArray []SqlPoolInput
func (SqlPoolArray) ElementType ¶
func (SqlPoolArray) ElementType() reflect.Type
func (SqlPoolArray) ToSqlPoolArrayOutput ¶
func (i SqlPoolArray) ToSqlPoolArrayOutput() SqlPoolArrayOutput
func (SqlPoolArray) ToSqlPoolArrayOutputWithContext ¶
func (i SqlPoolArray) ToSqlPoolArrayOutputWithContext(ctx context.Context) SqlPoolArrayOutput
type SqlPoolArrayInput ¶
type SqlPoolArrayInput interface { pulumi.Input ToSqlPoolArrayOutput() SqlPoolArrayOutput ToSqlPoolArrayOutputWithContext(context.Context) SqlPoolArrayOutput }
SqlPoolArrayInput is an input type that accepts SqlPoolArray and SqlPoolArrayOutput values. You can construct a concrete instance of `SqlPoolArrayInput` via:
SqlPoolArray{ SqlPoolArgs{...} }
type SqlPoolArrayOutput ¶
type SqlPoolArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolArrayOutput) ElementType ¶
func (SqlPoolArrayOutput) ElementType() reflect.Type
func (SqlPoolArrayOutput) Index ¶
func (o SqlPoolArrayOutput) Index(i pulumi.IntInput) SqlPoolOutput
func (SqlPoolArrayOutput) ToSqlPoolArrayOutput ¶
func (o SqlPoolArrayOutput) ToSqlPoolArrayOutput() SqlPoolArrayOutput
func (SqlPoolArrayOutput) ToSqlPoolArrayOutputWithContext ¶
func (o SqlPoolArrayOutput) ToSqlPoolArrayOutputWithContext(ctx context.Context) SqlPoolArrayOutput
type SqlPoolExtendedAuditingPolicy ¶
type SqlPoolExtendedAuditingPolicy struct { pulumi.CustomResourceState // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"` // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"` // The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created. SqlPoolId pulumi.StringOutput `pulumi:"sqlPoolId"` // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrOutput `pulumi:"storageAccountAccessKeyIsSecondary"` // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` }
Manages a Synapse SQL Pool Extended Auditing Policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("BlobStorage"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = synapse.NewSqlPoolExtendedAuditingPolicy(ctx, "exampleSqlPoolExtendedAuditingPolicy", &synapse.SqlPoolExtendedAuditingPolicyArgs{ SqlPoolId: exampleSqlPool.ID(), StorageEndpoint: auditLogs.PrimaryBlobEndpoint, StorageAccountAccessKey: auditLogs.PrimaryAccessKey, StorageAccountAccessKeyIsSecondary: pulumi.Bool(false), RetentionInDays: pulumi.Int(6), }) if err != nil { return err } return nil }) }
```
## Import
Synapse SQL Pool Extended Auditing Policys can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPoolExtendedAuditingPolicy:SqlPoolExtendedAuditingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/extendedAuditingSettings/default
```
func GetSqlPoolExtendedAuditingPolicy ¶
func GetSqlPoolExtendedAuditingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolExtendedAuditingPolicyState, opts ...pulumi.ResourceOption) (*SqlPoolExtendedAuditingPolicy, error)
GetSqlPoolExtendedAuditingPolicy gets an existing SqlPoolExtendedAuditingPolicy 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 NewSqlPoolExtendedAuditingPolicy ¶
func NewSqlPoolExtendedAuditingPolicy(ctx *pulumi.Context, name string, args *SqlPoolExtendedAuditingPolicyArgs, opts ...pulumi.ResourceOption) (*SqlPoolExtendedAuditingPolicy, error)
NewSqlPoolExtendedAuditingPolicy registers a new resource with the given unique name, arguments, and options.
func (*SqlPoolExtendedAuditingPolicy) ElementType ¶
func (*SqlPoolExtendedAuditingPolicy) ElementType() reflect.Type
func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput ¶
func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput
func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutputWithContext ¶
func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput
type SqlPoolExtendedAuditingPolicyArgs ¶
type SqlPoolExtendedAuditingPolicyArgs struct { // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created. SqlPoolId pulumi.StringInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput }
The set of arguments for constructing a SqlPoolExtendedAuditingPolicy resource.
func (SqlPoolExtendedAuditingPolicyArgs) ElementType ¶
func (SqlPoolExtendedAuditingPolicyArgs) ElementType() reflect.Type
type SqlPoolExtendedAuditingPolicyArray ¶
type SqlPoolExtendedAuditingPolicyArray []SqlPoolExtendedAuditingPolicyInput
func (SqlPoolExtendedAuditingPolicyArray) ElementType ¶
func (SqlPoolExtendedAuditingPolicyArray) ElementType() reflect.Type
func (SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput ¶
func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput
func (SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext ¶
func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyArrayOutput
type SqlPoolExtendedAuditingPolicyArrayInput ¶
type SqlPoolExtendedAuditingPolicyArrayInput interface { pulumi.Input ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(context.Context) SqlPoolExtendedAuditingPolicyArrayOutput }
SqlPoolExtendedAuditingPolicyArrayInput is an input type that accepts SqlPoolExtendedAuditingPolicyArray and SqlPoolExtendedAuditingPolicyArrayOutput values. You can construct a concrete instance of `SqlPoolExtendedAuditingPolicyArrayInput` via:
SqlPoolExtendedAuditingPolicyArray{ SqlPoolExtendedAuditingPolicyArgs{...} }
type SqlPoolExtendedAuditingPolicyArrayOutput ¶
type SqlPoolExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolExtendedAuditingPolicyArrayOutput) ElementType ¶
func (SqlPoolExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
func (SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput ¶
func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput
func (SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext ¶
func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyArrayOutput
type SqlPoolExtendedAuditingPolicyInput ¶
type SqlPoolExtendedAuditingPolicyInput interface { pulumi.Input ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput }
type SqlPoolExtendedAuditingPolicyMap ¶
type SqlPoolExtendedAuditingPolicyMap map[string]SqlPoolExtendedAuditingPolicyInput
func (SqlPoolExtendedAuditingPolicyMap) ElementType ¶
func (SqlPoolExtendedAuditingPolicyMap) ElementType() reflect.Type
func (SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput ¶
func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput
func (SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext ¶
func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyMapOutput
type SqlPoolExtendedAuditingPolicyMapInput ¶
type SqlPoolExtendedAuditingPolicyMapInput interface { pulumi.Input ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(context.Context) SqlPoolExtendedAuditingPolicyMapOutput }
SqlPoolExtendedAuditingPolicyMapInput is an input type that accepts SqlPoolExtendedAuditingPolicyMap and SqlPoolExtendedAuditingPolicyMapOutput values. You can construct a concrete instance of `SqlPoolExtendedAuditingPolicyMapInput` via:
SqlPoolExtendedAuditingPolicyMap{ "key": SqlPoolExtendedAuditingPolicyArgs{...} }
type SqlPoolExtendedAuditingPolicyMapOutput ¶
type SqlPoolExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }
func (SqlPoolExtendedAuditingPolicyMapOutput) ElementType ¶
func (SqlPoolExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
func (SqlPoolExtendedAuditingPolicyMapOutput) MapIndex ¶
func (o SqlPoolExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) SqlPoolExtendedAuditingPolicyOutput
func (SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput ¶
func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput
func (SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext ¶
func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyMapOutput
type SqlPoolExtendedAuditingPolicyOutput ¶
type SqlPoolExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }
func (SqlPoolExtendedAuditingPolicyOutput) ElementType ¶
func (SqlPoolExtendedAuditingPolicyOutput) ElementType() reflect.Type
func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput ¶
func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput
func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutputWithContext ¶
func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput
type SqlPoolExtendedAuditingPolicyState ¶
type SqlPoolExtendedAuditingPolicyState struct { // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created. SqlPoolId pulumi.StringPtrInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput }
func (SqlPoolExtendedAuditingPolicyState) ElementType ¶
func (SqlPoolExtendedAuditingPolicyState) ElementType() reflect.Type
type SqlPoolInput ¶
type SqlPoolInput interface { pulumi.Input ToSqlPoolOutput() SqlPoolOutput ToSqlPoolOutputWithContext(ctx context.Context) SqlPoolOutput }
type SqlPoolMap ¶
type SqlPoolMap map[string]SqlPoolInput
func (SqlPoolMap) ElementType ¶
func (SqlPoolMap) ElementType() reflect.Type
func (SqlPoolMap) ToSqlPoolMapOutput ¶
func (i SqlPoolMap) ToSqlPoolMapOutput() SqlPoolMapOutput
func (SqlPoolMap) ToSqlPoolMapOutputWithContext ¶
func (i SqlPoolMap) ToSqlPoolMapOutputWithContext(ctx context.Context) SqlPoolMapOutput
type SqlPoolMapInput ¶
type SqlPoolMapInput interface { pulumi.Input ToSqlPoolMapOutput() SqlPoolMapOutput ToSqlPoolMapOutputWithContext(context.Context) SqlPoolMapOutput }
SqlPoolMapInput is an input type that accepts SqlPoolMap and SqlPoolMapOutput values. You can construct a concrete instance of `SqlPoolMapInput` via:
SqlPoolMap{ "key": SqlPoolArgs{...} }
type SqlPoolMapOutput ¶
type SqlPoolMapOutput struct{ *pulumi.OutputState }
func (SqlPoolMapOutput) ElementType ¶
func (SqlPoolMapOutput) ElementType() reflect.Type
func (SqlPoolMapOutput) MapIndex ¶
func (o SqlPoolMapOutput) MapIndex(k pulumi.StringInput) SqlPoolOutput
func (SqlPoolMapOutput) ToSqlPoolMapOutput ¶
func (o SqlPoolMapOutput) ToSqlPoolMapOutput() SqlPoolMapOutput
func (SqlPoolMapOutput) ToSqlPoolMapOutputWithContext ¶
func (o SqlPoolMapOutput) ToSqlPoolMapOutputWithContext(ctx context.Context) SqlPoolMapOutput
type SqlPoolOutput ¶
type SqlPoolOutput struct{ *pulumi.OutputState }
func (SqlPoolOutput) ElementType ¶
func (SqlPoolOutput) ElementType() reflect.Type
func (SqlPoolOutput) ToSqlPoolOutput ¶
func (o SqlPoolOutput) ToSqlPoolOutput() SqlPoolOutput
func (SqlPoolOutput) ToSqlPoolOutputWithContext ¶
func (o SqlPoolOutput) ToSqlPoolOutputWithContext(ctx context.Context) SqlPoolOutput
type SqlPoolRestore ¶
type SqlPoolRestore struct { // Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created. PointInTime string `pulumi:"pointInTime"` // The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created. SourceDatabaseId string `pulumi:"sourceDatabaseId"` }
type SqlPoolRestoreArgs ¶
type SqlPoolRestoreArgs struct { // Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created. PointInTime pulumi.StringInput `pulumi:"pointInTime"` // The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created. SourceDatabaseId pulumi.StringInput `pulumi:"sourceDatabaseId"` }
func (SqlPoolRestoreArgs) ElementType ¶
func (SqlPoolRestoreArgs) ElementType() reflect.Type
func (SqlPoolRestoreArgs) ToSqlPoolRestoreOutput ¶
func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput
func (SqlPoolRestoreArgs) ToSqlPoolRestoreOutputWithContext ¶
func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutputWithContext(ctx context.Context) SqlPoolRestoreOutput
func (SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput ¶
func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
func (SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutputWithContext ¶
func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput
type SqlPoolRestoreInput ¶
type SqlPoolRestoreInput interface { pulumi.Input ToSqlPoolRestoreOutput() SqlPoolRestoreOutput ToSqlPoolRestoreOutputWithContext(context.Context) SqlPoolRestoreOutput }
SqlPoolRestoreInput is an input type that accepts SqlPoolRestoreArgs and SqlPoolRestoreOutput values. You can construct a concrete instance of `SqlPoolRestoreInput` via:
SqlPoolRestoreArgs{...}
type SqlPoolRestoreOutput ¶
type SqlPoolRestoreOutput struct{ *pulumi.OutputState }
func (SqlPoolRestoreOutput) ElementType ¶
func (SqlPoolRestoreOutput) ElementType() reflect.Type
func (SqlPoolRestoreOutput) PointInTime ¶
func (o SqlPoolRestoreOutput) PointInTime() pulumi.StringOutput
Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created.
func (SqlPoolRestoreOutput) SourceDatabaseId ¶
func (o SqlPoolRestoreOutput) SourceDatabaseId() pulumi.StringOutput
The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created.
func (SqlPoolRestoreOutput) ToSqlPoolRestoreOutput ¶
func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput
func (SqlPoolRestoreOutput) ToSqlPoolRestoreOutputWithContext ¶
func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutputWithContext(ctx context.Context) SqlPoolRestoreOutput
func (SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput ¶
func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
func (SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutputWithContext ¶
func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput
type SqlPoolRestorePtrInput ¶
type SqlPoolRestorePtrInput interface { pulumi.Input ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput ToSqlPoolRestorePtrOutputWithContext(context.Context) SqlPoolRestorePtrOutput }
SqlPoolRestorePtrInput is an input type that accepts SqlPoolRestoreArgs, SqlPoolRestorePtr and SqlPoolRestorePtrOutput values. You can construct a concrete instance of `SqlPoolRestorePtrInput` via:
SqlPoolRestoreArgs{...} or: nil
func SqlPoolRestorePtr ¶
func SqlPoolRestorePtr(v *SqlPoolRestoreArgs) SqlPoolRestorePtrInput
type SqlPoolRestorePtrOutput ¶
type SqlPoolRestorePtrOutput struct{ *pulumi.OutputState }
func (SqlPoolRestorePtrOutput) Elem ¶
func (o SqlPoolRestorePtrOutput) Elem() SqlPoolRestoreOutput
func (SqlPoolRestorePtrOutput) ElementType ¶
func (SqlPoolRestorePtrOutput) ElementType() reflect.Type
func (SqlPoolRestorePtrOutput) PointInTime ¶
func (o SqlPoolRestorePtrOutput) PointInTime() pulumi.StringPtrOutput
Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created.
func (SqlPoolRestorePtrOutput) SourceDatabaseId ¶
func (o SqlPoolRestorePtrOutput) SourceDatabaseId() pulumi.StringPtrOutput
The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created.
func (SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutput ¶
func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
func (SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutputWithContext ¶
func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput
type SqlPoolSecurityAlertPolicy ¶
type SqlPoolSecurityAlertPolicy struct { pulumi.CustomResourceState // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayOutput `pulumi:"disabledAlerts"` // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdminsEnabled pulumi.BoolPtrOutput `pulumi:"emailAccountAdminsEnabled"` // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayOutput `pulumi:"emailAddresses"` // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Allowed values are: `Disabled`, `Enabled`. PolicyState pulumi.StringOutput `pulumi:"policyState"` // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` // Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created. SqlPoolId pulumi.StringOutput `pulumi:"sqlPoolId"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` }
Manages a Security Alert Policy for a Synapse SQL Pool.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), AadAdmin: &synapse.WorkspaceAadAdminArgs{ Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = synapse.NewSqlPoolSecurityAlertPolicy(ctx, "exampleSqlPoolSecurityAlertPolicy", &synapse.SqlPoolSecurityAlertPolicyArgs{ SqlPoolId: exampleSqlPool.ID(), PolicyState: pulumi.String("Enabled"), StorageEndpoint: auditLogs.PrimaryBlobEndpoint, StorageAccountAccessKey: auditLogs.PrimaryAccessKey, DisabledAlerts: pulumi.StringArray{ pulumi.String("Sql_Injection"), pulumi.String("Data_Exfiltration"), }, RetentionDays: pulumi.Int(20), }) if err != nil { return err } return nil }) }
```
## Import
Synapse SQL Pool Security Alert Policies can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPoolSecurityAlertPolicy:SqlPoolSecurityAlertPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/securityAlertPolicies/default
```
func GetSqlPoolSecurityAlertPolicy ¶
func GetSqlPoolSecurityAlertPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolSecurityAlertPolicyState, opts ...pulumi.ResourceOption) (*SqlPoolSecurityAlertPolicy, error)
GetSqlPoolSecurityAlertPolicy gets an existing SqlPoolSecurityAlertPolicy 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 NewSqlPoolSecurityAlertPolicy ¶
func NewSqlPoolSecurityAlertPolicy(ctx *pulumi.Context, name string, args *SqlPoolSecurityAlertPolicyArgs, opts ...pulumi.ResourceOption) (*SqlPoolSecurityAlertPolicy, error)
NewSqlPoolSecurityAlertPolicy registers a new resource with the given unique name, arguments, and options.
func (*SqlPoolSecurityAlertPolicy) ElementType ¶
func (*SqlPoolSecurityAlertPolicy) ElementType() reflect.Type
func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput ¶
func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput
func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutputWithContext ¶
func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput
type SqlPoolSecurityAlertPolicyArgs ¶
type SqlPoolSecurityAlertPolicyArgs struct { // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayInput // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdminsEnabled pulumi.BoolPtrInput // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayInput // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Allowed values are: `Disabled`, `Enabled`. PolicyState pulumi.StringInput // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrInput // Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created. SqlPoolId pulumi.StringInput // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput }
The set of arguments for constructing a SqlPoolSecurityAlertPolicy resource.
func (SqlPoolSecurityAlertPolicyArgs) ElementType ¶
func (SqlPoolSecurityAlertPolicyArgs) ElementType() reflect.Type
type SqlPoolSecurityAlertPolicyArray ¶
type SqlPoolSecurityAlertPolicyArray []SqlPoolSecurityAlertPolicyInput
func (SqlPoolSecurityAlertPolicyArray) ElementType ¶
func (SqlPoolSecurityAlertPolicyArray) ElementType() reflect.Type
func (SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput ¶
func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput
func (SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext ¶
func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyArrayOutput
type SqlPoolSecurityAlertPolicyArrayInput ¶
type SqlPoolSecurityAlertPolicyArrayInput interface { pulumi.Input ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(context.Context) SqlPoolSecurityAlertPolicyArrayOutput }
SqlPoolSecurityAlertPolicyArrayInput is an input type that accepts SqlPoolSecurityAlertPolicyArray and SqlPoolSecurityAlertPolicyArrayOutput values. You can construct a concrete instance of `SqlPoolSecurityAlertPolicyArrayInput` via:
SqlPoolSecurityAlertPolicyArray{ SqlPoolSecurityAlertPolicyArgs{...} }
type SqlPoolSecurityAlertPolicyArrayOutput ¶
type SqlPoolSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolSecurityAlertPolicyArrayOutput) ElementType ¶
func (SqlPoolSecurityAlertPolicyArrayOutput) ElementType() reflect.Type
func (SqlPoolSecurityAlertPolicyArrayOutput) Index ¶
func (o SqlPoolSecurityAlertPolicyArrayOutput) Index(i pulumi.IntInput) SqlPoolSecurityAlertPolicyOutput
func (SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput ¶
func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput
func (SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext ¶
func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyArrayOutput
type SqlPoolSecurityAlertPolicyInput ¶
type SqlPoolSecurityAlertPolicyInput interface { pulumi.Input ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput }
type SqlPoolSecurityAlertPolicyMap ¶
type SqlPoolSecurityAlertPolicyMap map[string]SqlPoolSecurityAlertPolicyInput
func (SqlPoolSecurityAlertPolicyMap) ElementType ¶
func (SqlPoolSecurityAlertPolicyMap) ElementType() reflect.Type
func (SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput ¶
func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput
func (SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutputWithContext ¶
func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyMapOutput
type SqlPoolSecurityAlertPolicyMapInput ¶
type SqlPoolSecurityAlertPolicyMapInput interface { pulumi.Input ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput ToSqlPoolSecurityAlertPolicyMapOutputWithContext(context.Context) SqlPoolSecurityAlertPolicyMapOutput }
SqlPoolSecurityAlertPolicyMapInput is an input type that accepts SqlPoolSecurityAlertPolicyMap and SqlPoolSecurityAlertPolicyMapOutput values. You can construct a concrete instance of `SqlPoolSecurityAlertPolicyMapInput` via:
SqlPoolSecurityAlertPolicyMap{ "key": SqlPoolSecurityAlertPolicyArgs{...} }
type SqlPoolSecurityAlertPolicyMapOutput ¶
type SqlPoolSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }
func (SqlPoolSecurityAlertPolicyMapOutput) ElementType ¶
func (SqlPoolSecurityAlertPolicyMapOutput) ElementType() reflect.Type
func (SqlPoolSecurityAlertPolicyMapOutput) MapIndex ¶
func (o SqlPoolSecurityAlertPolicyMapOutput) MapIndex(k pulumi.StringInput) SqlPoolSecurityAlertPolicyOutput
func (SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput ¶
func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput
func (SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutputWithContext ¶
func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyMapOutput
type SqlPoolSecurityAlertPolicyOutput ¶
type SqlPoolSecurityAlertPolicyOutput struct{ *pulumi.OutputState }
func (SqlPoolSecurityAlertPolicyOutput) ElementType ¶
func (SqlPoolSecurityAlertPolicyOutput) ElementType() reflect.Type
func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput ¶
func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput
func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutputWithContext ¶
func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput
type SqlPoolSecurityAlertPolicyState ¶
type SqlPoolSecurityAlertPolicyState struct { // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayInput // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdminsEnabled pulumi.BoolPtrInput // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayInput // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Allowed values are: `Disabled`, `Enabled`. PolicyState pulumi.StringPtrInput // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrInput // Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created. SqlPoolId pulumi.StringPtrInput // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput }
func (SqlPoolSecurityAlertPolicyState) ElementType ¶
func (SqlPoolSecurityAlertPolicyState) ElementType() reflect.Type
type SqlPoolState ¶
type SqlPoolState struct { // The name of the collation to use with this pool, only applicable when `createMode` is set to `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created. Collation pulumi.StringPtrInput // Specifies how to create the Sql Pool. Valid values are: `Default`, `Recovery` or `PointInTimeRestore`. Must be `Default` to create a new database. Defaults to `Default`. CreateMode pulumi.StringPtrInput // Is transparent data encryption enabled? Defaults to `false`. DataEncrypted pulumi.BoolPtrInput // The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created. Name pulumi.StringPtrInput // The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created. RecoveryDatabaseId pulumi.StringPtrInput // A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`. Restore SqlPoolRestorePtrInput // Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`. SkuName pulumi.StringPtrInput // The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created. SynapseWorkspaceId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Synapse Sql Pool. Tags pulumi.StringMapInput }
func (SqlPoolState) ElementType ¶
func (SqlPoolState) ElementType() reflect.Type
type SqlPoolVulnerabilityAssessment ¶
type SqlPoolVulnerabilityAssessment struct { pulumi.CustomResourceState // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans SqlPoolVulnerabilityAssessmentRecurringScansOutput `pulumi:"recurringScans"` // The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created. SqlPoolSecurityAlertPolicyId pulumi.StringOutput `pulumi:"sqlPoolSecurityAlertPolicyId"` // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringOutput `pulumi:"storageContainerPath"` // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrOutput `pulumi:"storageContainerSasKey"` }
Manages the Vulnerability Assessment for a Synapse SQL Pool.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), AadAdmin: &synapse.WorkspaceAadAdminArgs{ Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleSqlPoolSecurityAlertPolicy, err := synapse.NewSqlPoolSecurityAlertPolicy(ctx, "exampleSqlPoolSecurityAlertPolicy", &synapse.SqlPoolSecurityAlertPolicyArgs{ SqlPoolId: exampleSqlPool.ID(), PolicyState: pulumi.String("Enabled"), StorageEndpoint: auditLogs.PrimaryBlobEndpoint, StorageAccountAccessKey: auditLogs.PrimaryAccessKey, DisabledAlerts: pulumi.StringArray{ pulumi.String("Sql_Injection"), pulumi.String("Data_Exfiltration"), }, RetentionDays: pulumi.Int(20), }) if err != nil { return err } _, err = synapse.NewSqlPoolVulnerabilityAssessment(ctx, "exampleSqlPoolVulnerabilityAssessment", &synapse.SqlPoolVulnerabilityAssessmentArgs{ SqlPoolSecurityAlertPolicyId: exampleSqlPoolSecurityAlertPolicy.ID(), StorageContainerPath: exampleAccount.PrimaryBlobEndpoint.ApplyT(func(primaryBlobEndpoint string) (string, error) { return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, azurerm_storage_container.Example.Name, "/"), nil }).(pulumi.StringOutput), StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, RecurringScans: &synapse.SqlPoolVulnerabilityAssessmentRecurringScansArgs{ Enabled: pulumi.Bool(true), EmailSubscriptionAdminsEnabled: pulumi.Bool(true), Emails: pulumi.StringArray{ pulumi.String("email@example1.com"), pulumi.String("email@example2.com"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Synapse SQL Pool Vulnerability Assessment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPoolVulnerabilityAssessment:SqlPoolVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/vulnerabilityAssessments/default
```
func GetSqlPoolVulnerabilityAssessment ¶
func GetSqlPoolVulnerabilityAssessment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolVulnerabilityAssessmentState, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessment, error)
GetSqlPoolVulnerabilityAssessment gets an existing SqlPoolVulnerabilityAssessment 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 NewSqlPoolVulnerabilityAssessment ¶
func NewSqlPoolVulnerabilityAssessment(ctx *pulumi.Context, name string, args *SqlPoolVulnerabilityAssessmentArgs, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessment, error)
NewSqlPoolVulnerabilityAssessment registers a new resource with the given unique name, arguments, and options.
func (*SqlPoolVulnerabilityAssessment) ElementType ¶
func (*SqlPoolVulnerabilityAssessment) ElementType() reflect.Type
func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput ¶
func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput
func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutputWithContext ¶
func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput
type SqlPoolVulnerabilityAssessmentArgs ¶
type SqlPoolVulnerabilityAssessmentArgs struct { // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans SqlPoolVulnerabilityAssessmentRecurringScansPtrInput // The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created. SqlPoolSecurityAlertPolicyId pulumi.StringInput // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrInput // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringInput // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrInput }
The set of arguments for constructing a SqlPoolVulnerabilityAssessment resource.
func (SqlPoolVulnerabilityAssessmentArgs) ElementType ¶
func (SqlPoolVulnerabilityAssessmentArgs) ElementType() reflect.Type
type SqlPoolVulnerabilityAssessmentArray ¶
type SqlPoolVulnerabilityAssessmentArray []SqlPoolVulnerabilityAssessmentInput
func (SqlPoolVulnerabilityAssessmentArray) ElementType ¶
func (SqlPoolVulnerabilityAssessmentArray) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput ¶
func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput
func (SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentArrayOutput
type SqlPoolVulnerabilityAssessmentArrayInput ¶
type SqlPoolVulnerabilityAssessmentArrayInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentArrayOutput }
SqlPoolVulnerabilityAssessmentArrayInput is an input type that accepts SqlPoolVulnerabilityAssessmentArray and SqlPoolVulnerabilityAssessmentArrayOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentArrayInput` via:
SqlPoolVulnerabilityAssessmentArray{ SqlPoolVulnerabilityAssessmentArgs{...} }
type SqlPoolVulnerabilityAssessmentArrayOutput ¶
type SqlPoolVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentArrayOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput ¶
func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput
func (SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentArrayOutput
type SqlPoolVulnerabilityAssessmentBaseline ¶
type SqlPoolVulnerabilityAssessmentBaseline struct { pulumi.CustomResourceState // One or more `baseline` blocks as defined below. Baselines SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput `pulumi:"baselines"` // The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline. Name pulumi.StringOutput `pulumi:"name"` // The ID of the vulnerability assessment rule. RuleName pulumi.StringOutput `pulumi:"ruleName"` // The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created. SqlPoolVulnerabilityAssessmentId pulumi.StringOutput `pulumi:"sqlPoolVulnerabilityAssessmentId"` }
Manages a Synapse SQL Pool Vulnerability Assessment Rule Baseline.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } _, err = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleSqlPoolSecurityAlertPolicy, err := synapse.NewSqlPoolSecurityAlertPolicy(ctx, "exampleSqlPoolSecurityAlertPolicy", &synapse.SqlPoolSecurityAlertPolicyArgs{ SqlPoolId: exampleSqlPool.ID(), PolicyState: pulumi.String("Enabled"), StorageEndpoint: exampleAccount.PrimaryBlobEndpoint, StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, }) if err != nil { return err } _, err = synapse.NewSqlPoolVulnerabilityAssessment(ctx, "exampleSqlPoolVulnerabilityAssessment", &synapse.SqlPoolVulnerabilityAssessmentArgs{ SqlPoolSecurityAlertPolicyId: exampleSqlPoolSecurityAlertPolicy.ID(), StorageContainerPath: pulumi.All(exampleAccount.PrimaryBlobEndpoint, exampleContainer.Name).ApplyT(func(_args []interface{}) (string, error) { primaryBlobEndpoint := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, name, "/"), nil }).(pulumi.StringOutput), StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, }) if err != nil { return err } _, err = synapse.NewSqlPoolVulnerabilityAssessmentBaseline(ctx, "exampleSqlPoolVulnerabilityAssessmentBaseline", &synapse.SqlPoolVulnerabilityAssessmentBaselineArgs{ RuleName: pulumi.String("VA1017"), SqlPoolVulnerabilityAssessmentId: pulumi.Any(azurerm_synapse_sql_pool_vulnerability_assessment.Test.Id), Baselines: synapse.SqlPoolVulnerabilityAssessmentBaselineBaselineArray{ &synapse.SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{ Results: pulumi.StringArray{ pulumi.String("userA"), pulumi.String("SELECT"), }, }, &synapse.SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{ Results: pulumi.StringArray{ pulumi.String("userB"), pulumi.String("SELECT"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Synapse SQL Pool Vulnerability Assessment Rule Baselines can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPoolVulnerabilityAssessmentBaseline:SqlPoolVulnerabilityAssessmentBaseline example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/vulnerabilityAssessments/default/rules/rule1/baselines/baseline1
```
func GetSqlPoolVulnerabilityAssessmentBaseline ¶
func GetSqlPoolVulnerabilityAssessmentBaseline(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolVulnerabilityAssessmentBaselineState, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessmentBaseline, error)
GetSqlPoolVulnerabilityAssessmentBaseline gets an existing SqlPoolVulnerabilityAssessmentBaseline 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 NewSqlPoolVulnerabilityAssessmentBaseline ¶
func NewSqlPoolVulnerabilityAssessmentBaseline(ctx *pulumi.Context, name string, args *SqlPoolVulnerabilityAssessmentBaselineArgs, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessmentBaseline, error)
NewSqlPoolVulnerabilityAssessmentBaseline registers a new resource with the given unique name, arguments, and options.
func (*SqlPoolVulnerabilityAssessmentBaseline) ElementType ¶
func (*SqlPoolVulnerabilityAssessmentBaseline) ElementType() reflect.Type
func (*SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput ¶
func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput
func (*SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext ¶
func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput
type SqlPoolVulnerabilityAssessmentBaselineArgs ¶
type SqlPoolVulnerabilityAssessmentBaselineArgs struct { // One or more `baseline` blocks as defined below. Baselines SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput // The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline. Name pulumi.StringPtrInput // The ID of the vulnerability assessment rule. RuleName pulumi.StringInput // The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created. SqlPoolVulnerabilityAssessmentId pulumi.StringInput }
The set of arguments for constructing a SqlPoolVulnerabilityAssessmentBaseline resource.
func (SqlPoolVulnerabilityAssessmentBaselineArgs) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineArgs) ElementType() reflect.Type
type SqlPoolVulnerabilityAssessmentBaselineArray ¶
type SqlPoolVulnerabilityAssessmentBaselineArray []SqlPoolVulnerabilityAssessmentBaselineInput
func (SqlPoolVulnerabilityAssessmentBaselineArray) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineArray) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput ¶
func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput
func (SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput
type SqlPoolVulnerabilityAssessmentBaselineArrayInput ¶
type SqlPoolVulnerabilityAssessmentBaselineArrayInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput }
SqlPoolVulnerabilityAssessmentBaselineArrayInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineArray and SqlPoolVulnerabilityAssessmentBaselineArrayOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineArrayInput` via:
SqlPoolVulnerabilityAssessmentBaselineArray{ SqlPoolVulnerabilityAssessmentBaselineArgs{...} }
type SqlPoolVulnerabilityAssessmentBaselineArrayOutput ¶
type SqlPoolVulnerabilityAssessmentBaselineArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput ¶
func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput
func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput
type SqlPoolVulnerabilityAssessmentBaselineBaseline ¶
type SqlPoolVulnerabilityAssessmentBaselineBaseline struct { // Specifies a list of rule baseline result. Results []string `pulumi:"results"` }
type SqlPoolVulnerabilityAssessmentBaselineBaselineArgs ¶
type SqlPoolVulnerabilityAssessmentBaselineBaselineArgs struct { // Specifies a list of rule baseline result. Results pulumi.StringArrayInput `pulumi:"results"` }
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput ¶
func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
type SqlPoolVulnerabilityAssessmentBaselineBaselineArray ¶
type SqlPoolVulnerabilityAssessmentBaselineBaselineArray []SqlPoolVulnerabilityAssessmentBaselineBaselineInput
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput ¶
func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput ¶
type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput }
SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineBaselineArray and SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput` via:
SqlPoolVulnerabilityAssessmentBaselineBaselineArray{ SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{...} }
type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput ¶
type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput ¶
func (o SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
type SqlPoolVulnerabilityAssessmentBaselineBaselineInput ¶
type SqlPoolVulnerabilityAssessmentBaselineBaselineInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput }
SqlPoolVulnerabilityAssessmentBaselineBaselineInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineBaselineArgs and SqlPoolVulnerabilityAssessmentBaselineBaselineOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineBaselineInput` via:
SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{...}
type SqlPoolVulnerabilityAssessmentBaselineBaselineOutput ¶
type SqlPoolVulnerabilityAssessmentBaselineBaselineOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) Results ¶
func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) Results() pulumi.StringArrayOutput
Specifies a list of rule baseline result.
func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput ¶
func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
type SqlPoolVulnerabilityAssessmentBaselineInput ¶
type SqlPoolVulnerabilityAssessmentBaselineInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput }
type SqlPoolVulnerabilityAssessmentBaselineMap ¶
type SqlPoolVulnerabilityAssessmentBaselineMap map[string]SqlPoolVulnerabilityAssessmentBaselineInput
func (SqlPoolVulnerabilityAssessmentBaselineMap) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineMap) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput ¶
func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput
func (SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput
type SqlPoolVulnerabilityAssessmentBaselineMapInput ¶
type SqlPoolVulnerabilityAssessmentBaselineMapInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput }
SqlPoolVulnerabilityAssessmentBaselineMapInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineMap and SqlPoolVulnerabilityAssessmentBaselineMapOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineMapInput` via:
SqlPoolVulnerabilityAssessmentBaselineMap{ "key": SqlPoolVulnerabilityAssessmentBaselineArgs{...} }
type SqlPoolVulnerabilityAssessmentBaselineMapOutput ¶
type SqlPoolVulnerabilityAssessmentBaselineMapOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput ¶
func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput
func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput
type SqlPoolVulnerabilityAssessmentBaselineOutput ¶
type SqlPoolVulnerabilityAssessmentBaselineOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentBaselineOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput ¶
func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput
func (SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput
type SqlPoolVulnerabilityAssessmentBaselineState ¶
type SqlPoolVulnerabilityAssessmentBaselineState struct { // One or more `baseline` blocks as defined below. Baselines SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput // The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline. Name pulumi.StringPtrInput // The ID of the vulnerability assessment rule. RuleName pulumi.StringPtrInput // The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created. SqlPoolVulnerabilityAssessmentId pulumi.StringPtrInput }
func (SqlPoolVulnerabilityAssessmentBaselineState) ElementType ¶
func (SqlPoolVulnerabilityAssessmentBaselineState) ElementType() reflect.Type
type SqlPoolVulnerabilityAssessmentInput ¶
type SqlPoolVulnerabilityAssessmentInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput }
type SqlPoolVulnerabilityAssessmentMap ¶
type SqlPoolVulnerabilityAssessmentMap map[string]SqlPoolVulnerabilityAssessmentInput
func (SqlPoolVulnerabilityAssessmentMap) ElementType ¶
func (SqlPoolVulnerabilityAssessmentMap) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput ¶
func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput
func (SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentMapOutput
type SqlPoolVulnerabilityAssessmentMapInput ¶
type SqlPoolVulnerabilityAssessmentMapInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentMapOutput }
SqlPoolVulnerabilityAssessmentMapInput is an input type that accepts SqlPoolVulnerabilityAssessmentMap and SqlPoolVulnerabilityAssessmentMapOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentMapInput` via:
SqlPoolVulnerabilityAssessmentMap{ "key": SqlPoolVulnerabilityAssessmentArgs{...} }
type SqlPoolVulnerabilityAssessmentMapOutput ¶
type SqlPoolVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentMapOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentMapOutput) MapIndex ¶
func (o SqlPoolVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) SqlPoolVulnerabilityAssessmentOutput
func (SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput ¶
func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput
func (SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentMapOutput
type SqlPoolVulnerabilityAssessmentOutput ¶
type SqlPoolVulnerabilityAssessmentOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput ¶
func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput
func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput
type SqlPoolVulnerabilityAssessmentRecurringScans ¶
type SqlPoolVulnerabilityAssessmentRecurringScans struct { // Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. EmailSubscriptionAdminsEnabled *bool `pulumi:"emailSubscriptionAdminsEnabled"` // Specifies an array of e-mail addresses to which the scan notification is sent. Emails []string `pulumi:"emails"` // Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. Enabled *bool `pulumi:"enabled"` }
type SqlPoolVulnerabilityAssessmentRecurringScansArgs ¶
type SqlPoolVulnerabilityAssessmentRecurringScansArgs struct { // Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. EmailSubscriptionAdminsEnabled pulumi.BoolPtrInput `pulumi:"emailSubscriptionAdminsEnabled"` // Specifies an array of e-mail addresses to which the scan notification is sent. Emails pulumi.StringArrayInput `pulumi:"emails"` // Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` }
func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ElementType ¶
func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput ¶
func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
type SqlPoolVulnerabilityAssessmentRecurringScansInput ¶
type SqlPoolVulnerabilityAssessmentRecurringScansInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput }
SqlPoolVulnerabilityAssessmentRecurringScansInput is an input type that accepts SqlPoolVulnerabilityAssessmentRecurringScansArgs and SqlPoolVulnerabilityAssessmentRecurringScansOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentRecurringScansInput` via:
SqlPoolVulnerabilityAssessmentRecurringScansArgs{...}
type SqlPoolVulnerabilityAssessmentRecurringScansOutput ¶
type SqlPoolVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) Emails ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) Emails() pulumi.StringArrayOutput
Specifies an array of e-mail addresses to which the scan notification is sent.
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) Enabled ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) Enabled() pulumi.BoolPtrOutput
Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
type SqlPoolVulnerabilityAssessmentRecurringScansPtrInput ¶
type SqlPoolVulnerabilityAssessmentRecurringScansPtrInput interface { pulumi.Input ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput }
SqlPoolVulnerabilityAssessmentRecurringScansPtrInput is an input type that accepts SqlPoolVulnerabilityAssessmentRecurringScansArgs, SqlPoolVulnerabilityAssessmentRecurringScansPtr and SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentRecurringScansPtrInput` via:
SqlPoolVulnerabilityAssessmentRecurringScansArgs{...} or: nil
func SqlPoolVulnerabilityAssessmentRecurringScansPtr ¶
func SqlPoolVulnerabilityAssessmentRecurringScansPtr(v *SqlPoolVulnerabilityAssessmentRecurringScansArgs) SqlPoolVulnerabilityAssessmentRecurringScansPtrInput
type SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput ¶
type SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ElementType ¶
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ElementType() reflect.Type
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Emails ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Emails() pulumi.StringArrayOutput
Specifies an array of e-mail addresses to which the scan notification is sent.
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Enabled ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Enabled() pulumi.BoolPtrOutput
Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
type SqlPoolVulnerabilityAssessmentState ¶
type SqlPoolVulnerabilityAssessmentState struct { // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans SqlPoolVulnerabilityAssessmentRecurringScansPtrInput // The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created. SqlPoolSecurityAlertPolicyId pulumi.StringPtrInput // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrInput // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringPtrInput // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrInput }
func (SqlPoolVulnerabilityAssessmentState) ElementType ¶
func (SqlPoolVulnerabilityAssessmentState) ElementType() reflect.Type
type SqlPoolWorkloadClassifier ¶
type SqlPoolWorkloadClassifier struct { pulumi.CustomResourceState // Specifies the session context value that a request can be classified against. Context pulumi.StringPtrOutput `pulumi:"context"` // The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone. EndTime pulumi.StringPtrOutput `pulumi:"endTime"` // The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`. Importance pulumi.StringPtrOutput `pulumi:"importance"` // Specifies the label value that a request can be classified against. Label pulumi.StringPtrOutput `pulumi:"label"` // The workload classifier member name used to classified against. MemberName pulumi.StringOutput `pulumi:"memberName"` // The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created. Name pulumi.StringOutput `pulumi:"name"` // The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone. StartTime pulumi.StringPtrOutput `pulumi:"startTime"` // The ID of the Synapse Sql Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created. WorkloadGroupId pulumi.StringOutput `pulumi:"workloadGroupId"` }
Manages a Synapse SQL Pool Workload Classifier.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } exampleSqlPoolWorkloadGroup, err := synapse.NewSqlPoolWorkloadGroup(ctx, "exampleSqlPoolWorkloadGroup", &synapse.SqlPoolWorkloadGroupArgs{ SqlPoolId: exampleSqlPool.ID(), Importance: pulumi.String("normal"), MaxResourcePercent: pulumi.Int(100), MinResourcePercent: pulumi.Int(0), MaxResourcePercentPerRequest: pulumi.Float64(3), MinResourcePercentPerRequest: pulumi.Float64(3), QueryExecutionTimeoutInSeconds: pulumi.Int(0), }) if err != nil { return err } _, err = synapse.NewSqlPoolWorkloadClassifier(ctx, "exampleSqlPoolWorkloadClassifier", &synapse.SqlPoolWorkloadClassifierArgs{ WorkloadGroupId: exampleSqlPoolWorkloadGroup.ID(), Context: pulumi.String("example_context"), EndTime: pulumi.String("14:00"), Importance: pulumi.String("high"), Label: pulumi.String("example_label"), MemberName: pulumi.String("dbo"), StartTime: pulumi.String("12:00"), }) if err != nil { return err } return nil }) }
```
## Import
Synapse SQL Pool Workload Classifiers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPoolWorkloadClassifier:SqlPoolWorkloadClassifier example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/workloadGroups/workloadGroup1/workloadClassifiers/workloadClassifier1
```
func GetSqlPoolWorkloadClassifier ¶
func GetSqlPoolWorkloadClassifier(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolWorkloadClassifierState, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadClassifier, error)
GetSqlPoolWorkloadClassifier gets an existing SqlPoolWorkloadClassifier 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 NewSqlPoolWorkloadClassifier ¶
func NewSqlPoolWorkloadClassifier(ctx *pulumi.Context, name string, args *SqlPoolWorkloadClassifierArgs, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadClassifier, error)
NewSqlPoolWorkloadClassifier registers a new resource with the given unique name, arguments, and options.
func (*SqlPoolWorkloadClassifier) ElementType ¶
func (*SqlPoolWorkloadClassifier) ElementType() reflect.Type
func (*SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutput ¶
func (i *SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput
func (*SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutputWithContext ¶
func (i *SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput
type SqlPoolWorkloadClassifierArgs ¶
type SqlPoolWorkloadClassifierArgs struct { // Specifies the session context value that a request can be classified against. Context pulumi.StringPtrInput // The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone. EndTime pulumi.StringPtrInput // The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`. Importance pulumi.StringPtrInput // Specifies the label value that a request can be classified against. Label pulumi.StringPtrInput // The workload classifier member name used to classified against. MemberName pulumi.StringInput // The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created. Name pulumi.StringPtrInput // The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone. StartTime pulumi.StringPtrInput // The ID of the Synapse Sql Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created. WorkloadGroupId pulumi.StringInput }
The set of arguments for constructing a SqlPoolWorkloadClassifier resource.
func (SqlPoolWorkloadClassifierArgs) ElementType ¶
func (SqlPoolWorkloadClassifierArgs) ElementType() reflect.Type
type SqlPoolWorkloadClassifierArray ¶
type SqlPoolWorkloadClassifierArray []SqlPoolWorkloadClassifierInput
func (SqlPoolWorkloadClassifierArray) ElementType ¶
func (SqlPoolWorkloadClassifierArray) ElementType() reflect.Type
func (SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput ¶
func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput
func (SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutputWithContext ¶
func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierArrayOutput
type SqlPoolWorkloadClassifierArrayInput ¶
type SqlPoolWorkloadClassifierArrayInput interface { pulumi.Input ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput ToSqlPoolWorkloadClassifierArrayOutputWithContext(context.Context) SqlPoolWorkloadClassifierArrayOutput }
SqlPoolWorkloadClassifierArrayInput is an input type that accepts SqlPoolWorkloadClassifierArray and SqlPoolWorkloadClassifierArrayOutput values. You can construct a concrete instance of `SqlPoolWorkloadClassifierArrayInput` via:
SqlPoolWorkloadClassifierArray{ SqlPoolWorkloadClassifierArgs{...} }
type SqlPoolWorkloadClassifierArrayOutput ¶
type SqlPoolWorkloadClassifierArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolWorkloadClassifierArrayOutput) ElementType ¶
func (SqlPoolWorkloadClassifierArrayOutput) ElementType() reflect.Type
func (SqlPoolWorkloadClassifierArrayOutput) Index ¶
func (o SqlPoolWorkloadClassifierArrayOutput) Index(i pulumi.IntInput) SqlPoolWorkloadClassifierOutput
func (SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput ¶
func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput
func (SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutputWithContext ¶
func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierArrayOutput
type SqlPoolWorkloadClassifierInput ¶
type SqlPoolWorkloadClassifierInput interface { pulumi.Input ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput }
type SqlPoolWorkloadClassifierMap ¶
type SqlPoolWorkloadClassifierMap map[string]SqlPoolWorkloadClassifierInput
func (SqlPoolWorkloadClassifierMap) ElementType ¶
func (SqlPoolWorkloadClassifierMap) ElementType() reflect.Type
func (SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput ¶
func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput
func (SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutputWithContext ¶
func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierMapOutput
type SqlPoolWorkloadClassifierMapInput ¶
type SqlPoolWorkloadClassifierMapInput interface { pulumi.Input ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput ToSqlPoolWorkloadClassifierMapOutputWithContext(context.Context) SqlPoolWorkloadClassifierMapOutput }
SqlPoolWorkloadClassifierMapInput is an input type that accepts SqlPoolWorkloadClassifierMap and SqlPoolWorkloadClassifierMapOutput values. You can construct a concrete instance of `SqlPoolWorkloadClassifierMapInput` via:
SqlPoolWorkloadClassifierMap{ "key": SqlPoolWorkloadClassifierArgs{...} }
type SqlPoolWorkloadClassifierMapOutput ¶
type SqlPoolWorkloadClassifierMapOutput struct{ *pulumi.OutputState }
func (SqlPoolWorkloadClassifierMapOutput) ElementType ¶
func (SqlPoolWorkloadClassifierMapOutput) ElementType() reflect.Type
func (SqlPoolWorkloadClassifierMapOutput) MapIndex ¶
func (o SqlPoolWorkloadClassifierMapOutput) MapIndex(k pulumi.StringInput) SqlPoolWorkloadClassifierOutput
func (SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput ¶
func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput
func (SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutputWithContext ¶
func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierMapOutput
type SqlPoolWorkloadClassifierOutput ¶
type SqlPoolWorkloadClassifierOutput struct{ *pulumi.OutputState }
func (SqlPoolWorkloadClassifierOutput) ElementType ¶
func (SqlPoolWorkloadClassifierOutput) ElementType() reflect.Type
func (SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput ¶
func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput
func (SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutputWithContext ¶
func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput
type SqlPoolWorkloadClassifierState ¶
type SqlPoolWorkloadClassifierState struct { // Specifies the session context value that a request can be classified against. Context pulumi.StringPtrInput // The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone. EndTime pulumi.StringPtrInput // The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`. Importance pulumi.StringPtrInput // Specifies the label value that a request can be classified against. Label pulumi.StringPtrInput // The workload classifier member name used to classified against. MemberName pulumi.StringPtrInput // The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created. Name pulumi.StringPtrInput // The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone. StartTime pulumi.StringPtrInput // The ID of the Synapse Sql Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created. WorkloadGroupId pulumi.StringPtrInput }
func (SqlPoolWorkloadClassifierState) ElementType ¶
func (SqlPoolWorkloadClassifierState) ElementType() reflect.Type
type SqlPoolWorkloadGroup ¶
type SqlPoolWorkloadGroup struct { pulumi.CustomResourceState // The workload group importance level. Importance pulumi.StringPtrOutput `pulumi:"importance"` // The workload group cap percentage resource. MaxResourcePercent pulumi.IntOutput `pulumi:"maxResourcePercent"` // The workload group request maximum grant percentage. MaxResourcePercentPerRequest pulumi.Float64PtrOutput `pulumi:"maxResourcePercentPerRequest"` // The workload group minimum percentage resource. MinResourcePercent pulumi.IntOutput `pulumi:"minResourcePercent"` // The workload group request minimum grant percentage. MinResourcePercentPerRequest pulumi.Float64PtrOutput `pulumi:"minResourcePercentPerRequest"` // The name which should be used for this Synapse Sql Pool Workload Group. Changing this forces a new Synapse Sql Pool Workload Group to be created. Name pulumi.StringOutput `pulumi:"name"` // The workload group query execution timeout. QueryExecutionTimeoutInSeconds pulumi.IntPtrOutput `pulumi:"queryExecutionTimeoutInSeconds"` // The ID of the Synapse Sql Pool. Changing this forces a new Synapse Sql Pool Workload Group to be created. SqlPoolId pulumi.StringOutput `pulumi:"sqlPoolId"` }
Manages a Synapse Sql Pool Workload Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), SkuName: pulumi.String("DW100c"), CreateMode: pulumi.String("Default"), }) if err != nil { return err } _, err = synapse.NewSqlPoolWorkloadGroup(ctx, "exampleSqlPoolWorkloadGroup", &synapse.SqlPoolWorkloadGroupArgs{ SqlPoolId: exampleSqlPool.ID(), Importance: pulumi.String("normal"), MaxResourcePercent: pulumi.Int(100), MinResourcePercent: pulumi.Int(0), MaxResourcePercentPerRequest: pulumi.Float64(3), MinResourcePercentPerRequest: pulumi.Float64(3), QueryExecutionTimeoutInSeconds: pulumi.Int(0), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Sql Pool Workload Groups can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/sqlPoolWorkloadGroup:SqlPoolWorkloadGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/workloadGroups/workloadGroup1
```
func GetSqlPoolWorkloadGroup ¶
func GetSqlPoolWorkloadGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlPoolWorkloadGroupState, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadGroup, error)
GetSqlPoolWorkloadGroup gets an existing SqlPoolWorkloadGroup 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 NewSqlPoolWorkloadGroup ¶
func NewSqlPoolWorkloadGroup(ctx *pulumi.Context, name string, args *SqlPoolWorkloadGroupArgs, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadGroup, error)
NewSqlPoolWorkloadGroup registers a new resource with the given unique name, arguments, and options.
func (*SqlPoolWorkloadGroup) ElementType ¶
func (*SqlPoolWorkloadGroup) ElementType() reflect.Type
func (*SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutput ¶
func (i *SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput
func (*SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutputWithContext ¶
func (i *SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupOutput
type SqlPoolWorkloadGroupArgs ¶
type SqlPoolWorkloadGroupArgs struct { // The workload group importance level. Importance pulumi.StringPtrInput // The workload group cap percentage resource. MaxResourcePercent pulumi.IntInput // The workload group request maximum grant percentage. MaxResourcePercentPerRequest pulumi.Float64PtrInput // The workload group minimum percentage resource. MinResourcePercent pulumi.IntInput // The workload group request minimum grant percentage. MinResourcePercentPerRequest pulumi.Float64PtrInput // The name which should be used for this Synapse Sql Pool Workload Group. Changing this forces a new Synapse Sql Pool Workload Group to be created. Name pulumi.StringPtrInput // The workload group query execution timeout. QueryExecutionTimeoutInSeconds pulumi.IntPtrInput // The ID of the Synapse Sql Pool. Changing this forces a new Synapse Sql Pool Workload Group to be created. SqlPoolId pulumi.StringInput }
The set of arguments for constructing a SqlPoolWorkloadGroup resource.
func (SqlPoolWorkloadGroupArgs) ElementType ¶
func (SqlPoolWorkloadGroupArgs) ElementType() reflect.Type
type SqlPoolWorkloadGroupArray ¶
type SqlPoolWorkloadGroupArray []SqlPoolWorkloadGroupInput
func (SqlPoolWorkloadGroupArray) ElementType ¶
func (SqlPoolWorkloadGroupArray) ElementType() reflect.Type
func (SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutput ¶
func (i SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput
func (SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutputWithContext ¶
func (i SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupArrayOutput
type SqlPoolWorkloadGroupArrayInput ¶
type SqlPoolWorkloadGroupArrayInput interface { pulumi.Input ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput ToSqlPoolWorkloadGroupArrayOutputWithContext(context.Context) SqlPoolWorkloadGroupArrayOutput }
SqlPoolWorkloadGroupArrayInput is an input type that accepts SqlPoolWorkloadGroupArray and SqlPoolWorkloadGroupArrayOutput values. You can construct a concrete instance of `SqlPoolWorkloadGroupArrayInput` via:
SqlPoolWorkloadGroupArray{ SqlPoolWorkloadGroupArgs{...} }
type SqlPoolWorkloadGroupArrayOutput ¶
type SqlPoolWorkloadGroupArrayOutput struct{ *pulumi.OutputState }
func (SqlPoolWorkloadGroupArrayOutput) ElementType ¶
func (SqlPoolWorkloadGroupArrayOutput) ElementType() reflect.Type
func (SqlPoolWorkloadGroupArrayOutput) Index ¶
func (o SqlPoolWorkloadGroupArrayOutput) Index(i pulumi.IntInput) SqlPoolWorkloadGroupOutput
func (SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput ¶
func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput
func (SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutputWithContext ¶
func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupArrayOutput
type SqlPoolWorkloadGroupInput ¶
type SqlPoolWorkloadGroupInput interface { pulumi.Input ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput ToSqlPoolWorkloadGroupOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupOutput }
type SqlPoolWorkloadGroupMap ¶
type SqlPoolWorkloadGroupMap map[string]SqlPoolWorkloadGroupInput
func (SqlPoolWorkloadGroupMap) ElementType ¶
func (SqlPoolWorkloadGroupMap) ElementType() reflect.Type
func (SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutput ¶
func (i SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput
func (SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutputWithContext ¶
func (i SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupMapOutput
type SqlPoolWorkloadGroupMapInput ¶
type SqlPoolWorkloadGroupMapInput interface { pulumi.Input ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput ToSqlPoolWorkloadGroupMapOutputWithContext(context.Context) SqlPoolWorkloadGroupMapOutput }
SqlPoolWorkloadGroupMapInput is an input type that accepts SqlPoolWorkloadGroupMap and SqlPoolWorkloadGroupMapOutput values. You can construct a concrete instance of `SqlPoolWorkloadGroupMapInput` via:
SqlPoolWorkloadGroupMap{ "key": SqlPoolWorkloadGroupArgs{...} }
type SqlPoolWorkloadGroupMapOutput ¶
type SqlPoolWorkloadGroupMapOutput struct{ *pulumi.OutputState }
func (SqlPoolWorkloadGroupMapOutput) ElementType ¶
func (SqlPoolWorkloadGroupMapOutput) ElementType() reflect.Type
func (SqlPoolWorkloadGroupMapOutput) MapIndex ¶
func (o SqlPoolWorkloadGroupMapOutput) MapIndex(k pulumi.StringInput) SqlPoolWorkloadGroupOutput
func (SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput ¶
func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput
func (SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutputWithContext ¶
func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupMapOutput
type SqlPoolWorkloadGroupOutput ¶
type SqlPoolWorkloadGroupOutput struct{ *pulumi.OutputState }
func (SqlPoolWorkloadGroupOutput) ElementType ¶
func (SqlPoolWorkloadGroupOutput) ElementType() reflect.Type
func (SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutput ¶
func (o SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput
func (SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutputWithContext ¶
func (o SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupOutput
type SqlPoolWorkloadGroupState ¶
type SqlPoolWorkloadGroupState struct { // The workload group importance level. Importance pulumi.StringPtrInput // The workload group cap percentage resource. MaxResourcePercent pulumi.IntPtrInput // The workload group request maximum grant percentage. MaxResourcePercentPerRequest pulumi.Float64PtrInput // The workload group minimum percentage resource. MinResourcePercent pulumi.IntPtrInput // The workload group request minimum grant percentage. MinResourcePercentPerRequest pulumi.Float64PtrInput // The name which should be used for this Synapse Sql Pool Workload Group. Changing this forces a new Synapse Sql Pool Workload Group to be created. Name pulumi.StringPtrInput // The workload group query execution timeout. QueryExecutionTimeoutInSeconds pulumi.IntPtrInput // The ID of the Synapse Sql Pool. Changing this forces a new Synapse Sql Pool Workload Group to be created. SqlPoolId pulumi.StringPtrInput }
func (SqlPoolWorkloadGroupState) ElementType ¶
func (SqlPoolWorkloadGroupState) ElementType() reflect.Type
type Workspace ¶
type Workspace struct { pulumi.CustomResourceState // An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`. AadAdmin WorkspaceAadAdminTypeOutput `pulumi:"aadAdmin"` // An `azureDevopsRepo` block as defined below. AzureDevopsRepo WorkspaceAzureDevopsRepoPtrOutput `pulumi:"azureDevopsRepo"` // Subnet ID used for computes in workspace ComputeSubnetId pulumi.StringPtrOutput `pulumi:"computeSubnetId"` // A list of Connectivity endpoints for this Synapse Workspace. ConnectivityEndpoints pulumi.StringMapOutput `pulumi:"connectivityEndpoints"` // A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`. CustomerManagedKey WorkspaceCustomerManagedKeyPtrOutput `pulumi:"customerManagedKey"` // Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created. DataExfiltrationProtectionEnabled pulumi.BoolPtrOutput `pulumi:"dataExfiltrationProtectionEnabled"` // A `githubRepo` block as defined below. GithubRepo WorkspaceGithubRepoPtrOutput `pulumi:"githubRepo"` // An `identity` block as defined below. Identity WorkspaceIdentityOutput `pulumi:"identity"` // Allowed Aad Tenant Ids For Linking. LinkingAllowedForAadTenantIds pulumi.StringArrayOutput `pulumi:"linkingAllowedForAadTenantIds"` // Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Workspace managed resource group. ManagedResourceGroupName pulumi.StringOutput `pulumi:"managedResourceGroupName"` // Is Virtual Network enabled for all computes in this workspace? Defaults to `false`. Changing this forces a new resource to be created. ManagedVirtualNetworkEnabled pulumi.BoolPtrOutput `pulumi:"managedVirtualNetworkEnabled"` // Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Whether public network access is allowed for the Cognitive Account. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // The ID of purview account. PurviewId pulumi.StringPtrOutput `pulumi:"purviewId"` // Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // An `sqlAadAdmin` block as defined below. SqlAadAdmin WorkspaceSqlAadAdminTypeOutput `pulumi:"sqlAadAdmin"` // Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created. SqlAdministratorLogin pulumi.StringOutput `pulumi:"sqlAdministratorLogin"` // The Password associated with the `sqlAdministratorLogin` for the SQL administrator. SqlAdministratorLoginPassword pulumi.StringOutput `pulumi:"sqlAdministratorLoginPassword"` // Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools? SqlIdentityControlEnabled pulumi.BoolPtrOutput `pulumi:"sqlIdentityControlEnabled"` // Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created. StorageDataLakeGen2FilesystemId pulumi.StringOutput `pulumi:"storageDataLakeGen2FilesystemId"` // A mapping of tags which should be assigned to the Synapse Workspace. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Synapse Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } _, err = synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), AadAdmin: &synapse.WorkspaceAadAdminArgs{ Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, Identity: &synapse.WorkspaceIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } return nil }) }
``` ### Creating A Workspace With Customer Managed Key And Azure AD Admin
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("standard"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), KeyPermissions: pulumi.StringArray{ pulumi.String("create"), pulumi.String("get"), pulumi.String("delete"), pulumi.String("purge"), }, }) if err != nil { return err } exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{ KeyVaultId: exampleKeyVault.ID(), KeyType: pulumi.String("RSA"), KeySize: pulumi.Int(2048), KeyOpts: pulumi.StringArray{ pulumi.String("unwrapKey"), pulumi.String("wrapKey"), }, }, pulumi.DependsOn([]pulumi.Resource{ deployer, })) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), CustomerManagedKey: &synapse.WorkspaceCustomerManagedKeyArgs{ KeyVersionlessId: exampleKey.VersionlessId, KeyName: pulumi.String("enckey"), }, Identity: &synapse.WorkspaceIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } workspacePolicy, err := keyvault.NewAccessPolicy(ctx, "workspacePolicy", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (string, error) { return identity.TenantId, nil }).(pulumi.StringOutput), ObjectId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (string, error) { return identity.PrincipalId, nil }).(pulumi.StringOutput), KeyPermissions: pulumi.StringArray{ pulumi.String("Get"), pulumi.String("WrapKey"), pulumi.String("UnwrapKey"), }, }) if err != nil { return err } exampleWorkspaceKey, err := synapse.NewWorkspaceKey(ctx, "exampleWorkspaceKey", &synapse.WorkspaceKeyArgs{ CustomerManagedKeyVersionlessId: exampleKey.VersionlessId, SynapseWorkspaceId: exampleWorkspace.ID(), Active: pulumi.Bool(true), CustomerManagedKeyName: pulumi.String("enckey"), }, pulumi.DependsOn([]pulumi.Resource{ workspacePolicy, })) if err != nil { return err } _, err = synapse.NewWorkspaceAadAdmin(ctx, "exampleWorkspaceAadAdmin", &synapse.WorkspaceAadAdminArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, pulumi.DependsOn([]pulumi.Resource{ exampleWorkspaceKey, })) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspace:Workspace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1
```
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 ¶
func (*Workspace) ToWorkspaceOutput ¶
func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
func (*Workspace) ToWorkspaceOutputWithContext ¶
func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
type WorkspaceAadAdmin ¶
type WorkspaceAadAdmin struct { pulumi.CustomResourceState // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringOutput `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringOutput `pulumi:"objectId"` // The ID of the Synapse Workspace where the Azure AD Administrator should be configured. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringOutput `pulumi:"tenantId"` }
Manages an Azure Active Directory Administrator setting for a Synapse Workspace
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: pulumi.Any(azurerm_resource_group.Exampl.Location), ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("standard"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), KeyPermissions: pulumi.StringArray{ pulumi.String("create"), pulumi.String("get"), pulumi.String("delete"), pulumi.String("purge"), }, }) if err != nil { return err } _, err = keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{ KeyVaultId: exampleKeyVault.ID(), KeyType: pulumi.String("RSA"), KeySize: pulumi.Int(2048), KeyOpts: pulumi.StringArray{ pulumi.String("unwrapKey"), pulumi.String("wrapKey"), }, }, pulumi.DependsOn([]pulumi.Resource{ deployer, })) if err != nil { return err } _, err = synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } _, err = synapse.NewWorkspaceAadAdmin(ctx, "test", &synapse.WorkspaceAadAdminArgs{ SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id), Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String(current.ObjectId), TenantId: pulumi.String(current.TenantId), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace Azure AD Administrator can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspaceAadAdmin:WorkspaceAadAdmin example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/administrators/activeDirectory
```
func GetWorkspaceAadAdmin ¶
func GetWorkspaceAadAdmin(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceAadAdminState, opts ...pulumi.ResourceOption) (*WorkspaceAadAdmin, error)
GetWorkspaceAadAdmin gets an existing WorkspaceAadAdmin 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 NewWorkspaceAadAdmin ¶
func NewWorkspaceAadAdmin(ctx *pulumi.Context, name string, args *WorkspaceAadAdminArgs, opts ...pulumi.ResourceOption) (*WorkspaceAadAdmin, error)
NewWorkspaceAadAdmin registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceAadAdmin) ElementType ¶
func (*WorkspaceAadAdmin) ElementType() reflect.Type
func (*WorkspaceAadAdmin) ToWorkspaceAadAdminOutput ¶
func (i *WorkspaceAadAdmin) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
func (*WorkspaceAadAdmin) ToWorkspaceAadAdminOutputWithContext ¶
func (i *WorkspaceAadAdmin) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
type WorkspaceAadAdminArgs ¶
type WorkspaceAadAdminArgs struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringInput // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringInput // The ID of the Synapse Workspace where the Azure AD Administrator should be configured. SynapseWorkspaceId pulumi.StringInput // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringInput }
The set of arguments for constructing a WorkspaceAadAdmin resource.
func (WorkspaceAadAdminArgs) ElementType ¶
func (WorkspaceAadAdminArgs) ElementType() reflect.Type
type WorkspaceAadAdminArray ¶
type WorkspaceAadAdminArray []WorkspaceAadAdminInput
func (WorkspaceAadAdminArray) ElementType ¶
func (WorkspaceAadAdminArray) ElementType() reflect.Type
func (WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutput ¶
func (i WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput
func (WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutputWithContext ¶
func (i WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceAadAdminArrayOutput
type WorkspaceAadAdminArrayInput ¶
type WorkspaceAadAdminArrayInput interface { pulumi.Input ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput ToWorkspaceAadAdminArrayOutputWithContext(context.Context) WorkspaceAadAdminArrayOutput }
WorkspaceAadAdminArrayInput is an input type that accepts WorkspaceAadAdminArray and WorkspaceAadAdminArrayOutput values. You can construct a concrete instance of `WorkspaceAadAdminArrayInput` via:
WorkspaceAadAdminArray{ WorkspaceAadAdminArgs{...} }
type WorkspaceAadAdminArrayOutput ¶
type WorkspaceAadAdminArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminArrayOutput) ElementType ¶
func (WorkspaceAadAdminArrayOutput) ElementType() reflect.Type
func (WorkspaceAadAdminArrayOutput) Index ¶
func (o WorkspaceAadAdminArrayOutput) Index(i pulumi.IntInput) WorkspaceAadAdminOutput
func (WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput ¶
func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput
func (WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutputWithContext ¶
func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceAadAdminArrayOutput
type WorkspaceAadAdminInput ¶
type WorkspaceAadAdminInput interface { pulumi.Input ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput }
type WorkspaceAadAdminMap ¶
type WorkspaceAadAdminMap map[string]WorkspaceAadAdminInput
func (WorkspaceAadAdminMap) ElementType ¶
func (WorkspaceAadAdminMap) ElementType() reflect.Type
func (WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutput ¶
func (i WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput
func (WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutputWithContext ¶
func (i WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutputWithContext(ctx context.Context) WorkspaceAadAdminMapOutput
type WorkspaceAadAdminMapInput ¶
type WorkspaceAadAdminMapInput interface { pulumi.Input ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput ToWorkspaceAadAdminMapOutputWithContext(context.Context) WorkspaceAadAdminMapOutput }
WorkspaceAadAdminMapInput is an input type that accepts WorkspaceAadAdminMap and WorkspaceAadAdminMapOutput values. You can construct a concrete instance of `WorkspaceAadAdminMapInput` via:
WorkspaceAadAdminMap{ "key": WorkspaceAadAdminArgs{...} }
type WorkspaceAadAdminMapOutput ¶
type WorkspaceAadAdminMapOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminMapOutput) ElementType ¶
func (WorkspaceAadAdminMapOutput) ElementType() reflect.Type
func (WorkspaceAadAdminMapOutput) MapIndex ¶
func (o WorkspaceAadAdminMapOutput) MapIndex(k pulumi.StringInput) WorkspaceAadAdminOutput
func (WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput ¶
func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput
func (WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutputWithContext ¶
func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutputWithContext(ctx context.Context) WorkspaceAadAdminMapOutput
type WorkspaceAadAdminOutput ¶
type WorkspaceAadAdminOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminOutput) ElementType ¶
func (WorkspaceAadAdminOutput) ElementType() reflect.Type
func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput ¶
func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext ¶
func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
type WorkspaceAadAdminState ¶
type WorkspaceAadAdminState struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringPtrInput // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringPtrInput // The ID of the Synapse Workspace where the Azure AD Administrator should be configured. SynapseWorkspaceId pulumi.StringPtrInput // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringPtrInput }
func (WorkspaceAadAdminState) ElementType ¶
func (WorkspaceAadAdminState) ElementType() reflect.Type
type WorkspaceAadAdminType ¶
type WorkspaceAadAdminType struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login string `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId string `pulumi:"objectId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId string `pulumi:"tenantId"` }
type WorkspaceAadAdminTypeArgs ¶
type WorkspaceAadAdminTypeArgs struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringInput `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringInput `pulumi:"objectId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringInput `pulumi:"tenantId"` }
func (WorkspaceAadAdminTypeArgs) ElementType ¶
func (WorkspaceAadAdminTypeArgs) ElementType() reflect.Type
func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput ¶
func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput
func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutputWithContext ¶
func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceAadAdminTypeOutput
func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput ¶
func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutputWithContext ¶
func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput
type WorkspaceAadAdminTypeInput ¶
type WorkspaceAadAdminTypeInput interface { pulumi.Input ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput ToWorkspaceAadAdminTypeOutputWithContext(context.Context) WorkspaceAadAdminTypeOutput }
WorkspaceAadAdminTypeInput is an input type that accepts WorkspaceAadAdminTypeArgs and WorkspaceAadAdminTypeOutput values. You can construct a concrete instance of `WorkspaceAadAdminTypeInput` via:
WorkspaceAadAdminTypeArgs{...}
type WorkspaceAadAdminTypeOutput ¶
type WorkspaceAadAdminTypeOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminTypeOutput) ElementType ¶
func (WorkspaceAadAdminTypeOutput) ElementType() reflect.Type
func (WorkspaceAadAdminTypeOutput) Login ¶
func (o WorkspaceAadAdminTypeOutput) Login() pulumi.StringOutput
The login name of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminTypeOutput) ObjectId ¶
func (o WorkspaceAadAdminTypeOutput) ObjectId() pulumi.StringOutput
The object id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminTypeOutput) TenantId ¶
func (o WorkspaceAadAdminTypeOutput) TenantId() pulumi.StringOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput ¶
func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput
func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutputWithContext ¶
func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceAadAdminTypeOutput
func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput ¶
func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutputWithContext ¶
func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput
type WorkspaceAadAdminTypePtrInput ¶
type WorkspaceAadAdminTypePtrInput interface { pulumi.Input ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput ToWorkspaceAadAdminTypePtrOutputWithContext(context.Context) WorkspaceAadAdminTypePtrOutput }
WorkspaceAadAdminTypePtrInput is an input type that accepts WorkspaceAadAdminTypeArgs, WorkspaceAadAdminTypePtr and WorkspaceAadAdminTypePtrOutput values. You can construct a concrete instance of `WorkspaceAadAdminTypePtrInput` via:
WorkspaceAadAdminTypeArgs{...} or: nil
func WorkspaceAadAdminTypePtr ¶
func WorkspaceAadAdminTypePtr(v *WorkspaceAadAdminTypeArgs) WorkspaceAadAdminTypePtrInput
type WorkspaceAadAdminTypePtrOutput ¶
type WorkspaceAadAdminTypePtrOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminTypePtrOutput) Elem ¶
func (o WorkspaceAadAdminTypePtrOutput) Elem() WorkspaceAadAdminTypeOutput
func (WorkspaceAadAdminTypePtrOutput) ElementType ¶
func (WorkspaceAadAdminTypePtrOutput) ElementType() reflect.Type
func (WorkspaceAadAdminTypePtrOutput) Login ¶
func (o WorkspaceAadAdminTypePtrOutput) Login() pulumi.StringPtrOutput
The login name of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminTypePtrOutput) ObjectId ¶
func (o WorkspaceAadAdminTypePtrOutput) ObjectId() pulumi.StringPtrOutput
The object id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminTypePtrOutput) TenantId ¶
func (o WorkspaceAadAdminTypePtrOutput) TenantId() pulumi.StringPtrOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput ¶
func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
func (WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutputWithContext ¶
func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput
type WorkspaceArgs ¶
type WorkspaceArgs struct { // An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`. AadAdmin WorkspaceAadAdminTypePtrInput // An `azureDevopsRepo` block as defined below. AzureDevopsRepo WorkspaceAzureDevopsRepoPtrInput // Subnet ID used for computes in workspace ComputeSubnetId pulumi.StringPtrInput // A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`. CustomerManagedKey WorkspaceCustomerManagedKeyPtrInput // Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created. DataExfiltrationProtectionEnabled pulumi.BoolPtrInput // A `githubRepo` block as defined below. GithubRepo WorkspaceGithubRepoPtrInput // An `identity` block as defined below. Identity WorkspaceIdentityInput // Allowed Aad Tenant Ids For Linking. LinkingAllowedForAadTenantIds pulumi.StringArrayInput // Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Workspace managed resource group. ManagedResourceGroupName pulumi.StringPtrInput // Is Virtual Network enabled for all computes in this workspace? Defaults to `false`. Changing this forces a new resource to be created. ManagedVirtualNetworkEnabled pulumi.BoolPtrInput // Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Whether public network access is allowed for the Cognitive Account. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The ID of purview account. PurviewId pulumi.StringPtrInput // Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // An `sqlAadAdmin` block as defined below. SqlAadAdmin WorkspaceSqlAadAdminTypePtrInput // Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created. SqlAdministratorLogin pulumi.StringInput // The Password associated with the `sqlAdministratorLogin` for the SQL administrator. SqlAdministratorLoginPassword pulumi.StringInput // Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools? SqlIdentityControlEnabled pulumi.BoolPtrInput // Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created. StorageDataLakeGen2FilesystemId pulumi.StringInput // A mapping of tags which should be assigned to the Synapse Workspace. Tags pulumi.StringMapInput }
The set of arguments for constructing a Workspace resource.
func (WorkspaceArgs) ElementType ¶
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceArray ¶
type WorkspaceArray []WorkspaceInput
func (WorkspaceArray) ElementType ¶
func (WorkspaceArray) ElementType() reflect.Type
func (WorkspaceArray) ToWorkspaceArrayOutput ¶
func (i WorkspaceArray) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArray) ToWorkspaceArrayOutputWithContext ¶
func (i WorkspaceArray) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceArrayInput ¶
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 ¶
type WorkspaceArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceArrayOutput) ElementType ¶
func (WorkspaceArrayOutput) ElementType() reflect.Type
func (WorkspaceArrayOutput) Index ¶
func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutput ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceAzureDevopsRepo ¶
type WorkspaceAzureDevopsRepo struct { // Specifies the Azure DevOps account name. AccountName string `pulumi:"accountName"` // Specifies the collaboration branch of the repository to get code from. BranchName string `pulumi:"branchName"` // The last commit ID. LastCommitId *string `pulumi:"lastCommitId"` // Specifies the name of the Azure DevOps project. ProjectName string `pulumi:"projectName"` // Specifies the name of the git repository. RepositoryName string `pulumi:"repositoryName"` // Specifies the root folder within the repository. Set to `/` for the top level. RootFolder string `pulumi:"rootFolder"` // the ID of the tenant for the Azure DevOps account. TenantId *string `pulumi:"tenantId"` }
type WorkspaceAzureDevopsRepoArgs ¶
type WorkspaceAzureDevopsRepoArgs struct { // Specifies the Azure DevOps account name. AccountName pulumi.StringInput `pulumi:"accountName"` // Specifies the collaboration branch of the repository to get code from. BranchName pulumi.StringInput `pulumi:"branchName"` // The last commit ID. LastCommitId pulumi.StringPtrInput `pulumi:"lastCommitId"` // Specifies the name of the Azure DevOps project. ProjectName pulumi.StringInput `pulumi:"projectName"` // Specifies the name of the git repository. RepositoryName pulumi.StringInput `pulumi:"repositoryName"` // Specifies the root folder within the repository. Set to `/` for the top level. RootFolder pulumi.StringInput `pulumi:"rootFolder"` // the ID of the tenant for the Azure DevOps account. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
func (WorkspaceAzureDevopsRepoArgs) ElementType ¶
func (WorkspaceAzureDevopsRepoArgs) ElementType() reflect.Type
func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutput ¶
func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput
func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutputWithContext ¶
func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoOutput
func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutput ¶
func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutputWithContext ¶
func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput
type WorkspaceAzureDevopsRepoInput ¶
type WorkspaceAzureDevopsRepoInput interface { pulumi.Input ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput ToWorkspaceAzureDevopsRepoOutputWithContext(context.Context) WorkspaceAzureDevopsRepoOutput }
WorkspaceAzureDevopsRepoInput is an input type that accepts WorkspaceAzureDevopsRepoArgs and WorkspaceAzureDevopsRepoOutput values. You can construct a concrete instance of `WorkspaceAzureDevopsRepoInput` via:
WorkspaceAzureDevopsRepoArgs{...}
type WorkspaceAzureDevopsRepoOutput ¶
type WorkspaceAzureDevopsRepoOutput struct{ *pulumi.OutputState }
func (WorkspaceAzureDevopsRepoOutput) AccountName ¶
func (o WorkspaceAzureDevopsRepoOutput) AccountName() pulumi.StringOutput
Specifies the Azure DevOps account name.
func (WorkspaceAzureDevopsRepoOutput) BranchName ¶
func (o WorkspaceAzureDevopsRepoOutput) BranchName() pulumi.StringOutput
Specifies the collaboration branch of the repository to get code from.
func (WorkspaceAzureDevopsRepoOutput) ElementType ¶
func (WorkspaceAzureDevopsRepoOutput) ElementType() reflect.Type
func (WorkspaceAzureDevopsRepoOutput) LastCommitId ¶
func (o WorkspaceAzureDevopsRepoOutput) LastCommitId() pulumi.StringPtrOutput
The last commit ID.
func (WorkspaceAzureDevopsRepoOutput) ProjectName ¶
func (o WorkspaceAzureDevopsRepoOutput) ProjectName() pulumi.StringOutput
Specifies the name of the Azure DevOps project.
func (WorkspaceAzureDevopsRepoOutput) RepositoryName ¶
func (o WorkspaceAzureDevopsRepoOutput) RepositoryName() pulumi.StringOutput
Specifies the name of the git repository.
func (WorkspaceAzureDevopsRepoOutput) RootFolder ¶
func (o WorkspaceAzureDevopsRepoOutput) RootFolder() pulumi.StringOutput
Specifies the root folder within the repository. Set to `/` for the top level.
func (WorkspaceAzureDevopsRepoOutput) TenantId ¶
func (o WorkspaceAzureDevopsRepoOutput) TenantId() pulumi.StringPtrOutput
the ID of the tenant for the Azure DevOps account.
func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutput ¶
func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput
func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutputWithContext ¶
func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoOutput
func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutput ¶
func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext ¶
func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput
type WorkspaceAzureDevopsRepoPtrInput ¶
type WorkspaceAzureDevopsRepoPtrInput interface { pulumi.Input ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput ToWorkspaceAzureDevopsRepoPtrOutputWithContext(context.Context) WorkspaceAzureDevopsRepoPtrOutput }
WorkspaceAzureDevopsRepoPtrInput is an input type that accepts WorkspaceAzureDevopsRepoArgs, WorkspaceAzureDevopsRepoPtr and WorkspaceAzureDevopsRepoPtrOutput values. You can construct a concrete instance of `WorkspaceAzureDevopsRepoPtrInput` via:
WorkspaceAzureDevopsRepoArgs{...} or: nil
func WorkspaceAzureDevopsRepoPtr ¶
func WorkspaceAzureDevopsRepoPtr(v *WorkspaceAzureDevopsRepoArgs) WorkspaceAzureDevopsRepoPtrInput
type WorkspaceAzureDevopsRepoPtrOutput ¶
type WorkspaceAzureDevopsRepoPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceAzureDevopsRepoPtrOutput) AccountName ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) AccountName() pulumi.StringPtrOutput
Specifies the Azure DevOps account name.
func (WorkspaceAzureDevopsRepoPtrOutput) BranchName ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) BranchName() pulumi.StringPtrOutput
Specifies the collaboration branch of the repository to get code from.
func (WorkspaceAzureDevopsRepoPtrOutput) Elem ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) Elem() WorkspaceAzureDevopsRepoOutput
func (WorkspaceAzureDevopsRepoPtrOutput) ElementType ¶
func (WorkspaceAzureDevopsRepoPtrOutput) ElementType() reflect.Type
func (WorkspaceAzureDevopsRepoPtrOutput) LastCommitId ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) LastCommitId() pulumi.StringPtrOutput
The last commit ID.
func (WorkspaceAzureDevopsRepoPtrOutput) ProjectName ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) ProjectName() pulumi.StringPtrOutput
Specifies the name of the Azure DevOps project.
func (WorkspaceAzureDevopsRepoPtrOutput) RepositoryName ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) RepositoryName() pulumi.StringPtrOutput
Specifies the name of the git repository.
func (WorkspaceAzureDevopsRepoPtrOutput) RootFolder ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) RootFolder() pulumi.StringPtrOutput
Specifies the root folder within the repository. Set to `/` for the top level.
func (WorkspaceAzureDevopsRepoPtrOutput) TenantId ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) TenantId() pulumi.StringPtrOutput
the ID of the tenant for the Azure DevOps account.
func (WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutput ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
func (WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext ¶
func (o WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput
type WorkspaceCustomerManagedKey ¶
type WorkspaceCustomerManagedKey struct { // An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified. KeyName *string `pulumi:"keyName"` // The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`). KeyVersionlessId string `pulumi:"keyVersionlessId"` }
type WorkspaceCustomerManagedKeyArgs ¶
type WorkspaceCustomerManagedKeyArgs struct { // An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified. KeyName pulumi.StringPtrInput `pulumi:"keyName"` // The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`). KeyVersionlessId pulumi.StringInput `pulumi:"keyVersionlessId"` }
func (WorkspaceCustomerManagedKeyArgs) ElementType ¶
func (WorkspaceCustomerManagedKeyArgs) ElementType() reflect.Type
func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput ¶
func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput
func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutputWithContext ¶
func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput
func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput ¶
func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutputWithContext ¶
func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput
type WorkspaceCustomerManagedKeyInput ¶
type WorkspaceCustomerManagedKeyInput interface { pulumi.Input ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput ToWorkspaceCustomerManagedKeyOutputWithContext(context.Context) WorkspaceCustomerManagedKeyOutput }
WorkspaceCustomerManagedKeyInput is an input type that accepts WorkspaceCustomerManagedKeyArgs and WorkspaceCustomerManagedKeyOutput values. You can construct a concrete instance of `WorkspaceCustomerManagedKeyInput` via:
WorkspaceCustomerManagedKeyArgs{...}
type WorkspaceCustomerManagedKeyOutput ¶
type WorkspaceCustomerManagedKeyOutput struct{ *pulumi.OutputState }
func (WorkspaceCustomerManagedKeyOutput) ElementType ¶
func (WorkspaceCustomerManagedKeyOutput) ElementType() reflect.Type
func (WorkspaceCustomerManagedKeyOutput) KeyName ¶
func (o WorkspaceCustomerManagedKeyOutput) KeyName() pulumi.StringPtrOutput
An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified.
func (WorkspaceCustomerManagedKeyOutput) KeyVersionlessId ¶
func (o WorkspaceCustomerManagedKeyOutput) KeyVersionlessId() pulumi.StringOutput
The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`).
func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput ¶
func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput
func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext ¶
func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput
func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput ¶
func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext ¶
func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput
type WorkspaceCustomerManagedKeyPtrInput ¶
type WorkspaceCustomerManagedKeyPtrInput interface { pulumi.Input ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput ToWorkspaceCustomerManagedKeyPtrOutputWithContext(context.Context) WorkspaceCustomerManagedKeyPtrOutput }
WorkspaceCustomerManagedKeyPtrInput is an input type that accepts WorkspaceCustomerManagedKeyArgs, WorkspaceCustomerManagedKeyPtr and WorkspaceCustomerManagedKeyPtrOutput values. You can construct a concrete instance of `WorkspaceCustomerManagedKeyPtrInput` via:
WorkspaceCustomerManagedKeyArgs{...} or: nil
func WorkspaceCustomerManagedKeyPtr ¶
func WorkspaceCustomerManagedKeyPtr(v *WorkspaceCustomerManagedKeyArgs) WorkspaceCustomerManagedKeyPtrInput
type WorkspaceCustomerManagedKeyPtrOutput ¶
type WorkspaceCustomerManagedKeyPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceCustomerManagedKeyPtrOutput) ElementType ¶
func (WorkspaceCustomerManagedKeyPtrOutput) ElementType() reflect.Type
func (WorkspaceCustomerManagedKeyPtrOutput) KeyName ¶
func (o WorkspaceCustomerManagedKeyPtrOutput) KeyName() pulumi.StringPtrOutput
An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified.
func (WorkspaceCustomerManagedKeyPtrOutput) KeyVersionlessId ¶
func (o WorkspaceCustomerManagedKeyPtrOutput) KeyVersionlessId() pulumi.StringPtrOutput
The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`).
func (WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutput ¶
func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
func (WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext ¶
func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput
type WorkspaceExtendedAuditingPolicy ¶
type WorkspaceExtendedAuditingPolicy struct { pulumi.CustomResourceState // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"` // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"` // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrOutput `pulumi:"storageAccountAccessKeyIsSecondary"` // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` // The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` }
Manages a Synapse Workspace Extended Auditing Policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("BlobStorage"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = synapse.NewWorkspaceExtendedAuditingPolicy(ctx, "exampleWorkspaceExtendedAuditingPolicy", &synapse.WorkspaceExtendedAuditingPolicyArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), StorageEndpoint: auditLogs.PrimaryBlobEndpoint, StorageAccountAccessKey: auditLogs.PrimaryAccessKey, StorageAccountAccessKeyIsSecondary: pulumi.Bool(false), RetentionInDays: pulumi.Int(6), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace Extended Auditing Policys can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspaceExtendedAuditingPolicy:WorkspaceExtendedAuditingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/extendedAuditingSettings/default
```
func GetWorkspaceExtendedAuditingPolicy ¶
func GetWorkspaceExtendedAuditingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceExtendedAuditingPolicyState, opts ...pulumi.ResourceOption) (*WorkspaceExtendedAuditingPolicy, error)
GetWorkspaceExtendedAuditingPolicy gets an existing WorkspaceExtendedAuditingPolicy 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 NewWorkspaceExtendedAuditingPolicy ¶
func NewWorkspaceExtendedAuditingPolicy(ctx *pulumi.Context, name string, args *WorkspaceExtendedAuditingPolicyArgs, opts ...pulumi.ResourceOption) (*WorkspaceExtendedAuditingPolicy, error)
NewWorkspaceExtendedAuditingPolicy registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceExtendedAuditingPolicy) ElementType ¶
func (*WorkspaceExtendedAuditingPolicy) ElementType() reflect.Type
func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput ¶
func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput
func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutputWithContext ¶
func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput
type WorkspaceExtendedAuditingPolicyArgs ¶
type WorkspaceExtendedAuditingPolicyArgs struct { // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput // The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringInput }
The set of arguments for constructing a WorkspaceExtendedAuditingPolicy resource.
func (WorkspaceExtendedAuditingPolicyArgs) ElementType ¶
func (WorkspaceExtendedAuditingPolicyArgs) ElementType() reflect.Type
type WorkspaceExtendedAuditingPolicyArray ¶
type WorkspaceExtendedAuditingPolicyArray []WorkspaceExtendedAuditingPolicyInput
func (WorkspaceExtendedAuditingPolicyArray) ElementType ¶
func (WorkspaceExtendedAuditingPolicyArray) ElementType() reflect.Type
func (WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput ¶
func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput
func (WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext ¶
func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyArrayOutput
type WorkspaceExtendedAuditingPolicyArrayInput ¶
type WorkspaceExtendedAuditingPolicyArrayInput interface { pulumi.Input ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(context.Context) WorkspaceExtendedAuditingPolicyArrayOutput }
WorkspaceExtendedAuditingPolicyArrayInput is an input type that accepts WorkspaceExtendedAuditingPolicyArray and WorkspaceExtendedAuditingPolicyArrayOutput values. You can construct a concrete instance of `WorkspaceExtendedAuditingPolicyArrayInput` via:
WorkspaceExtendedAuditingPolicyArray{ WorkspaceExtendedAuditingPolicyArgs{...} }
type WorkspaceExtendedAuditingPolicyArrayOutput ¶
type WorkspaceExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceExtendedAuditingPolicyArrayOutput) ElementType ¶
func (WorkspaceExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
func (WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput ¶
func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput
func (WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext ¶
func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyArrayOutput
type WorkspaceExtendedAuditingPolicyInput ¶
type WorkspaceExtendedAuditingPolicyInput interface { pulumi.Input ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput }
type WorkspaceExtendedAuditingPolicyMap ¶
type WorkspaceExtendedAuditingPolicyMap map[string]WorkspaceExtendedAuditingPolicyInput
func (WorkspaceExtendedAuditingPolicyMap) ElementType ¶
func (WorkspaceExtendedAuditingPolicyMap) ElementType() reflect.Type
func (WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput ¶
func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput
func (WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext ¶
func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyMapOutput
type WorkspaceExtendedAuditingPolicyMapInput ¶
type WorkspaceExtendedAuditingPolicyMapInput interface { pulumi.Input ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(context.Context) WorkspaceExtendedAuditingPolicyMapOutput }
WorkspaceExtendedAuditingPolicyMapInput is an input type that accepts WorkspaceExtendedAuditingPolicyMap and WorkspaceExtendedAuditingPolicyMapOutput values. You can construct a concrete instance of `WorkspaceExtendedAuditingPolicyMapInput` via:
WorkspaceExtendedAuditingPolicyMap{ "key": WorkspaceExtendedAuditingPolicyArgs{...} }
type WorkspaceExtendedAuditingPolicyMapOutput ¶
type WorkspaceExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }
func (WorkspaceExtendedAuditingPolicyMapOutput) ElementType ¶
func (WorkspaceExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
func (WorkspaceExtendedAuditingPolicyMapOutput) MapIndex ¶
func (o WorkspaceExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceExtendedAuditingPolicyOutput
func (WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput ¶
func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput
func (WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext ¶
func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyMapOutput
type WorkspaceExtendedAuditingPolicyOutput ¶
type WorkspaceExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }
func (WorkspaceExtendedAuditingPolicyOutput) ElementType ¶
func (WorkspaceExtendedAuditingPolicyOutput) ElementType() reflect.Type
func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput ¶
func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput
func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutputWithContext ¶
func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput
type WorkspaceExtendedAuditingPolicyState ¶
type WorkspaceExtendedAuditingPolicyState struct { // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput // The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput }
func (WorkspaceExtendedAuditingPolicyState) ElementType ¶
func (WorkspaceExtendedAuditingPolicyState) ElementType() reflect.Type
type WorkspaceGithubRepo ¶
type WorkspaceGithubRepo struct { // Specifies the GitHub account name. AccountName string `pulumi:"accountName"` // Specifies the collaboration branch of the repository to get code from. BranchName string `pulumi:"branchName"` // Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. GitUrl *string `pulumi:"gitUrl"` // The last commit ID. LastCommitId *string `pulumi:"lastCommitId"` // Specifies the name of the git repository. RepositoryName string `pulumi:"repositoryName"` // Specifies the root folder within the repository. Set to `/` for the top level. RootFolder string `pulumi:"rootFolder"` }
type WorkspaceGithubRepoArgs ¶
type WorkspaceGithubRepoArgs struct { // Specifies the GitHub account name. AccountName pulumi.StringInput `pulumi:"accountName"` // Specifies the collaboration branch of the repository to get code from. BranchName pulumi.StringInput `pulumi:"branchName"` // Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. GitUrl pulumi.StringPtrInput `pulumi:"gitUrl"` // The last commit ID. LastCommitId pulumi.StringPtrInput `pulumi:"lastCommitId"` // Specifies the name of the git repository. RepositoryName pulumi.StringInput `pulumi:"repositoryName"` // Specifies the root folder within the repository. Set to `/` for the top level. RootFolder pulumi.StringInput `pulumi:"rootFolder"` }
func (WorkspaceGithubRepoArgs) ElementType ¶
func (WorkspaceGithubRepoArgs) ElementType() reflect.Type
func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutput ¶
func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput
func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutputWithContext ¶
func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutputWithContext(ctx context.Context) WorkspaceGithubRepoOutput
func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutput ¶
func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutputWithContext ¶
func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput
type WorkspaceGithubRepoInput ¶
type WorkspaceGithubRepoInput interface { pulumi.Input ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput ToWorkspaceGithubRepoOutputWithContext(context.Context) WorkspaceGithubRepoOutput }
WorkspaceGithubRepoInput is an input type that accepts WorkspaceGithubRepoArgs and WorkspaceGithubRepoOutput values. You can construct a concrete instance of `WorkspaceGithubRepoInput` via:
WorkspaceGithubRepoArgs{...}
type WorkspaceGithubRepoOutput ¶
type WorkspaceGithubRepoOutput struct{ *pulumi.OutputState }
func (WorkspaceGithubRepoOutput) AccountName ¶
func (o WorkspaceGithubRepoOutput) AccountName() pulumi.StringOutput
Specifies the GitHub account name.
func (WorkspaceGithubRepoOutput) BranchName ¶
func (o WorkspaceGithubRepoOutput) BranchName() pulumi.StringOutput
Specifies the collaboration branch of the repository to get code from.
func (WorkspaceGithubRepoOutput) ElementType ¶
func (WorkspaceGithubRepoOutput) ElementType() reflect.Type
func (WorkspaceGithubRepoOutput) GitUrl ¶
func (o WorkspaceGithubRepoOutput) GitUrl() pulumi.StringPtrOutput
Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com.
func (WorkspaceGithubRepoOutput) LastCommitId ¶
func (o WorkspaceGithubRepoOutput) LastCommitId() pulumi.StringPtrOutput
The last commit ID.
func (WorkspaceGithubRepoOutput) RepositoryName ¶
func (o WorkspaceGithubRepoOutput) RepositoryName() pulumi.StringOutput
Specifies the name of the git repository.
func (WorkspaceGithubRepoOutput) RootFolder ¶
func (o WorkspaceGithubRepoOutput) RootFolder() pulumi.StringOutput
Specifies the root folder within the repository. Set to `/` for the top level.
func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutput ¶
func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput
func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutputWithContext ¶
func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutputWithContext(ctx context.Context) WorkspaceGithubRepoOutput
func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutput ¶
func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutputWithContext ¶
func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput
type WorkspaceGithubRepoPtrInput ¶
type WorkspaceGithubRepoPtrInput interface { pulumi.Input ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput ToWorkspaceGithubRepoPtrOutputWithContext(context.Context) WorkspaceGithubRepoPtrOutput }
WorkspaceGithubRepoPtrInput is an input type that accepts WorkspaceGithubRepoArgs, WorkspaceGithubRepoPtr and WorkspaceGithubRepoPtrOutput values. You can construct a concrete instance of `WorkspaceGithubRepoPtrInput` via:
WorkspaceGithubRepoArgs{...} or: nil
func WorkspaceGithubRepoPtr ¶
func WorkspaceGithubRepoPtr(v *WorkspaceGithubRepoArgs) WorkspaceGithubRepoPtrInput
type WorkspaceGithubRepoPtrOutput ¶
type WorkspaceGithubRepoPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceGithubRepoPtrOutput) AccountName ¶
func (o WorkspaceGithubRepoPtrOutput) AccountName() pulumi.StringPtrOutput
Specifies the GitHub account name.
func (WorkspaceGithubRepoPtrOutput) BranchName ¶
func (o WorkspaceGithubRepoPtrOutput) BranchName() pulumi.StringPtrOutput
Specifies the collaboration branch of the repository to get code from.
func (WorkspaceGithubRepoPtrOutput) Elem ¶
func (o WorkspaceGithubRepoPtrOutput) Elem() WorkspaceGithubRepoOutput
func (WorkspaceGithubRepoPtrOutput) ElementType ¶
func (WorkspaceGithubRepoPtrOutput) ElementType() reflect.Type
func (WorkspaceGithubRepoPtrOutput) GitUrl ¶
func (o WorkspaceGithubRepoPtrOutput) GitUrl() pulumi.StringPtrOutput
Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com.
func (WorkspaceGithubRepoPtrOutput) LastCommitId ¶
func (o WorkspaceGithubRepoPtrOutput) LastCommitId() pulumi.StringPtrOutput
The last commit ID.
func (WorkspaceGithubRepoPtrOutput) RepositoryName ¶
func (o WorkspaceGithubRepoPtrOutput) RepositoryName() pulumi.StringPtrOutput
Specifies the name of the git repository.
func (WorkspaceGithubRepoPtrOutput) RootFolder ¶
func (o WorkspaceGithubRepoPtrOutput) RootFolder() pulumi.StringPtrOutput
Specifies the root folder within the repository. Set to `/` for the top level.
func (WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutput ¶
func (o WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
func (WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutputWithContext ¶
func (o WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput
type WorkspaceIdentity ¶
type WorkspaceIdentity struct { // The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. PrincipalId *string `pulumi:"principalId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Synapse Workspace. The only possible value is `SystemAssigned`. Type string `pulumi:"type"` }
type WorkspaceIdentityArgs ¶
type WorkspaceIdentityArgs struct { // The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Synapse Workspace. The only possible value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (WorkspaceIdentityArgs) ElementType ¶
func (WorkspaceIdentityArgs) ElementType() reflect.Type
func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutput ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
type WorkspaceIdentityInput ¶
type WorkspaceIdentityInput interface { pulumi.Input ToWorkspaceIdentityOutput() WorkspaceIdentityOutput ToWorkspaceIdentityOutputWithContext(context.Context) WorkspaceIdentityOutput }
WorkspaceIdentityInput is an input type that accepts WorkspaceIdentityArgs and WorkspaceIdentityOutput values. You can construct a concrete instance of `WorkspaceIdentityInput` via:
WorkspaceIdentityArgs{...}
type WorkspaceIdentityOutput ¶
type WorkspaceIdentityOutput struct{ *pulumi.OutputState }
func (WorkspaceIdentityOutput) ElementType ¶
func (WorkspaceIdentityOutput) ElementType() reflect.Type
func (WorkspaceIdentityOutput) PrincipalId ¶
func (o WorkspaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
func (WorkspaceIdentityOutput) TenantId ¶
func (o WorkspaceIdentityOutput) TenantId() pulumi.StringPtrOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutput ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
func (WorkspaceIdentityOutput) Type ¶
func (o WorkspaceIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this Synapse Workspace. The only possible value is `SystemAssigned`.
type WorkspaceIdentityPtrInput ¶
type WorkspaceIdentityPtrInput interface { pulumi.Input ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput ToWorkspaceIdentityPtrOutputWithContext(context.Context) WorkspaceIdentityPtrOutput }
WorkspaceIdentityPtrInput is an input type that accepts WorkspaceIdentityArgs, WorkspaceIdentityPtr and WorkspaceIdentityPtrOutput values. You can construct a concrete instance of `WorkspaceIdentityPtrInput` via:
WorkspaceIdentityArgs{...} or: nil
func WorkspaceIdentityPtr ¶
func WorkspaceIdentityPtr(v *WorkspaceIdentityArgs) WorkspaceIdentityPtrInput
type WorkspaceIdentityPtrOutput ¶
type WorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceIdentityPtrOutput) Elem ¶
func (o WorkspaceIdentityPtrOutput) Elem() WorkspaceIdentityOutput
func (WorkspaceIdentityPtrOutput) ElementType ¶
func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type
func (WorkspaceIdentityPtrOutput) PrincipalId ¶
func (o WorkspaceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
func (WorkspaceIdentityPtrOutput) TenantId ¶
func (o WorkspaceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput ¶
func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext ¶
func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
func (WorkspaceIdentityPtrOutput) Type ¶
func (o WorkspaceIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this Synapse Workspace. The only possible value is `SystemAssigned`.
type WorkspaceInput ¶
type WorkspaceInput interface { pulumi.Input ToWorkspaceOutput() WorkspaceOutput ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput }
type WorkspaceKey ¶
type WorkspaceKey struct { pulumi.CustomResourceState // Specifies if the workspace should be encrypted with this key. Active pulumi.BoolOutput `pulumi:"active"` // Specifies the name of the workspace key. Should match the name of the key in the synapse workspace. CustomerManagedKeyName pulumi.StringOutput `pulumi:"customerManagedKeyName"` // The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption CustomerManagedKeyVersionlessId pulumi.StringPtrOutput `pulumi:"customerManagedKeyVersionlessId"` // The ID of the Synapse Workspace where the encryption key should be configured. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` }
Manages Synapse Workspace keys
> **Note:** Keys that are actively protecting a workspace cannot be deleted. When the keys resource is deleted, if the key is inactive it will be deleted, if it is active it will not be deleted.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("standard"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), KeyPermissions: pulumi.StringArray{ pulumi.String("create"), pulumi.String("get"), pulumi.String("delete"), pulumi.String("purge"), }, }) if err != nil { return err } exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{ KeyVaultId: exampleKeyVault.ID(), KeyType: pulumi.String("RSA"), KeySize: pulumi.Int(2048), KeyOpts: pulumi.StringArray{ pulumi.String("unwrapKey"), pulumi.String("wrapKey"), }, }, pulumi.DependsOn([]pulumi.Resource{ deployer, })) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), CustomerManagedKey: &synapse.WorkspaceCustomerManagedKeyArgs{ KeyVersionlessId: exampleKey.VersionlessId, KeyName: pulumi.String("enckey"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } workspacePolicy, err := keyvault.NewAccessPolicy(ctx, "workspacePolicy", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (string, error) { return identity.TenantId, nil }).(pulumi.StringOutput), ObjectId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (string, error) { return identity.PrincipalId, nil }).(pulumi.StringOutput), KeyPermissions: pulumi.StringArray{ pulumi.String("Get"), pulumi.String("WrapKey"), pulumi.String("UnwrapKey"), }, }) if err != nil { return err } _, err = synapse.NewWorkspaceKey(ctx, "exampleWorkspaceKey", &synapse.WorkspaceKeyArgs{ CustomerManagedKeyVersionlessId: exampleKey.VersionlessId, SynapseWorkspaceId: exampleWorkspace.ID(), Active: pulumi.Bool(true), CustomerManagedKeyName: pulumi.String("enckey"), }, pulumi.DependsOn([]pulumi.Resource{ workspacePolicy, })) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace Keys can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspaceKey:WorkspaceKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/keys/key1
```
func GetWorkspaceKey ¶
func GetWorkspaceKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceKeyState, opts ...pulumi.ResourceOption) (*WorkspaceKey, error)
GetWorkspaceKey gets an existing WorkspaceKey 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 NewWorkspaceKey ¶
func NewWorkspaceKey(ctx *pulumi.Context, name string, args *WorkspaceKeyArgs, opts ...pulumi.ResourceOption) (*WorkspaceKey, error)
NewWorkspaceKey registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceKey) ElementType ¶
func (*WorkspaceKey) ElementType() reflect.Type
func (*WorkspaceKey) ToWorkspaceKeyOutput ¶
func (i *WorkspaceKey) ToWorkspaceKeyOutput() WorkspaceKeyOutput
func (*WorkspaceKey) ToWorkspaceKeyOutputWithContext ¶
func (i *WorkspaceKey) ToWorkspaceKeyOutputWithContext(ctx context.Context) WorkspaceKeyOutput
type WorkspaceKeyArgs ¶
type WorkspaceKeyArgs struct { // Specifies if the workspace should be encrypted with this key. Active pulumi.BoolInput // Specifies the name of the workspace key. Should match the name of the key in the synapse workspace. CustomerManagedKeyName pulumi.StringInput // The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption CustomerManagedKeyVersionlessId pulumi.StringPtrInput // The ID of the Synapse Workspace where the encryption key should be configured. SynapseWorkspaceId pulumi.StringInput }
The set of arguments for constructing a WorkspaceKey resource.
func (WorkspaceKeyArgs) ElementType ¶
func (WorkspaceKeyArgs) ElementType() reflect.Type
type WorkspaceKeyArray ¶
type WorkspaceKeyArray []WorkspaceKeyInput
func (WorkspaceKeyArray) ElementType ¶
func (WorkspaceKeyArray) ElementType() reflect.Type
func (WorkspaceKeyArray) ToWorkspaceKeyArrayOutput ¶
func (i WorkspaceKeyArray) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput
func (WorkspaceKeyArray) ToWorkspaceKeyArrayOutputWithContext ¶
func (i WorkspaceKeyArray) ToWorkspaceKeyArrayOutputWithContext(ctx context.Context) WorkspaceKeyArrayOutput
type WorkspaceKeyArrayInput ¶
type WorkspaceKeyArrayInput interface { pulumi.Input ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput ToWorkspaceKeyArrayOutputWithContext(context.Context) WorkspaceKeyArrayOutput }
WorkspaceKeyArrayInput is an input type that accepts WorkspaceKeyArray and WorkspaceKeyArrayOutput values. You can construct a concrete instance of `WorkspaceKeyArrayInput` via:
WorkspaceKeyArray{ WorkspaceKeyArgs{...} }
type WorkspaceKeyArrayOutput ¶
type WorkspaceKeyArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceKeyArrayOutput) ElementType ¶
func (WorkspaceKeyArrayOutput) ElementType() reflect.Type
func (WorkspaceKeyArrayOutput) Index ¶
func (o WorkspaceKeyArrayOutput) Index(i pulumi.IntInput) WorkspaceKeyOutput
func (WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput ¶
func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput
func (WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutputWithContext ¶
func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutputWithContext(ctx context.Context) WorkspaceKeyArrayOutput
type WorkspaceKeyInput ¶
type WorkspaceKeyInput interface { pulumi.Input ToWorkspaceKeyOutput() WorkspaceKeyOutput ToWorkspaceKeyOutputWithContext(ctx context.Context) WorkspaceKeyOutput }
type WorkspaceKeyMap ¶
type WorkspaceKeyMap map[string]WorkspaceKeyInput
func (WorkspaceKeyMap) ElementType ¶
func (WorkspaceKeyMap) ElementType() reflect.Type
func (WorkspaceKeyMap) ToWorkspaceKeyMapOutput ¶
func (i WorkspaceKeyMap) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput
func (WorkspaceKeyMap) ToWorkspaceKeyMapOutputWithContext ¶
func (i WorkspaceKeyMap) ToWorkspaceKeyMapOutputWithContext(ctx context.Context) WorkspaceKeyMapOutput
type WorkspaceKeyMapInput ¶
type WorkspaceKeyMapInput interface { pulumi.Input ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput ToWorkspaceKeyMapOutputWithContext(context.Context) WorkspaceKeyMapOutput }
WorkspaceKeyMapInput is an input type that accepts WorkspaceKeyMap and WorkspaceKeyMapOutput values. You can construct a concrete instance of `WorkspaceKeyMapInput` via:
WorkspaceKeyMap{ "key": WorkspaceKeyArgs{...} }
type WorkspaceKeyMapOutput ¶
type WorkspaceKeyMapOutput struct{ *pulumi.OutputState }
func (WorkspaceKeyMapOutput) ElementType ¶
func (WorkspaceKeyMapOutput) ElementType() reflect.Type
func (WorkspaceKeyMapOutput) MapIndex ¶
func (o WorkspaceKeyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceKeyOutput
func (WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput ¶
func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput
func (WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutputWithContext ¶
func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutputWithContext(ctx context.Context) WorkspaceKeyMapOutput
type WorkspaceKeyOutput ¶
type WorkspaceKeyOutput struct{ *pulumi.OutputState }
func (WorkspaceKeyOutput) ElementType ¶
func (WorkspaceKeyOutput) ElementType() reflect.Type
func (WorkspaceKeyOutput) ToWorkspaceKeyOutput ¶
func (o WorkspaceKeyOutput) ToWorkspaceKeyOutput() WorkspaceKeyOutput
func (WorkspaceKeyOutput) ToWorkspaceKeyOutputWithContext ¶
func (o WorkspaceKeyOutput) ToWorkspaceKeyOutputWithContext(ctx context.Context) WorkspaceKeyOutput
type WorkspaceKeyState ¶
type WorkspaceKeyState struct { // Specifies if the workspace should be encrypted with this key. Active pulumi.BoolPtrInput // Specifies the name of the workspace key. Should match the name of the key in the synapse workspace. CustomerManagedKeyName pulumi.StringPtrInput // The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption CustomerManagedKeyVersionlessId pulumi.StringPtrInput // The ID of the Synapse Workspace where the encryption key should be configured. SynapseWorkspaceId pulumi.StringPtrInput }
func (WorkspaceKeyState) ElementType ¶
func (WorkspaceKeyState) ElementType() reflect.Type
type WorkspaceMap ¶
type WorkspaceMap map[string]WorkspaceInput
func (WorkspaceMap) ElementType ¶
func (WorkspaceMap) ElementType() reflect.Type
func (WorkspaceMap) ToWorkspaceMapOutput ¶
func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMap) ToWorkspaceMapOutputWithContext ¶
func (i WorkspaceMap) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceMapInput ¶
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 ¶
type WorkspaceMapOutput struct{ *pulumi.OutputState }
func (WorkspaceMapOutput) ElementType ¶
func (WorkspaceMapOutput) ElementType() reflect.Type
func (WorkspaceMapOutput) MapIndex ¶
func (o WorkspaceMapOutput) MapIndex(k pulumi.StringInput) WorkspaceOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutput ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceOutput ¶
type WorkspaceOutput struct{ *pulumi.OutputState }
func (WorkspaceOutput) ElementType ¶
func (WorkspaceOutput) ElementType() reflect.Type
func (WorkspaceOutput) ToWorkspaceOutput ¶
func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
func (WorkspaceOutput) ToWorkspaceOutputWithContext ¶
func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
type WorkspaceSecurityAlertPolicy ¶
type WorkspaceSecurityAlertPolicy struct { pulumi.CustomResourceState // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayOutput `pulumi:"disabledAlerts"` // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdminsEnabled pulumi.BoolPtrOutput `pulumi:"emailAccountAdminsEnabled"` // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayOutput `pulumi:"emailAddresses"` // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Allowed values are: `Disabled`, `Enabled`. PolicyState pulumi.StringOutput `pulumi:"policyState"` // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` // Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` }
Manages a Security Alert Policy for a Synapse Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), AadAdmin: &synapse.WorkspaceAadAdminArgs{ Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = synapse.NewWorkspaceSecurityAlertPolicy(ctx, "exampleWorkspaceSecurityAlertPolicy", &synapse.WorkspaceSecurityAlertPolicyArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), PolicyState: pulumi.String("Enabled"), StorageEndpoint: auditLogs.PrimaryBlobEndpoint, StorageAccountAccessKey: auditLogs.PrimaryAccessKey, DisabledAlerts: pulumi.StringArray{ pulumi.String("Sql_Injection"), pulumi.String("Data_Exfiltration"), }, RetentionDays: pulumi.Int(20), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace Security Alert Policies can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspaceSecurityAlertPolicy:WorkspaceSecurityAlertPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/securityAlertPolicies/Default
```
func GetWorkspaceSecurityAlertPolicy ¶
func GetWorkspaceSecurityAlertPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceSecurityAlertPolicyState, opts ...pulumi.ResourceOption) (*WorkspaceSecurityAlertPolicy, error)
GetWorkspaceSecurityAlertPolicy gets an existing WorkspaceSecurityAlertPolicy 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 NewWorkspaceSecurityAlertPolicy ¶
func NewWorkspaceSecurityAlertPolicy(ctx *pulumi.Context, name string, args *WorkspaceSecurityAlertPolicyArgs, opts ...pulumi.ResourceOption) (*WorkspaceSecurityAlertPolicy, error)
NewWorkspaceSecurityAlertPolicy registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceSecurityAlertPolicy) ElementType ¶
func (*WorkspaceSecurityAlertPolicy) ElementType() reflect.Type
func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput ¶
func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput
func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutputWithContext ¶
func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput
type WorkspaceSecurityAlertPolicyArgs ¶
type WorkspaceSecurityAlertPolicyArgs struct { // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayInput // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdminsEnabled pulumi.BoolPtrInput // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayInput // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Allowed values are: `Disabled`, `Enabled`. PolicyState pulumi.StringInput // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrInput // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput // Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringInput }
The set of arguments for constructing a WorkspaceSecurityAlertPolicy resource.
func (WorkspaceSecurityAlertPolicyArgs) ElementType ¶
func (WorkspaceSecurityAlertPolicyArgs) ElementType() reflect.Type
type WorkspaceSecurityAlertPolicyArray ¶
type WorkspaceSecurityAlertPolicyArray []WorkspaceSecurityAlertPolicyInput
func (WorkspaceSecurityAlertPolicyArray) ElementType ¶
func (WorkspaceSecurityAlertPolicyArray) ElementType() reflect.Type
func (WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput ¶
func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput
func (WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext ¶
func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyArrayOutput
type WorkspaceSecurityAlertPolicyArrayInput ¶
type WorkspaceSecurityAlertPolicyArrayInput interface { pulumi.Input ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(context.Context) WorkspaceSecurityAlertPolicyArrayOutput }
WorkspaceSecurityAlertPolicyArrayInput is an input type that accepts WorkspaceSecurityAlertPolicyArray and WorkspaceSecurityAlertPolicyArrayOutput values. You can construct a concrete instance of `WorkspaceSecurityAlertPolicyArrayInput` via:
WorkspaceSecurityAlertPolicyArray{ WorkspaceSecurityAlertPolicyArgs{...} }
type WorkspaceSecurityAlertPolicyArrayOutput ¶
type WorkspaceSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceSecurityAlertPolicyArrayOutput) ElementType ¶
func (WorkspaceSecurityAlertPolicyArrayOutput) ElementType() reflect.Type
func (WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput ¶
func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput
func (WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext ¶
func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyArrayOutput
type WorkspaceSecurityAlertPolicyInput ¶
type WorkspaceSecurityAlertPolicyInput interface { pulumi.Input ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput }
type WorkspaceSecurityAlertPolicyMap ¶
type WorkspaceSecurityAlertPolicyMap map[string]WorkspaceSecurityAlertPolicyInput
func (WorkspaceSecurityAlertPolicyMap) ElementType ¶
func (WorkspaceSecurityAlertPolicyMap) ElementType() reflect.Type
func (WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput ¶
func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput
func (WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutputWithContext ¶
func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyMapOutput
type WorkspaceSecurityAlertPolicyMapInput ¶
type WorkspaceSecurityAlertPolicyMapInput interface { pulumi.Input ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput ToWorkspaceSecurityAlertPolicyMapOutputWithContext(context.Context) WorkspaceSecurityAlertPolicyMapOutput }
WorkspaceSecurityAlertPolicyMapInput is an input type that accepts WorkspaceSecurityAlertPolicyMap and WorkspaceSecurityAlertPolicyMapOutput values. You can construct a concrete instance of `WorkspaceSecurityAlertPolicyMapInput` via:
WorkspaceSecurityAlertPolicyMap{ "key": WorkspaceSecurityAlertPolicyArgs{...} }
type WorkspaceSecurityAlertPolicyMapOutput ¶
type WorkspaceSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }
func (WorkspaceSecurityAlertPolicyMapOutput) ElementType ¶
func (WorkspaceSecurityAlertPolicyMapOutput) ElementType() reflect.Type
func (WorkspaceSecurityAlertPolicyMapOutput) MapIndex ¶
func (o WorkspaceSecurityAlertPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceSecurityAlertPolicyOutput
func (WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput ¶
func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput
func (WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutputWithContext ¶
func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyMapOutput
type WorkspaceSecurityAlertPolicyOutput ¶
type WorkspaceSecurityAlertPolicyOutput struct{ *pulumi.OutputState }
func (WorkspaceSecurityAlertPolicyOutput) ElementType ¶
func (WorkspaceSecurityAlertPolicyOutput) ElementType() reflect.Type
func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput ¶
func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput
func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutputWithContext ¶
func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput
type WorkspaceSecurityAlertPolicyState ¶
type WorkspaceSecurityAlertPolicyState struct { // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayInput // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdminsEnabled pulumi.BoolPtrInput // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayInput // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Allowed values are: `Disabled`, `Enabled`. PolicyState pulumi.StringPtrInput // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrInput // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput // Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput }
func (WorkspaceSecurityAlertPolicyState) ElementType ¶
func (WorkspaceSecurityAlertPolicyState) ElementType() reflect.Type
type WorkspaceSqlAadAdmin ¶
type WorkspaceSqlAadAdmin struct { pulumi.CustomResourceState // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringOutput `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringOutput `pulumi:"objectId"` // The ID of the Synapse Workspace where the Azure AD Administrator should be configured. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringOutput `pulumi:"tenantId"` }
Manages an Azure Active Directory Sql Administrator setting for a Synapse Workspace
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: pulumi.Any(azurerm_resource_group.Exampl.Location), ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("standard"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), KeyPermissions: pulumi.StringArray{ pulumi.String("create"), pulumi.String("get"), pulumi.String("delete"), pulumi.String("purge"), }, }) if err != nil { return err } _, err = keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{ KeyVaultId: exampleKeyVault.ID(), KeyType: pulumi.String("RSA"), KeySize: pulumi.Int(2048), KeyOpts: pulumi.StringArray{ pulumi.String("unwrapKey"), pulumi.String("wrapKey"), }, }, pulumi.DependsOn([]pulumi.Resource{ deployer, })) if err != nil { return err } _, err = synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } _, err = synapse.NewWorkspaceSqlAadAdmin(ctx, "test", &synapse.WorkspaceSqlAadAdminArgs{ SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id), Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String(current.ObjectId), TenantId: pulumi.String(current.TenantId), }) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace Azure AD Administrator can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspaceSqlAadAdmin:WorkspaceSqlAadAdmin example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlAdministrators/activeDirectory
```
func GetWorkspaceSqlAadAdmin ¶
func GetWorkspaceSqlAadAdmin(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceSqlAadAdminState, opts ...pulumi.ResourceOption) (*WorkspaceSqlAadAdmin, error)
GetWorkspaceSqlAadAdmin gets an existing WorkspaceSqlAadAdmin 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 NewWorkspaceSqlAadAdmin ¶
func NewWorkspaceSqlAadAdmin(ctx *pulumi.Context, name string, args *WorkspaceSqlAadAdminArgs, opts ...pulumi.ResourceOption) (*WorkspaceSqlAadAdmin, error)
NewWorkspaceSqlAadAdmin registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceSqlAadAdmin) ElementType ¶
func (*WorkspaceSqlAadAdmin) ElementType() reflect.Type
func (*WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutput ¶
func (i *WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput
func (*WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutputWithContext ¶
func (i *WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminOutput
type WorkspaceSqlAadAdminArgs ¶
type WorkspaceSqlAadAdminArgs struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringInput // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringInput // The ID of the Synapse Workspace where the Azure AD Administrator should be configured. SynapseWorkspaceId pulumi.StringInput // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringInput }
The set of arguments for constructing a WorkspaceSqlAadAdmin resource.
func (WorkspaceSqlAadAdminArgs) ElementType ¶
func (WorkspaceSqlAadAdminArgs) ElementType() reflect.Type
type WorkspaceSqlAadAdminArray ¶
type WorkspaceSqlAadAdminArray []WorkspaceSqlAadAdminInput
func (WorkspaceSqlAadAdminArray) ElementType ¶
func (WorkspaceSqlAadAdminArray) ElementType() reflect.Type
func (WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutput ¶
func (i WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput
func (WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutputWithContext ¶
func (i WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminArrayOutput
type WorkspaceSqlAadAdminArrayInput ¶
type WorkspaceSqlAadAdminArrayInput interface { pulumi.Input ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput ToWorkspaceSqlAadAdminArrayOutputWithContext(context.Context) WorkspaceSqlAadAdminArrayOutput }
WorkspaceSqlAadAdminArrayInput is an input type that accepts WorkspaceSqlAadAdminArray and WorkspaceSqlAadAdminArrayOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminArrayInput` via:
WorkspaceSqlAadAdminArray{ WorkspaceSqlAadAdminArgs{...} }
type WorkspaceSqlAadAdminArrayOutput ¶
type WorkspaceSqlAadAdminArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceSqlAadAdminArrayOutput) ElementType ¶
func (WorkspaceSqlAadAdminArrayOutput) ElementType() reflect.Type
func (WorkspaceSqlAadAdminArrayOutput) Index ¶
func (o WorkspaceSqlAadAdminArrayOutput) Index(i pulumi.IntInput) WorkspaceSqlAadAdminOutput
func (WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput ¶
func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput
func (WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutputWithContext ¶
func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminArrayOutput
type WorkspaceSqlAadAdminInput ¶
type WorkspaceSqlAadAdminInput interface { pulumi.Input ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput ToWorkspaceSqlAadAdminOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminOutput }
type WorkspaceSqlAadAdminMap ¶
type WorkspaceSqlAadAdminMap map[string]WorkspaceSqlAadAdminInput
func (WorkspaceSqlAadAdminMap) ElementType ¶
func (WorkspaceSqlAadAdminMap) ElementType() reflect.Type
func (WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutput ¶
func (i WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput
func (WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutputWithContext ¶
func (i WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminMapOutput
type WorkspaceSqlAadAdminMapInput ¶
type WorkspaceSqlAadAdminMapInput interface { pulumi.Input ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput ToWorkspaceSqlAadAdminMapOutputWithContext(context.Context) WorkspaceSqlAadAdminMapOutput }
WorkspaceSqlAadAdminMapInput is an input type that accepts WorkspaceSqlAadAdminMap and WorkspaceSqlAadAdminMapOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminMapInput` via:
WorkspaceSqlAadAdminMap{ "key": WorkspaceSqlAadAdminArgs{...} }
type WorkspaceSqlAadAdminMapOutput ¶
type WorkspaceSqlAadAdminMapOutput struct{ *pulumi.OutputState }
func (WorkspaceSqlAadAdminMapOutput) ElementType ¶
func (WorkspaceSqlAadAdminMapOutput) ElementType() reflect.Type
func (WorkspaceSqlAadAdminMapOutput) MapIndex ¶
func (o WorkspaceSqlAadAdminMapOutput) MapIndex(k pulumi.StringInput) WorkspaceSqlAadAdminOutput
func (WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput ¶
func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput
func (WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutputWithContext ¶
func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminMapOutput
type WorkspaceSqlAadAdminOutput ¶
type WorkspaceSqlAadAdminOutput struct{ *pulumi.OutputState }
func (WorkspaceSqlAadAdminOutput) ElementType ¶
func (WorkspaceSqlAadAdminOutput) ElementType() reflect.Type
func (WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutput ¶
func (o WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput
func (WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutputWithContext ¶
func (o WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminOutput
type WorkspaceSqlAadAdminState ¶
type WorkspaceSqlAadAdminState struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringPtrInput // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringPtrInput // The ID of the Synapse Workspace where the Azure AD Administrator should be configured. SynapseWorkspaceId pulumi.StringPtrInput // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringPtrInput }
func (WorkspaceSqlAadAdminState) ElementType ¶
func (WorkspaceSqlAadAdminState) ElementType() reflect.Type
type WorkspaceSqlAadAdminType ¶
type WorkspaceSqlAadAdminType struct { // The login name of the Azure AD Administrator of this Synapse Workspace SQL. Login string `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace SQL. ObjectId string `pulumi:"objectId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace SQL. TenantId string `pulumi:"tenantId"` }
type WorkspaceSqlAadAdminTypeArgs ¶
type WorkspaceSqlAadAdminTypeArgs struct { // The login name of the Azure AD Administrator of this Synapse Workspace SQL. Login pulumi.StringInput `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace SQL. ObjectId pulumi.StringInput `pulumi:"objectId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace SQL. TenantId pulumi.StringInput `pulumi:"tenantId"` }
func (WorkspaceSqlAadAdminTypeArgs) ElementType ¶
func (WorkspaceSqlAadAdminTypeArgs) ElementType() reflect.Type
func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput ¶
func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput
func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutputWithContext ¶
func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypeOutput
func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput ¶
func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutputWithContext ¶
func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput
type WorkspaceSqlAadAdminTypeInput ¶
type WorkspaceSqlAadAdminTypeInput interface { pulumi.Input ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput ToWorkspaceSqlAadAdminTypeOutputWithContext(context.Context) WorkspaceSqlAadAdminTypeOutput }
WorkspaceSqlAadAdminTypeInput is an input type that accepts WorkspaceSqlAadAdminTypeArgs and WorkspaceSqlAadAdminTypeOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminTypeInput` via:
WorkspaceSqlAadAdminTypeArgs{...}
type WorkspaceSqlAadAdminTypeOutput ¶
type WorkspaceSqlAadAdminTypeOutput struct{ *pulumi.OutputState }
func (WorkspaceSqlAadAdminTypeOutput) ElementType ¶
func (WorkspaceSqlAadAdminTypeOutput) ElementType() reflect.Type
func (WorkspaceSqlAadAdminTypeOutput) Login ¶
func (o WorkspaceSqlAadAdminTypeOutput) Login() pulumi.StringOutput
The login name of the Azure AD Administrator of this Synapse Workspace SQL.
func (WorkspaceSqlAadAdminTypeOutput) ObjectId ¶
func (o WorkspaceSqlAadAdminTypeOutput) ObjectId() pulumi.StringOutput
The object id of the Azure AD Administrator of this Synapse Workspace SQL.
func (WorkspaceSqlAadAdminTypeOutput) TenantId ¶
func (o WorkspaceSqlAadAdminTypeOutput) TenantId() pulumi.StringOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput ¶
func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput
func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutputWithContext ¶
func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypeOutput
func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput ¶
func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext ¶
func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput
type WorkspaceSqlAadAdminTypePtrInput ¶
type WorkspaceSqlAadAdminTypePtrInput interface { pulumi.Input ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput ToWorkspaceSqlAadAdminTypePtrOutputWithContext(context.Context) WorkspaceSqlAadAdminTypePtrOutput }
WorkspaceSqlAadAdminTypePtrInput is an input type that accepts WorkspaceSqlAadAdminTypeArgs, WorkspaceSqlAadAdminTypePtr and WorkspaceSqlAadAdminTypePtrOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminTypePtrInput` via:
WorkspaceSqlAadAdminTypeArgs{...} or: nil
func WorkspaceSqlAadAdminTypePtr ¶
func WorkspaceSqlAadAdminTypePtr(v *WorkspaceSqlAadAdminTypeArgs) WorkspaceSqlAadAdminTypePtrInput
type WorkspaceSqlAadAdminTypePtrOutput ¶
type WorkspaceSqlAadAdminTypePtrOutput struct{ *pulumi.OutputState }
func (WorkspaceSqlAadAdminTypePtrOutput) Elem ¶
func (o WorkspaceSqlAadAdminTypePtrOutput) Elem() WorkspaceSqlAadAdminTypeOutput
func (WorkspaceSqlAadAdminTypePtrOutput) ElementType ¶
func (WorkspaceSqlAadAdminTypePtrOutput) ElementType() reflect.Type
func (WorkspaceSqlAadAdminTypePtrOutput) Login ¶
func (o WorkspaceSqlAadAdminTypePtrOutput) Login() pulumi.StringPtrOutput
The login name of the Azure AD Administrator of this Synapse Workspace SQL.
func (WorkspaceSqlAadAdminTypePtrOutput) ObjectId ¶
func (o WorkspaceSqlAadAdminTypePtrOutput) ObjectId() pulumi.StringPtrOutput
The object id of the Azure AD Administrator of this Synapse Workspace SQL.
func (WorkspaceSqlAadAdminTypePtrOutput) TenantId ¶
func (o WorkspaceSqlAadAdminTypePtrOutput) TenantId() pulumi.StringPtrOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
func (WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput ¶
func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
func (WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext ¶
func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput
type WorkspaceState ¶
type WorkspaceState struct { // An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`. AadAdmin WorkspaceAadAdminTypePtrInput // An `azureDevopsRepo` block as defined below. AzureDevopsRepo WorkspaceAzureDevopsRepoPtrInput // Subnet ID used for computes in workspace ComputeSubnetId pulumi.StringPtrInput // A list of Connectivity endpoints for this Synapse Workspace. ConnectivityEndpoints pulumi.StringMapInput // A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`. CustomerManagedKey WorkspaceCustomerManagedKeyPtrInput // Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created. DataExfiltrationProtectionEnabled pulumi.BoolPtrInput // A `githubRepo` block as defined below. GithubRepo WorkspaceGithubRepoPtrInput // An `identity` block as defined below. Identity WorkspaceIdentityPtrInput // Allowed Aad Tenant Ids For Linking. LinkingAllowedForAadTenantIds pulumi.StringArrayInput // Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Workspace managed resource group. ManagedResourceGroupName pulumi.StringPtrInput // Is Virtual Network enabled for all computes in this workspace? Defaults to `false`. Changing this forces a new resource to be created. ManagedVirtualNetworkEnabled pulumi.BoolPtrInput // Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Whether public network access is allowed for the Cognitive Account. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The ID of purview account. PurviewId pulumi.StringPtrInput // Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // An `sqlAadAdmin` block as defined below. SqlAadAdmin WorkspaceSqlAadAdminTypePtrInput // Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created. SqlAdministratorLogin pulumi.StringPtrInput // The Password associated with the `sqlAdministratorLogin` for the SQL administrator. SqlAdministratorLoginPassword pulumi.StringPtrInput // Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools? SqlIdentityControlEnabled pulumi.BoolPtrInput // Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created. StorageDataLakeGen2FilesystemId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Synapse Workspace. Tags pulumi.StringMapInput }
func (WorkspaceState) ElementType ¶
func (WorkspaceState) ElementType() reflect.Type
type WorkspaceVulnerabilityAssessment ¶
type WorkspaceVulnerabilityAssessment struct { pulumi.CustomResourceState // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans WorkspaceVulnerabilityAssessmentRecurringScansOutput `pulumi:"recurringScans"` // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringOutput `pulumi:"storageContainerPath"` // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrOutput `pulumi:"storageContainerSasKey"` // The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created. WorkspaceSecurityAlertPolicyId pulumi.StringOutput `pulumi:"workspaceSecurityAlertPolicyId"` }
Manages the Vulnerability Assessment for a Synapse Workspace.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), AadAdmin: &synapse.WorkspaceAadAdminArgs{ Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleWorkspaceSecurityAlertPolicy, err := synapse.NewWorkspaceSecurityAlertPolicy(ctx, "exampleWorkspaceSecurityAlertPolicy", &synapse.WorkspaceSecurityAlertPolicyArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), PolicyState: pulumi.String("Enabled"), StorageEndpoint: auditLogs.PrimaryBlobEndpoint, StorageAccountAccessKey: auditLogs.PrimaryAccessKey, DisabledAlerts: pulumi.StringArray{ pulumi.String("Sql_Injection"), pulumi.String("Data_Exfiltration"), }, RetentionDays: pulumi.Int(20), }) if err != nil { return err } _, err = synapse.NewWorkspaceVulnerabilityAssessment(ctx, "exampleWorkspaceVulnerabilityAssessment", &synapse.WorkspaceVulnerabilityAssessmentArgs{ WorkspaceSecurityAlertPolicyId: exampleWorkspaceSecurityAlertPolicy.ID(), StorageContainerPath: exampleAccount.PrimaryBlobEndpoint.ApplyT(func(primaryBlobEndpoint string) (string, error) { return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, azurerm_storage_container.Example.Name, "/"), nil }).(pulumi.StringOutput), StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, RecurringScans: &synapse.WorkspaceVulnerabilityAssessmentRecurringScansArgs{ Enabled: pulumi.Bool(true), EmailSubscriptionAdminsEnabled: pulumi.Bool(true), Emails: pulumi.StringArray{ pulumi.String("email@example1.com"), pulumi.String("email@example2.com"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Synapse Workspace Vulnerability Assessment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/workspaceVulnerabilityAssessment:WorkspaceVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/vulnerabilityAssessments/default
```
func GetWorkspaceVulnerabilityAssessment ¶
func GetWorkspaceVulnerabilityAssessment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceVulnerabilityAssessmentState, opts ...pulumi.ResourceOption) (*WorkspaceVulnerabilityAssessment, error)
GetWorkspaceVulnerabilityAssessment gets an existing WorkspaceVulnerabilityAssessment 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 NewWorkspaceVulnerabilityAssessment ¶
func NewWorkspaceVulnerabilityAssessment(ctx *pulumi.Context, name string, args *WorkspaceVulnerabilityAssessmentArgs, opts ...pulumi.ResourceOption) (*WorkspaceVulnerabilityAssessment, error)
NewWorkspaceVulnerabilityAssessment registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceVulnerabilityAssessment) ElementType ¶
func (*WorkspaceVulnerabilityAssessment) ElementType() reflect.Type
func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput ¶
func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput
func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutputWithContext ¶
func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput
type WorkspaceVulnerabilityAssessmentArgs ¶
type WorkspaceVulnerabilityAssessmentArgs struct { // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans WorkspaceVulnerabilityAssessmentRecurringScansPtrInput // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrInput // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringInput // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrInput // The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created. WorkspaceSecurityAlertPolicyId pulumi.StringInput }
The set of arguments for constructing a WorkspaceVulnerabilityAssessment resource.
func (WorkspaceVulnerabilityAssessmentArgs) ElementType ¶
func (WorkspaceVulnerabilityAssessmentArgs) ElementType() reflect.Type
type WorkspaceVulnerabilityAssessmentArray ¶
type WorkspaceVulnerabilityAssessmentArray []WorkspaceVulnerabilityAssessmentInput
func (WorkspaceVulnerabilityAssessmentArray) ElementType ¶
func (WorkspaceVulnerabilityAssessmentArray) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput ¶
func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput
func (WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext ¶
func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentArrayOutput
type WorkspaceVulnerabilityAssessmentArrayInput ¶
type WorkspaceVulnerabilityAssessmentArrayInput interface { pulumi.Input ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentArrayOutput }
WorkspaceVulnerabilityAssessmentArrayInput is an input type that accepts WorkspaceVulnerabilityAssessmentArray and WorkspaceVulnerabilityAssessmentArrayOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentArrayInput` via:
WorkspaceVulnerabilityAssessmentArray{ WorkspaceVulnerabilityAssessmentArgs{...} }
type WorkspaceVulnerabilityAssessmentArrayOutput ¶
type WorkspaceVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceVulnerabilityAssessmentArrayOutput) ElementType ¶
func (WorkspaceVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput ¶
func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput
func (WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext ¶
func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentArrayOutput
type WorkspaceVulnerabilityAssessmentInput ¶
type WorkspaceVulnerabilityAssessmentInput interface { pulumi.Input ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput }
type WorkspaceVulnerabilityAssessmentMap ¶
type WorkspaceVulnerabilityAssessmentMap map[string]WorkspaceVulnerabilityAssessmentInput
func (WorkspaceVulnerabilityAssessmentMap) ElementType ¶
func (WorkspaceVulnerabilityAssessmentMap) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput ¶
func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput
func (WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext ¶
func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentMapOutput
type WorkspaceVulnerabilityAssessmentMapInput ¶
type WorkspaceVulnerabilityAssessmentMapInput interface { pulumi.Input ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentMapOutput }
WorkspaceVulnerabilityAssessmentMapInput is an input type that accepts WorkspaceVulnerabilityAssessmentMap and WorkspaceVulnerabilityAssessmentMapOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentMapInput` via:
WorkspaceVulnerabilityAssessmentMap{ "key": WorkspaceVulnerabilityAssessmentArgs{...} }
type WorkspaceVulnerabilityAssessmentMapOutput ¶
type WorkspaceVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }
func (WorkspaceVulnerabilityAssessmentMapOutput) ElementType ¶
func (WorkspaceVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentMapOutput) MapIndex ¶
func (o WorkspaceVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) WorkspaceVulnerabilityAssessmentOutput
func (WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput ¶
func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput
func (WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext ¶
func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentMapOutput
type WorkspaceVulnerabilityAssessmentOutput ¶
type WorkspaceVulnerabilityAssessmentOutput struct{ *pulumi.OutputState }
func (WorkspaceVulnerabilityAssessmentOutput) ElementType ¶
func (WorkspaceVulnerabilityAssessmentOutput) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput ¶
func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput
func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutputWithContext ¶
func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput
type WorkspaceVulnerabilityAssessmentRecurringScans ¶
type WorkspaceVulnerabilityAssessmentRecurringScans struct { // Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. EmailSubscriptionAdminsEnabled *bool `pulumi:"emailSubscriptionAdminsEnabled"` // Specifies an array of e-mail addresses to which the scan notification is sent. Emails []string `pulumi:"emails"` // Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. Enabled *bool `pulumi:"enabled"` }
type WorkspaceVulnerabilityAssessmentRecurringScansArgs ¶
type WorkspaceVulnerabilityAssessmentRecurringScansArgs struct { // Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. EmailSubscriptionAdminsEnabled pulumi.BoolPtrInput `pulumi:"emailSubscriptionAdminsEnabled"` // Specifies an array of e-mail addresses to which the scan notification is sent. Emails pulumi.StringArrayInput `pulumi:"emails"` // Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` }
func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ElementType ¶
func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput ¶
func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext ¶
func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
type WorkspaceVulnerabilityAssessmentRecurringScansInput ¶
type WorkspaceVulnerabilityAssessmentRecurringScansInput interface { pulumi.Input ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput }
WorkspaceVulnerabilityAssessmentRecurringScansInput is an input type that accepts WorkspaceVulnerabilityAssessmentRecurringScansArgs and WorkspaceVulnerabilityAssessmentRecurringScansOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentRecurringScansInput` via:
WorkspaceVulnerabilityAssessmentRecurringScansArgs{...}
type WorkspaceVulnerabilityAssessmentRecurringScansOutput ¶
type WorkspaceVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ElementType ¶
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) Emails ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) Emails() pulumi.StringArrayOutput
Specifies an array of e-mail addresses to which the scan notification is sent.
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) Enabled ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) Enabled() pulumi.BoolPtrOutput
Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
type WorkspaceVulnerabilityAssessmentRecurringScansPtrInput ¶
type WorkspaceVulnerabilityAssessmentRecurringScansPtrInput interface { pulumi.Input ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput }
WorkspaceVulnerabilityAssessmentRecurringScansPtrInput is an input type that accepts WorkspaceVulnerabilityAssessmentRecurringScansArgs, WorkspaceVulnerabilityAssessmentRecurringScansPtr and WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentRecurringScansPtrInput` via:
WorkspaceVulnerabilityAssessmentRecurringScansArgs{...} or: nil
func WorkspaceVulnerabilityAssessmentRecurringScansPtr ¶
func WorkspaceVulnerabilityAssessmentRecurringScansPtr(v *WorkspaceVulnerabilityAssessmentRecurringScansArgs) WorkspaceVulnerabilityAssessmentRecurringScansPtrInput
type WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput ¶
type WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ElementType ¶
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ElementType() reflect.Type
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput
Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Emails ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Emails() pulumi.StringArrayOutput
Specifies an array of e-mail addresses to which the scan notification is sent.
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Enabled ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Enabled() pulumi.BoolPtrOutput
Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
type WorkspaceVulnerabilityAssessmentState ¶
type WorkspaceVulnerabilityAssessmentState struct { // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans WorkspaceVulnerabilityAssessmentRecurringScansPtrInput // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrInput // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringPtrInput // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrInput // The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created. WorkspaceSecurityAlertPolicyId pulumi.StringPtrInput }
func (WorkspaceVulnerabilityAssessmentState) ElementType ¶
func (WorkspaceVulnerabilityAssessmentState) ElementType() reflect.Type
Source Files
¶
- firewallRule.go
- getWorkspace.go
- init.go
- integrationRuntimeAzure.go
- integrationRuntimeSelfHosted.go
- linkedService.go
- managedPrivateEndpoint.go
- privateLinkHub.go
- pulumiTypes.go
- roleAssignment.go
- sparkPool.go
- sqlPool.go
- sqlPoolExtendedAuditingPolicy.go
- sqlPoolSecurityAlertPolicy.go
- sqlPoolVulnerabilityAssessment.go
- sqlPoolVulnerabilityAssessmentBaseline.go
- sqlPoolWorkloadClassifier.go
- sqlPoolWorkloadGroup.go
- workspace.go
- workspaceAadAdmin.go
- workspaceExtendedAuditingPolicy.go
- workspaceKey.go
- workspaceSecurityAlertPolicy.go
- workspaceSqlAadAdmin.go
- workspaceVulnerabilityAssessment.go