1. Packages
  2. Azure Native
  3. API Docs
  4. storage
  5. LocalUser
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.storage.LocalUser

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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:

    AccountName 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.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    HasSharedKey bool
    Indicates whether shared key exists. Set it to false to remove existing shared key.
    HasSshKey bool
    Indicates whether ssh key exists. Set it to false to remove existing SSH key.
    HasSshPassword bool
    Indicates whether ssh password exists. Set it to false to remove existing SSH password.
    HomeDirectory string
    Optional, local user home directory.
    PermissionScopes List<Pulumi.AzureNative.Storage.Inputs.PermissionScope>
    The permission scopes of the local user.
    SshAuthorizedKeys List<Pulumi.AzureNative.Storage.Inputs.SshPublicKey>
    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.
    AccountName 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.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    HasSharedKey bool
    Indicates whether shared key exists. Set it to false to remove existing shared key.
    HasSshKey bool
    Indicates whether ssh key exists. Set it to false to remove existing SSH key.
    HasSshPassword bool
    Indicates whether ssh password exists. Set it to false to remove existing SSH password.
    HomeDirectory string
    Optional, local user home directory.
    PermissionScopes []PermissionScopeArgs
    The permission scopes of the local user.
    SshAuthorizedKeys []SshPublicKeyArgs
    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.
    accountName 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.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    hasSharedKey Boolean
    Indicates whether shared key exists. Set it to false to remove existing shared key.
    hasSshKey Boolean
    Indicates whether ssh key exists. Set it to false to remove existing SSH key.
    hasSshPassword Boolean
    Indicates whether ssh password exists. Set it to false to remove existing SSH password.
    homeDirectory String
    Optional, local user home directory.
    permissionScopes List<PermissionScope>
    The permission scopes of the local user.
    sshAuthorizedKeys List<SshPublicKey>
    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.
    accountName 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.
    resourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    hasSharedKey boolean
    Indicates whether shared key exists. Set it to false to remove existing shared key.
    hasSshKey boolean
    Indicates whether ssh key exists. Set it to false to remove existing SSH key.
    hasSshPassword boolean
    Indicates whether ssh password exists. Set it to false to remove existing SSH password.
    homeDirectory string
    Optional, local user home directory.
    permissionScopes PermissionScope[]
    The permission scopes of the local user.
    sshAuthorizedKeys SshPublicKey[]
    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_name str
    The name of the resource group within the user's subscription. The name is case insensitive.
    has_shared_key bool
    Indicates whether shared key exists. Set it to false to remove existing shared key.
    has_ssh_key bool
    Indicates whether ssh key exists. Set it to false to remove existing SSH key.
    has_ssh_password bool
    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[PermissionScopeArgs]
    The permission scopes of the local user.
    ssh_authorized_keys Sequence[SshPublicKeyArgs]
    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.
    accountName 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.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    hasSharedKey Boolean
    Indicates whether shared key exists. Set it to false to remove existing shared key.
    hasSshKey Boolean
    Indicates whether ssh key exists. Set it to false to remove existing SSH key.
    hasSshPassword Boolean
    Indicates whether ssh password exists. Set it to false to remove existing SSH password.
    homeDirectory String
    Optional, local user home directory.
    permissionScopes List<Property Map>
    The permission scopes of the local user.
    sshAuthorizedKeys 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.
    SystemData Pulumi.AzureNative.Storage.Outputs.SystemDataResponse
    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.
    SystemData SystemDataResponse
    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.
    systemData SystemDataResponse
    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.
    systemData SystemDataResponse
    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 SystemDataResponse
    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.
    systemData 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).
    ResourceName 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).
    ResourceName 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).
    resourceName 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).
    resourceName 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).
    resourceName 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).
    ResourceName 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).
    ResourceName 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).
    resourceName 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).
    resourceName 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).
    resourceName 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

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi