v20170401

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CategoryAuditLogs  = Category("AuditLogs")
	CategorySignInLogs = Category("SignInLogs")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Category added in v0.3.1

type Category pulumi.String

Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

func (Category) ElementType added in v0.3.1

func (Category) ElementType() reflect.Type

func (Category) ToStringOutput added in v0.3.1

func (e Category) ToStringOutput() pulumi.StringOutput

func (Category) ToStringOutputWithContext added in v0.3.1

func (e Category) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Category) ToStringPtrOutput added in v0.3.1

func (e Category) ToStringPtrOutput() pulumi.StringPtrOutput

func (Category) ToStringPtrOutputWithContext added in v0.3.1

func (e Category) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DiagnosticSetting

type DiagnosticSetting struct {
	pulumi.CustomResourceState

	// The resource Id for the event hub authorization rule.
	EventHubAuthorizationRuleId pulumi.StringPtrOutput `pulumi:"eventHubAuthorizationRuleId"`
	// The name of the event hub. If none is specified, the default event hub will be selected.
	EventHubName pulumi.StringPtrOutput `pulumi:"eventHubName"`
	// The list of logs settings.
	Logs LogSettingsResponseArrayOutput `pulumi:"logs"`
	// Azure resource name
	Name pulumi.StringOutput `pulumi:"name"`
	// The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
	ServiceBusRuleId pulumi.StringPtrOutput `pulumi:"serviceBusRuleId"`
	// The resource ID of the storage account to which you would like to send Diagnostic Logs.
	StorageAccountId pulumi.StringPtrOutput `pulumi:"storageAccountId"`
	// Azure resource type
	Type pulumi.StringOutput `pulumi:"type"`
	// The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
	WorkspaceId pulumi.StringPtrOutput `pulumi:"workspaceId"`
}

The diagnostic setting resource.

func GetDiagnosticSetting

func GetDiagnosticSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DiagnosticSettingState, opts ...pulumi.ResourceOption) (*DiagnosticSetting, error)

GetDiagnosticSetting gets an existing DiagnosticSetting 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 NewDiagnosticSetting

func NewDiagnosticSetting(ctx *pulumi.Context,
	name string, args *DiagnosticSettingArgs, opts ...pulumi.ResourceOption) (*DiagnosticSetting, error)

NewDiagnosticSetting registers a new resource with the given unique name, arguments, and options.

func (*DiagnosticSetting) ElementType added in v0.2.6

func (*DiagnosticSetting) ElementType() reflect.Type

func (*DiagnosticSetting) ToDiagnosticSettingOutput added in v0.2.6

func (i *DiagnosticSetting) ToDiagnosticSettingOutput() DiagnosticSettingOutput

func (*DiagnosticSetting) ToDiagnosticSettingOutputWithContext added in v0.2.6

func (i *DiagnosticSetting) ToDiagnosticSettingOutputWithContext(ctx context.Context) DiagnosticSettingOutput

type DiagnosticSettingArgs

type DiagnosticSettingArgs struct {
	// The resource Id for the event hub authorization rule.
	EventHubAuthorizationRuleId pulumi.StringPtrInput
	// The name of the event hub. If none is specified, the default event hub will be selected.
	EventHubName pulumi.StringPtrInput
	// The list of logs settings.
	Logs LogSettingsArrayInput
	// The name of the diagnostic setting.
	Name pulumi.StringInput
	// The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
	ServiceBusRuleId pulumi.StringPtrInput
	// The resource ID of the storage account to which you would like to send Diagnostic Logs.
	StorageAccountId pulumi.StringPtrInput
	// The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
	WorkspaceId pulumi.StringPtrInput
}

The set of arguments for constructing a DiagnosticSetting resource.

func (DiagnosticSettingArgs) ElementType

func (DiagnosticSettingArgs) ElementType() reflect.Type

type DiagnosticSettingInput added in v0.2.6

type DiagnosticSettingInput interface {
	pulumi.Input

	ToDiagnosticSettingOutput() DiagnosticSettingOutput
	ToDiagnosticSettingOutputWithContext(ctx context.Context) DiagnosticSettingOutput
}

type DiagnosticSettingOutput added in v0.2.6

type DiagnosticSettingOutput struct {
	*pulumi.OutputState
}

func (DiagnosticSettingOutput) ElementType added in v0.2.6

func (DiagnosticSettingOutput) ElementType() reflect.Type

func (DiagnosticSettingOutput) ToDiagnosticSettingOutput added in v0.2.6

func (o DiagnosticSettingOutput) ToDiagnosticSettingOutput() DiagnosticSettingOutput

func (DiagnosticSettingOutput) ToDiagnosticSettingOutputWithContext added in v0.2.6

func (o DiagnosticSettingOutput) ToDiagnosticSettingOutputWithContext(ctx context.Context) DiagnosticSettingOutput

type DiagnosticSettingState

type DiagnosticSettingState struct {
	// The resource Id for the event hub authorization rule.
	EventHubAuthorizationRuleId pulumi.StringPtrInput
	// The name of the event hub. If none is specified, the default event hub will be selected.
	EventHubName pulumi.StringPtrInput
	// The list of logs settings.
	Logs LogSettingsResponseArrayInput
	// Azure resource name
	Name pulumi.StringPtrInput
	// The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
	ServiceBusRuleId pulumi.StringPtrInput
	// The resource ID of the storage account to which you would like to send Diagnostic Logs.
	StorageAccountId pulumi.StringPtrInput
	// Azure resource type
	Type pulumi.StringPtrInput
	// The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
	WorkspaceId pulumi.StringPtrInput
}

func (DiagnosticSettingState) ElementType

func (DiagnosticSettingState) ElementType() reflect.Type

type LogSettings

