oci.LogAnalytics.NamespaceLookupsUpdateDataManagement
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
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example 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.loganalytics.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:
- LookupName 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 
- UpdateLookup stringFile 
- CharEncoding string
- The character encoding of the uploaded file.
- Expect string
- A value of 100-continuerequests 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).
- IsForce bool
- is force
- LookupName 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 
- UpdateLookup stringFile 
- CharEncoding string
- The character encoding of the uploaded file.
- Expect string
- A value of 100-continuerequests 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).
- IsForce bool
- is force
- lookupName 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 
- updateLookup StringFile 
- charEncoding String
- The character encoding of the uploaded file.
- expect String
- A value of 100-continuerequests 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).
- isForce Boolean
- is force
- lookupName 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 
- updateLookup stringFile 
- charEncoding string
- The character encoding of the uploaded file.
- expect string
- A value of 100-continuerequests 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).
- isForce 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-continuerequests 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
- lookupName 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 
- updateLookup StringFile 
- charEncoding String
- The character encoding of the uploaded file.
- expect String
- A value of 100-continuerequests 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).
- isForce 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) -> NamespaceLookupsUpdateDataManagementfunc 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.
- CharEncoding string
- The character encoding of the uploaded file.
- Expect string
- A value of 100-continuerequests 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).
- IsForce bool
- is force
- LookupName 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 
- UpdateLookup stringFile 
- CharEncoding string
- The character encoding of the uploaded file.
- Expect string
- A value of 100-continuerequests 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).
- IsForce bool
- is force
- LookupName 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 
- UpdateLookup stringFile 
- charEncoding String
- The character encoding of the uploaded file.
- expect String
- A value of 100-continuerequests 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).
- isForce Boolean
- is force
- lookupName 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 
- updateLookup StringFile 
- charEncoding string
- The character encoding of the uploaded file.
- expect string
- A value of 100-continuerequests 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).
- isForce boolean
- is force
- lookupName 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 
- updateLookup stringFile 
- char_encoding str
- The character encoding of the uploaded file.
- expect str
- A value of 100-continuerequests 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 
- charEncoding String
- The character encoding of the uploaded file.
- expect String
- A value of 100-continuerequests 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).
- isForce Boolean
- is force
- lookupName 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 
- updateLookup 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 ociTerraform Provider.
