From dd8bbb4dfe5e3e7ef8bfc0a479b0e4eb96dd57a0 Mon Sep 17 00:00:00 2001 From: Vipul Kotkar Date: Wed, 13 Dec 2023 15:59:54 +0530 Subject: [PATCH] Changes to add CNS fault CnsSnapshotCreatedFault --- cns/types/types.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cns/types/types.go b/cns/types/types.go index d493e99c5..d4708bb13 100644 --- a/cns/types/types.go +++ b/cns/types/types.go @@ -619,6 +619,18 @@ func init() { types.Add("CnsSnapshotNotFoundFault", reflect.TypeOf((*CnsSnapshotNotFoundFault)(nil)).Elem()) } +type CnsSnapshotCreatedFault struct { + CnsFault + + VolumeId CnsVolumeId `xml:"volumeId"` + SnapshotId CnsSnapshotId `xml:"snapshotId"` + Datastore types.ManagedObjectReference `xml:"datastore"` +} + +func init() { + types.Add("CnsSnapshotCreatedFault", reflect.TypeOf((*CnsSnapshotCreatedFault)(nil)).Elem()) +} + type CnsConfigureVolumeACLs CnsConfigureVolumeACLsRequestType func init() {