def set_sas_definition(vault_base_url, storage_account_name, sas_definition_name, template_uri, sas_type, validity_period, sas_definition_attributes:nil, tags:nil, custom_headers:nil)
      response = set_sas_definition_async(vault_base_url, storage_account_name, sas_definition_name, template_uri, sas_type, validity_period, sas_definition_attributes:sas_definition_attributes, tags:tags, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def set_sas_definition(vault_base_url, storage_account_name, sas_definition_name, template_uri, sas_type, validity_period, sas_definition_attributes:nil, tags:nil, custom_headers:nil)
      response = set_sas_definition_async(vault_base_url, storage_account_name, sas_definition_name, template_uri, sas_type, validity_period, sas_definition_attributes:sas_definition_attributes, tags:tags, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or updates a new SAS definition for the specified storage account.
 This operation requires the storage/setsas permission.

 @param vault_base_url [String] The vault name, for example
 https://myvault.vault.azure.net.
 @param storage_account_name [String] The name of the storage account.
 @param sas_definition_name [String] The name of the SAS definition.
 @param template_uri [String] The SAS definition token template signed with an
 arbitrary key.  Tokens created according to the SAS definition will have the
 same properties as the template.
 @param sas_type [SasTokenType] The type of SAS token the SAS definition will
 create. Possible values include: 'account', 'service'
 @param validity_period [String] The validity period of SAS tokens created
 according to the SAS definition.
 @param sas_definition_attributes [SasDefinitionAttributes] The attributes of
 the SAS definition.
 @param tags [Hash{String => String}] Application specific metadata in the
 form of key-value pairs.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [SasDefinitionBundle] operation results.