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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.datashare.getShare
Explore with Pulumi AI
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get a share Azure REST API version: 2021-08-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:
- Account
Name string - The name of the share account.
- Resource
Group stringName - The resource group name.
- string
- The name of the share to retrieve.
- Account
Name string - The name of the share account.
- Resource
Group stringName - The resource group name.
- string
- The name of the share to retrieve.
- account
Name String - The name of the share account.
- resource
Group StringName - The resource group name.
- String
- The name of the share to retrieve.
- account
Name string - The name of the share account.
- resource
Group stringName - The resource group name.
- string
- The name of the share to retrieve.
- account_
name str - The name of the share account.
- resource_
group_ strname - The resource group name.
- str
- The name of the share to retrieve.
- account
Name String - The name of the share account.
- resource
Group StringName - The resource group name.
- String
- The name of the share to retrieve.
getShare Result
The following output properties are available:
- Created
At string - Time at which the share was created.
- Id string
- The resource id of the azure resource
- Name string
- Name of the azure resource
- Provisioning
State string - Gets or sets the provisioning state
- System
Data Pulumi.Azure Native. Data Share. Outputs. System Data Response - System Data of the Azure resource.
- Type string
- Type of the azure resource
- User
Email string - Email of the user who created the resource
- User
Name string - Name of the user who created the resource
- Description string
- Share description.
- string
- Share kind.
- Terms string
- Share terms.
- Created
At string - Time at which the share was created.
- Id string
- The resource id of the azure resource
- Name string
- Name of the azure resource
- Provisioning
State string - Gets or sets the provisioning state
- System
Data SystemData Response - System Data of the Azure resource.
- Type string
- Type of the azure resource
- User
Email string - Email of the user who created the resource
- User
Name string - Name of the user who created the resource
- Description string
- Share description.
- string
- Share kind.
- Terms string
- Share terms.
- created
At String - Time at which the share was created.
- id String
- The resource id of the azure resource
- name String
- Name of the azure resource
- provisioning
State String - Gets or sets the provisioning state
- system
Data SystemData Response - System Data of the Azure resource.
- type String
- Type of the azure resource
- user
Email String - Email of the user who created the resource
- user
Name String - Name of the user who created the resource
- description String
- Share description.
- String
- Share kind.
- terms String
- Share terms.
- created
At string - Time at which the share was created.
- id string
- The resource id of the azure resource
- name string
- Name of the azure resource
- provisioning
State string - Gets or sets the provisioning state
- system
Data SystemData Response - System Data of the Azure resource.
- type string
- Type of the azure resource
- user
Email string - Email of the user who created the resource
- user
Name string - Name of the user who created the resource
- description string
- Share description.
- 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 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
- description str
- Share description.
- str
- Share kind.
- terms str
- Share terms.
- created
At String - Time at which the share was created.
- id String
- The resource id of the azure resource
- name String
- Name of the azure resource
- provisioning
State String - Gets or sets the provisioning state
- system
Data Property Map - System Data of the Azure resource.
- type String
- Type of the azure resource
- user
Email String - Email of the user who created the resource
- user
Name String - Name of the user who created the resource
- description String
- Share description.
- String
- Share kind.
- terms String
- Share terms.
Supporting Types
SystemDataResponse
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 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.
- 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 type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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 v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi