1. Packages
  2. Azure Native v1
  3. API Docs
  4. datashare
  5. getShare
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.datashare.getShare

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get a share API Version: 2020-09-01.

    Using getShare

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getShare(args: GetShareArgs, opts?: InvokeOptions): Promise<GetShareResult>
    function getShareOutput(args: GetShareOutputArgs, opts?: InvokeOptions): Output<GetShareResult>
    def get_share(account_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  share_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetShareResult
    def get_share_output(account_name: Optional[pulumi.Input[str]] = None,
                  resource_group_name: Optional[pulumi.Input[str]] = None,
                  share_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetShareResult]
    func LookupShare(ctx *Context, args *LookupShareArgs, opts ...InvokeOption) (*LookupShareResult, error)
    func LookupShareOutput(ctx *Context, args *LookupShareOutputArgs, opts ...InvokeOption) LookupShareResultOutput

    > Note: This function is named LookupShare in the Go SDK.

    public static class GetShare 
    {
        public static Task<GetShareResult> InvokeAsync(GetShareArgs args, InvokeOptions? opts = null)
        public static Output<GetShareResult> Invoke(GetShareInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetShareResult> getShare(GetShareArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datashare:getShare
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    The name of the share account.
    ResourceGroupName string
    The resource group name.
    ShareName string
    The name of the share to retrieve.
    AccountName string
    The name of the share account.
    ResourceGroupName string
    The resource group name.
    ShareName string
    The name of the share to retrieve.
    accountName String
    The name of the share account.
    resourceGroupName String
    The resource group name.
    shareName String
    The name of the share to retrieve.
    accountName string
    The name of the share account.
    resourceGroupName string
    The resource group name.
    shareName string
    The name of the share to retrieve.
    account_name str
    The name of the share account.
    resource_group_name str
    The resource group name.
    share_name str
    The name of the share to retrieve.
    accountName String
    The name of the share account.
    resourceGroupName String
    The resource group name.
    shareName String
    The name of the share to retrieve.

    getShare Result

    The following output properties are available:

    CreatedAt string
    Time at which the share was created.
    Id string
    The resource id of the azure resource
    Name string
    Name of the azure resource
    ProvisioningState string
    Gets or sets the provisioning state
    SystemData Pulumi.AzureNative.DataShare.Outputs.SystemDataResponse
    System Data of the Azure resource.
    Type string
    Type of the azure resource
    UserEmail string
    Email of the user who created the resource
    UserName string
    Name of the user who created the resource
    Description string
    Share description.
    ShareKind string
    Share kind.
    Terms string
    Share terms.
    CreatedAt string
    Time at which the share was created.
    Id string
    The resource id of the azure resource
    Name string
    Name of the azure resource
    ProvisioningState string
    Gets or sets the provisioning state
    SystemData SystemDataResponse
    System Data of the Azure resource.
    Type string
    Type of the azure resource
    UserEmail string
    Email of the user who created the resource
    UserName string
    Name of the user who created the resource
    Description string
    Share description.
    ShareKind string
    Share kind.
    Terms string
    Share terms.
    createdAt String
    Time at which the share was created.
    id String
    The resource id of the azure resource
    name String
    Name of the azure resource
    provisioningState String
    Gets or sets the provisioning state
    systemData SystemDataResponse
    System Data of the Azure resource.
    type String
    Type of the azure resource
    userEmail String
    Email of the user who created the resource
    userName String
    Name of the user who created the resource
    description String
    Share description.
    shareKind String
    Share kind.
    terms String
    Share terms.
    createdAt string
    Time at which the share was created.
    id string
    The resource id of the azure resource
    name string
    Name of the azure resource
    provisioningState string
    Gets or sets the provisioning state
    systemData SystemDataResponse
    System Data of the Azure resource.
    type string
    Type of the azure resource
    userEmail string
    Email of the user who created the resource
    userName string
    Name of the user who created the resource
    description string
    Share description.
    shareKind string
    Share kind.
    terms string
    Share terms.
    created_at str
    Time at which the share was created.
    id str
    The resource id of the azure resource
    name str
    Name of the azure resource
    provisioning_state str
    Gets or sets the provisioning state
    system_data SystemDataResponse
    System Data of the Azure resource.
    type str
    Type of the azure resource
    user_email str
    Email of the user who created the resource
    user_name str
    Name of the user who created the resource
    description str
    Share description.
    share_kind str
    Share kind.
    terms str
    Share terms.
    createdAt String
    Time at which the share was created.
    id String
    The resource id of the azure resource
    name String
    Name of the azure resource
    provisioningState String
    Gets or sets the provisioning state
    systemData Property Map
    System Data of the Azure resource.
    type String
    Type of the azure resource
    userEmail String
    Email of the user who created the resource
    userName String
    Name of the user who created the resource
    description String
    Share description.
    shareKind String
    Share kind.
    terms String
    Share terms.

    Supporting Types

    SystemDataResponse

    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi