Updates berbagi properti seperti yang ditentukan dalam isi permintaan. Properti yang tidak disebutkan dalam permintaan tidak akan diubah. Pembaruan gagal jika berbagi yang ditentukan belum ada.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}?api-version=2023-01-01
Parameter URI
Nama |
Dalam |
Diperlukan |
Jenis |
Deskripsi |
accountName
|
path |
True
|
string
|
Nama akun penyimpanan dalam grup sumber daya yang ditentukan. Nama akun penyimpanan harus sepanjang antara 3 dan 24 karakter dan hanya menggunakan angka dan huruf kecil.
Regex pattern: ^[a-z0-9]+$
|
resourceGroupName
|
path |
True
|
string
|
Nama grup sumber daya dalam langganan pengguna. Nama tidak peka huruf besar/kecil.
Regex pattern: ^[-\w\._\(\)]+$
|
shareName
|
path |
True
|
string
|
Nama berbagi file dalam akun penyimpanan yang ditentukan. Panjang nama berbagi file harus antara 3 dan 63 karakter dan menggunakan angka, huruf kecil dan tanda hubung (-) saja. Setiap karakter tanda hubung (-) harus segera didahului dan diikuti dengan huruf atau angka.
|
subscriptionId
|
path |
True
|
string
|
ID langganan target.
|
api-version
|
query |
True
|
string
|
Versi API yang digunakan untuk operasi ini.
|
Isi Permintaan
Nama |
Jenis |
Deskripsi |
properties.accessTier
|
ShareAccessTier
|
Tingkat akses untuk berbagi tertentu. Akun GpV2 dapat memilih antara TransactionOptimized (default), Hot, dan Cool. Akun FileStorage dapat memilih Premium.
|
properties.enabledProtocols
|
EnabledProtocols
|
Protokol autentikasi yang digunakan untuk berbagi file. Hanya dapat ditentukan saat membuat berbagi.
|
properties.metadata
|
object
|
Pasangan nama-nilai untuk dikaitkan dengan berbagi sebagai metadata.
|
properties.rootSquash
|
RootSquashType
|
Properti hanya untuk berbagi NFS. Defaultnya adalah NoRootSquash.
|
properties.shareQuota
|
integer
|
Ukuran maksimum berbagi, dalam gigabyte. Harus lebih besar dari 0, dan kurang dari atau sama dengan 5TB (5120). Untuk Berbagi File Besar, ukuran maksimumnya adalah 102400.
|
properties.signedIdentifiers
|
SignedIdentifier[]
|
Daftar kebijakan akses tersimpan yang ditentukan pada berbagi.
|
Respons
Nama |
Jenis |
Deskripsi |
200 OK
|
FileShare
|
OK -- Operasi Perbarui Berbagi berhasil diselesaikan.
|
Other Status Codes
|
CloudError
|
Respons kesalahan yang menjelaskan mengapa operasi gagal.
|
Keamanan
azure_auth
Alur OAuth2 Azure Active Directory
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Nama |
Deskripsi |
user_impersonation
|
meniru akun pengguna Anda
|
Contoh
UpdateShareAcls
Sample Request
PATCH https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185?api-version=2023-01-01
{
"properties": {
"signedIdentifiers": [
{
"id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
"accessPolicy": {
"startTime": "2021-04-01T08:49:37.0000000Z",
"expiryTime": "2021-05-01T08:49:37.0000000Z",
"permission": "rwd"
}
}
]
}
}
import com.azure.resourcemanager.storage.fluent.models.FileShareInner;
import com.azure.resourcemanager.storage.models.AccessPolicy;
import com.azure.resourcemanager.storage.models.SignedIdentifier;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/** Samples for FileShares Update. */
public final class Main {
/*
* x-ms-original-file:
* specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileShareAclsPatch.json
*/
/**
* Sample code: UpdateShareAcls.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void updateShareAcls(com.azure.resourcemanager.AzureResourceManager azure) {
azure.storageAccounts().manager().serviceClient().getFileShares().updateWithResponse("res3376", "sto328",
"share6185",
new FileShareInner().withSignedIdentifiers(Arrays.asList(new SignedIdentifier()
.withId("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI")
.withAccessPolicy(new AccessPolicy().withStartTime(OffsetDateTime.parse("2021-04-01T08:49:37.0000000Z"))
.withExpiryTime(OffsetDateTime.parse("2021-05-01T08:49:37.0000000Z")).withPermission("rwd")))),
com.azure.core.util.Context.NONE);
}
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
for (int i = 0; i < inputs.length; i += 2) {
String key = (String) inputs[i];
T value = (T) inputs[i + 1];
map.put(key, value);
}
return map;
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.storage import StorageManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-storage
# USAGE
python file_share_acls_patch.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = StorageManagementClient(
credential=DefaultAzureCredential(),
subscription_id="{subscription-id}",
)
response = client.file_shares.update(
resource_group_name="res3376",
account_name="sto328",
share_name="share6185",
file_share={
"properties": {
"signedIdentifiers": [
{
"accessPolicy": {
"expiryTime": "2021-05-01T08:49:37.0000000Z",
"permission": "rwd",
"startTime": "2021-04-01T08:49:37.0000000Z",
},
"id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
}
]
}
},
)
print(response)
# x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileShareAclsPatch.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armstorage_test
import (
"context"
"log"
"time"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0baf811c3c76c87b3c127d098519bd97141222dd/specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileShareAclsPatch.json
func ExampleFileSharesClient_Update_updateShareAcls() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armstorage.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewFileSharesClient().Update(ctx, "res3376", "sto328", "share6185", armstorage.FileShare{
FileShareProperties: &armstorage.FileShareProperties{
SignedIdentifiers: []*armstorage.SignedIdentifier{
{
AccessPolicy: &armstorage.AccessPolicy{
ExpiryTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T08:49:37.000Z"); return t }()),
Permission: to.Ptr("rwd"),
StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-04-01T08:49:37.000Z"); return t }()),
},
ID: to.Ptr("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"),
}},
},
}, nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.FileShare = armstorage.FileShare{
// Name: to.Ptr("share6185"),
// Type: to.Ptr("Microsoft.Storage/storageAccounts/fileServices/shares"),
// ID: to.Ptr("/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185"),
// FileShareProperties: &armstorage.FileShareProperties{
// SignedIdentifiers: []*armstorage.SignedIdentifier{
// {
// AccessPolicy: &armstorage.AccessPolicy{
// ExpiryTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T08:49:37.000Z"); return t}()),
// Permission: to.Ptr("rwd"),
// StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-04-01T08:49:37.000Z"); return t}()),
// },
// ID: to.Ptr("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"),
// }},
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { StorageManagementClient } = require("@azure/arm-storage");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
*
* @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileShareAclsPatch.json
*/
async function updateShareAcls() {
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res3376";
const accountName = "sto328";
const shareName = "share6185";
const fileShare = {
signedIdentifiers: [
{
accessPolicy: {
expiryTime: new Date("2021-05-01T08:49:37.0000000Z"),
permission: "rwd",
startTime: new Date("2021-04-01T08:49:37.0000000Z"),
},
id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
},
],
};
const credential = new DefaultAzureCredential();
const client = new StorageManagementClient(credential, subscriptionId);
const result = await client.fileShares.update(
resourceGroupName,
accountName,
shareName,
fileShare
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Sample Response
{
"id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185",
"name": "share6185",
"type": "Microsoft.Storage/storageAccounts/fileServices/shares",
"properties": {
"signedIdentifiers": [
{
"id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
"accessPolicy": {
"startTime": "2021-04-01T08:49:37.0000000Z",
"expiryTime": "2021-05-01T08:49:37.0000000Z",
"permission": "rwd"
}
}
]
}
}
UpdateShares
Sample Request
PATCH https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185?api-version=2023-01-01
{
"properties": {
"metadata": {
"type": "image"
}
}
}
import com.azure.resourcemanager.storage.fluent.models.FileShareInner;
import java.util.HashMap;
import java.util.Map;
/** Samples for FileShares Update. */
public final class Main {
/*
* x-ms-original-file:
* specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPatch.json
*/
/**
* Sample code: UpdateShares.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void updateShares(com.azure.resourcemanager.AzureResourceManager azure) {
azure.storageAccounts().manager().serviceClient().getFileShares().updateWithResponse("res3376", "sto328",
"share6185", new FileShareInner().withMetadata(mapOf("type", "image")), com.azure.core.util.Context.NONE);
}
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
for (int i = 0; i < inputs.length; i += 2) {
String key = (String) inputs[i];
T value = (T) inputs[i + 1];
map.put(key, value);
}
return map;
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.storage import StorageManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-storage
# USAGE
python file_shares_patch.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = StorageManagementClient(
credential=DefaultAzureCredential(),
subscription_id="{subscription-id}",
)
response = client.file_shares.update(
resource_group_name="res3376",
account_name="sto328",
share_name="share6185",
file_share={"properties": {"metadata": {"type": "image"}}},
)
print(response)
# x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPatch.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armstorage_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0baf811c3c76c87b3c127d098519bd97141222dd/specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPatch.json
func ExampleFileSharesClient_Update_updateShares() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armstorage.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewFileSharesClient().Update(ctx, "res3376", "sto328", "share6185", armstorage.FileShare{
FileShareProperties: &armstorage.FileShareProperties{
Metadata: map[string]*string{
"type": to.Ptr("image"),
},
},
}, nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.FileShare = armstorage.FileShare{
// Name: to.Ptr("share6185"),
// Type: to.Ptr("Microsoft.Storage/storageAccounts/fileServices/shares"),
// ID: to.Ptr("/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185"),
// FileShareProperties: &armstorage.FileShareProperties{
// Metadata: map[string]*string{
// "type": to.Ptr("image"),
// },
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { StorageManagementClient } = require("@azure/arm-storage");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
*
* @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPatch.json
*/
async function updateShares() {
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res3376";
const accountName = "sto328";
const shareName = "share6185";
const fileShare = { metadata: { type: "image" } };
const credential = new DefaultAzureCredential();
const client = new StorageManagementClient(credential, subscriptionId);
const result = await client.fileShares.update(
resourceGroupName,
accountName,
shareName,
fileShare
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Sample Response
{
"id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185",
"name": "share6185",
"type": "Microsoft.Storage/storageAccounts/fileServices/shares",
"properties": {
"metadata": {
"type": "image"
}
}
}
Definisi
Nama |
Deskripsi |
AccessPolicy
|
|
CloudError
|
Respons kesalahan dari layanan Penyimpanan.
|
CloudErrorBody
|
Respons kesalahan dari layanan Penyimpanan.
|
EnabledProtocols
|
Protokol autentikasi yang digunakan untuk berbagi file. Hanya dapat ditentukan saat membuat berbagi.
|
FileShare
|
Properti berbagi file, termasuk Id, nama sumber daya, jenis sumber daya, Etag.
|
LeaseDuration
|
Menentukan apakah sewa pada berbagi memiliki durasi tak terbatas atau tetap, hanya ketika berbagi disewakan.
|
LeaseState
|
Status sewa berbagi.
|
LeaseStatus
|
Status sewa berbagi.
|
RootSquashType
|
Properti hanya untuk berbagi NFS. Defaultnya adalah NoRootSquash.
|
ShareAccessTier
|
Tingkat akses untuk berbagi tertentu. Akun GpV2 dapat memilih antara TransactionOptimized (default), Hot, dan Cool. Akun FileStorage dapat memilih Premium.
|
SignedIdentifier
|
|
AccessPolicy
Nama |
Jenis |
Deskripsi |
expiryTime
|
string
|
Waktu kedaluwarsa kebijakan akses
|
permission
|
string
|
Daftar izin yang disingkat.
|
startTime
|
string
|
Waktu mulai kebijakan akses
|
CloudError
Respons kesalahan dari layanan Penyimpanan.
Nama |
Jenis |
Deskripsi |
error
|
CloudErrorBody
|
Respons kesalahan dari layanan Penyimpanan.
|
CloudErrorBody
Respons kesalahan dari layanan Penyimpanan.
Nama |
Jenis |
Deskripsi |
code
|
string
|
Pengidentifikasi untuk kesalahan. Kode tidak berubah dan dimaksudkan untuk dikonsumsi secara terprogram.
|
details
|
CloudErrorBody[]
|
Daftar detail tambahan tentang kesalahan.
|
message
|
string
|
Pesan yang menjelaskan kesalahan, dimaksudkan agar cocok untuk ditampilkan di antarmuka pengguna.
|
target
|
string
|
Target kesalahan tertentu. Misalnya, nama properti dalam kesalahan.
|
EnabledProtocols
Protokol autentikasi yang digunakan untuk berbagi file. Hanya dapat ditentukan saat membuat berbagi.
Nama |
Jenis |
Deskripsi |
NFS
|
string
|
|
SMB
|
string
|
|
FileShare
Properti berbagi file, termasuk Id, nama sumber daya, jenis sumber daya, Etag.
Nama |
Jenis |
Deskripsi |
etag
|
string
|
Sumber Daya Etag.
|
id
|
string
|
ID sumber daya yang sepenuhnya memenuhi syarat untuk sumber daya. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
name
|
string
|
Nama sumber daya.
|
properties.accessTier
|
ShareAccessTier
|
Tingkat akses untuk berbagi tertentu. Akun GpV2 dapat memilih antara TransactionOptimized (default), Hot, dan Cool. Akun FileStorage dapat memilih Premium.
|
properties.accessTierChangeTime
|
string
|
Menunjukkan waktu modifikasi terakhir untuk tingkat akses berbagi.
|
properties.accessTierStatus
|
string
|
Menunjukkan apakah ada transisi yang tertunda untuk tingkat akses.
|
properties.deleted
|
boolean
|
Menunjukkan apakah berbagi telah dihapus.
|
properties.deletedTime
|
string
|
Waktu yang dihapus jika berbagi dihapus.
|
properties.enabledProtocols
|
EnabledProtocols
|
Protokol autentikasi yang digunakan untuk berbagi file. Hanya dapat ditentukan saat membuat berbagi.
|
properties.lastModifiedTime
|
string
|
Mengembalikan tanggal dan waktu berbagi terakhir diubah.
|
properties.leaseDuration
|
LeaseDuration
|
Menentukan apakah sewa pada berbagi memiliki durasi tak terbatas atau tetap, hanya ketika berbagi disewakan.
|
properties.leaseState
|
LeaseState
|
Status sewa berbagi.
|
properties.leaseStatus
|
LeaseStatus
|
Status sewa berbagi.
|
properties.metadata
|
object
|
Pasangan nama-nilai untuk dikaitkan dengan berbagi sebagai metadata.
|
properties.remainingRetentionDays
|
integer
|
Sisa hari retensi untuk berbagi yang dihapus sementara.
|
properties.rootSquash
|
RootSquashType
|
Properti hanya untuk berbagi NFS. Defaultnya adalah NoRootSquash.
|
properties.shareQuota
|
integer
|
Ukuran maksimum berbagi, dalam gigabyte. Harus lebih besar dari 0, dan kurang dari atau sama dengan 5TB (5120). Untuk Berbagi File Besar, ukuran maksimumnya adalah 102400.
|
properties.shareUsageBytes
|
integer
|
Perkiraan ukuran data yang disimpan pada berbagi. Perhatikan bahwa nilai ini mungkin tidak menyertakan semua file yang baru dibuat atau baru-baru ini diubah ukurannya.
|
properties.signedIdentifiers
|
SignedIdentifier[]
|
Daftar kebijakan akses tersimpan yang ditentukan pada berbagi.
|
properties.snapshotTime
|
string
|
Waktu pembuatan rekam jepret berbagi dikembalikan dalam respons pembagian daftar dengan "rekam jepret" param yang diperluas.
|
properties.version
|
string
|
Versi berbagi.
|
type
|
string
|
Jenis sumber daya. Misalnya "Microsoft.Compute/virtualMachines" atau "Microsoft.Storage/storageAccounts"
|
LeaseDuration
Menentukan apakah sewa pada berbagi memiliki durasi tak terbatas atau tetap, hanya ketika berbagi disewakan.
Nama |
Jenis |
Deskripsi |
Fixed
|
string
|
|
Infinite
|
string
|
|
LeaseState
Status sewa berbagi.
Nama |
Jenis |
Deskripsi |
Available
|
string
|
|
Breaking
|
string
|
|
Broken
|
string
|
|
Expired
|
string
|
|
Leased
|
string
|
|
LeaseStatus
Status sewa berbagi.
Nama |
Jenis |
Deskripsi |
Locked
|
string
|
|
Unlocked
|
string
|
|
RootSquashType
Properti hanya untuk berbagi NFS. Defaultnya adalah NoRootSquash.
Nama |
Jenis |
Deskripsi |
AllSquash
|
string
|
|
NoRootSquash
|
string
|
|
RootSquash
|
string
|
|
ShareAccessTier
Tingkat akses untuk berbagi tertentu. Akun GpV2 dapat memilih antara TransactionOptimized (default), Hot, dan Cool. Akun FileStorage dapat memilih Premium.
Nama |
Jenis |
Deskripsi |
Cool
|
string
|
|
Hot
|
string
|
|
Premium
|
string
|
|
TransactionOptimized
|
string
|
|
SignedIdentifier
Nama |
Jenis |
Deskripsi |
accessPolicy
|
AccessPolicy
|
Kebijakan akses
|
id
|
string
|
Pengidentifikasi unik dari kebijakan akses tersimpan.
|