getServiceAttachmentComputeBeta function
Future<GetServiceAttachmentComputeBetaResult>
getServiceAttachmentComputeBeta(
- GetServiceAttachmentComputeBetaArgs args, {
- InvokeOptions? options,
Returns the specified ServiceAttachment resource in the given scope.
args Arguments passed to this invoke. Arguments for getServiceAttachment.
options Invoke options controlling this call.
Implementation
Future<GetServiceAttachmentComputeBetaResult> getServiceAttachmentComputeBeta(
GetServiceAttachmentComputeBetaArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:compute/beta:getServiceAttachment',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetServiceAttachmentComputeBetaResult.fromMap(result);
}