1. Packages
  2. Azure Native v2
  3. API Docs
  4. edgemarketplace
  5. getOfferAccessToken
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.edgemarketplace.getOfferAccessToken

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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>
Copy
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]
Copy
func GetOfferAccessToken(ctx *Context, args *GetOfferAccessTokenArgs, opts ...InvokeOption) (*GetOfferAccessTokenResult, error)
func GetOfferAccessTokenOutput(ctx *Context, args *GetOfferAccessTokenOutputArgs, opts ...InvokeOption) GetOfferAccessTokenResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetOfferAccessTokenResult> getOfferAccessToken(GetOfferAccessTokenArgs args, InvokeOptions options)
public static Output<GetOfferAccessTokenResult> getOfferAccessToken(GetOfferAccessTokenArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:edgemarketplace:getOfferAccessToken
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OfferId
This property is required.
Changes to this property will trigger replacement.
string
Id of the offer
RequestId This property is required. string
The name of the publisher.
ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified Azure Resource manager identifier of the resource.
OfferId
This property is required.
Changes to this property will trigger replacement.
string
Id of the offer
RequestId This property is required. string
The name of the publisher.
ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified Azure Resource manager identifier of the resource.
offerId
This property is required.
Changes to this property will trigger replacement.
String
Id of the offer
requestId This property is required. String
The name of the publisher.
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified Azure Resource manager identifier of the resource.
offerId
This property is required.
Changes to this property will trigger replacement.
string
Id of the offer
requestId This property is required. string
The name of the publisher.
resourceUri
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified Azure Resource manager identifier of the resource.
offer_id
This property is required.
Changes to this property will trigger replacement.
str
Id of the offer
request_id This property is required. str
The name of the publisher.
resource_uri
This property is required.
Changes to this property will trigger replacement.
str
The fully qualified Azure Resource manager identifier of the resource.
offerId
This property is required.
Changes to this property will trigger replacement.
String
Id of the offer
requestId This property is required. String
The name of the publisher.
resourceUri
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi