Documentation
¶
Index ¶
- type DiagnosticSetting
- type DiagnosticSettingArgs
- type DiagnosticSettingState
- type LogSettings
- type LogSettingsArgs
- type LogSettingsArray
- type LogSettingsArrayInput
- type LogSettingsArrayOutput
- func (LogSettingsArrayOutput) ElementType() reflect.Type
- func (o LogSettingsArrayOutput) Index(i pulumi.IntInput) LogSettingsOutput
- func (o LogSettingsArrayOutput) ToLogSettingsArrayOutput() LogSettingsArrayOutput
- func (o LogSettingsArrayOutput) ToLogSettingsArrayOutputWithContext(ctx context.Context) LogSettingsArrayOutput
- type LogSettingsInput
- type LogSettingsOutput
- func (o LogSettingsOutput) Category() pulumi.StringPtrOutput
- func (LogSettingsOutput) ElementType() reflect.Type
- func (o LogSettingsOutput) Enabled() pulumi.BoolOutput
- func (o LogSettingsOutput) RetentionPolicy() RetentionPolicyPtrOutput
- func (o LogSettingsOutput) ToLogSettingsOutput() LogSettingsOutput
- func (o LogSettingsOutput) ToLogSettingsOutputWithContext(ctx context.Context) LogSettingsOutput
- type LogSettingsResponse
- type LogSettingsResponseArgs
- type LogSettingsResponseArray
- type LogSettingsResponseArrayInput
- type LogSettingsResponseArrayOutput
- func (LogSettingsResponseArrayOutput) ElementType() reflect.Type
- func (o LogSettingsResponseArrayOutput) Index(i pulumi.IntInput) LogSettingsResponseOutput
- func (o LogSettingsResponseArrayOutput) ToLogSettingsResponseArrayOutput() LogSettingsResponseArrayOutput
- func (o LogSettingsResponseArrayOutput) ToLogSettingsResponseArrayOutputWithContext(ctx context.Context) LogSettingsResponseArrayOutput
- type LogSettingsResponseInput
- type LogSettingsResponseOutput
- func (o LogSettingsResponseOutput) Category() pulumi.StringPtrOutput
- func (LogSettingsResponseOutput) ElementType() reflect.Type
- func (o LogSettingsResponseOutput) Enabled() pulumi.BoolOutput
- func (o LogSettingsResponseOutput) RetentionPolicy() RetentionPolicyResponsePtrOutput
- func (o LogSettingsResponseOutput) ToLogSettingsResponseOutput() LogSettingsResponseOutput
- func (o LogSettingsResponseOutput) ToLogSettingsResponseOutputWithContext(ctx context.Context) LogSettingsResponseOutput
- type LookupDiagnosticSettingArgs
- type LookupDiagnosticSettingResult
- type RetentionPolicy
- type RetentionPolicyArgs
- func (RetentionPolicyArgs) ElementType() reflect.Type
- func (i RetentionPolicyArgs) ToRetentionPolicyOutput() RetentionPolicyOutput
- func (i RetentionPolicyArgs) ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput
- func (i RetentionPolicyArgs) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput
- func (i RetentionPolicyArgs) ToRetentionPolicyPtrOutputWithContext(ctx context.Context) RetentionPolicyPtrOutput
- type RetentionPolicyInput
- type RetentionPolicyOutput
- func (o RetentionPolicyOutput) Days() pulumi.IntOutput
- func (RetentionPolicyOutput) ElementType() reflect.Type
- func (o RetentionPolicyOutput) Enabled() pulumi.BoolOutput
- func (o RetentionPolicyOutput) ToRetentionPolicyOutput() RetentionPolicyOutput
- func (o RetentionPolicyOutput) ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput
- func (o RetentionPolicyOutput) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput
- func (o RetentionPolicyOutput) ToRetentionPolicyPtrOutputWithContext(ctx context.Context) RetentionPolicyPtrOutput
- type RetentionPolicyPtrInput
- type RetentionPolicyPtrOutput
- func (o RetentionPolicyPtrOutput) Days() pulumi.IntPtrOutput
- func (o RetentionPolicyPtrOutput) Elem() RetentionPolicyOutput
- func (RetentionPolicyPtrOutput) ElementType() reflect.Type
- func (o RetentionPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput
- func (o RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutputWithContext(ctx context.Context) RetentionPolicyPtrOutput
- type RetentionPolicyResponse
- type RetentionPolicyResponseArgs
- func (RetentionPolicyResponseArgs) ElementType() reflect.Type
- func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponseOutput() RetentionPolicyResponseOutput
- func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponseOutputWithContext(ctx context.Context) RetentionPolicyResponseOutput
- func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput
- func (i RetentionPolicyResponseArgs) ToRetentionPolicyResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyResponsePtrOutput
- type RetentionPolicyResponseInput
- type RetentionPolicyResponseOutput
- func (o RetentionPolicyResponseOutput) Days() pulumi.IntOutput
- func (RetentionPolicyResponseOutput) ElementType() reflect.Type
- func (o RetentionPolicyResponseOutput) Enabled() pulumi.BoolOutput
- func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutput() RetentionPolicyResponseOutput
- func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutputWithContext(ctx context.Context) RetentionPolicyResponseOutput
- func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput
- func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyResponsePtrOutput
- type RetentionPolicyResponsePtrInput
- type RetentionPolicyResponsePtrOutput
- func (o RetentionPolicyResponsePtrOutput) Days() pulumi.IntPtrOutput
- func (o RetentionPolicyResponsePtrOutput) Elem() RetentionPolicyResponseOutput
- func (RetentionPolicyResponsePtrOutput) ElementType() reflect.Type
- func (o RetentionPolicyResponsePtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o RetentionPolicyResponsePtrOutput) ToRetentionPolicyResponsePtrOutput() RetentionPolicyResponsePtrOutput
- func (o RetentionPolicyResponsePtrOutput) ToRetentionPolicyResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyResponsePtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
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 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 (o LogSettingsArrayOutput) Index(i pulumi.IntInput) LogSettingsOutput
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 ¶
func (o LogSettingsOutput) Category() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (LogSettingsResponseArrayOutput) Index ¶
func (o LogSettingsResponseArrayOutput) Index(i pulumi.IntInput) LogSettingsResponseOutput
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 ¶
func (o LogSettingsResponseOutput) Category() pulumi.StringPtrOutput
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 ¶
func (o LogSettingsResponseOutput) Enabled() pulumi.BoolOutput
A value indicating whether this log is enabled.
func (LogSettingsResponseOutput) RetentionPolicy ¶
func (o LogSettingsResponseOutput) RetentionPolicy() RetentionPolicyResponsePtrOutput
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"` // 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.
func LookupDiagnosticSetting ¶
func LookupDiagnosticSetting(ctx *pulumi.Context, args *LookupDiagnosticSettingArgs, opts ...pulumi.InvokeOption) (*LookupDiagnosticSettingResult, error)
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 ¶
func (o RetentionPolicyOutput) Days() pulumi.IntOutput
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 ¶
func (o RetentionPolicyOutput) Enabled() pulumi.BoolOutput
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
func RetentionPolicyPtr ¶
func RetentionPolicyPtr(v *RetentionPolicyArgs) RetentionPolicyPtrInput
type RetentionPolicyPtrOutput ¶
type RetentionPolicyPtrOutput struct{ *pulumi.OutputState }
func (RetentionPolicyPtrOutput) Days ¶
func (o RetentionPolicyPtrOutput) Days() pulumi.IntPtrOutput
The number of days for the retention in days. A value of 0 will retain the events indefinitely.
func (RetentionPolicyPtrOutput) Elem ¶
func (o RetentionPolicyPtrOutput) Elem() RetentionPolicyOutput
func (RetentionPolicyPtrOutput) ElementType ¶
func (RetentionPolicyPtrOutput) ElementType() reflect.Type
func (RetentionPolicyPtrOutput) Enabled ¶
func (o RetentionPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o RetentionPolicyResponseOutput) Days() pulumi.IntOutput
The number of days for the retention in days. A value of 0 will retain the events indefinitely.
func (RetentionPolicyResponseOutput) ElementType ¶
func (RetentionPolicyResponseOutput) ElementType() reflect.Type
func (RetentionPolicyResponseOutput) Enabled ¶
func (o RetentionPolicyResponseOutput) Enabled() pulumi.BoolOutput
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
func RetentionPolicyResponsePtr ¶
func RetentionPolicyResponsePtr(v *RetentionPolicyResponseArgs) RetentionPolicyResponsePtrInput
type RetentionPolicyResponsePtrOutput ¶
type RetentionPolicyResponsePtrOutput struct{ *pulumi.OutputState }
func (RetentionPolicyResponsePtrOutput) Days ¶
func (o RetentionPolicyResponsePtrOutput) Days() pulumi.IntPtrOutput
The number of days for the retention in days. A value of 0 will retain the events indefinitely.
func (RetentionPolicyResponsePtrOutput) Elem ¶
func (o RetentionPolicyResponsePtrOutput) Elem() RetentionPolicyResponseOutput
func (RetentionPolicyResponsePtrOutput) ElementType ¶
func (RetentionPolicyResponsePtrOutput) ElementType() reflect.Type
func (RetentionPolicyResponsePtrOutput) Enabled ¶
func (o RetentionPolicyResponsePtrOutput) Enabled() pulumi.BoolPtrOutput
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