ibm.ContainerApiKeyReset
Explore with Pulumi AI
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
- Container
Api stringKey Reset Id - Reset
Api doubleKey - Determines if apikey has to be reset or not
- Resource
Group stringId - ID of Resource Group
- Region string
- Region which api key has to be reset
- Container
Api stringKey Reset Id - Reset
Api float64Key - Determines if apikey has to be reset or not
- Resource
Group stringId - ID of Resource Group
- region String
- Region which api key has to be reset
- container
Api StringKey Reset Id - reset
Api DoubleKey - Determines if apikey has to be reset or not
- resource
Group StringId - ID of Resource Group
- region string
- Region which api key has to be reset
- container
Api stringKey Reset Id - reset
Api numberKey - Determines if apikey has to be reset or not
- resource
Group stringId - ID of Resource Group
- region str
- Region which api key has to be reset
- container_
api_ strkey_ reset_ id - reset_
api_ floatkey - Determines if apikey has to be reset or not
- resource_
group_ strid - ID of Resource Group
- region String
- Region which api key has to be reset
- container
Api StringKey Reset Id - reset
Api NumberKey - Determines if apikey has to be reset or not
- resource
Group StringId - 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.
- Container
Api stringKey Reset Id - Region string
- Region which api key has to be reset
- Reset
Api doubleKey - Determines if apikey has to be reset or not
- Resource
Group stringId - ID of Resource Group
- Container
Api stringKey Reset Id - Region string
- Region which api key has to be reset
- Reset
Api float64Key - Determines if apikey has to be reset or not
- Resource
Group stringId - ID of Resource Group
- container
Api StringKey Reset Id - region String
- Region which api key has to be reset
- reset
Api DoubleKey - Determines if apikey has to be reset or not
- resource
Group StringId - ID of Resource Group
- container
Api stringKey Reset Id - region string
- Region which api key has to be reset
- reset
Api numberKey - Determines if apikey has to be reset or not
- resource
Group stringId - ID of Resource Group
- container_
api_ strkey_ reset_ id - region str
- Region which api key has to be reset
- reset_
api_ floatkey - Determines if apikey has to be reset or not
- resource_
group_ strid - ID of Resource Group
- container
Api StringKey Reset Id - region String
- Region which api key has to be reset
- reset
Api NumberKey - Determines if apikey has to be reset or not
- resource
Group StringId - 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.