azure-native.storage.LocalUser
Explore with Pulumi AI
The local user associated with the storage accounts. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-08-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.
Example Usage
CreateLocalUser
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var localUser = new AzureNative.Storage.LocalUser("localUser", new()
{
AccountName = "sto2527",
HasSshPassword = true,
HomeDirectory = "homedirectory",
PermissionScopes = new[]
{
new AzureNative.Storage.Inputs.PermissionScopeArgs
{
Permissions = "rwd",
ResourceName = "share1",
Service = "file",
},
new AzureNative.Storage.Inputs.PermissionScopeArgs
{
Permissions = "rw",
ResourceName = "share2",
Service = "file",
},
},
ResourceGroupName = "res6977",
SshAuthorizedKeys = new[]
{
new AzureNative.Storage.Inputs.SshPublicKeyArgs
{
Description = "key name",
Key = "ssh-rsa keykeykeykeykey=",
},
},
Username = "user1",
});
});
package main
import (
storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewLocalUser(ctx, "localUser", &storage.LocalUserArgs{
AccountName: pulumi.String("sto2527"),
HasSshPassword: pulumi.Bool(true),
HomeDirectory: pulumi.String("homedirectory"),
PermissionScopes: storage.PermissionScopeArray{
&storage.PermissionScopeArgs{
Permissions: pulumi.String("rwd"),
ResourceName: pulumi.String("share1"),
Service: pulumi.String("file"),
},
&storage.PermissionScopeArgs{
Permissions: pulumi.String("rw"),
ResourceName: pulumi.String("share2"),
Service: pulumi.String("file"),
},
},
ResourceGroupName: pulumi.String("res6977"),
SshAuthorizedKeys: storage.SshPublicKeyArray{
&storage.SshPublicKeyArgs{
Description: pulumi.String("key name"),
Key: pulumi.String("ssh-rsa keykeykeykeykey="),
},
},
Username: pulumi.String("user1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.LocalUser;
import com.pulumi.azurenative.storage.LocalUserArgs;
import com.pulumi.azurenative.storage.inputs.PermissionScopeArgs;
import com.pulumi.azurenative.storage.inputs.SshPublicKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var localUser = new LocalUser("localUser", LocalUserArgs.builder()
.accountName("sto2527")
.hasSshPassword(true)
.homeDirectory("homedirectory")
.permissionScopes(
PermissionScopeArgs.builder()
.permissions("rwd")
.resourceName("share1")
.service("file")
.build(),
PermissionScopeArgs.builder()
.permissions("rw")
.resourceName("share2")
.service("file")
.build())
.resourceGroupName("res6977")
.sshAuthorizedKeys(SshPublicKeyArgs.builder()
.description("key name")
.key("ssh-rsa keykeykeykeykey=")
.build())
.username("user1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
local_user = azure_native.storage.LocalUser("localUser",
account_name="sto2527",
has_ssh_password=True,
home_directory="homedirectory",
permission_scopes=[
{
"permissions": "rwd",
"resource_name": "share1",
"service": "file",
},
{
"permissions": "rw",
"resource_name": "share2",
"service": "file",
},
],
resource_group_name="res6977",
ssh_authorized_keys=[{
"description": "key name",
"key": "ssh-rsa keykeykeykeykey=",
}],
username="user1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const localUser = new azure_native.storage.LocalUser("localUser", {
accountName: "sto2527",
hasSshPassword: true,
homeDirectory: "homedirectory",
permissionScopes: [
{
permissions: "rwd",
resourceName: "share1",
service: "file",
},
{
permissions: "rw",
resourceName: "share2",
service: "file",
},
],
resourceGroupName: "res6977",
sshAuthorizedKeys: [{
description: "key name",
key: "ssh-rsa keykeykeykeykey=",
}],
username: "user1",
});
resources:
localUser:
type: azure-native:storage:LocalUser
properties:
accountName: sto2527
hasSshPassword: true
homeDirectory: homedirectory
permissionScopes:
- permissions: rwd
resourceName: share1
service: file
- permissions: rw
resourceName: share2
service: file
resourceGroupName: res6977
sshAuthorizedKeys:
- description: key name
key: ssh-rsa keykeykeykeykey=
username: user1
UpdateLocalUser
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var localUser = new AzureNative.Storage.LocalUser("localUser", new()
{
AccountName = "sto2527",
HasSharedKey = false,
HasSshKey = false,
HasSshPassword = false,
HomeDirectory = "homedirectory2",
ResourceGroupName = "res6977",
Username = "user1",
});
});
package main
import (
storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewLocalUser(ctx, "localUser", &storage.LocalUserArgs{
AccountName: pulumi.String("sto2527"),
HasSharedKey: pulumi.Bool(false),
HasSshKey: pulumi.Bool(false),
HasSshPassword: pulumi.Bool(false),
HomeDirectory: pulumi.String("homedirectory2"),
ResourceGroupName: pulumi.String("res6977"),
Username: pulumi.String("user1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.LocalUser;
import com.pulumi.azurenative.storage.LocalUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var localUser = new LocalUser("localUser", LocalUserArgs.builder()
.accountName("sto2527")
.hasSharedKey(false)
.hasSshKey(false)
.hasSshPassword(false)
.homeDirectory("homedirectory2")
.resourceGroupName("res6977")
.username("user1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
local_user = azure_native.storage.LocalUser("localUser",
account_name="sto2527",
has_shared_key=False,
has_ssh_key=False,
has_ssh_password=False,
home_directory="homedirectory2",
resource_group_name="res6977",
username="user1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const localUser = new azure_native.storage.LocalUser("localUser", {
accountName: "sto2527",
hasSharedKey: false,
hasSshKey: false,
hasSshPassword: false,
homeDirectory: "homedirectory2",
resourceGroupName: "res6977",
username: "user1",
});
resources:
localUser:
type: azure-native:storage:LocalUser
properties:
accountName: sto2527
hasSharedKey: false
hasSshKey: false
hasSshPassword: false
homeDirectory: homedirectory2
resourceGroupName: res6977
username: user1
Create LocalUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocalUser(name: string, args: LocalUserArgs, opts?: CustomResourceOptions);
@overload
def LocalUser(resource_name: str,
args: LocalUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocalUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
has_shared_key: Optional[bool] = None,
has_ssh_key: Optional[bool] = None,
has_ssh_password: Optional[bool] = None,
home_directory: Optional[str] = None,
permission_scopes: Optional[Sequence[PermissionScopeArgs]] = None,
ssh_authorized_keys: Optional[Sequence[SshPublicKeyArgs]] = None,
username: Optional[str] = None)
func NewLocalUser(ctx *Context, name string, args LocalUserArgs, opts ...ResourceOption) (*LocalUser, error)
public LocalUser(string name, LocalUserArgs args, CustomResourceOptions? opts = null)
public LocalUser(String name, LocalUserArgs args)
public LocalUser(String name, LocalUserArgs args, CustomResourceOptions options)
type: azure-native:storage:LocalUser
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 LocalUserArgs
- 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 LocalUserArgs
- 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 LocalUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocalUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocalUserArgs
- 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 localUserResource = new AzureNative.Storage.LocalUser("localUserResource", new()
{
AccountName = "string",
ResourceGroupName = "string",
HasSharedKey = false,
HasSshKey = false,
HasSshPassword = false,
HomeDirectory = "string",
PermissionScopes = new[]
{
new AzureNative.Storage.Inputs.PermissionScopeArgs
{
Permissions = "string",
ResourceName = "string",
Service = "string",
},
},
SshAuthorizedKeys = new[]
{
new AzureNative.Storage.Inputs.SshPublicKeyArgs
{
Description = "string",
Key = "string",
},
},
Username = "string",
});
example, err := storage.NewLocalUser(ctx, "localUserResource", &storage.LocalUserArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
HasSharedKey: pulumi.Bool(false),
HasSshKey: pulumi.Bool(false),
HasSshPassword: pulumi.Bool(false),
HomeDirectory: pulumi.String("string"),
PermissionScopes: storage.PermissionScopeArray{
&storage.PermissionScopeArgs{
Permissions: pulumi.String("string"),
ResourceName: pulumi.String("string"),
Service: pulumi.String("string"),
},
},
SshAuthorizedKeys: storage.SshPublicKeyArray{
&storage.SshPublicKeyArgs{
Description: pulumi.String("string"),
Key: pulumi.String("string"),
},
},
Username: pulumi.String("string"),
})
var localUserResource = new LocalUser("localUserResource", LocalUserArgs.builder()
.accountName("string")
.resourceGroupName("string")
.hasSharedKey(false)
.hasSshKey(false)
.hasSshPassword(false)
.homeDirectory("string")
.permissionScopes(PermissionScopeArgs.builder()
.permissions("string")
.resourceName("string")
.service("string")
.build())
.sshAuthorizedKeys(SshPublicKeyArgs.builder()
.description("string")
.key("string")
.build())
.username("string")
.build());
local_user_resource = azure_native.storage.LocalUser("localUserResource",
account_name="string",
resource_group_name="string",
has_shared_key=False,
has_ssh_key=False,
has_ssh_password=False,
home_directory="string",
permission_scopes=[{
"permissions": "string",
"resource_name": "string",
"service": "string",
}],
ssh_authorized_keys=[{
"description": "string",
"key": "string",
}],
username="string")
const localUserResource = new azure_native.storage.LocalUser("localUserResource", {
accountName: "string",
resourceGroupName: "string",
hasSharedKey: false,
hasSshKey: false,
hasSshPassword: false,
homeDirectory: "string",
permissionScopes: [{
permissions: "string",
resourceName: "string",
service: "string",
}],
sshAuthorizedKeys: [{
description: "string",
key: "string",
}],
username: "string",
});
type: azure-native:storage:LocalUser
properties:
accountName: string
hasSharedKey: false
hasSshKey: false
hasSshPassword: false
homeDirectory: string
permissionScopes:
- permissions: string
resourceName: string
service: string
resourceGroupName: string
sshAuthorizedKeys:
- description: string
key: string
username: string
LocalUser 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 LocalUser resource accepts the following input properties:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- bool
- Indicates whether shared key exists. Set it to false to remove existing shared key.
- Has
Ssh boolKey - Indicates whether ssh key exists. Set it to false to remove existing SSH key.
- Has
Ssh boolPassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- Home
Directory string - Optional, local user home directory.
- Permission
Scopes List<Pulumi.Azure Native. Storage. Inputs. Permission Scope> - The permission scopes of the local user.
- List<Pulumi.
Azure Native. Storage. Inputs. Ssh Public Key> - Optional, local user ssh authorized keys for SFTP.
- Username string
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- bool
- Indicates whether shared key exists. Set it to false to remove existing shared key.
- Has
Ssh boolKey - Indicates whether ssh key exists. Set it to false to remove existing SSH key.
- Has
Ssh boolPassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- Home
Directory string - Optional, local user home directory.
- Permission
Scopes []PermissionScope Args - The permission scopes of the local user.
- []Ssh
Public Key Args - Optional, local user ssh authorized keys for SFTP.
- Username string
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Boolean
- Indicates whether shared key exists. Set it to false to remove existing shared key.
- has
Ssh BooleanKey - Indicates whether ssh key exists. Set it to false to remove existing SSH key.
- has
Ssh BooleanPassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- home
Directory String - Optional, local user home directory.
- permission
Scopes List<PermissionScope> - The permission scopes of the local user.
- List<Ssh
Public Key> - Optional, local user ssh authorized keys for SFTP.
- username String
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- boolean
- Indicates whether shared key exists. Set it to false to remove existing shared key.
- has
Ssh booleanKey - Indicates whether ssh key exists. Set it to false to remove existing SSH key.
- has
Ssh booleanPassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- home
Directory string - Optional, local user home directory.
- permission
Scopes PermissionScope[] - The permission scopes of the local user.
- Ssh
Public Key[] - Optional, local user ssh authorized keys for SFTP.
- username string
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account_
name str - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- bool
- Indicates whether shared key exists. Set it to false to remove existing shared key.
- has_
ssh_ boolkey - Indicates whether ssh key exists. Set it to false to remove existing SSH key.
- has_
ssh_ boolpassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- home_
directory str - Optional, local user home directory.
- permission_
scopes Sequence[PermissionScope Args] - The permission scopes of the local user.
- Sequence[Ssh
Public Key Args] - Optional, local user ssh authorized keys for SFTP.
- username str
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Boolean
- Indicates whether shared key exists. Set it to false to remove existing shared key.
- has
Ssh BooleanKey - Indicates whether ssh key exists. Set it to false to remove existing SSH key.
- has
Ssh BooleanPassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password.
- home
Directory String - Optional, local user home directory.
- permission
Scopes List<Property Map> - The permission scopes of the local user.
- List<Property Map>
- Optional, local user ssh authorized keys for SFTP.
- username String
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
Outputs
All input properties are implicitly available as output properties. Additionally, the LocalUser resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Sid string
- A unique Security Identifier that is generated by the server.
- System
Data Pulumi.Azure Native. Storage. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Sid string
- A unique Security Identifier that is generated by the server.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- sid String
- A unique Security Identifier that is generated by the server.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- sid string
- A unique Security Identifier that is generated by the server.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- sid str
- A unique Security Identifier that is generated by the server.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- sid String
- A unique Security Identifier that is generated by the server.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
PermissionScope, PermissionScopeArgs
- Permissions string
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- Resource
Name string - The name of resource, normally the container name or the file share name, used by the local user.
- Service string
- The service used by the local user, e.g. blob, file.
- Permissions string
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- Resource
Name string - The name of resource, normally the container name or the file share name, used by the local user.
- Service string
- The service used by the local user, e.g. blob, file.
- permissions String
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource
Name String - The name of resource, normally the container name or the file share name, used by the local user.
- service String
- The service used by the local user, e.g. blob, file.
- permissions string
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource
Name string - The name of resource, normally the container name or the file share name, used by the local user.
- service string
- The service used by the local user, e.g. blob, file.
- permissions str
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource_
name str - The name of resource, normally the container name or the file share name, used by the local user.
- service str
- The service used by the local user, e.g. blob, file.
- permissions String
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource
Name String - The name of resource, normally the container name or the file share name, used by the local user.
- service String
- The service used by the local user, e.g. blob, file.
PermissionScopeResponse, PermissionScopeResponseArgs
- Permissions string
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- Resource
Name string - The name of resource, normally the container name or the file share name, used by the local user.
- Service string
- The service used by the local user, e.g. blob, file.
- Permissions string
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- Resource
Name string - The name of resource, normally the container name or the file share name, used by the local user.
- Service string
- The service used by the local user, e.g. blob, file.
- permissions String
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource
Name String - The name of resource, normally the container name or the file share name, used by the local user.
- service String
- The service used by the local user, e.g. blob, file.
- permissions string
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource
Name string - The name of resource, normally the container name or the file share name, used by the local user.
- service string
- The service used by the local user, e.g. blob, file.
- permissions str
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource_
name str - The name of resource, normally the container name or the file share name, used by the local user.
- service str
- The service used by the local user, e.g. blob, file.
- permissions String
- The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
- resource
Name String - The name of resource, normally the container name or the file share name, used by the local user.
- service String
- The service used by the local user, e.g. blob, file.
SshPublicKey, SshPublicKeyArgs
- Description string
- Optional. It is used to store the function/usage of the key
- Key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- Description string
- Optional. It is used to store the function/usage of the key
- Key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description String
- Optional. It is used to store the function/usage of the key
- key String
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description string
- Optional. It is used to store the function/usage of the key
- key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description str
- Optional. It is used to store the function/usage of the key
- key str
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description String
- Optional. It is used to store the function/usage of the key
- key String
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
SshPublicKeyResponse, SshPublicKeyResponseArgs
- Description string
- Optional. It is used to store the function/usage of the key
- Key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- Description string
- Optional. It is used to store the function/usage of the key
- Key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description String
- Optional. It is used to store the function/usage of the key
- key String
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description string
- Optional. It is used to store the function/usage of the key
- key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description str
- Optional. It is used to store the function/usage of the key
- key str
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description String
- Optional. It is used to store the function/usage of the key
- key String
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storage:LocalUser user1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0