public class FileServicePropertiesInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
FileServicePropertiesInner() |
| Modifier and Type | Method and Description |
|---|---|
CorsRules |
cors()
Get the cors property: Specifies CORS rules for the File service.
|
ProtocolSettings |
protocolSettings()
Get the protocolSettings property: Protocol settings for file service.
|
DeleteRetentionPolicy |
shareDeleteRetentionPolicy()
Get the shareDeleteRetentionPolicy property: The file service properties for share soft delete.
|
Sku |
sku()
Get the sku property: Sku name and tier.
|
void |
validate()
Validates the instance.
|
FileServicePropertiesInner |
withCors(CorsRules cors)
Set the cors property: Specifies CORS rules for the File service.
|
FileServicePropertiesInner |
withProtocolSettings(ProtocolSettings protocolSettings)
Set the protocolSettings property: Protocol settings for file service.
|
FileServicePropertiesInner |
withShareDeleteRetentionPolicy(DeleteRetentionPolicy shareDeleteRetentionPolicy)
Set the shareDeleteRetentionPolicy property: The file service properties for share soft delete.
|
public Sku sku()
public CorsRules cors()
public FileServicePropertiesInner withCors(CorsRules cors)
cors - the cors value to set.public DeleteRetentionPolicy shareDeleteRetentionPolicy()
public FileServicePropertiesInner withShareDeleteRetentionPolicy(DeleteRetentionPolicy shareDeleteRetentionPolicy)
shareDeleteRetentionPolicy - the shareDeleteRetentionPolicy value to set.public ProtocolSettings protocolSettings()
public FileServicePropertiesInner withProtocolSettings(ProtocolSettings protocolSettings)
protocolSettings - the protocolSettings value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.