getMpaAccountScope

Use this data source to access an ID for your MPA Account billing scope.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.billing.BillingFunctions;
import com.pulumi.azure.billing.inputs.GetMpaAccountScopeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = BillingFunctions.getMpaAccountScope(GetMpaAccountScopeArgs.builder()
.billingAccountName("e879cf0f-2b4d-5431-109a-f72fc9868693:024cabf4-7321-4cf9-be59-df0c77ca51de_2019-05-31")
.customerName("2281f543-7321-4cf9-1e23-edb4Oc31a31c")
.build());
ctx.export("id", example.applyValue(getMpaAccountScopeResult -> getMpaAccountScopeResult.id()));
}
}

Return

A collection of values returned by getMpaAccountScope.

Parameters

argument

A collection of arguments for invoking getMpaAccountScope.


suspend fun getMpaAccountScope(billingAccountName: String, customerName: String): GetMpaAccountScopeResult

Return

A collection of values returned by getMpaAccountScope.

See also

Parameters

billingAccountName

The Billing Account Name of the MPA account.

customerName

The Customer Name in the above Billing Account.


Return

A collection of values returned by getMpaAccountScope.

See also

Parameters

argument

Builder for com.pulumi.azure.billing.kotlin.inputs.GetMpaAccountScopePlainArgs.