oci.LogAnalytics.NamespaceLookupsUpdateDataManagement
Explore with Pulumi AI
This resource provides the Namespace Lookups Update Data Management resource in Oracle Cloud Infrastructure Log Analytics service.
Updates the lookup content. The csv file containing the content to be updated is passed in as binary data in the request.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
testNamespaceLookupsUpdateDataManagement:
type: oci:LogAnalytics:NamespaceLookupsUpdateDataManagement
name: test_namespace_lookups_update_data_management
properties:
updateLookupFileBody: ${namespaceLookupsUpdateDataManagementUpdateLookupFileBody}
lookupName: ${namespaceLookupsUpdateDataManagementLookupName}
namespace: ${namespaceLookupsUpdateDataManagementNamespace}
charEncoding: ${namespaceLookupsUpdateDataManagementCharEncoding}
expect: ${namespaceLookupsUpdateDataManagementExpect}
isForce: ${namespaceLookupsUpdateDataManagementIsForce}
Create NamespaceLookupsUpdateDataManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NamespaceLookupsUpdateDataManagement(name: string, args: NamespaceLookupsUpdateDataManagementArgs, opts?: CustomResourceOptions);
@overload
def NamespaceLookupsUpdateDataManagement(resource_name: str,
args: NamespaceLookupsUpdateDataManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NamespaceLookupsUpdateDataManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
lookup_name: Optional[str] = None,
namespace: Optional[str] = None,
update_lookup_file: Optional[str] = None,
char_encoding: Optional[str] = None,
expect: Optional[str] = None,
is_force: Optional[bool] = None)
func NewNamespaceLookupsUpdateDataManagement(ctx *Context, name string, args NamespaceLookupsUpdateDataManagementArgs, opts ...ResourceOption) (*NamespaceLookupsUpdateDataManagement, error)
public NamespaceLookupsUpdateDataManagement(string name, NamespaceLookupsUpdateDataManagementArgs args, CustomResourceOptions? opts = null)
public NamespaceLookupsUpdateDataManagement(String name, NamespaceLookupsUpdateDataManagementArgs args)
public NamespaceLookupsUpdateDataManagement(String name, NamespaceLookupsUpdateDataManagementArgs args, CustomResourceOptions options)
type: oci:LogAnalytics:NamespaceLookupsUpdateDataManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NamespaceLookupsUpdateDataManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NamespaceLookupsUpdateDataManagementArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NamespaceLookupsUpdateDataManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceLookupsUpdateDataManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceLookupsUpdateDataManagementArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var namespaceLookupsUpdateDataManagementResource = new Oci.LogAnalytics.NamespaceLookupsUpdateDataManagement("namespaceLookupsUpdateDataManagementResource", new()
{
LookupName = "string",
Namespace = "string",
UpdateLookupFile = "string",
CharEncoding = "string",
Expect = "string",
IsForce = false,
});
example, err := loganalytics.NewNamespaceLookupsUpdateDataManagement(ctx, "namespaceLookupsUpdateDataManagementResource", &loganalytics.NamespaceLookupsUpdateDataManagementArgs{
LookupName: pulumi.String("string"),
Namespace: pulumi.String("string"),
UpdateLookupFile: pulumi.String("string"),
CharEncoding: pulumi.String("string"),
Expect: pulumi.String("string"),
IsForce: pulumi.Bool(false),
})
var namespaceLookupsUpdateDataManagementResource = new NamespaceLookupsUpdateDataManagement("namespaceLookupsUpdateDataManagementResource", NamespaceLookupsUpdateDataManagementArgs.builder()
.lookupName("string")
.namespace("string")
.updateLookupFile("string")
.charEncoding("string")
.expect("string")
.isForce(false)
.build());
namespace_lookups_update_data_management_resource = oci.log_analytics.NamespaceLookupsUpdateDataManagement("namespaceLookupsUpdateDataManagementResource",
lookup_name="string",
namespace="string",
update_lookup_file="string",
char_encoding="string",
expect="string",
is_force=False)
const namespaceLookupsUpdateDataManagementResource = new oci.loganalytics.NamespaceLookupsUpdateDataManagement("namespaceLookupsUpdateDataManagementResource", {
lookupName: "string",
namespace: "string",
updateLookupFile: "string",
charEncoding: "string",
expect: "string",
isForce: false,
});
type: oci:LogAnalytics:NamespaceLookupsUpdateDataManagement
properties:
charEncoding: string
expect: string
isForce: false
lookupName: string
namespace: string
updateLookupFile: string
NamespaceLookupsUpdateDataManagement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NamespaceLookupsUpdateDataManagement resource accepts the following input properties:
- Lookup
Name string - The name of the lookup to operate on.
- Namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Update
Lookup stringFile - Char
Encoding string - The character encoding of the uploaded file.
- Expect string
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - Is
Force bool - is force
- Lookup
Name string - The name of the lookup to operate on.
- Namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Update
Lookup stringFile - Char
Encoding string - The character encoding of the uploaded file.
- Expect string
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - Is
Force bool - is force
- lookup
Name String - The name of the lookup to operate on.
- namespace String
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update
Lookup StringFile - char
Encoding String - The character encoding of the uploaded file.
- expect String
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is
Force Boolean - is force
- lookup
Name string - The name of the lookup to operate on.
- namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update
Lookup stringFile - char
Encoding string - The character encoding of the uploaded file.
- expect string
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is
Force boolean - is force
- lookup_
name str - The name of the lookup to operate on.
- namespace str
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update_
lookup_ strfile - char_
encoding str - The character encoding of the uploaded file.
- expect str
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is_
force bool - is force
- lookup
Name String - The name of the lookup to operate on.
- namespace String
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update
Lookup StringFile - char
Encoding String - The character encoding of the uploaded file.
- expect String
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is
Force Boolean - is force
Outputs
All input properties are implicitly available as output properties. Additionally, the NamespaceLookupsUpdateDataManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NamespaceLookupsUpdateDataManagement Resource
Get an existing NamespaceLookupsUpdateDataManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NamespaceLookupsUpdateDataManagementState, opts?: CustomResourceOptions): NamespaceLookupsUpdateDataManagement
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
char_encoding: Optional[str] = None,
expect: Optional[str] = None,
is_force: Optional[bool] = None,
lookup_name: Optional[str] = None,
namespace: Optional[str] = None,
update_lookup_file: Optional[str] = None) -> NamespaceLookupsUpdateDataManagement
func GetNamespaceLookupsUpdateDataManagement(ctx *Context, name string, id IDInput, state *NamespaceLookupsUpdateDataManagementState, opts ...ResourceOption) (*NamespaceLookupsUpdateDataManagement, error)
public static NamespaceLookupsUpdateDataManagement Get(string name, Input<string> id, NamespaceLookupsUpdateDataManagementState? state, CustomResourceOptions? opts = null)
public static NamespaceLookupsUpdateDataManagement get(String name, Output<String> id, NamespaceLookupsUpdateDataManagementState state, CustomResourceOptions options)
resources: _: type: oci:LogAnalytics:NamespaceLookupsUpdateDataManagement get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Char
Encoding string - The character encoding of the uploaded file.
- Expect string
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - Is
Force bool - is force
- Lookup
Name string - The name of the lookup to operate on.
- Namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Update
Lookup stringFile
- Char
Encoding string - The character encoding of the uploaded file.
- Expect string
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - Is
Force bool - is force
- Lookup
Name string - The name of the lookup to operate on.
- Namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Update
Lookup stringFile
- char
Encoding String - The character encoding of the uploaded file.
- expect String
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is
Force Boolean - is force
- lookup
Name String - The name of the lookup to operate on.
- namespace String
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update
Lookup StringFile
- char
Encoding string - The character encoding of the uploaded file.
- expect string
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is
Force boolean - is force
- lookup
Name string - The name of the lookup to operate on.
- namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update
Lookup stringFile
- char_
encoding str - The character encoding of the uploaded file.
- expect str
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is_
force bool - is force
- lookup_
name str - The name of the lookup to operate on.
- namespace str
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update_
lookup_ strfile
- char
Encoding String - The character encoding of the uploaded file.
- expect String
- A value of
100-continue
requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). - is
Force Boolean - is force
- lookup
Name String - The name of the lookup to operate on.
- namespace String
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- update
Lookup StringFile
Import
Import is not supported for NamespaceLookupsUpdateDataManagement
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.