1. Packages
  2. Azure Native v1
  3. API Docs
  4. datashare
  5. getShareSubscription
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.getShareSubscription

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 shareSubscription in an account API Version: 2020-09-01.

    Using getShareSubscription

    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 getShareSubscription(args: GetShareSubscriptionArgs, opts?: InvokeOptions): Promise<GetShareSubscriptionResult>
    function getShareSubscriptionOutput(args: GetShareSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetShareSubscriptionResult>
    def get_share_subscription(account_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               share_subscription_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetShareSubscriptionResult
    def get_share_subscription_output(account_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               share_subscription_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetShareSubscriptionResult]
    func LookupShareSubscription(ctx *Context, args *LookupShareSubscriptionArgs, opts ...InvokeOption) (*LookupShareSubscriptionResult, error)
    func LookupShareSubscriptionOutput(ctx *Context, args *LookupShareSubscriptionOutputArgs, opts ...InvokeOption) LookupShareSubscriptionResultOutput

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

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

    The following arguments are supported:

    AccountName string
    The name of the share account.
    ResourceGroupName string
    The resource group name.
    ShareSubscriptionName string
    The name of the shareSubscription.
    AccountName string
    The name of the share account.
    ResourceGroupName string
    The resource group name.
    ShareSubscriptionName string
    The name of the shareSubscription.
    accountName String
    The name of the share account.
    resourceGroupName String
    The resource group name.
    shareSubscriptionName String
    The name of the shareSubscription.
    accountName string
    The name of the share account.
    resourceGroupName string
    The resource group name.
    shareSubscriptionName string
    The name of the shareSubscription.
    account_name str
    The name of the share account.
    resource_group_name str
    The resource group name.
    share_subscription_name str
    The name of the shareSubscription.
    accountName String
    The name of the share account.
    resourceGroupName String
    The resource group name.
    shareSubscriptionName String
    The name of the shareSubscription.

    getShareSubscription Result

    The following output properties are available:

    CreatedAt string
    Time at which the share subscription was created.
    Id string
    The resource id of the azure resource
    InvitationId string
    The invitation id.
    Name string
    Name of the azure resource
    ProviderEmail string
    Email of the provider who created the resource
    ProviderName string
    Name of the provider who created the resource
    ProviderTenantName string
    Tenant name of the provider who created the resource
    ProvisioningState string
    Provisioning state of the share subscription
    ShareDescription string
    Description of share
    ShareKind string
    Kind of share
    ShareName string
    Name of the share
    ShareSubscriptionStatus string
    Gets the current status of share subscription.
    ShareTerms string
    Terms of a share
    SourceShareLocation string
    Source share location.
    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
    ExpirationDate string
    The expiration date of the share subscription.
    CreatedAt string
    Time at which the share subscription was created.
    Id string
    The resource id of the azure resource
    InvitationId string
    The invitation id.
    Name string
    Name of the azure resource
    ProviderEmail string
    Email of the provider who created the resource
    ProviderName string
    Name of the provider who created the resource
    ProviderTenantName string
    Tenant name of the provider who created the resource
    ProvisioningState string
    Provisioning state of the share subscription
    ShareDescription string
    Description of share
    ShareKind string
    Kind of share
    ShareName string
    Name of the share
    ShareSubscriptionStatus string
    Gets the current status of share subscription.
    ShareTerms string
    Terms of a share
    SourceShareLocation string
    Source share location.
    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
    ExpirationDate string
    The expiration date of the share subscription.
    createdAt String
    Time at which the share subscription was created.
    id String
    The resource id of the azure resource
    invitationId String
    The invitation id.
    name String
    Name of the azure resource
    providerEmail String
    Email of the provider who created the resource
    providerName String
    Name of the provider who created the resource
    providerTenantName String
    Tenant name of the provider who created the resource
    provisioningState String
    Provisioning state of the share subscription
    shareDescription String
    Description of share
    shareKind String
    Kind of share
    shareName String
    Name of the share
    shareSubscriptionStatus String
    Gets the current status of share subscription.
    shareTerms String
    Terms of a share
    sourceShareLocation String
    Source share location.
    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
    expirationDate String
    The expiration date of the share subscription.
    createdAt string
    Time at which the share subscription was created.
    id string
    The resource id of the azure resource
    invitationId string
    The invitation id.
    name string
    Name of the azure resource
    providerEmail string
    Email of the provider who created the resource
    providerName string
    Name of the provider who created the resource
    providerTenantName string
    Tenant name of the provider who created the resource
    provisioningState string
    Provisioning state of the share subscription
    shareDescription string
    Description of share
    shareKind string
    Kind of share
    shareName string
    Name of the share
    shareSubscriptionStatus string
    Gets the current status of share subscription.
    shareTerms string
    Terms of a share
    sourceShareLocation string
    Source share location.
    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
    expirationDate string
    The expiration date of the share subscription.
    created_at str
    Time at which the share subscription was created.
    id str
    The resource id of the azure resource
    invitation_id str
    The invitation id.
    name str
    Name of the azure resource
    provider_email str
    Email of the provider who created the resource
    provider_name str
    Name of the provider who created the resource
    provider_tenant_name str
    Tenant name of the provider who created the resource
    provisioning_state str
    Provisioning state of the share subscription
    share_description str
    Description of share
    share_kind str
    Kind of share
    share_name str
    Name of the share
    share_subscription_status str
    Gets the current status of share subscription.
    share_terms str
    Terms of a share
    source_share_location str
    Source share location.
    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
    expiration_date str
    The expiration date of the share subscription.
    createdAt String
    Time at which the share subscription was created.
    id String
    The resource id of the azure resource
    invitationId String
    The invitation id.
    name String
    Name of the azure resource
    providerEmail String
    Email of the provider who created the resource
    providerName String
    Name of the provider who created the resource
    providerTenantName String
    Tenant name of the provider who created the resource
    provisioningState String
    Provisioning state of the share subscription
    shareDescription String
    Description of share
    shareKind String
    Kind of share
    shareName String
    Name of the share
    shareSubscriptionStatus String
    Gets the current status of share subscription.
    shareTerms String
    Terms of a share
    sourceShareLocation String
    Source share location.
    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
    expirationDate String
    The expiration date of the share subscription.

    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