This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.datashare.getShareSubscription
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Get a shareSubscription in an account
Uses Azure REST API version 2021-08-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)
public static Output<GetShareSubscriptionResult> getShareSubscription(GetShareSubscriptionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:datashare:getShareSubscription
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName string
- The name of the share account.
- ResourceGroup stringName 
- The resource group name.
- string
- The name of the shareSubscription.
- AccountName string
- The name of the share account.
- ResourceGroup stringName 
- The resource group name.
- string
- The name of the shareSubscription.
- accountName String
- The name of the share account.
- resourceGroup StringName 
- The resource group name.
- String
- The name of the shareSubscription.
- accountName string
- The name of the share account.
- resourceGroup stringName 
- The resource group name.
- string
- The name of the shareSubscription.
- account_name str
- The name of the share account.
- resource_group_ strname 
- The resource group name.
- str
- The name of the shareSubscription.
- accountName String
- The name of the share account.
- resourceGroup StringName 
- The resource group name.
- 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
- ProviderTenant stringName 
- Tenant name of the provider who created the resource
- ProvisioningState string
- Provisioning state of the share subscription
- string
- Description of share
- string
- Kind of share
- string
- Name of the share
- string
- Gets the current status of share subscription.
- string
- Terms of a share
- string
- Source share location.
- SystemData Pulumi.Azure Native. Data Share. Outputs. System Data Response 
- 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
- ProviderTenant stringName 
- Tenant name of the provider who created the resource
- ProvisioningState string
- Provisioning state of the share subscription
- string
- Description of share
- string
- Kind of share
- string
- Name of the share
- string
- Gets the current status of share subscription.
- string
- Terms of a share
- string
- Source share location.
- SystemData SystemData Response 
- 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
- providerTenant StringName 
- Tenant name of the provider who created the resource
- provisioningState String
- Provisioning state of the share subscription
- String
- Description of share
- String
- Kind of share
- String
- Name of the share
- String
- Gets the current status of share subscription.
- String
- Terms of a share
- String
- Source share location.
- systemData SystemData Response 
- 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
- providerTenant stringName 
- Tenant name of the provider who created the resource
- provisioningState string
- Provisioning state of the share subscription
- string
- Description of share
- string
- Kind of share
- string
- Name of the share
- string
- Gets the current status of share subscription.
- string
- Terms of a share
- string
- Source share location.
- systemData SystemData Response 
- 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_ strname 
- Tenant name of the provider who created the resource
- provisioning_state str
- Provisioning state of the share subscription
- str
- Description of share
- str
- Kind of share
- str
- Name of the share
- str
- Gets the current status of share subscription.
- str
- Terms of a share
- str
- Source share location.
- system_data SystemData Response 
- 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
- providerTenant StringName 
- Tenant name of the provider who created the resource
- provisioningState String
- Provisioning state of the share subscription
- String
- Description of share
- String
- Kind of share
- String
- Name of the share
- String
- Gets the current status of share subscription.
- String
- Terms of a share
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The type of identity that last modified the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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 type of identity that last modified the resource.
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi