def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
      begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
    end
def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
      begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
    end
Grants access to a snapshot.

 @param resource_group_name [String] The name of the resource group.
 @param snapshot_name [String] The name of the snapshot that is being created.
 The name can't be changed after the snapshot is created. Supported characters
 for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
 @param grant_access_data [GrantAccessData] Access data object supplied in the
 body of the get snapshot access operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.