You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usingMK.IO;usingMK.IO.Models;// **********************// MK/IO Client creation// **********************varclient=newMKIOClient("mkiosubscriptionname","mkiotoken");// *******************// storage operations// *******************// Creationvarstorage=client.StorageAccounts.Create(newStorageRequestSchema{Spec=newStorageSchema{Name="amsxpfrstorage",Location="francecentral",Description="my description",AzureStorageConfiguration=newBlobStorageAzureProperties{Url="https://insertyoursasuri"}}});// Listvarstorages=client.StorageAccounts.List();// Getvarstorage2=client.StorageAccounts.Get((Guid)storages.First().Metadata.Id);// Deleteclient.StorageAccounts.Delete((Guid)storages.First().Metadata.Id);// List credentials of a storagevarcredentials=client.StorageAccounts.ListCredentials((Guid)storages.First().Metadata.Id);// Get specific credentialvarcredential=client.StorageAccounts.GetCredential((Guid)storages.First().Metadata.Id,(Guid)credentials.First().Metadata.Id);