type LogSettings struct {
	// Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	Category *string `pulumi:"category"`
	// A value indicating whether this log is enabled.
	Enabled bool `pulumi:"enabled"`
	// The retention policy for this log.
	RetentionPolicy *RetentionPolicy `pulumi:"retentionPolicy"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

type LogSettingsArgs

type LogSettingsArgs struct {
	// Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// A value indicating whether this log is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The retention policy for this log.
	RetentionPolicy RetentionPolicyPtrInput `pulumi:"retentionPolicy"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (LogSettingsArgs) ElementType

func (LogSettingsArgs) ElementType() reflect.Type

func (LogSettingsArgs) ToLogSettingsOutput

func (i LogSettingsArgs) ToLogSettingsOutput() LogSettingsOutput

func (LogSettingsArgs) ToLogSettingsOutputWithContext

func (i LogSettingsArgs) ToLogSettingsOutputWithContext(ctx context.Context) LogSettingsOutput

type LogSettingsArray

type LogSettingsArray []LogSettingsInput

func (LogSettingsArray) ElementType

func (LogSettingsArray) ElementType() reflect.Type

func (LogSettingsArray) ToLogSettingsArrayOutput

func (i LogSettingsArray) ToLogSettingsArrayOutput() LogSettingsArrayOutput

func (LogSettingsArray) ToLogSettingsArrayOutputWithContext

func (i LogSettingsArray) ToLogSettingsArrayOutputWithContext(ctx context.Context) LogSettingsArrayOutput

type LogSettingsArrayInput

type LogSettingsArrayInput interface {
	pulumi.Input

	ToLogSettingsArrayOutput() LogSettingsArrayOutput
	ToLogSettingsArrayOutputWithContext(context.Context) LogSettingsArrayOutput
}

LogSettingsArrayInput is an input type that accepts LogSettingsArray and LogSettingsArrayOutput values. You can construct a concrete instance of `LogSettingsArrayInput` via:

LogSettingsArray{ LogSettingsArgs{...} }

type LogSettingsArrayOutput

type LogSettingsArrayOutput struct{ *pulumi.OutputState }

func (LogSettingsArrayOutput) ElementType

func (LogSettingsArrayOutput) ElementType() reflect.Type

func (LogSettingsArrayOutput) Index

func (LogSettingsArrayOutput) ToLogSettingsArrayOutput

func (o LogSettingsArrayOutput) ToLogSettingsArrayOutput() LogSettingsArrayOutput

func (LogSettingsArrayOutput) ToLogSettingsArrayOutputWithContext

func (o LogSettingsArrayOutput) ToLogSettingsArrayOutputWithContext(ctx context.Context) LogSettingsArrayOutput

type LogSettingsInput

type LogSettingsInput interface {
	pulumi.Input

	ToLogSettingsOutput() LogSettingsOutput
	ToLogSettingsOutputWithContext(context.Context) LogSettingsOutput
}

LogSettingsInput is an input type that accepts LogSettingsArgs and LogSettingsOutput values. You can construct a concrete instance of `LogSettingsInput` via:

LogSettingsArgs{...}

type LogSettingsOutput

type LogSettingsOutput struct{ *pulumi.OutputState }

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (LogSettingsOutput) Category

Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

func (LogSettingsOutput) ElementType

func (LogSettingsOutput) ElementType() reflect.Type

func (LogSettingsOutput) Enabled

func (o LogSettingsOutput) Enabled() pulumi.BoolOutput

A value indicating whether this log is enabled.

func (LogSettingsOutput) RetentionPolicy

func (o LogSettingsOutput) RetentionPolicy() RetentionPolicyPtrOutput

The retention policy for this log.

func (LogSettingsOutput) ToLogSettingsOutput

func (o LogSettingsOutput) ToLogSettingsOutput() LogSettingsOutput

func (LogSettingsOutput) ToLogSettingsOutputWithContext

func (o LogSettingsOutput) ToLogSettingsOutputWithContext(ctx context.Context) LogSettingsOutput

type LogSettingsResponse

type LogSettingsResponse struct {
	// Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	Category *string `pulumi:"category"`
	// A value indicating whether this log is enabled.
	Enabled bool `pulumi:"enabled"`
	// The retention policy for this log.
	RetentionPolicy *RetentionPolicyResponse `pulumi:"retentionPolicy"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

type LogSettingsResponseArgs

type LogSettingsResponseArgs struct {
	// Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// A value indicating whether this log is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The retention policy for this log.
	RetentionPolicy RetentionPolicyResponsePtrInput `pulumi:"retentionPolicy"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (LogSettingsResponseArgs) ElementType

func (LogSettingsResponseArgs) ElementType() reflect.Type

func (LogSettingsResponseArgs) ToLogSettingsResponseOutput

func (i LogSettingsResponseArgs) ToLogSettingsResponseOutput() LogSettingsResponseOutput

func (LogSettingsResponseArgs) ToLogSettingsResponseOutputWithContext

func (i LogSettingsResponseArgs) ToLogSettingsResponseOutputWithContext(ctx context.Context) LogSettingsResponseOutput

type LogSettingsResponseArray

type LogSettingsResponseArray []LogSettingsResponseInput

func (LogSettingsResponseArray) ElementType

func (LogSettingsResponseArray) ElementType() reflect.Type

func (LogSettingsResponseArray) ToLogSettingsResponseArrayOutput

func (i LogSettingsResponseArray) ToLogSettingsResponseArrayOutput() LogSettingsResponseArrayOutput

func (LogSettingsResponseArray) ToLogSettingsResponseArrayOutputWithContext

func (i LogSettingsResponseArray) ToLogSettingsResponseArrayOutputWithContext(ctx context.Context) LogSettingsResponseArrayOutput

type LogSettingsResponseArrayInput

type LogSettingsResponseArrayInput interface {
	pulumi.Input

	ToLogSettingsResponseArrayOutput() LogSettingsResponseArrayOutput
	ToLogSettingsResponseArrayOutputWithContext(context.Context) LogSettingsResponseArrayOutput
}

LogSettingsResponseArrayInput is an input type that accepts LogSettingsResponseArray and LogSettingsResponseArrayOutput values. You can construct a concrete instance of `LogSettingsResponseArrayInput` via:

LogSettingsResponseArray{ LogSettingsResponseArgs{...} }

type LogSettingsResponseArrayOutput

type LogSettingsResponseArrayOutput struct{ *pulumi.OutputState }

func (LogSettingsResponseArrayOutput) ElementType

func (LogSettingsResponseArrayOutput) Index

func (LogSettingsResponseArrayOutput) ToLogSettingsResponseArrayOutput

func (o LogSettingsResponseArrayOutput) ToLogSettingsResponseArrayOutput() LogSettingsResponseArrayOutput

func (LogSettingsResponseArrayOutput) ToLogSettingsResponseArrayOutputWithContext

func (o LogSettingsResponseArrayOutput) ToLogSettingsResponseArrayOutputWithContext(ctx context.Context) LogSettingsResponseArrayOutput

type LogSettingsResponseInput

type LogSettingsResponseInput interface {
	pulumi.Input

	ToLogSettingsResponseOutput() LogSettingsResponseOutput
	ToLogSettingsResponseOutputWithContext(context.Context) LogSettingsResponseOutput
}

LogSettingsResponseInput is an input type that accepts LogSettingsResponseArgs and LogSettingsResponseOutput values. You can construct a concrete instance of `LogSettingsResponseInput` via:

LogSettingsResponseArgs{...}

type LogSettingsResponseOutput

type LogSettingsResponseOutput struct{ *pulumi.OutputState }

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (LogSettingsResponseOutput) Category

Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

func (LogSettingsResponseOutput) ElementType

func (LogSettingsResponseOutput) ElementType() reflect.Type

func (LogSettingsResponseOutput) Enabled

A value indicating whether this log is enabled.

func (LogSettingsResponseOutput) RetentionPolicy

The retention policy for this log.

func (LogSettingsResponseOutput) ToLogSettingsResponseOutput

func (o LogSettingsResponseOutput) ToLogSettingsResponseOutput() LogSettingsResponseOutput

func (LogSettingsResponseOutput) ToLogSettingsResponseOutputWithContext

func (o LogSettingsResponseOutput) ToLogSettingsResponseOutputWithContext(ctx context.Context) LogSettingsResponseOutput

type LookupDiagnosticSettingArgs

type LookupDiagnosticSettingArgs struct {
	// The name of the diagnostic setting.
	Name string `pulumi:"name"`
}

type LookupDiagnosticSettingResult

type LookupDiagnosticSettingResult struct {
	// The resource Id for the event hub authorization rule.
	EventHubAuthorizationRuleId *string `pulumi:"eventHubAuthorizationRuleId"`
	// The name of the event hub. If none is specified, the default event hub will be selected.
	EventHubName *string `pulumi:"eventHubName"`
	// Azure resource Id
	Id string `pulumi:"id"`
	// The list of logs settings.
	Logs []LogSettingsResponse `pulumi:"logs"`
	// Azure resource name
	Name string `pulumi:"name"`
	// The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
	ServiceBusRuleId *string `pulumi:"serviceBusRuleId"`
	// The resource ID of the storage account to which you would like to send Diagnostic Logs.
	StorageAccountId *string `pulumi:"storageAccountId"`
	// Azure resource type
	Type string `pulumi:"type"`
	// The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
	WorkspaceId *string `pulumi:"workspaceId"`
}

The diagnostic setting resource.

type RetentionPolicy

type RetentionPolicy struct {
	// The number of days for the retention in days. A value of 0 will retain the events indefinitely.
	Days int `pulumi:"days"`
	// A value indicating whether the retention policy is enabled.
	Enabled bool `pulumi:"enabled"`
}

Specifies the retention policy for the log.

type RetentionPolicyArgs

type RetentionPolicyArgs struct {
	// The number of days for the retention in days. A value of 0 will retain the events indefinitely.
	Days pulumi.IntInput `pulumi:"days"`
	// A value indicating whether the retention policy is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

Specifies the retention policy for the log.

func (RetentionPolicyArgs) ElementType

func (RetentionPolicyArgs) ElementType() reflect.Type

func (RetentionPolicyArgs) ToRetentionPolicyOutput

func (i RetentionPolicyArgs) ToRetentionPolicyOutput() RetentionPolicyOutput

func (RetentionPolicyArgs) ToRetentionPolicyOutputWithContext

func (i RetentionPolicyArgs) ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput

func (RetentionPolicyArgs) ToRetentionPolicyPtrOutput

func (i RetentionPolicyArgs) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput

func (RetentionPolicyArgs) ToRetentionPolicyPtrOutputWithContext

func (i RetentionPolicyArgs) ToRetentionPolicyPtrOutputWithContext(ctx context.Context) RetentionPolicyPtrOutput

type RetentionPolicyInput

type RetentionPolicyInput interface {
	pulumi.Input

	ToRetentionPolicyOutput() RetentionPolicyOutput
	ToRetentionPolicyOutputWithContext(context.Context) RetentionPolicyOutput
}

RetentionPolicyInput is an input type that accepts RetentionPolicyArgs and RetentionPolicyOutput values. You can construct a concrete instance of `RetentionPolicyInput` via:

RetentionPolicyArgs{...}

type RetentionPolicyOutput

type RetentionPolicyOutput struct{ *pulumi.OutputState }

Specifies the retention policy for the log.

func (RetentionPolicyOutput) Days

The number of days for the retention in days. A value of 0 will retain the events indefinitely.

func (RetentionPolicyOutput) ElementType

func (RetentionPolicyOutput) ElementType() reflect.Type

func (RetentionPolicyOutput) Enabled

A value indicating whether the retention policy is enabled.

func (RetentionPolicyOutput) ToRetentionPolicyOutput

func (o RetentionPolicyOutput) ToRetentionPolicyOutput() RetentionPolicyOutput

func (RetentionPolicyOutput) ToRetentionPolicyOutputWithContext

func (o RetentionPolicyOutput) ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput

func (RetentionPolicyOutput) ToRetentionPolicyPtrOutput

func (o RetentionPolicyOutput) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput

func (RetentionPolicyOutput) ToRetentionPolicyPtrOutputWithContext

func (o RetentionPolicyOutput) ToRetentionPolicyPtrOutputWithContext(ctx context.Context) RetentionPolicyPtrOutput

type RetentionPolicyPtrInput

type RetentionPolicyPtrInput interface {
	pulumi.Input

	ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput
	ToRetentionPolicyPtrOutputWithContext(context.Context) RetentionPolicyPtrOutput
}

RetentionPolicyPtrInput is an input type that accepts RetentionPolicyArgs, RetentionPolicyPtr and RetentionPolicyPtrOutput values. You can construct a concrete instance of `RetentionPolicyPtrInput` via:

        RetentionPolicyArgs{...}

or:

        nil

type RetentionPolicyPtrOutput

type RetentionPolicyPtrOutput struct{ *pulumi.OutputState }

func (RetentionPolicyPtrOutput) Days

The number of days for the retention in days. A value of 0 will retain the events indefinitely.

func (RetentionPolicyPtrOutput) Elem

func (RetentionPolicyPtrOutput) ElementType

func (RetentionPolicyPtrOutput) ElementType() reflect.Type

func (RetentionPolicyPtrOutput) Enabled

A value indicating whether the retention policy is enabled.

func (RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutput

func (o RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput

func (RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutputWithContext

func (o RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutputWithContext(ctx context.Context) RetentionPolicyPtrOutput

type RetentionPolicyResponse

type RetentionPolicyResponse struct {
	// The number of days for the retention in days. A value of 0 will retain the events indefinitely.
	Days int `pulumi:"days"`
	// A value indicating whether the retention policy is enabled.
	Enabled bool `pulumi:"enabled"`
}

Specifies the retention policy for the log.

type RetentionPolicyResponseArgs

type RetentionPolicyResponseArgs struct {
	// The number of days for the retention in days. A value of 0 will retain the events indefinitely.
	Days pulumi.IntInput `pulumi:"days"`
	// A value indicating whether the retention policy is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

Specifies the retention policy for the log.

func (RetentionPolicyResponseArgs) ElementType

func (RetentionPolicyResponseArgs) ToRetentionPolicyResponseOutput

func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponseOutput() RetentionPolicyResponseOutput

func (RetentionPolicyResponseArgs) ToRetentionPolicyResponseOutputWithContext

func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponseOutputWithContext(ctx context.Context) RetentionPolicyResponseOutput

func (RetentionPolicyResponseArgs) ToRetentionPolicyResponsePtrOutput

func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput

func (RetentionPolicyResponseArgs) ToRetentionPolicyResponsePtrOutputWithContext

func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyResponsePtrOutput

type RetentionPolicyResponseInput

type RetentionPolicyResponseInput interface {
	pulumi.Input

	ToRetentionPolicyResponseOutput() RetentionPolicyResponseOutput
	ToRetentionPolicyResponseOutputWithContext(context.Context) RetentionPolicyResponseOutput
}

RetentionPolicyResponseInput is an input type that accepts RetentionPolicyResponseArgs and RetentionPolicyResponseOutput values. You can construct a concrete instance of `RetentionPolicyResponseInput` via:

RetentionPolicyResponseArgs{...}

type RetentionPolicyResponseOutput

type RetentionPolicyResponseOutput struct{ *pulumi.OutputState }

Specifies the retention policy for the log.

func (RetentionPolicyResponseOutput) Days

The number of days for the retention in days. A value of 0 will retain the events indefinitely.

func (RetentionPolicyResponseOutput) ElementType

func (RetentionPolicyResponseOutput) Enabled

A value indicating whether the retention policy is enabled.

func (RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutput

func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutput() RetentionPolicyResponseOutput

func (RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutputWithContext

func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutputWithContext(ctx context.Context) RetentionPolicyResponseOutput

func (RetentionPolicyResponseOutput) ToRetentionPolicyResponsePtrOutput

func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput

func (RetentionPolicyResponseOutput) ToRetentionPolicyResponsePtrOutputWithContext

func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyResponsePtrOutput

type RetentionPolicyResponsePtrInput

type RetentionPolicyResponsePtrInput interface {
	pulumi.Input

	ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput
	ToRetentionPolicyResponsePtrOutputWithContext(context.Context) RetentionPolicyResponsePtrOutput
}

RetentionPolicyResponsePtrInput is an input type that accepts RetentionPolicyResponseArgs, RetentionPolicyResponsePtr and RetentionPolicyResponsePtrOutput values. You can construct a concrete instance of `RetentionPolicyResponsePtrInput` via:

        RetentionPolicyResponseArgs{...}

or:

        nil

type RetentionPolicyResponsePtrOutput

type RetentionPolicyResponsePtrOutput struct{ *pulumi.OutputState }

func (RetentionPolicyResponsePtrOutput) Days

The number of days for the retention in days. A value of 0 will retain the events indefinitely.

func (RetentionPolicyResponsePtrOutput) Elem

func (RetentionPolicyResponsePtrOutput) ElementType

func (RetentionPolicyResponsePtrOutput) Enabled

A value indicating whether the retention policy is enabled.

func (RetentionPolicyResponsePtrOutput) ToRetentionPolicyResponsePtrOutput

func (o RetentionPolicyResponsePtrOutput) ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput

func (RetentionPolicyResponsePtrOutput) ToRetentionPolicyResponsePtrOutputWithContext

func (o RetentionPolicyResponsePtrOutput) ToRetentionPolicyResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyResponsePtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL