getServiceAttachmentComputeV1 function
Future<GetServiceAttachmentComputeV1Result>
getServiceAttachmentComputeV1(
- GetServiceAttachmentComputeV1Args 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<GetServiceAttachmentComputeV1Result> getServiceAttachmentComputeV1(
GetServiceAttachmentComputeV1Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:compute/v1:getServiceAttachment',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetServiceAttachmentComputeV1Result.fromMap(result);
}