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
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:
- Offer
Id string - Id of the offer
- Request
Id string - The name of the publisher.
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Offer
Id string - Id of the offer
- Request
Id string - The name of the publisher.
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- offer
Id String - Id of the offer
- request
Id String - The name of the publisher.
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- offer
Id string - Id of the offer
- request
Id string - The name of the publisher.
- resource
Uri 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.
- offer
Id String - Id of the offer
- request
Id String - The name of the publisher.
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
getOfferAccessToken Result
The following output properties are available:
- Access
Token string - The access token.
- Disk
Id string - The disk id.
- Status string
- The access token creation status.
- Access
Token string - The access token.
- Disk
Id string - The disk id.
- Status string
- The access token creation status.
- access
Token String - The access token.
- disk
Id String - The disk id.
- status String
- The access token creation status.
- access
Token string - The access token.
- disk
Id 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.
- access
Token String - The access token.
- disk
Id String - The disk id.
- status String
- The access token creation status.
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