1. Packages
  2. Azure Native
  3. API Docs
  4. edgemarketplace
  5. getOfferAccessToken
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.edgemarketplace.getOfferAccessToken

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    get access token. Azure REST API version: 2023-08-01-preview.

    Other available API versions: 2023-08-01.

    Using getOfferAccessToken

    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 getOfferAccessToken(args: GetOfferAccessTokenArgs, opts?: InvokeOptions): Promise<GetOfferAccessTokenResult>
    function getOfferAccessTokenOutput(args: GetOfferAccessTokenOutputArgs, opts?: InvokeOptions): Output<GetOfferAccessTokenResult>
    def get_offer_access_token(offer_id: Optional[str] = None,
                               request_id: Optional[str] = None,
                               resource_uri: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetOfferAccessTokenResult
    def get_offer_access_token_output(offer_id: Optional[pulumi.Input[str]] = None,
                               request_id: Optional[pulumi.Input[str]] = None,
                               resource_uri: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetOfferAccessTokenResult]
    func GetOfferAccessToken(ctx *Context, args *GetOfferAccessTokenArgs, opts ...InvokeOption) (*GetOfferAccessTokenResult, error)
    func GetOfferAccessTokenOutput(ctx *Context, args *GetOfferAccessTokenOutputArgs, opts ...InvokeOption) GetOfferAccessTokenResultOutput

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

    public static class GetOfferAccessToken 
    {
        public static Task<GetOfferAccessTokenResult> InvokeAsync(GetOfferAccessTokenArgs args, InvokeOptions? opts = null)
        public static Output<GetOfferAccessTokenResult> Invoke(GetOfferAccessTokenInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOfferAccessTokenResult> getOfferAccessToken(GetOfferAccessTokenArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:edgemarketplace:getOfferAccessToken
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OfferId string
    Id of the offer
    RequestId string
    The name of the publisher.
    ResourceUri string
    The fully qualified Azure Resource manager identifier of the resource.
    OfferId string
    Id of the offer
    RequestId string
    The name of the publisher.
    ResourceUri string
    The fully qualified Azure Resource manager identifier of the resource.
    offerId String
    Id of the offer
    requestId String
    The name of the publisher.
    resourceUri String
    The fully qualified Azure Resource manager identifier of the resource.
    offerId string
    Id of the offer
    requestId string
    The name of the publisher.
    resourceUri string
    The fully qualified Azure Resource manager identifier of the resource.
    offer_id str
    Id of the offer
    request_id str
    The name of the publisher.
    resource_uri str
    The fully qualified Azure Resource manager identifier of the resource.
    offerId String
    Id of the offer
    requestId String
    The name of the publisher.
    resourceUri String
    The fully qualified Azure Resource manager identifier of the resource.

    getOfferAccessToken Result

    The following output properties are available:

    AccessToken string
    The access token.
    DiskId string
    The disk id.
    Status string
    The access token creation status.
    AccessToken string
    The access token.
    DiskId string
    The disk id.
    Status string
    The access token creation status.
    accessToken String
    The access token.
    diskId String
    The disk id.
    status String
    The access token creation status.
    accessToken string
    The access token.
    diskId string
    The disk id.
    status string
    The access token creation status.
    access_token str
    The access token.
    disk_id str
    The disk id.
    status str
    The access token creation status.
    accessToken String
    The access token.
    diskId String
    The disk id.
    status String
    The access token creation status.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi