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