1. Packages
  2. Ibm Provider
  3. API Docs
  4. ContainerApiKeyReset
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.ContainerApiKeyReset

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create ContainerApiKeyReset Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContainerApiKeyReset(name: string, args: ContainerApiKeyResetArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerApiKeyReset(resource_name: str,
                             args: ContainerApiKeyResetArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerApiKeyReset(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             region: Optional[str] = None,
                             container_api_key_reset_id: Optional[str] = None,
                             reset_api_key: Optional[float] = None,
                             resource_group_id: Optional[str] = None)
    func NewContainerApiKeyReset(ctx *Context, name string, args ContainerApiKeyResetArgs, opts ...ResourceOption) (*ContainerApiKeyReset, error)
    public ContainerApiKeyReset(string name, ContainerApiKeyResetArgs args, CustomResourceOptions? opts = null)
    public ContainerApiKeyReset(String name, ContainerApiKeyResetArgs args)
    public ContainerApiKeyReset(String name, ContainerApiKeyResetArgs args, CustomResourceOptions options)
    
    type: ibm:ContainerApiKeyReset
    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 ContainerApiKeyResetArgs
    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 ContainerApiKeyResetArgs
    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 ContainerApiKeyResetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerApiKeyResetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerApiKeyResetArgs
    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 containerApiKeyResetResource = new Ibm.ContainerApiKeyReset("containerApiKeyResetResource", new()
    {
        Region = "string",
        ContainerApiKeyResetId = "string",
        ResetApiKey = 0,
        ResourceGroupId = "string",
    });
    
    example, err := ibm.NewContainerApiKeyReset(ctx, "containerApiKeyResetResource", &ibm.ContainerApiKeyResetArgs{
    	Region:                 pulumi.String("string"),
    	ContainerApiKeyResetId: pulumi.String("string"),
    	ResetApiKey:            pulumi.Float64(0),
    	ResourceGroupId:        pulumi.String("string"),
    })
    
    var containerApiKeyResetResource = new ContainerApiKeyReset("containerApiKeyResetResource", ContainerApiKeyResetArgs.builder()
        .region("string")
        .containerApiKeyResetId("string")
        .resetApiKey(0)
        .resourceGroupId("string")
        .build());
    
    container_api_key_reset_resource = ibm.ContainerApiKeyReset("containerApiKeyResetResource",
        region="string",
        container_api_key_reset_id="string",
        reset_api_key=0,
        resource_group_id="string")
    
    const containerApiKeyResetResource = new ibm.ContainerApiKeyReset("containerApiKeyResetResource", {
        region: "string",
        containerApiKeyResetId: "string",
        resetApiKey: 0,
        resourceGroupId: "string",
    });
    
    type: ibm:ContainerApiKeyReset
    properties:
        containerApiKeyResetId: string
        region: string
        resetApiKey: 0
        resourceGroupId: string
    

    ContainerApiKeyReset 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 ContainerApiKeyReset resource accepts the following input properties:

    Region string
    Region which api key has to be reset
    ContainerApiKeyResetId string
    ResetApiKey double
    Determines if apikey has to be reset or not
    ResourceGroupId string
    ID of Resource Group
    Region string
    Region which api key has to be reset
    ContainerApiKeyResetId string
    ResetApiKey float64
    Determines if apikey has to be reset or not
    ResourceGroupId string
    ID of Resource Group
    region String
    Region which api key has to be reset
    containerApiKeyResetId String
    resetApiKey Double
    Determines if apikey has to be reset or not
    resourceGroupId String
    ID of Resource Group
    region string
    Region which api key has to be reset
    containerApiKeyResetId string
    resetApiKey number
    Determines if apikey has to be reset or not
    resourceGroupId string
    ID of Resource Group
    region str
    Region which api key has to be reset
    container_api_key_reset_id str
    reset_api_key float
    Determines if apikey has to be reset or not
    resource_group_id str
    ID of Resource Group
    region String
    Region which api key has to be reset
    containerApiKeyResetId String
    resetApiKey Number
    Determines if apikey has to be reset or not
    resourceGroupId String
    ID of Resource Group

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContainerApiKeyReset 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 ContainerApiKeyReset Resource

    Get an existing ContainerApiKeyReset 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?: ContainerApiKeyResetState, opts?: CustomResourceOptions): ContainerApiKeyReset
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_api_key_reset_id: Optional[str] = None,
            region: Optional[str] = None,
            reset_api_key: Optional[float] = None,
            resource_group_id: Optional[str] = None) -> ContainerApiKeyReset
    func GetContainerApiKeyReset(ctx *Context, name string, id IDInput, state *ContainerApiKeyResetState, opts ...ResourceOption) (*ContainerApiKeyReset, error)
    public static ContainerApiKeyReset Get(string name, Input<string> id, ContainerApiKeyResetState? state, CustomResourceOptions? opts = null)
    public static ContainerApiKeyReset get(String name, Output<String> id, ContainerApiKeyResetState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ContainerApiKeyReset    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.
    The following state arguments are supported:
    ContainerApiKeyResetId string
    Region string
    Region which api key has to be reset
    ResetApiKey double
    Determines if apikey has to be reset or not
    ResourceGroupId string
    ID of Resource Group
    ContainerApiKeyResetId string
    Region string
    Region which api key has to be reset
    ResetApiKey float64
    Determines if apikey has to be reset or not
    ResourceGroupId string
    ID of Resource Group
    containerApiKeyResetId String
    region String
    Region which api key has to be reset
    resetApiKey Double
    Determines if apikey has to be reset or not
    resourceGroupId String
    ID of Resource Group
    containerApiKeyResetId string
    region string
    Region which api key has to be reset
    resetApiKey number
    Determines if apikey has to be reset or not
    resourceGroupId string
    ID of Resource Group
    container_api_key_reset_id str
    region str
    Region which api key has to be reset
    reset_api_key float
    Determines if apikey has to be reset or not
    resource_group_id str
    ID of Resource Group
    containerApiKeyResetId String
    region String
    Region which api key has to be reset
    resetApiKey Number
    Determines if apikey has to be reset or not
    resourceGroupId String
    ID of Resource Group

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud