Expand description
Manages a Disk Access.
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let example = disk_access::create(
"example",
DiskAccessArgs::builder()
.location("West Europe")
.name("example")
.resource_group_name("example")
.build_struct(),
);
}
§Import
Disk Access resource can be imported using the resource id
, e.g.
$ pulumi import azure:compute/diskAccess:DiskAccess example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Compute/diskAccesses/diskAccess1
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments